documentation-guide
Skill882 starsChanged 16 days agoMITView on GitHub
Repository documentation placement and writing guidance. Use this skill whenever writing, modifying, reviewing, or planning README.md, anything under docs/, setup or installation instructions, troubleshooting or FAQ content, configuration references, operational guidance, or user-facing documentation in a feature or fix. Keep the README concise and put detailed material in its canonical documentation page.
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 14 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈14
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this guide to decide where documentation belongs and how much detail each surface should carry.
- Distinctive: line 12
Treat README.md as the project landing page and quick start, not the complete manual.
- Distinctive: line 16
Do not add every new feature, caveat, implementation detail, troubleshooting case, or behavioral guarantee to the README.
- Distinctive: line 57
When a topic has both Markdown and HTML representations, inspect the local convention and keep user-visible claims synchronized.
- Distinctive: line 61
Before adding documentation, ask:
- Very specific: line 69
If the content needs multiple sentences of caveats, explains how an internal mechanism works, or applies only after installation, it almost …
- Distinctive: line 75
Keep the README unchanged unless its quick-start path or high-level product story must change.
- Distinctive: line 76
If discovery is important, add a short link from the README or relevant docs index instead of duplicating the detail.
- Distinctive: line 77
Check nearby pages for stale or contradictory claims.
- Distinctive: line 78
Keep commands, names, defaults, and platform statements consistent with the implementation and tests.
- Distinctive: line 85
Prefer concrete guidance over internal type, module, or orchestration terminology.
- Distinctive: line 88
Avoid promises broader than the tested platform and compatibility contract.
- Distinctive: line 89
Keep examples copyable and make destructive or security-sensitive effects explicit.
- Very specific: line 94
Use .agents/skills/changeset-changelog/SKILL.md when a documentation change is user-visible and belongs in the published release.
- Distinctive: line 96
Run the narrowest checks that cover the edited documentation.
- Distinctive: line 99
run any focused docs, packaging, or build-content tests associated with the changed files.
≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Documentation guide
Use this guide to decide where documentation belongs and how much detail each surface should carry. The goal is a short, useful path for new users without losing the detailed guidance needed by operators and experienced users.
Core rule
Treat README.md as the project landing page and quick start, not the complete manual.
A reader should be able to understand what PI WEB is, decide whether it is relevant, satisfy the basic prerequisites, complete the shortest supported installation, and find the detailed documentation. Once that path is clear, additional explanation belongs under docs/.
Do not add every new feature, caveat, implementation detail, troubleshooting case, or behavioral guarantee to the README. Update the canonical detailed page and link to it when discovery from the README materially helps a new user.
README contract
The README may contain concise versions of:
- the product identity and value proposition;
- high-level capabilities that help someone decide whether to use PI WEB;
- basic runtime requirements;
- the shortest supported install and first-run path;
- essential day-to-day commands;
- the core user-facing model;
- a brief security warning needed before exposing the service;
- links to canonical documentation.
Put these elsewhere:
- installation variants, platform-specific setup, service-manager behavior, and PATH details;
- troubleshooting steps, diagnostics, failure modes, and edge cases;
- exhaustive command options or feature behavior;
- configuration schemas, precedence, defaults, and migration guidance;
- internal architecture and implementation mechanics;
- detailed plugin, machine, federation, or remote-access workflows;
- release-note-style descriptions of individual fixes and enhancements.
A feature belongs in the README only when it materially changes the top-level product story or the shortest path to a successful first run. Being user-visible by itself is not enough.
Choose the canonical destination
| Content | Canonical destination |
| Product overview and shortest successful start | README.md |
| Website landing-page summaries and navigation | docs/index.html |
| Requirements, installation modes, PATH setup, service managers, WSL, and manual operation | docs/install.html |
| Troubleshooting, diagnostics, known failure modes, and edge cases | docs/faq.html |
| Configuration keys, files, precedence, defaults, and reload behavior | docs/config.md and docs/config.html |
| Remote access and deployment model | docs/remote-first.html |
| Machine federation and selected-machine behavior | docs/machines.html |
| Plugin and Pi package behavior | docs/plugins.md and docs/plugins.html |
| Internal invariants that maintainers need while changing code | Focused code comments, AGENTS.md, or a dedicated developer document |
When a topic has both Markdown and HTML representations, inspect the local convention and keep user-visible claims synchronized. Do not copy large passages into multiple surfaces merely for convenience.
Placement decision
Before adding documentation, ask:
- Does a user need this information before their first successful run?
- Is it a short orientation statement, or does it need qualifications and examples?
- Is it troubleshooting, configuration, platform-specific, operational, or implementation detail?
- Is there already a canonical page for the topic?
- Would a link provide a clearer README than another paragraph?
If the content needs multiple sentences of caveats, explains how an internal mechanism works, or applies only after installation, it almost always belongs under docs/.
Documentation workflow
- Identify the user task and audience before choosing a file.
- Find the canonical existing page and update it rather than creating a competing explanation.
- Keep the README unchanged unless its quick-start path or high-level product story must change.
- If discovery is important, add a short link from the README or relevant docs index instead of duplicating the detail.
- Check nearby pages for stale or contradictory claims.
- Keep commands, names, defaults, and platform statements consistent with the implementation and tests.
- Review the final diff specifically for README growth and duplicated prose.
Writing principles
- Lead with the user outcome, then the command or action needed.
- State what the software does rather than listing what it does not do; reserve "does not" statements for the rare case where behavior genuinely contradicts the most obvious expectation.
- Prefer concrete guidance over internal type, module, or orchestration terminology.
- Explain implementation details only when they help users make a decision or recover from a failure.
- Distinguish supported behavior from recommendations and prospective behavior.
- Avoid promises broader than the tested platform and compatibility contract.
- Keep examples copyable and make destructive or security-sensitive effects explicit.
- Link to one canonical source instead of maintaining subtly different versions of the same guidance.
Release notes and checks
Use .agents/skills/changeset-changelog/SKILL.md when a documentation change is user-visible and belongs in the published release. Do not add a Changeset for internal agent guidance or purely editorial movement that leaves user-facing guidance intact unless the release policy calls for it.
Run the narrowest checks that cover the edited documentation. At minimum:
- inspect links and referenced paths;
- run any focused docs, packaging, or build-content tests associated with the changed files;
- use
git diff --check; - confirm the README remains a concise entry point rather than a second documentation site.
Review checklist
- Is the README still optimized for a new user reaching a successful first run?
- Does each detailed explanation have one canonical home under
docs/? - Did the change avoid copying release notes or implementation design into the README?
- Are links sufficient for readers who need more detail?
- Are paired or related documentation surfaces consistent?
- Are user-visible commands and claims supported by current behavior?
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- volfpeter/holm★ 132same name
- AsiaOstrich/universal-dev-standards★ 82same name
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
- changeset-changelogSkill
- code-quality-architectureSkill
- npm-release-via-github-actionsSkill
- testing-guideSkill
- ux-guideSkill
- relay-runnerSkill
- relaySkill
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.

