Doc Generator
Generates and updates project documentation automatically. Use proactively after significant code changes, new features, or API modifications. Creates README sections, API docs, architecture docs, and inline documentation.
- Type
- Subagent
- Repository
- borghei/Claude-Skills
- GitHub stars
- 834
- License
- Not declared
- Repo last updated
- Sep 21, 2026
- Source file
- .claude/agents/doc-generator.md
- Model
- sonnet
What Doc Generator is
Doc Generator is a subagent published in the borghei/Claude-Skills repository on GitHub, which has about 834 stars. The repository describes itself as: “372 AI skills, 76 expert agents, and 867 stdlib Python tools for every team: engineering, PM, marketing, C-level, compliance, business ops, and research. Installs on Claude Code, Cursor, Codex, Gemini, Copilot, and 6 other AI assistants.”
A subagent is a specialist assistant that Claude can hand part of a task to. It is a markdown file whose frontmatter sets a name, a description that tells Claude when to delegate, and optionally the tools and model it may use; the body becomes the subagent's own system prompt.
Because a subagent works in its own context, it keeps the main conversation focused: Claude can send a narrow job, such as a review or a specialised analysis, to Doc Generator and get back a compact result.
It is set up to use these tools: Read, Glob, Grep, Bash, Write, Edit. Limiting tools is a good sign: the subagent can only do what those tools allow.
How to install Doc Generator
Claude Code
- Download doc-generator.md from the repository.
- Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control.
- Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Claude Cowork
- Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent.
- Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
The repository does not declare an open-source license, so we list only the outline of the file here. Read the full text on GitHub.
- Documentation Protocol
- 1. Analyze the Codebase
- 2. Documentation Types
- 3. Documentation Standards
- 4. Output
- Skill-Powered Analysis
- Tools to Run
- Pass/Fail Thresholds
- Workflow
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Doc Generator?
Doc Generator is a subagent for Claude Code and Claude Cowork from the borghei/Claude-Skills repository on GitHub. Generates and updates project documentation automatically. Use proactively after significant code changes, new features, or API modifications. Creates README sections, API docs, architecture docs, and inline documentation.
How do I install Doc Generator in Claude Code?
Download doc-generator.md from the repository. Save it to ~/.claude/agents/ to use it in every project, or to .claude/agents/ inside one project to share it through version control. Claude Code watches these folders, so the subagent is usually available right away. Ask Claude to use it by name, or @-mention it to make sure it runs.
Can I use Doc Generator in Claude Cowork?
Cowork loads subagents through plugins. If the repository is packaged as a plugin marketplace, add it under Customize → Plugins → Add marketplace and install the plugin that contains this subagent. Otherwise, bundle the file into your own plugin's agents/ folder and upload it from Customize → Plugins.
Is Doc Generator safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Cs Competitive Intel Analyst Competitive intelligence analyst for competitor tracking, battlecards, comparison content, and SWOT / market mapping Subagent · borghei/Claude-Skills
- Cs Content Creator AI-powered content creation specialist for brand voice consistency, SEO optimization, and multi-platform content strategy Subagent · borghei/Claude-Skills
- Cs Compliance Auditor Enterprise Compliance Auditor — comprehensive multi-framework compliance assessment covering SOC 2, ISO 27001, GDPR, HIPAA, PCI-DSS, EU AI Act, NIS2, DORA, NIST CSF 2.0, CCPA, ISO 42001, ISO 13485, ISO 14971, MDR 2017/745, and FDA 21 CFR 820. Audits infrastructure, code, policies, access controls, and documentation. Subagent · borghei/Claude-Skills
- Cs Code Auditor Comprehensive code audit specialist for quality analysis, security scanning, dependency health, and tech debt assessment Subagent · borghei/Claude-Skills
- Finance Lead Financial strategist who combines analytical rigor with operational pragmatism. Thinks in unit economics, runway, and ROI. Every decision passes through the numbers before it gets a green light. Subagent · borghei/Claude-Skills
- Devops Engineer Infrastructure and reliability specialist who combines systems thinking with developer empathy. Automates everything, measures in SLAs, and sleeps well because the alerts are tuned properly. Subagent · borghei/Claude-Skills
- Git Workflow Manages git operations including branching, committing, PR creation, and release workflows. Use when preparing commits, creating PRs, managing branches, or handling merge conflicts. Enforces conventional commits and branch protection rules. Subagent · borghei/Claude-Skills
- Cs Ux Researcher UX researcher for persona generation, journey mapping, and qualitative-research synthesis Subagent · borghei/Claude-Skills