Setup Standards
Bind the current repository to one or more standards packs. Write concise pointers into one source-of-truth doc so agents invoke the relevant skill before committing or editing documentation.
This skill writes pointers only. It does not copy the standards into the target repo or install git hooks.
Workflow
Choose standards first. Before scanning or editing, present this plain-text menu and wait for the user's selection:
Which standards do you want to add? (a) Commit message standards (b) README standards (c) Changelog standards (d) All standardsAccept
a,b,c, ord. Do not infer a selection or use a UI question tool.Scan the repo for candidate source-of-truth docs, in priority order:
AGENTS.mdCLAUDE.md.github/copilot-instructions.md,.cursor/rules/*CONTRIBUTING.md.gitmessage
Agent-read files outrank human-read files because agents are the primary audience.
Choose the target. In plain text, list existing candidates, mark the highest-priority agent-read file as recommended with a one-line reason, and wait for the user to choose or redirect. If none exist, recommend creating
AGENTS.md.Write only the selected pointers into the single chosen doc. For Markdown files, use these sections:
## Commit messages Before running `git commit`, invoke the `commit-standards` skill to author or validate the message against Conventional Commits, plus any commit rules stated in this file. Do this for every commit. ## README maintenance Before editing a README, invoke the `readme` skill and follow any README rules stated in this file. ## Changelog maintenance Before editing a changelog or release notes, invoke the `changelog` skill and follow any changelog rules stated in this file.For
.gitmessage, write the selected text as#-prefixed comments.Upsert each selected pointer; never duplicate.
- Insert a missing pointer.
- Leave a current pointer unchanged and report it as already bound.
- Update a stale pointer in place.
- Leave unselected standards unchanged.
- If a different instruction conflicts with a selected pointer, show it in
plain text and let the user choose
replace,keep both, orleave it.
Do not
- Do not write individual commit messages; use
commit-standards. - Do not edit README or changelog content; use
readmeorchangelog. - Do not fan pointers into multiple docs; write one canonical home and re-run for another.
- Do not install hooks or copy full standards into the target doc.
Source: eunai/skills (MIT).