flow-inventory-codebase-scanlisted
Install: claude install-skill Brite-Nites/brite-claude-plugins
# flow-inventory-codebase-scan
Retrofit-mode inventory generator. Code-evidence-driven --- mines an existing Next.js App Router codebase for routes, server actions, dialogs, menu items, and API endpoints; cross-references against a pattern catalog; synthesizes a proposed inventory with 4-tag implementation-status taxonomy and value-priority.
This skill is **NOT user-invocable** (`disable-model-invocation: true`, per Q7). The user-facing wrapper is `/flow:retrofit-project`; preflight gates this skill's invocation on `MODE=retrofit`.
**Framework locked to Next.js App Router for v1.** Other frameworks (React Router, Remix, Tanstack Start, Vue/Nuxt) are parking-lot candidates --- this skill's code-scan phase encodes Next.js-specific filesystem conventions (`src/app/(...)`, `route.ts`, server actions). Cross-framework support is v1.1+.
**Critical relationship to Q19.** Shares Phases 0, 1, 2, 5 verbatim with `flow-inventory-interview` via `_shared/app-classifier-pattern.md` (BC-6955 deliverable). Differs in:
- Phase 3 (deterministic code scan) --- retrofit-only.
- Phase 4 status taxonomy (4-tag implementation-status for retrofit vs. 3-tag scope-priority for greenfield).
- Phase 1 interview is lighter --- code signals dominate.
The full design rationale lives in `docs/design-rationale/fda-plugin-interview.md` Q11 (memory:68). Q19 (memory:208) is the greenfield twin.
---
## 1. Phase sequence --- 6 phases
| Phase | Source | Description |
|---|---|---|
| 0 | shared | PROJECT-I