SkillVaultskills Browse all 1,000+ skills

Productivity · Version 1.9.0 · Reviewed 2026-08-02

Documentation Generator

Turn engineering context into a reliable artifact for README generation and API reference with evidence, explicit trade-offs, and a verification plan.

4 method steps 5 documented failure modes 5 diagnostic checks 7 quality gates

Produces accurate READMEs, API references, and runbooks derived from real code paths rather than assumptions.

₹199 one-time

Get this skill archive

Install in your AI coding tool

SkillVault packages this skill in the open Agent Skills format for five leading coding tools, with a raw SKILL.md fallback for every other compatible IDE or agent.

See the complete graphical installation and usage guide

What this skill helps you do

  • README generation
  • API reference
  • Runbook drafting

How Documentation Generator works

You provide

The reader task, current pages, source evidence, navigation, and support or search signals

It inspects

Correctness, findability, and task completion for README generation

It decides

A API reference change with ownership and a refresh trigger

You verify

A clean reader completes the task and the documentation build validates links, metadata, and examples

What it checks first

Documentation Generator produces accurate READMEs, API references, and runbooks derived from real code paths rather than assumptions. Use it when the work involves README generation, API reference, Runbook drafting.

  1. The user task the document must enable and the observable completion condition, rather than the page type alone.
  2. Technical claims traced to current code, configuration, interfaces, or an accountable decision owner.
  3. Navigation and search language aligned with how readers describe the problem instead of the owning team structure.
  4. Executable examples tested in a clean environment with the same versions and prerequisites the page declares.
  5. Ownership, last-reviewed evidence, and a refresh trigger tied to the source behavior most likely to change.

Failure modes it recognizes

  • A correct page remains undiscoverable because its title and navigation use internal vocabulary readers never search.
  • Setup instructions omit an implicit credential, platform, or working-directory assumption and fail on the first command.
  • Documentation describes the intended architecture while production code follows a later undocumented path.
  • Generated navigation excludes a valid page or keeps a deleted page reachable through stale links.
  • A support answer is copied into documentation without verifying that the workaround remains safe and current.

Answers it will reject

  • Measuring documentation quality by page count, word count, or formatting compliance instead of task success.
  • Mirroring the repository tree as navigation when readers approach the system by goals and failures.
  • Publishing code samples that were syntax-checked but never executed against the stated prerequisites.
  • Adding an FAQ entry for every support question instead of repairing the earliest missing concept or task step.

Decision rules it applies

  • Fix incorrect and task-blocking content before improving completeness, style, or visual polish.
  • Prefer one maintained source for a fact and link to it rather than duplicating volatile instructions across pages.
  • Create a new page only when it owns a distinct reader task or decision and has a durable maintenance owner.
  • Retire content when no current reader journey depends on it or when a maintained source supersedes it completely.

Evidence it asks for

  • Run links, metadata, navigation generation, and representative code examples in the documentation build.
  • Trace support and search queries to the page and section where the reader task currently fails.
  • Test the highest-value journeys from a clean environment using only the published instructions.
  • Diff documented commands, interfaces, and configuration against their defining source at release time.

The method inside

  1. Extract decisions, facts, and unresolved questions needed for README generation.
  2. Organize API reference around the reader's next decision or action rather than the source order.
  3. Draft runbook drafting with source traceability and no invented behavior.
  4. Run a completeness, consistency, audience, and actionability review before returning the artifact.

Deliverables

  • README generation assessment
  • API reference decision and action plan
  • Runbook drafting verification checklist

Evidence requirements

  • Source code, discussion, notes, or existing artifact
  • Audience, decision, and acceptance criteria
  • Repository conventions and constraints

Quality gates

  • Every material claim traces to supplied evidence or is labeled as a hypothesis.
  • The response follows the declared deliverable contract.
  • No execution, access, measurement, or verification is invented.
  • Secrets and personal data are redacted rather than repeated.
  • The user receives a concrete independent verification step.
  • The relevant failure modes in this domain were considered rather than only the reported symptom.
  • No listed anti-pattern was recommended as a solution.

Example task

Input

Generate a README for this service including setup, configuration, and how to run it locally.

Expected output

Documented the three required environment variables found in config loading, the two optional ones with defaults, and the actual dev command from package.json...

Boundaries and compatibility

Ideal for

  • README generation: produce a decision or artifact grounded in supplied evidence.
  • API reference: produce a decision or artifact grounded in supplied evidence.
  • Runbook drafting: produce a decision or artifact grounded in supplied evidence.

Out of scope

  • Inventing repository behavior or decisions
  • Replacing review by the accountable owner

Agent compatibility

  • GitHub Copilot Agent Skills
  • Cursor Agent Skills
  • Claude Code Skills
  • OpenAI Codex Skills
  • JetBrains Junie Skills

Tool policy: Advisory by default. No tools are assumed. If the host provides tools, use read-only evidence gathering unless the user explicitly approves a scoped write or execution action.