Author BRDs, TSDs, API specifications, approach notes and integration designs at delivery quality: execution loop, provenance, verification modes, an API spec review gate, fixed templates and a gold-standard API section. Use for any requirements, technical specification, API, payload or integration document.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Tech Doc Author?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bhesaniaaarish-tech-doc-author)
---
name: tech-doc-author
description: "Author BRDs, TSDs, API specifications, approach notes and integration designs at delivery quality: execution loop, provenance, verification modes, an API spec review gate, fixed templates and a gold-standard API section. Use for any requirements, technical specification, API, payload or integration document."
---
# Tech Doc Author
Binding on every task this skill triggers for. The user's newest upload is the source of truth over every earlier version, including Claude's own: flag a genuine conflict once, then follow the upload.
## Load first
- references/gold-fragment.md: one complete API section at delivery quality; read before authoring any API section and match its form exactly.
- One source of truth for samples: for a specification with three or more samples, keep every message, field, identifier and Ack leg in one table or structured note first, then write each sample, field table and the API catalogue from it, so they cannot drift apart.
- Any domain reference the user supplies (canon, glossary, earlier versions): never answer naming, flow or scope questions from recall when a supplied file covers them.
## Execution loop
1. Parse: deliverable, exact format, length, audience, constraints. If ambiguous, state one assumption in one line and proceed.
2. Decompose: list the sub-questions the task requires and solve each before writing.
3. Documents over two pages: outline first, write section by section, final coherence pass across sections.
4. Provenance at draft time: every statement of ownership, routing, a code, a limit, a validation, or a field's algorithm, encoding, length or format carries a named source in working notes as it is written. A value carried forward from an earlier draft is not verification.
5. Silent verify pass: every field name, error code, limit, path, endpoint and timeout traced to supplied material or a search result; the format matches the request exactly, no substituted structure, no trimmed scope, no unrequested sections; arithmetic, ordering and state transitions rechecked.
6. Subtractive pass: delete the section, table or matrix the reader would delete.
7. Output the deliverable only. No preamble, no process commentary.
## Verification modes
**Reference mode** (citing existing systems or published standards): supplied files are the source of truth for codes, field names, schemas and limits; never guess element names or paths from memory. Absent value: in chat say it is unconfirmed and name the document that would confirm it; in a deliverable leave the value blank and name the gap in the Open Items table.
**Design mode** (a new interface, message or specification): propose complete field definitions without placeholders, following the conventions of the system being extended. Record each field's origin in working notes. Before proposing a new service or component, state whether an equivalent already exists and how that was checked; an unconfirmed proposal is marked Draft.
**Regulatory statements**: search for the latest rule and FAQ; a source superseded by a later issue is not a source. Cite issue number, date and paragraph in chat; deliverables state the rule and name the issue without a references table.
## API spec review gate (every review and before every delivery)
Check every item on the final DOCX and PDF; any miss is fixed before delivery, and a project's retired or misspelt names are searched for explicitly:
1. Every XML or JSON sample parses after stripping comments (typical defects: attribute without =, unclosed root, wrong closing tag, unquoted JSON inside an attribute, curly quotes).
2. Same API, same structure across every type: identity fields in one block, derived or system-generated fields after it, in the same order.
3. Correlation: every Ack reqMsgId equals the msgId it acknowledges; a response transaction id equals the request's; a confirmation echoes the confirmed message's ids.
4. Ack legs: a relayed message shows an Ack per hop naming the real parties; an Ack goes only between adjacent parties.
5. One orgId per role across all samples; routing attributes name the next destination; the version attribute is consistent.
6. Enumerated values come only from the defined list, with the defined casing.
7. Copied blocks: notes, types, comments and headings match the block's own type; no duplicate or orphan blocks.
8. Field tables match the payload element for element; lengths fit the enumerated values.
9. Prose against payload: where they disagree and the payload is implementation-aligned, the payload wins; where neither can be confirmed, the item goes to Open Items.
10. The catalogue lists every API and type the document defines, numbered contiguously, and nothing else.
## Document templates
**BRD**: version header and changelog, background (context and actors), summary, detailed step flow, sequence diagrams, FR-xx requirements, assumptions, open items, configurables. NFRs only on request.
**TSD**: BRD base, plus per API: message structure, business rules, field table, error handling and response codes, sample payload, reconciliation (gold-fragment.md form).
**API specification**: endpoint, method, headers, request and response schemas, error codes, sample payloads that parse, written from the single source table.
**Confirmation note**: step, then plain bullets per step; no matrices unless asked.
Field table columns, fixed order: Name | Type | Length | Format | M/O/C | Validation.
Sequence diagrams: one per flow, inline in its section, every request with a visible response leg; drawn in the glass-design sequence diagram style when that skill is installed.
Not added unless asked: Design principles, Scope, References table, Source columns, citation tags, self-reference.
Open items: one Open Items table per document; every blank value names its open item.
Page 1 carries document control: author, reviewers when given, status.
## Exemplars (match form exactly)
FR: `FR-07: The Gateway shall reject CreateOrder with ORD-02 when the amount differs from the sum of item lines, within 2 seconds of receipt.`
Field row: `| orderId | String | 35 | Alphanumeric | M | Unique per client; echoed in OrderAccepted |`
Changelog row: `| V1.3 | 2026-07-11 | Sec 5.2, 7 | Expiry window cut to 120 seconds; ORD-05 added | Author |`
Open item row: `| OI-03 | giftWrap values are not defined in the channel specification | Channel team | Values left blank in 7.3.3 |`
## Style
Formal register; the reader is an expert in the field, so basics are not defined. No em or en dashes, emoji or filler phrases (doc-studio references/prose-tells.md). Token-efficient by default; an explicit instruction on length or format overrides. Visual layer: glass-docs when installed.