Technical writing
AgentSkills library: reusable skills for AI coding agents (AI SDK, Codex, LangGraph, Supabase, Docker, Vitest, pytest, Streamlit, Zod).
npx -y skills add BjornMelin/dev-skills --skill technical-writingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 3 stars3 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Internal engineering docs: specs, ADRs, architecture, runbooks, migrations, rollout plans, and maintainer guides.
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
8.6 KB, as published. Nobody here has run it
Technical Writing
Use this skill when the deliverable is internal technical documentation for builders and operators.
technical-writing is the documentation-cluster anchor for:
- technical specs
- product requirements documents (PRDs)
- architecture docs
- ADRs / decision records
- runbooks and incident procedures
- rollout / rollback / migration guides
- developer-facing implementation or maintenance guides
When to use this skill
- A team needs a technical spec before implementation starts
- A team needs a PRD for product/feature requirements before design or implementation
- An engineer needs an architecture document or ADR that records trade-offs and decisions
- Ops needs a runbook, rollback guide, or incident response procedure
- A migration or rollout needs a durable written path with validation and rollback notes
- A developer-facing internal guide needs to explain how a system works and how to work on it safely
When not to use this skill
- Published API docs, SDK docs, OpenAPI reference, developer portal content →
api-documentation - End-user onboarding, screenshots, tutorials, FAQs, help-center flows →
user-guide-writing - Release notes,
CHANGELOG.md, migration announcements for customers/devs →changelog-maintenance - Slides, pitch decks, roadmap presentations, architecture demos →
presentation-builder - Product positioning, launch copy, GTM messaging, marketing automation →
marketing-automation - The main job is deciding the feature or API itself before writing the doc →
task-planning,api-design, or the relevant planning skill first
Instructions
Step 1: Classify one primary mode
Normalize the request into one primary mode before drafting.
technical_writing_mode:
primary_mode: prd | 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:
prd→ product requirement, personas, stories, acceptance criteria, success metrics, risksspec→ planned change, goals, constraints, design, rollout, rollback, open questionsarchitecture→ system structure, boundaries, interfaces, trade-offs, failure modesadr→ one material decision with options and rationalerunbook→ operate, diagnose, recover, escalatemigration→ move from old to new safely with validation and rollbackinternal-guide→ implementation-facing explanation for maintainers
Step 2: Confirm audience and route-outs
Answer three questions before writing:
- Who will act on this document?
- What decision or action should it enable?
- 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 | user-guide-writing |
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:
- current behavior or architecture notes
- interfaces, schemas, commands, or operational signals
- rollout or operational constraints
- known failure modes and recovery steps
- unresolved questions or trade-offs
If evidence is missing, label assumptions explicitly instead of pretending the document is authoritative.
Step 4: Choose the smallest fitting structure
Use the mode rules below and only keep the sections that fit the chosen document.
Step 5: Apply mode-specific writing rules
- Specs must separate goals from non-goals.
- Architecture docs must explain boundaries and trade-offs, not every code path.
- ADRs must capture one decision, not become a full design doc.
- Runbooks must optimize for fast action under pressure.
- Migration guides must foreground compatibility, validation, and rollback.
- Internal guides must explain implementation reality, not customer education or marketing value props.
Step 6: Keep it docs-as-code friendly
Default to reviewable, repo-friendly writing:
- stable headings
- concise bullet lists where operators scan
- explicit commands, paths, owners, and prerequisites
- dated decisions and status for ADR-like docs
- links to source-of-truth docs instead of duplicated narrative when possible
Step 7: Run the quality check
Before finalizing, verify:
- The audience is named or obvious.
- The document states what decision or action it enables.
- Assumptions and unknowns are labeled.
- Commands, interfaces, validation, rollback, or escalation are concrete where relevant.
- Neighboring documentation skills are not being absorbed.
- 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
- mode:
spec - audience: engineers
- include goals, non-goals, constraints, design, rollout, rollback, open questions
- keep API portal publishing out of scope
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
- mode:
adr - capture context, decision, alternatives, consequences, follow-up
- keep the document short and decision-focused
Example 3: Incident runbook
Input
Write a runbook for when the payments worker backlog spikes and retries start timing out.
Good output direction
- mode:
runbook - include symptoms, immediate checks, operating steps, escalation, rollback / recovery
- optimize for operator speed, not essay-style explanation
Example 4: Boundary with API docs
Input
Refresh our public webhook quickstart and auth troubleshooting page for external developers.
Good output direction
- route to
api-documentation - explain that the main job is published developer-facing API docs, not internal technical documentation
Best practices
- Choose the document mode before writing the body.
- Keep internal technical docs decision- and action-oriented.
- Write only the sections the mode needs; do not force every template into every document.
- Separate internal design / ops docs from API portals, user help, release notes, decks, and GTM copy.
- Prefer docs-as-code structure: reviewable Markdown, stable headings, and source-linked facts.
- Label assumptions and unresolved questions explicitly.
- For runbooks and migrations, make rollback and escalation easy to find.
- When the request changes audience, route out instead of stretching the internal-docs lane.