Technical writing

From akillness/jeo-skills · View interactive version

Technical writing is an AI agent skill from the GitHub repository akillness/jeo-skills. Write internal technical documentation for engineers and operators: technical specs, architecture docs, ADRs, runbooks, migration plans, and developer-facing implementation guides. Use when the main job is capturing a technical decision, system boundary, operating procedure, or rollout path for buil

How to use this skill

Skill file

Technical Writing

Use this skill when the deliverable is internal technical documentation for builders and operators.

technical-writing is the documentation-cluster anchor for:

Read these support docs before choosing the mode or boundary:

When to use this skill

When not to use this skill

Instructions

Step 1: Classify one primary mode

Normalize the request into one primary mode before drafting.

technical_writing_mode:
  primary_mode: spec | architecture | adr | runbook | migration | internal-guide
  audience: engineers | operators | mixed | unknown
  source_of_truth: repo | incident-notes | existing-doc | mixed | unknown
  lifecycle_state: draft | review | rewrite | maintenance
  docs_surface: markdown-repo | docs-site | wiki | unknown
  review_need: decision-signoff | operational-accuracy | handoff-clarity | unknown

Use one primary mode per run:

Step 2: Confirm audience and route-outs

Answer three questions before writing:

  1. Who will act on this document?
  2. What decision or action should it enable?
  3. Which neighboring skills must stay out of scope?

Quick route-out table:

| If the request sounds like... | Use |

|---|---|

| Publish docs for an API, SDK, webhook, or developer portal | api-documentation |

| Write a tutorial, onboarding guide, or FAQ | owned here, in end-user guide mode |

| Summarize shipped changes or maintain CHANGELOG.md | changelog-maintenance |

| Make slides for a launch, roadmap, or architecture review | presentation-builder |

| Write launch or product messaging | marketing-automation |

| Decide the API or feature design before writing docs | api-design, task-planning, or another planning skill |

Step 3: Gather the minimum technical evidence

Do not draft from vibes alone. Pull the smallest credible evidence set first:

If evidence is missing, label assumptions explicitly instead of pretending the document is authoritative.

Step 4: Choose the smallest fitting structure

Use references/mode-structures.md and only keep the sections that fit the chosen mode.

Step 5: Apply mode-specific writing rules

Step 6: Keep it docs-as-code friendly

Default to reviewable, repo-friendly writing:

Step 7: Run the quality check

Before finalizing, verify:

  1. The audience is named or obvious.
  2. The document states what decision or action it enables.
  3. Assumptions and unknowns are labeled.
  4. Commands, interfaces, validation, rollback, or escalation are concrete where relevant.
  5. Neighboring documentation skills are not being absorbed.
  6. The title and section layout match the chosen mode.

Step 8: Return a brief or the finished artifact

Preferred summary shape before full drafting:

# Technical Writing Brief

## Mode
- Primary mode:
- Why it fits:
- Audience:

## Source material used
- Repo/docs/evidence:
- Assumptions / gaps:

## Draft structure
1. section
2. section
3. section

## Writing notes
- Key decisions / actions enabled:
- Risks / unknowns:
- Route-outs kept out of scope:

If the user already asked for the finished artifact, produce the chosen document directly with the matching structure above.

Examples

Example 1: Internal design doc before implementation

Input

Write a technical spec for moving our worker queue from Redis lists to Redis streams. Engineers need goals, constraints, rollout, and rollback before coding.

Good output direction

Example 2: Architecture decision capture

Input

We chose Postgres logical replication over dual writes. Record the decision and alternatives in an ADR.

Good output direction

Example 3: Incident runbook

Input

Write a runbook for when the payments worker backlog spikes and retries start timing out.

Good output direction

Example 4: Boundary with API docs

Input

Refresh our public webhook quickstart and auth troubleshooting page for external developers.

Good output direction

Best practices

  1. Choose the document mode before writing the body.
  2. Keep internal technical docs decision- and action-oriented.
  3. Write only the sections the mode needs; do not force every template into every document.
  4. Separate internal design / ops docs from API portals, user help, release notes, decks, and GTM copy.
  5. Prefer docs-as-code structure: reviewable Markdown, stable headings, and source-linked facts.
  6. Label assumptions and unresolved questions explicitly.
  7. For runbooks and migrations, make rollback and escalation easy to find.
  8. When the request changes audience, route out instead of stretching the internal-docs lane.

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.