Write docs

From tale-project/tale · View interactive version

Write docs is an AI agent skill from the GitHub repository tale-project/tale. Write, reorganize, or review end-user documentation, navigation, examples, and screenshots, including moving, renaming, merging or deleting a page (which needs a redirect). Ground instructions in the running product, choose structure for the reader's task, and verify the rendered result. Use for doc

How to use this skill

Skill file

Write documentation people can use

Help the reader make progress from the situation they are in. A newcomer needs a guided first

success; an experienced user needs the missing step; an administrator needs consequences and

permissions; a developer needs exact inputs and outputs. Support these needs with connected pages,

not one page that assumes every reader has the same knowledge.

Discover before drafting

Read the repo contract, the guide nearest the docs tree, the renderer's component registry, and

the checks for that content. Tale has two content trees: docs/AGENTS.md governs the EN/DE/FR

product guides, while the design-system authoring contract

governs the English component guides and their live demos. Use the contract for the tree you edit.

Find the existing owner of the topic and its neighboring pages before adding another explanation.

Use the applicable locale’s resolved message catalogs for visible UI labels; shared controls may

read @tale/ui or @tale/marketing-ui catalogs beneath the service’s overrides.

In the task's planning note outside the clone, record:

troubleshooting, or navigation.

limitations, result, and recovery.

Keep the note proportional to the change. Reuse an existing task note; no separate notes skill is

required. For a broad overhaul, map readers to their core tasks and record coverage and verification

status. Page count and word count are not measures of completeness.

Establish the facts

Drive the real UI before describing a workflow. Use a disposable, seeded local organization when

available. Follow the documented starting point through the result; inspect relevant empty,

loading, permission, and failure states. Check keyboard access for the controls you describe.

Source and tests clarify hidden defaults, limits, and persistence; they do not replace using the UI.

A delegated observer may provide a concrete route/action/result record with the relevant version.

Run actionable code examples in the documented environment. Preserve the actual shape of results;

sanitize secrets and replace unstable IDs consistently. Label excerpts, placeholders, optional

steps, and setup dependencies. Do not invent outputs, timings, permissions, guarantees, or causes

to make prose sound complete. Record any verification limitation explicitly.

If observed behavior and docs disagree, identify which is wrong. Fix an in-scope defect with a

regression test, then rerun the flow. Otherwise record the unresolved finding and document the

verified limitation. Respect the user's authorized scope; a docs task alone is not permission to

change production data or send invitations.

Write for the task

Use PLAYBOOKS.md to choose a shape. The shape supports the work; it is not a

mandatory section template.

sentence can be enough. Add audience, prerequisites, or context where they resolve uncertainty.

Avoid introductions that only announce the page's contents.

terms where first needed. Keep the ordinary path visible; link deeper concepts and exhaustive

reference. Place a warning before the action whose consequence matters.

when to wait, how to recognize completion, and how to recover. Use a believable worked example

when an abstract explanation leaves the choice unclear.

nouns; vary sentence length naturally. Use imperatives for required actions and “you can” for a

real optional capability. Name the purpose once; do not repeat “To…” before every click.

reference entry can be the ending. Add a recap only when it helps retain a complex idea. Do not

manufacture a closing heading or repeat the introduction.

Avoid marketing claims, “simply”/“easy”/“just” judgments, status chatter, and exclamation marks in

ordinary docs prose. Preserve literal UI strings and quoted technical syntax. Teach the reason for

an action where it changes a decision; obvious controls do not need a paragraph of justification.

Choose useful evidence and structure

Images should clarify a location, unfamiliar state, relationship, or result. Do not add a hero

image or an image to every step by default. Keep the written instructions complete without the

image. Read SCREENSHOTS.md before changing an asset; every shipped screenshot

must be reproducible through the repository's capture pipeline.

Use lists for parallel choices and numbered steps for sequences, regardless of item count. Use

components when they improve scanning or comparison; COMPONENTS.md covers their

tradeoffs. Keep prerequisites and recovery instructions visible. Do not turn every useful detail

into a callout. Read MECHANICS.md for links, examples, and Markdown conventions.

Localize the complete experience

Update every full locale supported by the affected content tree in the same change, following

write-translations. Preserve the reader's task, factual content,

examples, warnings, and navigation. Sentence construction and paragraph boundaries should read

naturally in each language. Tale's heading/component parity is a delivery guard, not a requirement

to translate sentence by sentence. Verify localized labels, links, alt text, and captions. An English-only guide does not acquire

translated body routes merely because its shared chrome has multilingual catalogs.

Review and prove

Read the rendered page as someone entering from search, without the author's prior context.

Complete the task from the instructions. Check whether a newcomer can locate the starting point,

whether an experienced reader can find a specific answer, and whether all required facts are

available without opening optional panels or interpreting an image.

Run the repository's applicable content, locale, link, asset, and build checks. Inspect important

pages at narrow and wide widths, including images, tables, code, keyboard focus, and heading order.

Review prose separately from mechanical checks: a green suite does not prove accuracy, flow, or

native translation. Report what was observed and any remaining limits.

References

This method draws on Diátaxis,

Google's procedure guidance, and

Microsoft's accessible writing guidance.

The repository defines its implementation; these sources guide editorial judgment.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.