← ClaudeAtlas

bts-recipe-analyzelisted

Analyze an existing system or codebase. Produces a verified Level 1 (understanding) document.
imtemp-dev/claude-bts · ★ 0 · Code & Development · score 66
Install: claude install-skill imtemp-dev/claude-bts
# Recipe: Analyze (Level 1 Understanding) Analyze: $ARGUMENTS ## Resume Check Before starting, check for an existing recipe: ```bash bts recipe status ``` If no active recipe, create one: ```bash bts recipe create --type analyze --topic "$ARGUMENTS" ``` Use the output as recipe ID for all subsequent commands. If active: - Phase `research` → read existing research doc, continue from Step 2. - Phase `verify` → read draft, run /bts-assess, then **immediately execute** the recommended action. - Phase `finalize` → skip to Step 4. **Autonomous execution**: This recipe runs without stopping between steps. Do NOT pause to summarize or ask the user. Only stop for [CONVERGENCE FAILED]. ## Step 1: Research Read existing project context if available: - `.bts/specs/project-map.md` — layer overview, build/test commands - `.bts/specs/layers/{name}.md` — detail for layers relevant to this analysis Use Skill("bts-research") to explore the target. Save to `.bts/specs/recipes/{id}/research/v1.md`. ## Step 2: Draft Analysis Document Write a structured analysis: - Architecture overview - Key components and their roles - Data model / schema - Dependencies and integration points - Patterns and conventions used Save to `.bts/specs/recipes/{id}/draft.md`. ## Step 3: Verify Loop (max `verify.max_iterations`, default 3) - Skill("bts-cross-check"): file/function references correct? - Skill("bts-verify"): logical consistency? - Skill("bts-audit"): anything missing? - Fix issues, re-verify unti