--- name: ijfw-summarize description: "Generate optimized project context from codebase scan. Trigger: new project, no CLAUDE.md, /ijfw-summarize" --- Scan the codebase and generate an optimized project context file. ## Process 1. Read: package.json, tsconfig.json, Cargo.toml, pyproject.toml, go.mod, Dockerfile, docker-compose.yml, .env.example, Makefile -- whatever exists. 2. Scan: directory structure (2 levels deep), test framework, linter config, CI config. 3. Detect: language, framework, database, ORM, auth approach, deployment target. 4. Identify: key directories, entry points, API route patterns, shared utilities. ## Output Write a platform context file (CLAUDE.md, GEMINI.md, or equivalent) with: ```markdown # Project Context Stack: / / Architecture: Entry:
Tests: Lint: ## Structure ## Patterns ## Key Files ``` Rules: - Max 50 lines. This loads every session. - No boilerplate explanations. Just facts. - If uncertain about a pattern, omit it -- don't guess.