| name | tech-writer |
| description | Keep le-truc developer-facing documents up to date with the source code and examples docs-src/pages/, README.md, ARCHITECTURE.md, AGENTS.md, JSDoc in src/, and skill files in .agents/skills/. Use after code changes, to verify consistency, or to update a specific document. |
| user_invocable | false |
Scope
This skill maintains the authored documentation for the @zeix/le-truc library and the AI skill files that agents use to work with the codebase.
In scope: docs-src/pages/, README.md, ARCHITECTURE.md, AGENTS.md, JSDoc in src/, all files under .agents/skills/ (SKILL.md, references/, workflows/), and server/SERVER.md.
Out of scope โ do not edit:
docs-src/api/ โ TypeDoc-generated from source; regenerate with bun run build:docs instead
examples/*/ โ component source files; use the le-truc or le-truc-dev skill instead
CHANGELOG.md โ use the changelog-keeper skill instead
adr/ โ use the adr-keeper skill instead
- Build scripts, server code, or test infrastructure (other than
server/SERVER.md)
Essential Principles
Read source before writing. Always read the current state of the source file(s) and the target document before making any changes. Never update from memory.
Tone adapts to audience. Each document has a distinct primary reader and register. See references/tone-guide.md. Violating the tone is as wrong as a factual error.
Prose docs and JSDoc follow ASD-STE100. Pages, README.md, ARCHITECTURE.md, AGENTS.md, JSDoc, server/SERVER.md, and skill files use Simplified Technical English sentence and vocabulary rules โ see references/ste100-style.md. Domain terms use the definitions in CONTEXT.md. Blog posts are exempt; they keep the narrative register in references/tone-guide.md <blog>.
Concise over comprehensive. Every sentence must justify its presence. Cut anything that does not add information the reader needs.
Surgical edits only. Update what changed. Do not rewrite sections that are still accurate, and do not add commentary about what was updated.
Pages are Markdoc, not plain Markdown. docs-src/pages/ files use Markdoc tags ({% hero %}, {% callout %}, {% demo %}, etc.). See references/markdoc-tags.md before editing any page.
API reference is read-only. Files in docs-src/api/ are machine-generated. Any manual edit will be overwritten on the next TypeDoc run. To surface changes there, update JSDoc in src/ instead.
Intake
What do you need to do?
- Update after a code change โ
src/, index.ts, or examples have changed and documents need to reflect it
- Review consistency โ check that all documents reflect the current source
- Update a specific document โ you know exactly which one
- Write a blog post โ draft a new post for
docs-src/pages/blog/
- Update a skill file โ a skill description, reference, or workflow under
.agents/skills/ is inaccurate or incomplete
Wait for response before proceeding.
Routing
| Response | Workflow |
|---|
| 1, "code changed", "after change", "just merged", "new feature", "bug fix" | workflows/update-after-change.md |
| 2, "review", "consistency", "check", "audit", "verify" | workflows/consistency-review.md |
| 3, "specific", or names a document | See document routing below |
| 4, "write a blog post", "new blog post", "blog" | workflows/write-blog-post.md |
| 5, "skill file", "skill doc", "update skill", names a skill | workflows/update-skills.md |
Document-specific routing (option 3):
| Document named | Workflow |
|---|
Any page in docs-src/pages/ | workflows/update-pages.md |
README.md | workflows/update-readme.md |
ARCHITECTURE.md | workflows/update-architecture.md |
AGENTS.md | workflows/update-agent-docs.md |
JSDoc / src/ | workflows/update-jsdoc.md |
Any file under .agents/skills/ | workflows/update-skills.md |
server/SERVER.md | workflows/update-server-md.md |
Intent-based routing (clear intent without selecting a number):
- "update the components page" / "add example to the data-flow page" โ workflows/update-pages.md
- "update README" โ workflows/update-readme.md
- "update architecture doc" โ workflows/update-architecture.md
- "update AGENTS.md" / "add non-obvious behavior" โ workflows/update-agent-docs.md
- "update JSDoc" / "inline docs" โ workflows/update-jsdoc.md
- "review all docs" / "check consistency" โ workflows/consistency-review.md
- "write a blog post" / "new blog post" / "draft a post" โ workflows/write-blog-post.md
- "update skill" / "skill file is wrong" / "fix skill reference" โ workflows/update-skills.md
- "update SERVER.md" / "server docs" / "build pipeline changed" / "new effect" โ workflows/update-server-md.md
After identifying the workflow, read it and follow it exactly.
Reference Index
All in references/:
| File | Contents |
|---|
| document-map.md | Each document's audience, scope, update triggers, and consistency checks |
| tone-guide.md | Writing tone, register, and conciseness rules per document |
| markdoc-tags.md | Markdoc authoring reference: frontmatter, available tags, and usage patterns |
| ste100-style.md | Simplified Technical English (ASD-STE100) sentence and vocabulary rules for prose docs and JSDoc; blog is exempt |
Workflows Index
All in workflows/:
| Workflow | Purpose |
|---|
| update-after-change.md | Determine which documents to update after a code or example change, then update them |
| update-pages.md | Update narrative pages in docs-src/pages/ |
| update-readme.md | Update README.md |
| update-architecture.md | Update ARCHITECTURE.md |
| update-agent-docs.md | Update AGENTS.md |
| update-jsdoc.md | Update JSDoc comments in src/ |
| update-skills.md | Fix inaccurate or incomplete skill files under .agents/skills/ |
| update-server-md.md | Update server/SERVER.md after dev server or build pipeline changes |
| consistency-review.md | Review all documents for consistency with current source |
| write-blog-post.md | Draft a new blog post in docs-src/pages/blog/ |