docs-gen
Skill0 starsChanged 6 days agoMITView on GitHub
Generate clear, accurate documentation for code, APIs, and projects. Use when asked to document code, write or update a README, create API docs, or add docstrings and JSDoc comments.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Vyrnexis/nim-agent-templatetheir own version, first seen Oct 15, 2026
- Jinbae10/skillstheir own version, first seen Jul 7, 2026
- GlamgarOnDiscord/claude-saas-blueprinttheir own version, first seen May 17, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- Vyrnexis/nim-agent-template★ 4same name
- GlamgarOnDiscord/claude-saas-blueprint★ 2same name
- Jinbae10/skills★ 0same 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.
The file
Files
Documentation Generation
Generate concise, accurate documentation that matches existing repository conventions and language standards.
Workflow
- Analyze — Inspect the actual implementation, public surface, types, edge cases, and dependencies. Never guess behavior.
- Identify scope — Inline comments, function/module docs, README, or API reference.
- Match conventions — Follow the repository's existing doc style and language format.
- Write — Cover purpose, parameters, return values, errors/exceptions, and concrete examples.
- Verify — Confirm every symbol, command, flag, and file path matches the codebase.
Documentation Types
| Type | When to Use |
| Inline comments | Non-obvious invariants, trade-offs, and "why" (never narrate obvious code) |
| Function / module docs | Public APIs, exported types, parameters, return values, errors |
| README | Overview, prerequisites, setup, usage examples, architecture pointers |
| API docs | Endpoints, auth, request/response schemas, status codes, error shapes |
Language Standards
| Language | Format | Key Elements |
| JavaScript / TypeScript | JSDoc / TSDoc | @param, @returns, @throws, @example |
| Python | Docstrings (Google / NumPy) | Args, Returns, Raises, Examples |
| Go | GoDoc | Complete sentence starting with the exported symbol name |
| Java | Javadoc | @param, @return, @throws |
| Rust | Rustdoc | ///, //!, runnable doc examples |
Quality Checklist
- Purpose and behavior verified directly against source code
- Parameters, return values, and error conditions documented
- Realistic usage examples included where helpful
- Concise and free of redundant filler
- Formatting matches existing project conventions
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.

