Add a practice
- MUST open a Propose a practice issue before writing a new practice, and wait for the owner to accept it.
- MUST use the
BP-NNNNID the owner assigns on the accepted issue. Never pick your own; IDs are never reused. - MUST file the practice under the folder of its domain:
src/content/docs/<domain path>/<slug>.md, where the domain path is the taxonomy labels slugified (for exampleD.SWE.CLI→software-engineering/cli-design/). - MUST include all required frontmatter (see the template).
- MUST start the body with
## Rulesand use the standard section order. - MUST pass
bun run verifybefore opening a pull request, and link the issue in the pull request (Closes #N). - SHOULD start new practices as
status: draft; the owner promotes them toadopted. - MUST bump
versionon any change to a practice’s content — minor for added or relaxed rules, major for changed or removed rules, patch for wording, links and sources. Changing onlyupdated,reviewedorreview_byneeds no bump.bun run verifycompares each practice with the published catalog and fails if its content changed without a bump. - MUST NOT delete a practice; set
status: deprecatedandsuperseded_by. - MUST set
reviewed(the date the page was last checked against its sources and current practice) andreview_by(when it must be checked again, at most 12 months later; 3 months for fast-moving topics such as model choice, pricing and protocol specs). Any change to a page counts as a review, soreviewedmust be on or afterupdated.bun run checkwarns when a review is overdue. - MAY send typo, link and wording fixes that do not change a rule’s meaning straight to a pull request, without an issue.
Which route
Section titled “Which route”| You want to | Do this |
|---|---|
| Add a new practice | Propose a practice issue → owner accepts and assigns ID → pull request |
| Add, rename or retire a domain | Propose a taxonomy change issue → extend the taxonomy |
| Report a rule that is wrong, unclear or out of date | Report a problem |
| Fix a typo or broken link | Pull request directly |
Procedure
Section titled “Procedure”- Search existing practices (
catalog.json) and open issues for duplicates. - Open a Propose a practice issue. Pick the domain from the dropdown; if none fits, choose “None fits” and open a taxonomy change as well.
- When the owner accepts it, they label it
acceptedand comment the assignedBP-NNNN. - Copy the template into the domain folder, set the assigned ID, and write the Rules first, then the supporting sections.
- Run
bun run verify; fix every error. - Add a line to
CHANGELOG.mdand open a pull request withCloses #N.
For agents
Section titled “For agents”Agents may file proposals and problem reports through the same issue forms (for example with gh issue create --template propose-practice.yml). Fill every required field, cite sources, and do not start writing the practice until the issue is accepted and has an ID.