@@ -282,6 +282,24 @@ Copy `gen-context.config.json.example` to `gen-context.config.json`:
282282}
283283```
284284
285+ ### Output targets
286+
287+ The ` outputs ` array controls which files are written. Each maps to the path an
288+ AI tool reads automatically:
289+
290+ | Target | Output path | Read by |
291+ | ---| ---| ---|
292+ | ` copilot ` (default) | ` .github/copilot-instructions.md ` | GitHub Copilot in VS Code |
293+ | ` claude ` | ` CLAUDE.md ` | Claude Code |
294+ | ` cursor ` | ` .cursor/rules ` | Cursor IDE |
295+ | ` windsurf ` | ` .windsurf/rules ` | Windsurf IDE |
296+
297+ Write to multiple targets at once:
298+
299+ ``` json
300+ { "outputs" : [" copilot" , " claude" , " cursor" ] }
301+ ```
302+
285303Exclusions go in ` .contextignore ` (gitignore syntax). Also reads ` .repomixignore ` if present.
286304
287305---
@@ -319,23 +337,29 @@ sleep 2
319337## Project structure
320338
321339```
322- gen-context.js ← single-file entry point
340+ gen-context.js ← standalone bundle (generated from src/ — do not edit directly)
323341gen-project-map.js ← import graph, class hierarchy, route table
342+ scripts/bundle.js ← bundles src/ into gen-context.js
343+ src/config/ ← config loader + defaults
324344src/extractors/ ← 21 language extractors
325345src/format/cache.js ← Anthropic prompt-cache JSON formatter (v0.8)
326- src/routing/ ← model routing hints (v0.7)
327- src/tracking/logger.js ← NDJSON usage log (v0.9)
328346src/health/scorer.js ← composite health score (v1.0)
347+ src/map/ ← import graph, class hierarchy, route table (used by gen-project-map.js)
329348src/mcp/ ← MCP stdio server (v0.3)
349+ src/routing/ ← model routing hints (v0.7)
330350src/security/ ← secret scanner (v0.2)
331- src/config/ ← config loader + defaults
351+ src/tracking/logger.js ← NDJSON usage log (v0.9)
332352test/fixtures/ ← one fixture per language
333353test/expected/ ← expected extractor output
334354test/run.js ← zero-dep test runner
355+ docs/ARCHITECTURE.md ← internal design, data flow, module map
335356docs/CONTEXT_STRATEGIES.md ← full/per-module/hot-cold strategy guide (v1.1)
336357docs/ENTERPRISE_SETUP.md ← enterprise & CI observability guide (v0.9)
358+ docs/MCP_SETUP.md ← MCP server setup for Claude Code, Cursor, Windsurf
337359docs/REPOMIX_CACHE.md ← prompt cache strategy guide (v0.8)
338360docs/MODEL_ROUTING.md ← model routing guide (v0.7)
361+ docs/SESSION_DISCIPLINE.md ← session lifecycle and token hygiene guide
362+ docs/CI_GUIDE.md ← CI/CD integration and monorepo setup
339363examples/self-healing-github-action.yml ← auto-regeneration CI workflow (v1.0)
340364scripts/ci-update.sh ← CI helper for pipelines (v1.0)
341365.contextignore.example ← exclusion template
@@ -344,6 +368,22 @@ gen-context.config.json.example ← annotated config reference
344368
345369---
346370
371+ ## Docs
372+
373+ | Guide | Description |
374+ | ---| ---|
375+ | [ ARCHITECTURE.md] ( docs/ARCHITECTURE.md ) | Internal design, data flow, module map, bundle system |
376+ | [ CONTEXT_STRATEGIES.md] ( docs/CONTEXT_STRATEGIES.md ) | full / per-module / hot-cold strategy guide |
377+ | [ MCP_SETUP.md] ( docs/MCP_SETUP.md ) | MCP server for Claude Code, Cursor, Windsurf |
378+ | [ MODEL_ROUTING.md] ( docs/MODEL_ROUTING.md ) | Model tier routing and ` --suggest-tool ` |
379+ | [ SESSION_DISCIPLINE.md] ( docs/SESSION_DISCIPLINE.md ) | Session lifecycle and token hygiene |
380+ | [ CI_GUIDE.md] ( docs/CI_GUIDE.md ) | GitHub Actions, monorepo, health gates |
381+ | [ ENTERPRISE_SETUP.md] ( docs/ENTERPRISE_SETUP.md ) | Observability, Prometheus/Grafana, self-healing CI |
382+ | [ REPOMIX_CACHE.md] ( docs/REPOMIX_CACHE.md ) | Prompt caching with Anthropic API |
383+ | [ REPOMIX_INTEGRATION.md] ( docs/REPOMIX_INTEGRATION.md ) | Using ContextForge + Repomix together |
384+
385+ ---
386+
347387## Support
348388
349389If ContextForge saves you time — a ⭐ on [ GitHub] ( https://github.com/manojmallick/context-forge ) helps others find it.
0 commit comments