Borrowing it
Nothing to install: this file belongs to mogharsallah/turjuman. 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/mogharsallah/turjuman/main/.claude/skills/writing-docs/SKILL.mdgit clone --depth 1 https://github.com/mogharsallah/turjumanWrote 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/mogharsallah/turjuman/writing-docs)<a href="https://agentmods.dev/skills/mogharsallah/turjuman/writing-docs"><img src="https://agentmods.dev/badge/skills/mogharsallah/turjuman/writing-docs.svg" alt="Measured on agentmods" height="20"></a>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.00153 | $0.02732 |
| Opus 5 | $0.00077 | $0.01366 |
| Sonnet 5 | $0.00031 | $0.00546 |
| Haiku 4.5 | $0.00015 | $0.00273 |
Grade A, and why
writing-docs 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 7d 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 — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Writing great Turjuman documentation
This skill is two things at once: a craft guide for building excellent Mintlify docs, wired to Turjuman's specific repo. The craft rules are distilled from Mintlify's own best-practices pages (cited in the reference files); the wiring tells you exactly which page to touch when code changes.
Turjuman keeps one documentation set in docs/, published with Mintlify.
That single source serves four audiences, and good docs serve all four at once:
- Human readers — the rendered site.
- Search engines — page
title/descriptionbecome meta tags; Mintlify handles sitemaps, canonical URLs, and heading semantics automatically. - AI answer engines — Mintlify auto-generates
llms.txt/llms-full.txtand a per-page "copy as Markdown / open in Claude/ChatGPT" menu. Each page is also fetchable as clean Markdown by appending.mdto its URL. - The agents working in this repo — they read these MDX files (and the
.mdexports) directly.
For an MCP-first, agent-first product, the agent audience is first-class, not an afterthought — but there is still no separate "agent doc." Write each page once so it renders well on the site and flattens cleanly to Markdown. Docs change in the same PR as the code that changed.
The golden rules
-
Frontmatter on every page.
title(short, sentence case) anddescription(a tight, front-loaded summary in active voice that says what the reader accomplishes). The description is the page's search-result snippet, social card, and itsllms.txt/agent-facing line — aim for ~130–160 characters; never exceed ~300 and never put a line break in it (Mintlify truncates thellms.txtentry at the first newline or 300 chars). Seepages-and-frontmatter.mdanddiscoverability.md. -
Pick the page's primary job. Diátaxis is the mental model — explanation (a Concept), how-to (a Guide), reference, or tutorial. Lead with one job per page; don't bury an exhaustive option table inside a narrative guide, and don't put a workflow narrative inside a reference. Mintlify (and we) allow blending when a page genuinely serves two needs — a quickstart legitimately mixes tutorial + how-to. Cross-link instead of duplicating whole tables. See
doc-types.md.
What ships with it
13 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- components.md 4.6 KB
- content-mechanics.md 3.5 KB
- discoverability.md 5.5 KB
- doc-types.md 4.5 KB
- element-map.md 15 KB
- navigation-and-settings.md 5.0 KB
- pages-and-frontmatter.md 3.4 KB
- templates/concept.mdx 1.0 KB
- templates/guide.mdx 1.4 KB
- templates/landing.mdx 1.0 KB
- templates/reference.mdx 1.2 KB
- templates/tutorial.mdx 1.2 KB
- writing-craft.md 4.6 KB
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.
- 7d ago First seen · 166 lines · 153 tokens per session scan A 33a1e2bb7619
writing-docs is a skill published in the GitHub repository mogharsallah/turjuman (1 stars, last pushed 2mo ago), licensed MIT. It adds 153 tokens to every session and 2,732 once invoked, about $0.0008 per session on Opus 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-31.
Other skills, from other repositories
dynamodb
Use when modeling or operating a DynamoDB table: deriving partition/sort keys from access patterns, single-table vs table-per-entity, adding a GSI/LSI, on-demand vs provisioned capacity, or diagnosing hot-partition throttling. NOT relational schema/SQL/EXPLAIN (that is postgresdb), NOT aggregation-pipeline document…
i18n-date-patterns
Implements internationalization (i18n) in React applications. Covers user-facing strings, date/time handling, locale-aware formatting, ICU MessageFormat, and RTL support. Use when building multilingual UIs or formatting dates/currency.
aws-essentials
Use when standing up the core AWS surface a small product needs: hardening a fresh account, a private S3 bucket, encrypted RDS Postgres, ECS Fargate vs EC2, CloudFront + OAC, or scoping an IAM policy to least privilege. NOT the CI pipeline that ships the container (that is deployment), NOT app-code access-control…
cli-help-style
Style guide for writing CLI help text (click docstrings) in the deadline CLI. Use when adding or editing help text for any deadline CLI command or subcommand.
cis-aws-foundations-6.8
Ensure VPC Endpoints are used for access to AWS Services.
cis-aws-database-4.9
Ensure Database has Backup enabled.