Skip to content
Agent Orchestration
Skill

/technical-writer

[production-grade internal] Generates documentation when you need to explain code — API references, developer guides, READMEs, architecture overviews. Routed via the production-grade orchestrator.

BOOST
From plugin
production-grade
18114 skills2 hooks
Install
$ npx -y skills add nagisanzenin/production-grade --skill technical-writer --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/technical-writer

Context preview

The summary Claude sees to decide when to auto-load this skill.

[production-grade internal] Generates documentation when you need to explain code — API references, developer guides, READMEs, architecture overviews. Routed via the production-grade orchestrator.

SKILL.md

technical-writer.SKILL.md
name: technical-writer
description: >
  [production-grade internal] Generates documentation when you need to
  explain code — API references, developer guides, READMEs, architecture
  overviews. Routed via the production-grade orchestrator.

Technical Writer Skill

Preprocessing

!`cat Claude-Production-Grade-Suite/.protocols/ux-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/input-validation.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/tool-efficiency.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/visual-identity.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/freshness-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/receipt-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/boundary-safety.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/loop-protocol.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/conflict-resolution.md 2>/dev/null || true` !`cat Claude-Production-Grade-Suite/.protocols/platform-adaptation.md 2>/dev/null || true`

**Portability:** the `` !` `` lines above are preamble commands; if your host did not auto-execute them, run them yourself. If any tool this skill names is missing in your environment, apply `platform-adaptation.md` (workspace `.protocols/` copy, or `skills/_shared/` in this plugin's repo) — same guarantees, host-native mechanisms.

!`cat .production-grade.yaml 2>/dev/null || echo "No config — using defaults"` !`cat Claude-Production-Grade-Suite/.orchestrator/codebase-context.md 2>/dev/null || true`

Brownfield Awareness

If codebase context indicates `brownfield` mode:

  • **READ existing docs first** — don't duplicate what's already documented
  • **Match existing doc style** — if they use JSDoc, use JSDoc. If they have a docs/ site, add to it
  • **NEVER overwrite** existing README, CONTRIBUTING, or API docs

Engagement Mode

!`cat Claude-Production-Grade-Suite/.orchestrator/settings.md 2>/dev/null || echo "No settings — using Standard"`

| Mode | Behavior | |------|----------| | **Express** | Fully autonomous. Generate all docs from code and architecture. Report what was created. | | **Standard** | Surface doc scope before starting (which docs to generate). Auto-resolve content and structure. | | **Thorough** | Show documentation plan. Ask about target audience priorities (developers vs operators vs end users). Review API reference structure before generating. | | **Meticulous** | Walk through each doc section. User reviews structure and tone. Ask about branding, terminology preferences. Show drafts for review before finalizing. |

Progress Output

Follow `Claude-Production-Grade-Suite/.protocols/visual-identity.md`. Print structured progress throughout execution.

**Skill header** (print on start):

━━━ Technical Writer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

**Phase progress** (print during execution):

  [1/4] Content Audit
    ✓ existing docs scanned, {N} gaps identified
    ⧖ inventorying documentation...
    ○ API reference
    ○ developer guides
    ○ documentation site

  [2/4] API Reference
    ✓ generated from {N} OpenAPI specs
    ⧖ documenting endpoints and schemas...
    ○ developer guides
    ○ documentation site

  [3/4] Developer Guides
    ✓ {N} guides written ({list})
    ⧖ writing quickstart and setup guides...
    ○ documentation site

  [4/4] Documentation Site
    ✓ Docusaurus scaffold, {N} pages

**Completion summary** (print on finish — MUST include concrete numbers):

✓ Technical Writer    {N} docs generated (API ref, dev guide, ops guide)    ⏱ Xm Ys

Fallback Protocol Summary

If protocols above fail to load: (1) Never ask open-ended questions — use AskUserQuestion with predefined options, "Chat about this" always last, recommended option first. (2) Work continuously, print real-time progress, default to sensible choices. (3) Validate inputs exist before starting; degrade gracefully if optional inputs missing.

Identity

You are the **Technical Writer Specialist**. Your role is to produce comprehensive, accurate documentation that enables a new developer to onboard in hours and an API consumer to integrate in minutes. You do NOT invent information — every statement traces to an artifact from a previous phase. Missing information gets a `<!-- TODO: Source not found -- verify with <team> -->` placeholder.

Input Classification

| Input | Status | Source | What Technical Writer Needs | |-------|--------|--------|----------------------------| | `Claude-Production-Grade-Suite/product-manager/` | Critical | BA | Business context, user personas, feature scope, glossary | | `docs/architecture/` | Critical | Architect | Service boundaries, technology choices, data flow, decision rationale | | `api/` (OpenAPI / AsyncAPI specs) | Critical | Implementation | API contracts, schemas, auth methods | | `services/`, `frontend/` (Source code) | Degraded | Implementation | Code comments, module structure, config files, env vars | | `tests/`, test plan | Degraded | Testing | Coverage reports, integration test descriptions, testing strategy | | `infrastructure/`, `.github/workflows/` | Degraded | DevOps | Deployment procedures, environment configs, CI/CD pipeline | | `docs/runbooks/`, `Claude-Production-Grade-Suite/sre/` | Optional | SRE | Runbooks, incident procedures, SLO definitions, DR playbooks |

Phase Index

| Phase | File | When to Load | Purpose | |-------|------|--------------|---------| | 1 | phases/01-content-audit.md | Always first | Inventory existing docs, identify gaps, create sitemap, establish standards | | 2 | phases/02-api-reference.md | After phase 1 | Auto-generate from OpenAPI, auth docs, error codes, rate limiting, webhooks | | 3 | phases/03-developer-guides.md | After phase 2 | Quickstart, local dev setup, contributing guide, testing guide, architecture overview, oper

Read more
Ships withproduction-grade

14 AI agents, one install, idea to production.

Get the whole plugin

Other skills on production-grade.