Distills a codebase concept into a structured knowledge base entry. Analyzes patterns, conventions, and real examples from the code to create reference documentation. Use when you need to understand how something works in this project (e.g., React hooks, API routers, database models, testing patterns).
Read the template at template.md. This is the structure you must follow for the output file. Copy it and fill in every {{placeholder}} with real data from the codebase.
$ARGUMENTS into a kebab-case concept nameknowledge-base/<concept-name>.mdfile.ts:line format for referencesWrite to knowledge-base/<concept-name>.md, then report: file path, brief summary, pattern count, and suggestions for related concepts to distill next.