document-code
Skill1.6k starsChanged 3 months agoApache-2.0View on GitHub
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.
1 other project uses a version of this.
Trending
More talk lately.thin dataabout the whole repository
Most recently taken up by
- carlosedm10/skillstheir own version, first seen Aug 8, 2026
Who's talking about codeaholicguy/ai-devkit
- A Hacker News story“I collected all valuable AI Skills repositories”Hacker News · Feb 3, 2026 · 2 points
- A Hacker News story“AI-Devkit”Hacker News · Oct 16, 2025 · 1 points
- sudosubin/agents.nix“codex-plugins.github.codeaholicguy.ai-devkit: init at 0-unstable-2026-10-04”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.codeaholicguy.ai-devkit: 0-unstable-2026-09-27 → 0-unstable-2026-10-04”GitHub · Oct 4, 2026
- sudosubin/agents.nix“agent-skills.github.codeaholicguy.ai-devkit: 0.61.0-unstable-2026-09-20 → 0-unstable-2026-09-27”GitHub · Oct 3, 2026
The biggest 5 of 11 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 11
Talked about on GitHub and Hacker News (11 times).
On GitHub · 9
- Oct 4, 2026codex-plugins.github.codeaholicguy.ai-devkit: init at 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-skills.github.codeaholicguy.ai-devkit: 0-unstable-2026-09-27 → 0-unstable-2026-10-04 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.codeaholicguy.ai-devkit: 0.61.0-unstable-2026-09-20 → 0-unstable-2026-09-27 — sudosubin/agents.nix0 reactions
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-orchestration - agent-orchestration — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-management - agent-management — ProSkillsMD/proskills0 reactions · 2 comments
4 more on GitHub
- Sep 26, 2026[Candidate] codeaholicguy/ai-devkit/skills/agent-communication - agent-communication — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 26, 2026agent-skills.github.codeaholicguy.ai-devkit: init at 0.61.0-unstable-2026-09-20 — sudosubin/agents.nix0 reactions
- Aug 27, 2026[Resource]: AI DevKit — hesreallyhim/awesome-claude-code0 reactions · 1 comment
- Apr 18, 2026Audit candidate: codeaholicguy/ai-devkit — xiaolai/nlpm0 reactions · 4 comments
On Hacker News · 2
- Feb 3, 2026I collected all valuable AI Skills repositories2 points
- Oct 16, 2025AI-Devkit1 point
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- carlosedm10/skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository28 other files it gives its agents.
- agent-communicationSkill
- agent-managementSkill
- agent-orchestrationSkill
- ai-devkit-setupSkill
- brainstormSkill
- changelogSkill
- dev-commitSkill
- dev-designSkill
- dev-implementationSkill
- dev-lifecycleSkill
- dev-planningSkill
- dev-prSkill
- dev-requirementsSkill
- dev-reviewSkill
- dev-testingSkill
- dev-worktreeSkill
- memorySkill
- refactorSkill
- remote-from-slackSkill
- remote-from-telegramSkill
- security-reviewSkill
- session-compactSkill
- simplify-implementationSkill
- structured-debugSkill
- taskSkill
- tddSkill
- technical-writerSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 6 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Do not create documentation until the entry point is validated and analysis is complete.
- Distinctive: line 17
Verify it exists; resolve ambiguity or suggest alternatives if not found.
- Very specific: line 18
Search for existing knowledge before analyzing: npx ai-devkit@latest memory search --query "<entry point name or purpose>"
- Very specific: line 38
Create docs/ai/implementation/knowledge-{name}.md using the Output Template — this is the source of truth.
- Distinctive: line 42
After the markdown is written, ask the user once: "Also generate an HTML artifact for easier scanning?
- Very specific: line 43
If yes, generate sibling docs/ai/implementation/knowledge-{name}.html per the HTML Artifact spec.
- Distinctive: line 44
If no or no response, stop here — markdown alone is a complete result.
- Distinctive: line 54
No interactivity beyond collapsible deep-dives and mermaid pan/zoom.
- Distinctive: line 75
If an HTML artifact was generated, it opens standalone in a browser, renders mermaid, and reflects the markdown content (no drift).
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Code Documentation Assistant
Build structured understanding of code entry points with an analysis-first workflow.
Hard Rule
- Do not create documentation until the entry point is validated and analysis is complete.
Workflow
- Gather & Validate
- Confirm entry point (file, folder, function, API), purpose, and desired depth.
- Verify it exists; resolve ambiguity or suggest alternatives if not found.
- Search for existing knowledge before analyzing:
npx ai-devkit@latest memory search --query "<entry point name or purpose>"
- Collect Source Context
- Summarize purpose, exports, key patterns.
- Folders: list structure, highlight key modules.
- Functions/APIs: capture signature, parameters, return values, error handling.
- Analyze Dependencies
- Build dependency view up to depth 3, track visited nodes to avoid loops.
- Categorize: imports, function calls, services, external packages.
- Exclude external systems or generated code.
- Synthesize
- Overview (purpose, language, high-level behavior).
- Core logic, execution flow, patterns.
- Error handling, performance, security considerations.
- Improvements or risks discovered during analysis.
- Create Documentation
- Normalize name to kebab-case (
calculateTotalPrice→calculate-total-price). - Create
docs/ai/implementation/knowledge-{name}.mdusing 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}.htmlper 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.
Section mapping (from the Output Template):
- Overview → hero card: title, one-line purpose, language/type badges.
- Implementation Details → grid of sectioned cards with short bullets, not prose.
- Dependencies → graph card (mermaid) plus a categorized list (imports, calls, services, external).
- Visual Diagrams → full-width rendered mermaid blocks.
- Additional Insights → callout boxes, color-coded by kind (info, warning, risk).
- Next Steps → checklist card.
- Metadata → compact footer (date, depth, files touched).
Red Flags and Rationalizations
| Rationalization | Why It's Wrong | Do Instead |
| "I already understand this code" | Understanding ≠ documented understanding | Write it down, then verify |
| "The code is self-documenting" | Future readers lack your current context | Capture the why, not just the what |
| "Dependencies are obvious" | Implicit dependencies cause surprises | Map them explicitly to depth 3 |
Validation
- Documentation covers all Output Template sections.
- If an HTML artifact was generated, it opens standalone in a browser, renders mermaid, and reflects the markdown content (no drift).
- Summarize key insights, open questions, and related areas for deeper dives.
- Confirm file path(s) and remind to commit.
Output Template
- Overview
- Implementation Details
- Dependencies
- Visual Diagrams (mermaid)
- Additional Insights
- Metadata (date, depth, files touched)
- Next Steps
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

