Borrowing it
Nothing to install: this file belongs to radix-ng/primitives. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/radix-ng/primitives/main/.claude/skills/documentation-writing/SKILL.mdgit clone --depth 1 https://github.com/radix-ng/primitivesWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/radix-ng/primitives/documentation-writing)<a href="https://agentmods.dev/skills/radix-ng/primitives/documentation-writing"><img src="https://agentmods.dev/badge/skills/radix-ng/primitives/documentation-writing/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/radix-ng/primitives/documentation-writing"><img src="https://agentmods.dev/badge/skills/radix-ng/primitives/documentation-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00096 | $0.01232 |
| Opus 5.5 | $0.00038 | $0.00493 |
| Sonnet 5.5 | $0.00019 | $0.00246 |
| Haiku 4.5 | $0.00010 | $0.00123 |
Grade A, and why
documentation-writing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Management
Maintain project documentation in .claude/skills/project-knowledge/references/. Audit for bloat, edit files, check consistency, track status.
For creating documentation from scratch (new project or empty docs), use project-planning skill.
Documentation Principles
These rules apply to ALL documentation operations (audit, edit, create).
Goal: open docs → understand the project without reading code. What is this project, how it's structured, what it does, where to find key things, how to deploy, where are logs. A high-level navigation guide.
Describe what exists, what it does, and why. High-level overview of components, how they work together, decisions made (why this stack, why this architecture), operational details (server addresses, deploy procedures, log locations, env var names). Skip what's obvious from reading the code itself — function signatures, implementation details, generic framework behavior.
No code blocks, no pseudocode. Code in docs gets outdated and bloats context.
No duplication between files. Information lives in ONE place. Cross-reference: "See deployment.md for env vars."
patterns.md: only project-specific patterns. Universal coding standards. Project patterns.md contains only what's unique to THIS project.
File Structure
4 core files in .claude/skills/project-knowledge/references/:
| File | Contains |
|---|---|
| project.md | Overview, audience, problem, 3-5 key features, out of scope |
| architecture.md | Tech stack (with WHY), project structure, dependencies, integrations, data model |
| patterns.md | Project-specific code patterns, git workflow, testing methods, business rules |
| deployment.md | Platform, env var names, CI/CD triggers, rollback, monitoring |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 113 lines · 96 tokens per session scan A 87852adc014d
documentation-writing is a skill published in the GitHub repository radix-ng/primitives (277 stars, last pushed 2d ago), licensed MIT. It adds 96 tokens to every session and 1,232 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
documentation-writing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| documentation-writingradix-ng/primitives | Skill | 277 | 2d ago | MIT | A | 96 | Claude Code |
| create-db-componentdb-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 33 | Claude Code, Codex |
| modify-db-componentdb-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 26 | Claude Code, Codex |
| test-componentdb-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 34 | Claude Code, Codex |
| implement-componentdb-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 29 | Claude Code, Codex |
| migrate-to-generation-3db-ux-design-system/core-web | Skill | 137 | yesterday | none | A | 52 | Claude Code, Codex |
| shadcnshadcn-ui/ui | Skill | 127k | yesterday | MIT | A | 113 | Claude Code, Codex, Cursor |