bnadlerjr/dotfiles/writing-documentation

Claude Code and agent skill by bnadlerjr/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Write documentation for code, architecture, and projects.

Install

npx vskill@latest install bnadlerjr/dotfiles/writing-documentation

SKILL.md

Writing Documentation

Write documentation for code, architecture, and projects. The reason for writing documentation is that statements in a programming language can't capture all of the important information that was in the mind of the developer when the code was written. Documentation should describe things that are not obvious from the code.

Workflow

Step 1: Detect Doc Type

Detect the doc type from the request.

Signal in RequestDoc TypeWorkflow
file path, function name, "add docs", "add comments", "module docs", "docstring"Code-Levelreferences/code-level-docs.md
"ADR", "design doc", "architecture", "system overview", "how modules interact"Architecturereferences/architecture-docs.md
"README", "getting started", "CLAUDE.md", "agent instructions", "guide"Projectreferences/project-docs.md
Step 2: Read the Workflow

Load the matching workflow file. It contains the full procedure, templates, and quality checklist for that doc type.

Step 3: Follow the Workflow

Each workflow covers:

  1. Gather context — Read the code or project to understand what needs documenting
  2. Select template — Choose the right structure for the doc type
  3. Write the doc — Apply references/ousterhout-principles.md
  4. Validate — Run the quality checklist
Step 4: Place the Output

Output placement depends on doc type:

Doc TypePlacement
Code-levelInline with source code (docstrings, comments, module headers)
ArchitectureSeparate markdown file (docs/adr/, docs/design/, docs/)
ProjectSeparate markdown file (project root or docs/)

Anti-Patterns

  • Restating the code in comments ("increment counter" above counter += 1)
  • Generic headings ("Overview", "Details", "Miscellaneous")
  • Implementation details in interface docs ("uses a hash map internally")
  • Ambiguous pronouns across section boundaries ("it handles this by...")
  • Documentation that is longer than the code it describes (for code-level docs)

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

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/bnadlerjr/dotfiles/writing-documentation/badge)](https://verified-skill.com/skills/bnadlerjr/dotfiles/writing-documentation)

Something wrong with this skill or its page? Tell us.