About codebase-teach
A Claude Code skill that analyzes bounded contexts in a source tree, extracts domain knowledge, and writes feature files plus a coverage report. It is for maintaining project-specific feature documentation based on code.
Key features
- 01Analyze bounded contexts
- 02Extract domain knowledge
- 03Write feature Markdown files
- 04Report documentation coverage
Use cases
- 01Document features from a codebase
- 02Refresh feature documentation after code changes
Install
Copy the command and run it in a terminal.
npx skills add https:/ / github.com/ fearovex-labs/ agent-config --skill codebase-teachAfter installing, type/codebase-teachin Claude Code to confirm it loaded.
Details
From the project READMEcodebase-teach
Analyzes bounded contexts from the project's source tree, extracts domain knowledge per context, writes
ai-context/features/<context>.mdfiles, and producesteach-report.mdwith coverage metrics.
Triggers: /codebase-teach, teach codebase, extract domain knowledge, update feature docs, analyze bounded contexts
Claude execution wiring
These notes bind the tool-neutral logic above to the Claude Code harness. They are the EXECUTION layer that does not port to other tools.
- Feature template path — the neutral logic references the feature template
by its repo-relative path
skills/_templates/feature/_template.md. In the deployed Claude harness this resolves to the absolute~/.claude/skills/_templates/feature/_template.md(deployed from the agent-config repo). The skill MUST read it as the structural contract for the six-section feature file. - Project instruction file — the neutral "project instruction file" (Step 0,
Skills Registry extraction) is
CLAUDE.mdat the project root.