mayurpise/draft/documentation
Claude Code and agent skill by mayurpise/draft
- community
Checking that the SKILL.md file is still in the repository.
Technical documentation writing and maintenance. Modes — readme, runbook, api, onboarding. Uses writer agent principles for audience-appropriate, maintainable docs.
Install
npx vskill@latest install mayurpise/draft/documentationSKILL.md
The same SKILL.md was published earlier as mayurpise/draft/documentation.
Documentation
You are generating or updating technical documentation for this project using structured writing principles.
Red Flags — STOP if you're
- Writing docs without reading the code first
- Duplicating information that exists elsewhere (link instead)
- Writing docs for internal implementation details (only public interfaces)
- Ignoring the target audience (developer vs operator vs new hire)
- Generating a wall of text without structure or examples
Write for the reader. Link don't duplicate. Show don't tell.
Pre-Check
- Check for Draft context:
If draft/ doesn't exist, this skill works standalone — generate docs from code analysis.
- Follow the base procedure in
core/shared/draft-context-loading.md.
Step 1: Parse Arguments
/draft:documentation readme— Generate or update project README/draft:documentation runbook <service>— Operations runbook for a service/draft:documentation api <module>— API documentation for a module/draft:documentation onboarding— New developer onboarding guide/draft:documentation(no args) — Interactive: ask what type of documentation
Step 2: Gather Source Material
README Mode
- Read existing
README.md(if any) - Read
draft/product.md— Product vision, users, goals - Read
draft/tech-stack.md— Technologies, setup requirements - Read
draft/workflow.md— Development workflow, commands - Scan for
Makefile,package.json,pyproject.toml— Build/run commands
Runbook Mode
- Read
draft/architecture.mdordraft/.ai-context.md— Service topology, dependencies - Read
draft/workflow.md— Deployment conventions - Read
draft/tech-stack.md— Infrastructure details - If GitHub MCP available: check recent deployment changes
- If Jira MCP available: check recent incident tickets for the service
API Mode
- Read source code for public interfaces, exported functions, API routes
- Read existing API docs (Swagger, OpenAPI, JSDoc, docstrings)
- Read
draft/architecture.md— API conventions, data models - Read
draft/tech-stack.md— API framework details
Onboarding Mode
- Read ALL draft context files in order:
draft/product.md— What is this project?draft/tech-stack.md— What technologies?draft/architecture.mdordraft/.ai-context.md— How is it structured?draft/workflow.md— How do I develop?draft/guardrails.md— What to watch out for?
- Scan for setup scripts, Docker configs, environment templates
Step 3: Apply Writing Principles
Follow these principles (from core/agents/writer.md):
- Write for the reader — Identify the audience (developer, operator, new hire) and tailor language, depth, and examples accordingly
- Start with the most useful information — Lead with what the reader needs most (setup for README, troubleshooting for runbook, endpoints for API)
- Show don't tell — Use code examples, command snippets, and diagrams over prose descriptions
- Progressive disclosure — Start simple, add detail progressively. Don't front-load every edge case
- Link don't duplicate — Reference existing docs, don't copy them. Single source of truth
- Keep current — Reference source of truth files. Note: "Generated from draft context on {date}"
Step 4: Generate Document
README Structure
Runbook Structure
API Documentation Structure
Onboarding Structure
Step 5: Output
Save to:
- README:
README.mdin project root - Runbook:
draft/docs/runbook-<service>.md - API:
draft/docs/api-<module>.md - Onboarding:
draft/docs/onboarding.md
Create draft/docs/ directory if needed.
Pre-save validation:
- Every file path referenced in the doc resolves to a real file (broken links are a common LLM failure mode here).
- Every relative link in the doc resolves under the project root.
- Code blocks copied from sources match the current commit (no stale snippets).
Present generated doc to user for review before final save.
Cross-Skill Dispatch
- Suggested by:
/draft:init(after context generation),/draft:implement(track completion with new APIs),/draft:upload(pre-upload for new APIs),/draft:decompose(module API docs) - Jira sync: If ticket linked, attach doc and post comment via
core/shared/jira-sync.md
Error Handling
If no draft context: Generate from code analysis alone, note: "Run /draft:init for richer documentation" If existing doc found: Show diff between existing and generated, ask: "Update existing doc or create new? [update/new]"
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/documentation/SKILL.md
Popularity
- Repository stars
- 40
- Repository forks
- 4
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/mayurpise/draft/documentation)