docs-writing
Skill5 starsChanged 19 days agoApache-2.0View on GitHub
Write or revise Treq technical docs under web/docs/ and shipped-behavior pages (roadmap, security, settings copy). Owns accuracy against current code, shipped vs WIP, and cross-page consistency. Use first for web/docs/** work.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- Pasta-Devs/Marinara-Enginetheir own version, first seen Nov 8, 2026
- stigmer/stigmertheir own version, first seen Nov 8, 2026
- onyx-dot-app/onyx-fosstheir own version, first seen Nov 1, 2026
- ragna-ai/ragna-studiotheir own version, first seen Nov 1, 2026
- onyx-dot-app/onyxtheir own version, first seen Nov 1, 2026
- tznc/treqword for word, first seen Oct 25, 2026
Other versions15 projects use a version of this.
Word for word · 1
- tznc/treq★ 5100% same
Edited · 0
None found.
Wrote their own version · 14
- onyx-dot-app/onyx★ 33ksame name
- typescript-eslint/typescript-eslint★ 16ksame name
- unkeyed/unkey★ 5.5ksame name
- Pasta-Devs/Marinara-Engine★ 765same name
- railwayapp/docs★ 322same name
- onyx-dot-app/onyx-foss★ 320same name
- rust-dd/tako★ 175same name
- MystenLabs/ts-sdks★ 97same name
- vanillagreencom/kendex★ 76same name
- stigmer/stigmer★ 9same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src-tauri/AGENTS.mdAGENTS.md
- app-qaSkill
- audit-interlinkingSkill
- design-auditSkill
- explain-to-meSkill
- service-qaSkill
- writingSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. 0 are common, 11 are distinctive, and 5 are very specific to this project.
0
Common
Most of the 14 edited versions we read keep these.
11
Distinctive
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 14
Use this skill every time you write or revise technical product documentation for Treq:
- Distinctive: line 20
Do not treat changelog PR titles alone as proof a feature is user-ready.
- Very specific: line 33
Read explain-to-me before drafting prose.
- Distinctive: line 37
Never draft from memory or from a changelog bullet alone.
- Very specific: line 41
Map auth and prerequisites: Document what the user must install or sign into before the UI works.
- Distinctive: line 43
Read sibling docs: Update pages that would contradict the new text (security, settings, guides, tutorials, roadmap, indexes, sidebars).
- Distinctive: line 61
Before finishing any technical doc change, verify each claim:
- Distinctive: line 107
After prerequisites are stated once, do not keep naming the CLI or auth tool in every later section.
- Distinctive: line 108
Prefer one clear sentence over a multi-paragraph mechanism when the reader does not need the mechanism to act.
- Distinctive: line 120
When a review or the flow needs a UI crop:
- Distinctive: line 129
Analogy vs product: Do not leave docs that only say "like a GitHub PR" once a real integration exists.
- Distinctive: line 130
Local vs remote review data: If the product both keeps local comments and reads remote threads, say both.
- Very specific: line 133
CLI follows features: If treq st (or similar) prints new fields, update the CLI reference.
- Distinctive: line 134
Roadmap status callouts only: After publish, add callouts.
- Very specific: line 139
Run explain-to-me readability with --strict on every touched prose file.
- Distinctive: line 142
If a human review corrected tone, WIP placement, or roadmap handling, propagate that rule into this skill when it is durable.
“Common” is measured: kept by at least 6 in 10 of the 14 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
docs-writing (technical docs for Treq)
When to use
Use this skill every time you write or revise technical product documentation for Treq:
- Anything under
web/docs/**(concepts, how-tos, tutorials, reference, security) - Product status pages that claim what ships today (
web/src/pages/roadmap.mdx, changelog feature framing when it asserts availability) - Sidebar / index / guides copy that points readers at those features
Do not treat changelog PR titles alone as proof a feature is user-ready.
For Learn articles (web/learn/**), READMEs that are not product how-tos, and voice-only edits, prefer the writing and explain-to-me skills. When a Learn article documents a concrete Treq UI behavior, still apply the accuracy rules below.
Skill stack
| Concern | Skill |
| Product-doc accuracy, shipped vs WIP, prerequisites | This skill (docs-writing) |
| Voice, Orwell, ASD-STE100, banlists, readability script | explain-to-me |
| Learn-site skeleton, DefinitionCards, interlinking audit | writing |
| Formatting baseline | web/STYLE_GUIDE.md |
Read explain-to-me before drafting prose. Run its readability checker before you call the doc done.
Mandatory research before drafting
Never draft from memory or from a changelog bullet alone.
- Find the code path. Locate the UI entry points and backend handlers (components, hooks, Tauri commands, native Node addon surface). Prefer reading those files over summarizing commit messages.
- Separate shipped from WIP. Code in tree is not the same as a finished product. Feature flags, Pro gates, incomplete workers, and explicit maintainer notes count. If a human says a feature is WIP, treat that as authoritative over changelog wording.
- Map auth and prerequisites. Document what the user must install or sign into before the UI works. Silent failures (missing
gh, non-GitHub remotes) belong in the docs. - Diff UI surfaces. The same verb in two places can mean different implementations (example: header Create PR vs Review-tab Commit and create PR title derivation). Document each path accurately.
- Read sibling docs. Update pages that would contradict the new text (security, settings, guides, tutorials, roadmap, indexes, sidebars).
Shipped vs WIP rules
State product behavior in present tense, as if the feature is finished. Put incompleteness only in callouts.
| State | How to write |
| Shipped | Present tense. Name exact UI labels. Link how-tos. |
| WIP / preview | Keep body copy in present tense for the intended design. Put incompleteness in :::note[Work in progress] at the top of that section or page. Do not weave "planned / intended / when finished" through every paragraph. |
| Roadmap | Do not rewrite published roadmap prose. After a roadmap page is published, only add status callouts on each announced feature (:::tip[Partial ship] / :::note[Work in progress]). Leave the original milestone text intact. |
Admonition title form matches the site: :::tip[Shipped in v0.2.0] and :::note[Work in progress], then a blank line, then body, then :::.
Move WIP sentences out of opening paragraphs into callouts. Opening prose should describe the product, not apologize for unfinished slices.
Accuracy checklist (must pass)
Before finishing any technical doc change, verify each claim:
- UI labels match the app string exactly (
Create PR,View PR,Add to Queue,Manage GitHub, …). - Prerequisites are complete and not overstated. Free vs Pro auth paths stay distinct when the product has them (example: Free uses
gh, Pro can use the GitHub App, andghmay still help with fetches when present). - Plan gates apply only to the surfaces that are actually gated.
- No silent over-promise: displaying CI is not auto-merge. Quoting a GitHub thread does not post to GitHub. Local review comments stay local unless copied or sent to an agent.
- Auth prerequisites are not repeated in every later section after you have already stated them once.
- Related pages no longer contradict the new page (security, settings, guides, tutorials, roadmap, concept/how-to indexes,
web/sidebars.ts). - WIP features use WIP callouts and do not rewrite published roadmap body copy.
- Readability:
python3 .claude/skills/explain-to-me/scripts/readability.py --strict path/to/doc.mdxis clean of hard fails and Tier 1 words.
Page types under web/docs
Match existing web/docs pages. Do not invent a new skeleton.
| Type | Lives in | Job |
| Concept | web/docs/concepts/ | What the system is, boundaries, tables of behavior. Keep minor DX details out. |
| How-to | web/docs/how-to/ | Task steps a reader can execute. No recommendations or "prefer X" advice. |
| Tutorial | web/docs/tutorials/ | Longer walkthrough of a workflow |
| Reference | web/docs/reference/ | Commands, shortcuts, exhaustive lists |
| Security / overview | web/docs/security-and-privacy.md, web/docs/intro.md | Cross-cutting claims that other pages must not contradict |
Register new pages in web/sidebars.ts and the relevant index.md DocCardList or concept list.
Frontmatter pattern:
---
sidebar_position: N
---
# Title
_One-line italicized description._
Opening paragraph, 2 to 3 sentences. No lists here.Use H2 only (house style). Prefer tables for comparisons. Bold UI labels on first meaningful use in a section. Interlink sibling docs in prose at first mention. Concept pages may omit ## Next Steps when an Availability table already orients the reader. How-tos keep a short ## Next Steps list.
Concept-page discipline
Concept pages explain the system. They are not a dump of every UI affordance.
- Cut low-value DX sections (example: sidebar icon color tables that only mirror GitHub).
- After prerequisites are stated once, do not keep naming the CLI or auth tool in every later section.
- Prefer one clear sentence over a multi-paragraph mechanism when the reader does not need the mechanism to act.
- For primary UI controls, include a cropped generated screenshot when it clarifies the control better than prose.
- Availability / plan matrices beat long plan prose when Free vs Pro differs by feature.
How-to discipline
- Steps only. Do not add "prefer", "you should usually", or other recommendations.
- Condense management surfaces into short declarative lines when a bullet laundry list adds no action.
- Link enabling steps to an on-page header when requirements mention enabling a feature.
Screenshots
When a review or the flow needs a UI crop:
- Capture the running app.
- Store docs assets under
web/static/img/docs/. The README/hero shot is committed asassets/screenshots/code.pngand the web build copies it intoweb/static/img/. Landing images are generated intoweb/static/img/landing/bynpm run landingine2e/desktop; never commit them. - Embed with
ThemeAwareImagefrom@site/src/components/ThemeAwareImageand a short caption. - Crop tightly to the control. Do not ship a full-window dashboard when a button and menu suffice.
Cross-page consistency patterns
- Analogy vs product. Do not leave docs that only say "like a GitHub PR" once a real integration exists. Point to the concept/how-to pages.
- Local vs remote review data. If the product both keeps local comments and reads remote threads, say both. Do not let an older "never publishes" note imply remote threads are absent.
- Security follows features. Optional cloud or CLI integrations must appear on Security and Privacy when they change where traffic goes.
- Settings follow features. New toggles and Integrations surfaces need a Settings how-to mention.
- CLI follows features. If
treq st(or similar) prints new fields, update the CLI reference. - Roadmap status callouts only. After publish, add callouts. Do not rewrite the announced milestone body.
Revision pass
- Apply the accuracy checklist above against the code, not against the draft.
- Run
explain-to-mereadability with--stricton every touched prose file. - Click every new in-body and Next Steps link target (or confirm the file exists under
web/). - Skim the Docusaurus preview or built page for raw admonition syntax (
:::noteleaking as text means the title form is wrong). - If a human review corrected tone, WIP placement, or roadmap handling, propagate that rule into this skill when it is durable.
Relationship to /writing
writing still owns Learn-site article shape, DefinitionCards, and bulk interlinking audits. For web/docs/** and product-status pages, start here. Pull voice rules from explain-to-me. Use writing when you need the Learn skeleton or the interlinking audit skill.
Anti-patterns
- Claiming a feature shipped because it appears in changelog feat bullets or has UI chrome
- Rewriting published roadmap milestone prose instead of adding status callouts
- Mixing WIP hedges through every paragraph instead of one callout
- Documenting one Create/View path and implying all entry points behave identically
- Gating free-tier day-to-day
ghflows behind Pro in prose - Repeating
gh/ App prerequisites in every section after the prerequisites table - Putting recommendations in how-to guides
- Leaving roadmap, security, or guides on the old story after a concept page changes
- Skipping the readability script because "it's only docs"
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

