pahansen95/agent-skills-catalog/iterative-docs
Claude Code and agent skill by pahansen95/agent-skills-catalog
- community
Checking that the SKILL.md file is still in the repository.
Build a long document from a revisable outline, drafting and reviewing one coherent unit at a time. Use for specs, plans, guides, or other documents whose quality benefits from incremental writing.
Install
npx vskill@latest install pahansen95/agent-skills-catalog/iterative-docsSKILL.md
The same SKILL.md was published earlier as pahansen95/agent-skills-catalog/iterative-docs.
Iterative Document Writing
Turn a brief into a coherent finished document through decomposition, serial drafting, and whole-document review. Preserve any caller-supplied structure, register, sourcing rules, or other constraints.
Behaviors
The workflow uses two replaceable behaviors:
- Draft: given a unit's heading, the brief, and the document so far, produce
its prose. By default, write clear prose that fulfills the heading.
- Review: given the newly drafted unit and the document so far, report
problems. By default, check that it follows prior units, fulfills the outline and introduction, and uses consistent terminology and conventions.
A caller may replace or wrap either behavior to add voice, sourcing, citation, fact-checking, or specialized review. The workflow relies on the behavior's contract rather than a particular provider; wrapped behaviors can therefore compose without becoming hard dependencies.
Workflow
- Outline. From the brief and any mandated structure, create an ordered
outline sized into coherent units. Write the title and a real introduction or overview now: it must state the thesis and shape of the document rather than stand in as a placeholder. Stabilize enough structure to begin, while treating non-mandated parts of the outline as revisable.
- Track. Record pending, active, and completed units with an available task
tracker or a simple checklist. Keep exactly one active unit.
- Fill serially. For the next pending unit:
- Revisit the outline when drafting reveals a missing, misplaced, split, or
redundant unit. Preserve externally fixed structure and realign the tracker after any allowed revision.
- Run Draft, then Review. Resolve every review finding before marking the unit
complete. If the unit cannot be made coherent after an allowed outline revision, report the failure rather than accepting it.
- Continue with the next unit in the same turn when time and context allow.
Pause only for an actual caller checkpoint, required input, or execution boundary; one-unit-at-a-time describes work order, not turn cadence.
- Finalize. Review the complete document. Reconcile the introduction with
the body, repair transitions, and make terminology and formatting consistent. Finish with no pending outline placeholders.
Settings and completion
- Granularity: one section per unit by default; group or divide sections when
that yields coherent drafting units.
- Outline revision: enabled unless the caller supplies a fixed structure.
Success means the introduction is substantive, each unit has passed Review, every planned unit is filled, and the final pass leaves the whole coherent. The workflow fails if it cannot form a coherent structure or complete a unit after permitted revision.
Security
- Security scanPassed, 90 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/iterative-docs/SKILL.md
Popularity
- 7-day trend score
- 0
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/pahansen95/agent-skills-catalog/iterative-docs)