
write-manual
Writes a long technical manual that explains one subject at one pinned version, from its purpose to each request and response. Every listing comes from an offline capture, every claim traces to a ranked source, and an audit must report TOTAL 0. Use it for "write a manual", "write a 101 manual for ", "manual.json", "add a manual section", "build a capture kit", "audit the manual", or "pin a spec version and document it".
- Installs
- 629
- Last 24h
- +79
- Trending rank
- #2333
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/rohitg00/ai-engineering-from-scratch --skill write-manual- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads write-manual automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Write a manual
A manual explains one subject, such as a protocol, a file format, or a runtime, at one exact version. A lesson teaches a concept and moves on. A manual stays with one system until the reader can predict what it does in a case the manual never showed.
This skill gives the full method. It covers research, ranked sources, and a register of conflicts between sources. It also covers an offline capture kit, a fixed section shape, prose limits, and an audit that must report TOTAL 0. It works in any repository. Inside the AI Engineering from Scratch repo, the tooling already exists, and manuals/a2a-101/ is the worked example.
When to use
- The reader must predict the behavior of one system, at one version, in cases you did not show.
- The subject has a specification, a schema, or a source tree that you can pin to a commit.
- You can run the subject, or a faithful stand-in, offline and record its requests and responses.
- The result is 60 to 100 pages with figures, and other people will maintain it.
When not to use
- You teach a general concept, such as attention or retrieval. Write a lesson instead.
- The subject has no version to pin, or changes every week.
- You cannot run the subject and cannot record its output. A manual without captures is an essay.
- You want a short how-to. A manual of fewer than about 15 sections does not need this shape.
Size of a 101 manual
| Item | Target |
|---|---|
| pages | 60 to 100 |
| parts | 6 to 8, plus one reference part |
| sections | about 25 |
| figures | 30 to 40 |
outcomes in manual.json | at least 3 |
| takeaways per section | exactly 1 block, with at least 2 items |
The worked example has 7 parts, 28 sections, 7 reference sections, and 31 figures.
Method
- Pin the subject. Record the version, source URL, commit, release date, and verified date.
- Rank the sources. List them in authority order: schema or proto, specification, project docs, reference SDK, capture kit.
- Vendor what the license allows. Copy each quotable source unchanged into
research/sources/, with its license file beside it. - Write the fact brief. Index every rule you will use by section and line number, in
research/. See references/research-and-sources.md. - Open the conflict register. Give each disagreement between two sources an id (
D1,D2, ...) as you find it. - Build the capture kit. Drive the subject offline and write deterministic files to
capture/out/. See references/capture-kit.md. - Plan the contents from the specification. Name each section after one thing the reader can find in the spec.
- Write
manual.json. Fill the pin, outcomes, palette, ranked sources, quote sources, capture commands, and parts. See references/manual-json.md. - Write the front matter. Title it "How to read this manual" and follow the order in "Front matter" below.
- Write one section at a time. Use the section shape below. Cut every listing from a capture file.
- Draw each figure from a capture. Follow the figure must-haves below and the sibling
blueprint-figureskill. - Build and audit. Fix every finding until the audit prints
TOTAL 0. See references/audit.md. - Size commits by judgment. A section with its figures and the captures it adds is a good unit.
Plan the contents from the specification
Build the table of contents from the names the specification uses, then decide what each part proves.
- Front matter. One document,
front.md, titled "How to read this manual". - Part 1, the subject on one page. Two sections: what the subject standardizes, then one complete exchange from a capture.
- Middle parts. One part per layer of the subject, such as discovery, data model, operations, bindings, security, and extensions.
- Last part, implementation. Build a client and a server. Test both with the official conformance tools. Explain migration from the previous version.
- Reference part. Method tables, objects, states, errors, a glossary, the sources and conflicts, and the figure index.
Each section title names one object, operation, binding, header, error, or extension from the specification. "CancelTask and terminal states" is a good title. "State machines" is not, because no specification defines an object with that name. Put a general idea in the section about the object that has it.
Front matter
front.md covers these topics, in this order:
- Who the manual is for, and what they can do after it.
- How it was made, with the ranked sources table.
- The capture kit.
- The conventions: citation forms, listing cuts, and id shortening.
- A first run that the reader can do offline.
- How the parts are ordered, as an empty
partsblock. - Colour in figures, as an empty
paletteblock. - Figure 0.1, which teaches the arrow and colour grammar of this manual.
Section shape
Every section file follows this order. Reference sections and the front matter need a thesis and a sources line, but no outcome sentence and no takeaways.
# Title, with the name the specification uses.> Thesis, directly under the title: one sentence of at most 30 words, the claim the section proves.- An opening paragraph that starts from a concrete situation the reader has been in.
- The sentence "When you finish this section, you can ..." inside the first two paragraphs.
- The body:
##subsections, definitions that start with**Term:**, figures, listings, rules, and tables. - Exactly one
takeawaysblock, with two or more actions. - A last paragraph that starts with
Sources:and names every file the section was written from.
A complete template is in references/section-template.md.
Fenced block kinds
| Fence | Holds | Required keys |
|---|---|---|
figure | one figure, by id | id, kind, title, claim, caption |
listing | lines cut from one capture file | title, source, lang, optional note, then --- and the lines |
rule | one quote, checked word for word | label, source, then --- and the quote |
takeaways | the actions for the section | two or more - item lines |
parts, palette, figure-index, contents | generated tables | no body |
Every other fence needs a language tag. A json, jsonl, http, or sse fence must be a listing instead.
Markdown subset
Use only these constructs, so every edition renders the same way:
- One
#title on the first line, and the thesis quote under it. ##and###headings, each with an optional{#anchor}.- Paragraphs, and one-level
-or1.lists. - Pipe tables with a header row.
- Bold, italic, and inline code.
{{key ref}}citations,[text](#s-5-3)cross-references, and repository links.
Raw HTML, horizontal rules, nested lists, #### headings, and other quote blocks fail the build. Section anchors are s- plus the id with dots as hyphens, such as s-1-4 or s-r-2.
Listings
- Cut every listing from a file in
capture/out/. Never type a request or a response from memory. - Each listing line must appear in its source file exactly as written.
- Mark a cut with
…on its own line or inside a line. - Say what you cut in the
note. - Name the source file in
source, so the reader can open the full record.
Sources, quotes, and conflicts
- Rank
sourcesby authority. When two sources disagree, the higher one wins and the text says so. - Quote a rule word for word, then cite its key:
"quoted text" {{spec §3.1.5}}. - Declare every citation key in
quoteSources. Map it to a vendored file, or tonullwhen the source cannot be vendored. - Paraphrase sources with a
nullkey, such as an SDK. Never quote them. - When sources disagree, quote both sides in the section, say which one the manual follows, and link the register entry.
- Keep the register in the sources reference section. Give it five columns: id, sources, choice, sections, and upstream status.
- Never name or cite another guide, course, or book. Cite specifications, source code, papers, and the subject's own documentation.
Prose limits
| Limit | Value |
|---|---|
| words in a sentence | at most 25 |
| words in a thesis | at most 30, one sentence |
| words in a figure claim | at most 28, one sentence ending with a period |
| words in a takeaway | at most 20, an instruction in imperative mood |
| sentences in a paragraph | at most 6 |
Write in the second person, about the mechanism. Define a term once, use it the same way everywhere, and add it to the glossary. Quotes, code, and citations are exempt from the limits.
Use no semicolons, no contractions, and no em or en dashes. Never write the word may. Use "can", or state the condition. Avoid the banned words in references/prose-rules.md.
Figure must-haves
Use the sibling blueprint-figure skill to draw the figures. Every figure in a manual must also meet these rules:
- Use one of nine kinds:
sequence,structure,flow,comparison,timeline,tree,state,decision,layers. - Show the real system: real ids, field names, method names, and sequence numbers from a capture.
- Make one claim of at most 28 words. The caption says how to read the figure, then names its capture file.
- Never draw generic boxes such as "Component A", stat cards, or progress bars.
- Compare two behaviors of the subject. Never compare against an earlier build.
- Give each hue one meaning per manual.
roseis failure,greyis outside the subject,amberis lifecycle,tealis durable state. - Draw exchanges with the eight arrow styles below. Figure 0.1 teaches the ones the manual uses.
- Use
viewBox="0 0 640 H"with H at most 760, text at least 11 units, and a file of at most 40 KB. - Put a
<title>and a<desc>of at least 40 characters on the root, which hasrole="img". - Start every
idin the SVG with the figure id, because all figures share one page. - Write colours only as
var(--m-<token>, #hex), with the light value of the token as the hex.
| Arrow style | Means |
|---|---|
| solid ink | a call or request |
| dashed ink | a reply |
| solid teal | a durable write |
| dashed amber | a state change |
| solid plum | a model call or compute |
| dashed olive | an effect outside the system |
| dotted indigo | a stream or an event |
| dashed rose | a failure |
Build and audit
Inside the AI Engineering from Scratch repo, run these from the repository root:
node --test site/test_manuals.js
node site/build-manuals.js
node manuals/_shared/figkit.js build manuals/<id>
node scripts/audit_manuals.js --manual <id>
Outside the repo, build your own audit from references/audit.md. It lists each check, so you can write it as one script. Fix the text, never the limit. A manual does not merge until the audit prints TOTAL 0.
Commit rules
- Size commits by judgment. A section with its figures and the captures it adds is a good unit. A small fix across sections can be one commit.
- Use the message
feat(manual/<id>): <section slug>. - Never commit generated output. Inside the repo, that is
site/manual-<id>.html,site/manuals.html, andsite/manuals-data.js. - Keep
statusatdraftuntil the manual is complete. Areadymanual needs aREADME.md. - Update vendored sources only together with the
pininmanual.json.
Check before you finish
-
manual.jsonvalidates, andpinhas subject, version, source, commit, date, and verified. - Every section title names one thing that the specification defines.
- Every section has a thesis, an outcome sentence in its first two paragraphs, one takeaways block, and a
Sources:line. - Every
json,jsonl,http, andsseblock is alistingwith a capture source. - The capture check runs offline and reports no drift.
- Every quote of 24 or more characters is found word for word in its vendored file.
- Every conflict has a register id, and each section that meets it links that id.
- Every figure SVG is used by a document and matches its source script.
- The audit prints
TOTAL 0. - Commits are sized by judgment, with messages such as
feat(manual/<id>): <section slug>.
Files
- references/manual-json.md: every field of
manual.json, with a starter file. - references/section-template.md: a section skeleton with each fence kind.
- references/research-and-sources.md: the fact brief, vendoring, quotes, and the conflict register.
- references/capture-kit.md: how to record deterministic captures and check them for drift.
- references/prose-rules.md: the limits and the full banned word list.
- references/audit.md: every audit rule, and how to reproduce the audit outside the repo.
- Inside the AI Engineering from Scratch repo, also see
manuals/AUTHORING.md,manuals/manual.schema.json, andmanuals/a2a-101/.
FAQ
What does the write-manual skill do?
Writes a long technical manual that explains one subject at one pinned version, from its purpose to each request and response. Every listing comes from an offline capture, every claim traces to a ranked source, and an audit must report TOTAL 0. Use it for "write a manual", "write a 101 manual for ", "manual.json", "add a manual section", "build a capture kit", "audit the manual", or "pin a spec version and document it".
How do I install write-manual?
Run npx skills add https://github.com/rohitg00/ai-engineering-from-scratch --skill write-manual in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/write-manual/ (personal) or .claude/skills/write-manual/ (project).
Which AI agents can use write-manual?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is write-manual safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains write-manual?
It is published by rohitg00 in rohitg00/ai-engineering-from-scratch. It has 629 recorded installs.
More from rohitg00/ai-engineering-from-scratch
start-learning
rohitg00/ai-engineering-from-scratch
One-time onboarding for the AI Engineering from Scratch curriculum (523 lessons, 20 phases). Interviews the learner, runs the placement quiz, and writes LEARNING.md, a persistent study plan the learn skill drives. Trigger phrases: "start learning", "set up the course", "begin the curriculum", "onboard me", "create my learning plan"
check-understanding
rohitg00/ai-engineering-from-scratch
Phase quiz for AI Engineering from Scratch. Trigger with "quiz me", "test phase", "check my understanding", "do I know phase 3", or /check-understanding .
find-your-level
rohitg00/ai-engineering-from-scratch
Interactive quiz that maps your AI/ML knowledge to a starting point in the 523-lesson, 20-phase AI Engineering from Scratch curriculum. Trigger phrases: "where should I start", "find my level", "what do I know", "which phase", "assess my knowledge", "placement test", "skip ahead"
learn
rohitg00/ai-engineering-from-scratch
Interactive lesson tutor for the AI Engineering from Scratch curriculum. Reads LEARNING.md, fetches the next lesson, teaches it section by section in the terminal, quizzes at the end, and records progress. Works cloned or entirely over raw.githubusercontent.com — no setup required. Trigger phrases: "next lesson", "teach me", "continue the course", "let's learn", "resume learning"
course-guide
rohitg00/ai-engineering-from-scratch
Topic router for the AI Engineering from Scratch curriculum. Give it a topic, a question, or a bug you are fighting, and it points at the exact lessons that teach it, plus the right next command. Trigger phrases: "where do I learn", "which lesson covers", "course guide", "I'm stuck on", "what should I do next", "teach me MCP", "teach me Agent Skills", "where do I prepare for a Claude certification"
claude-certification
rohitg00/ai-engineering-from-scratch
AI-native tutor and onboarding workflow for the four independent Claude certification tracks in AI Engineering from Scratch. Use when a learner wants to choose a Claude certification, prepare for CCAO-F, CCDV-F, CCAR-F, or CCAR-P, resume a certification path, learn the next lesson interactively, run and verify practical labs, build scored artifacts, take a diagnostic or mock exam, or remediate weak exam domains from GitHub with Claude Code, Codex, ChatGPT, Cursor, or another agent.
Popular security skills
azure-compliance
microsoft/azure-skills
Run Azure compliance and security audits with azqr plus Key Vault expiration checks. Covers best-practice assessment, resource review, policy/compliance validation, and security posture checks. WHEN: compliance scan, security audit, BEFORE running azqr (compliance cli tool), Azure best practices, Key Vault expiration check, expired certificates, expiring secrets, orphaned resources, compliance assessment.
minimal-run-and-audit
lllllllama/rigorpilot-skills
Rigor Run skill for README-first deep learning repo reproduction. Use when the task is specifically to capture or normalize evidence from the selected smoke test or documented inference or evaluation command and write standardized reprooutputs/ files, including patch notes when repository files changed. Do not use for training execution, initial repo intake, generic environment setup, paper lookup, target selection, hidden scientific-meaning changes, or end-to-end orchestration by itself.
seo-audit
coreyhaines31/marketingskills
When the user wants to audit, review, or diagnose SEO issues on their site. Also use when the user mentions "SEO audit," "technical SEO," "why am I not ranking," "SEO issues," "on-page SEO," "meta tags review," "SEO health check," "my traffic dropped," "lost rankings," "not showing up in Google," "site isn't ranking," "Google update hit me," "page speed," "core web vitals," "crawl errors," "indexing issues," "stuck on page 2," "striking distance keywords," "title tag rewrite," "low CTR," "local SEO," "Google Business Profile," or "map pack." Use this even if the user just says something vague like "my SEO is bad" or "help with SEO" — start with an audit. For building pages at scale to target keywords, see programmatic-seo. For adding structured data, see schema. For AI search optimization, see ai-seo.
firebase-security-rules-auditor
firebase/agent-skills
Audits Firebase (Firestore, Cloud Storage) security rules for vulnerabilities, privilege escalation, role bypasses, create vs update inconsistencies, resource exhaustion, type safety, size limits, and hasOnly ownership checks. Use when auditing/reviewing rules, running red-team rule assessments, or scoring against auditor checklists. Don't use for Firebase CLI (login, deploy), Auth, Crashlytics, Remote Config, or database queries.
audit
pbakaus/impeccable
Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
competitors
coreyhaines31/marketingskills
When the user wants to create competitor comparison or alternative pages for SEO and buyer-facing use. Also use when the user mentions 'alternative page,' 'vs page,' 'competitor comparison,' 'comparison page,' '[Product] vs [Product],' '[Product] alternative,' 'competitive landing pages,' 'how do we compare to X,' 'competitor teardown,' 'audit our competitor pages,' 'are our comparison pages out of date,' or 'competitive asset audit.' Use this for any content that positions your product against competitors. Covers four formats: singular alternative, plural alternatives, you vs competitor, and competitor vs competitor. For auditing existing claims (not researching competitors from scratch, which is competitor-profiling; not technical SEO on these pages, which is seo-audit), use the asset audit here. For internal battle cards and sales-specific competitor docs, see sales-enablement.