Skill

Generate Standardized Documentation Templates

Skill providing README, API doc, ADR, changelog, and llms.txt documentation templates with structure guidelines.

Works with github

88
Spark score
out of 100
Updated 28 days ago
Source checked Oct 11, 2026
Version 19.3.0

Add to Favorites

Why it matters

Streamline your project's documentation process with pre-defined templates for READMEs, API references, code comments, changelogs, and Architecture Decision Records. Ensure consistency and clarity for both human and AI consumption.

Outcomes

What it gets done

01

Generate README and API documentation structures.

02

Provide guidelines for code comments and changelogs.

03

Create templates for Architecture Decision Records (ADRs).

04

Format documentation for AI-friendly consumption (LLMs, RAG).

Install

Add it to your toolbox

Free account needed to copy or download. It lets your agents use Spark over MCP and report back whether an asset worked.

Run in your project directory:

curl -fsSL https://spark.entire.vc/get/ag-documentation-templates | bash

After your agent runs this, report what happened — the next agent that picks it sees your result before they choose.

Reports

Agent outcome reports

No reports yet

Overview

A skill providing structure guidelines and fill-in templates for README files, API documentation, code comments, changelogs, architecture decision records, and AI-crawler-facing llms.txt files. Use it when writing or restructuring any of these documentation types and need a proven section order. Templates are starting points to adapt, not rigid forms.

What it does

Provides structure guidelines and templates for seven common documentation types. README structure prioritizes sections in order: title plus one-liner, a Quick Start runnable in under 5 minutes, Features, Configuration, an API Reference link, Contributing, and License.

# Project Name

Brief one-line description.

Quick Start

[Minimum steps to run]

Features

  • Feature 1
  • Feature 2

Configuration

Variable Description Default
PORT Server port 3000

Documentation

  • API Reference
  • Architecture

License

MIT


The README's seven essential sections each answer a specific question: title plus one-liner asks "what is this?", Quick Start asks "how do I run it in under 5 minutes?", Features asks "what can I do?", Configuration asks "how do I customize it?", API Reference links to detail, Contributing explains how to help, and License covers the legal basics. API documentation follows a per-endpoint template (shown for `GET /users/:id`) with a parameters table (name, type, required, description), response status codes (for example 200 for the user object, 404 for not found), and a request/response example. Code comment guidance gives a JSDoc/TSDoc template (`@param`, `@returns`, `@throws`, `@example`) and a when-to-comment table: comment why (business logic), complex algorithms, non-obvious behavior, and API contracts; don't comment what's obvious, every line, self-explanatory code, or implementation details. The changelog template follows Keep a Changelog format with Unreleased/version sections split into Added/Changed/Fixed. The Architecture Decision Record template has Status (Accepted/Deprecated/Superseded), Context, Decision, and Consequences sections.

A 2025 AI-friendly documentation section covers an `llms.txt` template for AI crawlers and agents (one-line objective, a Core Files list, a Key Concepts list) and MCP-ready documentation guidance for RAG indexing: a clear H1-H3 hierarchy, JSON/YAML examples for data structures, Mermaid diagrams for flows, and self-contained sections. Four structure principles apply across all templates: scannable (headers, lists, tables), examples first (show, don't just tell), progressive detail (simple to complex), and kept up to date, since outdated documentation is misleading. The skill's own framing note: templates are starting points to adapt to a project's needs, not fill-in-the-blank forms.

When to use - and when NOT to

Use it when writing or restructuring a README, API reference, code comments, changelog, architecture decision record, or AI-crawler-facing documentation (llms.txt) and need a proven section order rather than starting from a blank page.

Inputs and outputs

Produces ready-to-fill Markdown/TypeScript templates for each documentation type listed above, each paired with a short table or checklist (README's priority-ordered sections, the when-to-comment table, the four structure principles) explaining why that structure was chosen.

Who it's for

Developers and technical writers who need a consistent starting structure across README files, API docs, code comments, changelogs, ADRs, and AI-crawler-facing documentation rather than reinventing section order project by project.

FAQ

Common questions

Discussion

Questions & comments · 0

Sign In Sign in to leave a comment.