Skip to content
Development
Skill

/sota-docs-workflow

State-of-the-art documentation and engineering-collaboration guidance (2026) covering documentation architecture (Diátaxis, docs-as-code, READMEs, runbooks, onboarding, AI-readable docs), API/reference docs and changelogs, and the team workflow around code: pull requests, code

From plugin
sota-skills
2443 skills5 commands4 hooks2 MCP

Claude Code

$ npx -y skills add martinholovsky/SOTA-skills --skill sota-docs-workflow --agent claude-code

SKILL.md

sota-docs-workflow.SKILL.md
name: sota-docs-workflow
description: >-
  State-of-the-art documentation and engineering-collaboration guidance (2026)
  covering documentation architecture (Diátaxis, docs-as-code, READMEs,
  runbooks, onboarding, AI-readable docs), API/reference docs and changelogs,
  and the team workflow around code: pull requests, code review conduct,
  commit discipline, branching, and releases. Use when writing or structuring
  any documentation AND when auditing docs quality, and when designing or
  auditing collaboration workflow. Not for in-product UI microcopy (use
  sota-ux-writing) or marketing/landing-page copy (use sota-copywriting).
  Trigger keywords: documentation, docs,
  README, API docs, docstring, changelog, release notes, migration guide,
  code review, pull request, PR description, commit messages, conventional
  commits, branching, semver, onboarding, runbook, AGENTS.md, llms.txt,
  spec-driven development, SDD, Spec Kit, Kiro, specification, acceptance
  criteria, steering files.

SOTA Docs & Engineering Workflow

Purpose

Expert-level rules for the artifacts around the code: documentation (structure, reference, freshness, runbooks) and the collaboration workflow (PRs, review, commits, releases). These are the highest-leverage, lowest-glamour practices — review latency and doc decay quietly dominate team throughput. Rules are imperative with rationale and good/bad examples; every rules file ends with an audit checklist. Load only the files relevant to the task via the index below.

Boundaries: ADR practice lives in [`sota-architecture`](../sota-architecture/SKILL.md); API contract design in [`sota-api-design`](../sota-api-design/SKILL.md); tag signing/provenance and CI supply chain in [`sota-devsecops`](../sota-devsecops/SKILL.md). This skill references them rather than repeating them.

BUILD mode

When creating docs or setting up workflow:

1. **Classify before writing.** Every doc is exactly one Diátaxis mode (tutorial / how-to / reference / explanation) and is titled accordingly; mixed-mode pages are the defect to design out ([`rules/01`](rules/01-documentation-architecture.md) §1). 2. **Docs live with the code**: in-repo, PR-reviewed, CI link-checked, examples executed. If a doc can't change in the same PR as the code, it will decay ([`rules/01`](rules/01-documentation-architecture.md) §2, §4). 3. **README = what / why / 5-minute quickstart / honest status**, then links out ([`rules/01`](rules/01-documentation-architecture.md) §3). Runbooks are alert-linked and command-exact ([`rules/01`](rules/01-documentation-architecture.md) §5). Ship the **documentation baseline** — README + LICENSE + CHANGELOG always; SECURITY/CONTRIBUTING/CODE_OF_CONDUCT once public — each with one canonical home, not scattered copies ([`rules/01`](rules/01-documentation-architecture.md) §8). 4. **Reference is generated** from OpenAPI/docstrings/rustdoc/godoc with warnings-as-errors; doc comments carry the why, contract, and failure modes; examples run in CI ([`rules/02`](rules/02-api-reference-changelogs.md) §1–4). 5. **Changelog from day one**: Keep a Changelog format, `Unreleased` section updated in the PR that makes the change, user-impact language ([`rules/02`](rules/02-api-reference-changelogs.md) §6). 6. **Workflow defaults**: small single-purpose PRs with what/why/how-tested descriptions ([`rules/03`](rules/03-code-review-pr-workflow.md) §1–2); trunk-based short-lived branches; atomic commits with imperative ≤72-char subjects; conventional commits only if automation consumes them ([`rules/04`](rules/04-commits-branches-releases.md) §1–3). 7. **Agent docs**: one short, human-curated AGENTS.md/CLAUDE.md with exact commands and repo-specific traps — never auto-generated bloat, never a restatement of ambient/global rules ([`rules/01`](rules/01-documentation-architecture.md) §7, §10). On a **new repo**, `.gitignore` + secret scanning and LICENSE land before the first commit ([`rules/01`](rules/01-documentation-architecture.md) §10). 8. **Solved failures accrue** in a symptom-keyed troubleshooting playbook, written in the PR that fixed them ([`rules/01`](rules/01-documentation-architecture.md) §9). 9. Before declaring done, self-review against the relevant files' **Audit checklists**.

AUDIT mode

**Coverage:** every `rules/` file's Audit checklist applies in AUDIT mode. Mark one *not applicable* only with its reason in the report — never skip a file because the thing it checks for is absent, since that absence may be the finding.

When auditing docs or workflow:

1. Scope the surfaces: docs tree + README + runbooks ([`rules/01`](rules/01-documentation-architecture.md)), generated reference + changelog + migration guides ([`rules/02`](rules/02-api-reference-changelogs.md)), recent PRs and review threads ([`rules/03`](rules/03-code-review-pr-workflow.md)), git history, branches, and tags ([`rules/04`](rules/04-commits-branches-releases.md)). 2. **Audit reality, not policy.** Sample artifacts: run the quickstart on a clean environment, follow a runbook's commands, read 10 docstrings, read the last 20 merged PRs and 50 commits, diff a recent minor release for breaking changes. A CONTRIBUTING.md full of rules nobody follows is itself a finding. 3. Work through each loaded file's **Audit checklist**; probe the classic gaps: tutorial that fails partway, stale docs contradicting code, README quickstart requiring tribal knowledge, alert with no runbook, `default: Error` as the only documented failure, changelog that's a commit dump, 2,000-line rubber-stamped PRs, force-push during review, broken commits on main, moved release tags, gitflow on a continuous-deploy service.

Severity conventions

  • **Critical** — actively dangerous artifacts: runbook whose commands are wrong

or destructive without warning; docs instructing insecure practice (secrets in config examples, auth bypass); moved/del

Read more
@martinholovsky
Ships withsota-skills

Make your AI coding assistant build and audit like your most senior engineer. Your assistant is brilliant — it just doesn't know your standards, and it forgets the ones it does know as the task grows long.

2443 skills2 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
24
Star history of martinholovsky/SOTA-skills on GitHub, a chart by star-history.com

Other skills on sota-skills.

sota-c-cpp

sota-c-cpp

State-of-the-art C and C++ engineering rules that Claude applies when writing or auditing C/C++. Covers modern idioms (RAII,…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about sota-docs-workflow.

Which coding agents can use sota-docs-workflow?
sota-docs-workflow installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.