← ClaudeAtlas

workflow-codebase-knowledgelisted

Use to understand an unfamiliar codebase — presents architecture overview, module map, public API surfaces, and conventions as a layered mental model. Knowledge-presentation only — read-only sweep, no defect ranking, no reasoning chains. Distinct from workflow-codebase-audit (finding-oriented defect detection) and tech-writer / /swe-workbench:document (generates new prose artifacts). Ideal for onboarding, knowledge-handoff, and reviewer context-gathering.
lugassawan/swe-workbench · ★ 2 · AI & Automation · score 68
Install: claude install-skill lugassawan/swe-workbench
# Workflow: Codebase Knowledge **Announce at start:** "Activating `swe-workbench:workflow-codebase-knowledge` to present a structured knowledge document." ## When to invoke - Onboarding to an unfamiliar codebase: "walk me through this repo." - Knowledge-handoff request: "give the incoming engineer a mental model of the service." - Reviewer context-gathering: "what are the public API surfaces before I start the PR review?" - Architecture exploration: "show me the module boundaries and their relationships." ## When NOT to invoke - **Defect detection or ranked findings** → use `swe-workbench:workflow-codebase-audit` (cold-start multi-axis sweep with reasoning chains and severity ranking). - **Generating new prose documentation** (READMEs, ADRs, ARCHITECTURE files) → use `/swe-workbench:document` which delegates to the `swe-workbench:tech-writer` subagent. - **Known bug with a repro** → use `/swe-workbench:debug`. - **PR diff review** → use `/swe-workbench:review`. ## Composition Read-only sweep — no subagents dispatched. May delegate file discovery to `Explore` agents in parallel for breadth when the path scope is wide. Never writes to disk. ## Path argument An optional path narrows the scope: `/swe-workbench:codebase-knowledge src/` focuses all phases on `src/` and its descendants. Without a path, the sweep covers the entire repo root. A token is treated as a path if it contains `/`, starts with `.`, or matches an existing directory in the repo; otherwise the entire a