AI DevKit · Document a code entry point with structured analysis, dependency mapping, and saved knowledge docs. Use when users ask to document, understand, or map code for a module, file, folder, function, or API.
1k tokens
context cost
the whole folder, loaded on every use
2
files
instructions only
0
copies elsewhere
how many repositories repackaged it
1571
stars on the repo
on the repository, not the skill itself
Install
one command, takes just this skill from the repository
Normalize name to kebab-case (calculateTotalPrice → calculate-total-price).
Create docs/ai/implementation/knowledge-{name}.md using the Output Template — this is the source of truth.
Include mermaid diagrams when they clarify flows or relationships.
Offer HTML Artifact
After the markdown is written, ask the user once: "Also generate an HTML artifact for easier scanning? (y/N)".
If yes, generate sibling docs/ai/implementation/knowledge-{name}.html per the HTML Artifact spec. Regenerate from the markdown on subsequent runs; never hand-edit.
If no or no response, stop here — markdown alone is a complete result.
HTML Artifact
Generated only when the user opts in at step 6. A self-contained HTML file optimized for scanning, not reference reading. Complements the markdown — does not replace it.
Constraints:
Single file. Inline CSS. No build step. Only external asset allowed is mermaid via CDN (https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js).
Card-based grid layout, not a long scroll. The reader should capture structure at a glance.
Responsive down to laptop width. Print-friendly.
No interactivity beyond collapsible deep-dives and mermaid pan/zoom.