This skill should be used when the user asks to "generate documentation", "document this project", "create docs", "write documentation", "update documentation", "document all APIs", "generate onboarding docs", "create developer docs", or needs comprehensive codebase documentation. Orchestrates parallel AI agents to analyze code and produce documentation files.
Add this skill
npx mdskills install bgauryy/octocode-documentation-writerWell-orchestrated 6-phase documentation pipeline with parallel agent execution and research-driven approach

Octocode Documentation Writer Skill
Repository Documentation Generator
Production-ready pipeline โข Intelligent orchestration โข Conflict-free writing
Agents struggle with writing documentation because:
Octocode Documentation Writer orchestrates specialized AI agents to:
npx add-skill https://github.com/bgauryy/octocode-mcp/tree/main/skills/octocode-documentation-writer
This skill relies on the Octocode MCP server for deep research capabilities (LSP, local search, etc.).
1. Install the Server
The easiest way is using the CLI:
npx octocode-cli
Follow the interactive prompts to install "Octocode MCP" for your IDE.
Or install manually in your MCP config (e.g. .cursor/mcp.json):
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"]
}
}
}
2. Authentication
Option A: GitHub CLI (Recommended)
gh auth login
Option B: Personal Access Token If you cannot use the GitHub CLI, add your token to the config:
{
"mcpServers": {
"octocode": {
"command": "npx",
"args": ["octocode-mcp@latest"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}
The documentation generation process consists of 6 phases:
Discovery & Analysis (Parallel)
analysis.json.Engineer Questions (Single)
Research (Parallel)
Orchestrator (Single)
Documentation Writers (Parallel)
*.md).QA Validator (Single)
The generated documentation will be saved in the documentation/ directory within your repository.
documentation/*.md: The generated documentation files.documentation/QA-SUMMARY.md: A summary of the quality assurance check..context/: Intermediate state files (analysis, research, assignments) - useful for debugging or manual inspection.MIT License ยฉ 2026 Octocode
See LICENSE for details.
Install via CLI
npx mdskills install bgauryy/octocode-documentation-writerOctocode Documentation Writer is a free, open-source AI agent skill. This skill should be used when the user asks to "generate documentation", "document this project", "create docs", "write documentation", "update documentation", "document all APIs", "generate onboarding docs", "create developer docs", or needs comprehensive codebase documentation. Orchestrates parallel AI agents to analyze code and produce documentation files.
Install Octocode Documentation Writer with a single command:
npx mdskills install bgauryy/octocode-documentation-writerThis downloads the skill files into your project and your AI agent picks them up automatically.
Octocode Documentation Writer works with Claude Code, Claude Desktop, Cursor, Vscode Copilot, Windsurf, Continue Dev, Gemini Cli, Amp, Roo Code, Goose. Skills use the open SKILL.md format which is compatible with any AI coding agent that reads markdown instructions.