dbreunig / scaffold-docs-skill
PublicA skill for writing technical documentation for human readers, iteratively, with author reviews at each step.
Scaffold Docs is a skill that helps AI assistants write better technical documentation for code libraries. It guides the creation of three-tier documentation: a narrative Getting Started tutorial, topic-focused Diving Deeper guides, and a lookup-oriented Reference section. The process builds documentation in passes—structure first, then headers, then full prose—with human review checkpoints at each stage. Key principles include writing for a specific audience, building the reader's mental model before listing API details, explaining why over what, and maintaining prose quality standards. The author remains in the loop throughout, providing guidance on structure, empathy, and writing quality, especially for the Getting Started section.
How It Works
You realize that AI-generated documentation often lacks the structure and warmth that human readers need to truly understand a library.
You discover a tool designed to help AI assistants write better documentation by following proven principles: writing for your audience, building mental models, and scaffolding information.
You copy or link the skill folder into your Claude Code assistant's skills directory so it's ready to use whenever you need it.
You invoke the skill with a simple command, and your assistant begins building documentation in three tiers: a getting started tutorial, deeper topic guides, and a reference section.
You approve the current section and the process moves forward to the next pass
You ask for adjustments and your assistant revises before proceeding
After iterative passes and your guidance, you receive polished documentation: a narrative tutorial, topic files organized by intent, and a clean reference guide.
Readers can now understand your library quickly, build a mental model of how it works, and find the details they need—all thanks to documentation written with human care.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.