# repo-intake > Project initialization inventory and cache generation (one-time intake). Use when first onboarding a project or after major structural changes. - Author: sd0 - Repository: sd0xdev/sd0x-dev-flow - Version: 20260201221512 - Stars: 39 - Forks: 2 - Last Updated: 2026-02-06 - Source: https://github.com/sd0xdev/sd0x-dev-flow - Web: https://mule.run/skillshub/@@sd0xdev/sd0x-dev-flow~repo-intake:20260201221512 --- --- name: repo-intake description: Project initialization inventory and cache generation (one-time intake). Use when first onboarding a project or after major structural changes. allowed-tools: Read, Grep, Glob, Bash(git:*), Bash(node:*) context: fork agent: Explore disable-model-invocation: true --- # Repo Intake ## When to Use - First time onboarding a project - Rebuilding cache after major project structural changes - Cache expired, needs updating ## When NOT to Use - Already familiar with project structure (read cache directly) - Only need to find specific files (use Glob/Grep) - Day-to-day development (cache already exists) ## Workflow ``` Docs -> Entrypoints -> Tests Map -> Next Steps ``` ## Usage ```bash node skills/repo-intake/scripts/intake_cached.js --mode auto --top 10 ``` ## Cache Location Cache stored at: `~/.claude/cache/repo-intake//` | File | Description | | ------------- | ----------------------- | | `latest.md` | Latest scan results | | `latest.json` | Latest scan results (JSON) | | `LATEST.json` | Cache metadata | ## Verification - Output includes Overview, Entrypoints, Test Map, Next Steps - Entrypoints correctly identify `{CONFIG_FILE}`, `{BOOTSTRAP_FILE}` - Test Map covers Unit/Integration/E2E layers ## Output Format ```markdown ## Overview ## Entrypoints - {CONFIG_FILE} - {BOOTSTRAP_FILE} ## Test Map | Type | Pattern | | ----------- | ----------------- | | Unit | test/unit/ | | Integration | test/integration/ | | E2E | test/e2e/ | ## Next Steps - ``` ## Examples ``` Input: /midway-intake Action: Execute intake script -> Output project map ``` ``` Input: /midway-intake save Action: Execute intake script -> Output and write to docs/ai/intake/ ```