R208 Split a tool’s documents into research, installation and use

Off by default

Write the documents about a tool in three layers, its research evidence (comparisons for a choice, measurements) in docs/research/, its installation runbook in docs/knowledge/ and how to use it at run time as a skill, and write each fact in one layer only, linking to it from the others.

Reason

The three layers have different readers and change at different rates: the research is read when choosing the tool, the installation runbook when setting up a machine, the use every time the tool is used. Mixed together, one fact is written several times, and a change reaches some of them and misses others (Art. VIII §5).

Verification

A skill on run-time use that concerns only this project sits in the repository’s .agents/skills/<name>/; one that concerns no particular project is a user-level skill, installed into the user’s directory from the repository that distributes the user-level skills, and is not put into a project’s own .agents/skills/.

Violated when a tool’s research evidence, installation runbook or run-time use sits outside the place given above, or when one fact is written out in two layers instead of in one and linked to from the other.

Provisions of the constitution it cites

Relations

Parent
R16 Documentation
Requires
R206 Keep content Markdown under docs/
Conflicts with
none

Metadata

ID
208
Revision
2
Kind
rule
Status
trial
Slug
tool-docs-split
Default level
project
Constitution revisions
>=1
Check
none
Default
off
Uses
Instructions instructions, Review review
Original language
English en
Translations
Chinese zh