Commit & PR rules template (portable)
Agent-oriented template distilled from this repo’s conventional commits, agent staging rules, PR/merge policy, skip-CI handling, and GitHub rulesets.
Canonical skill + references: .agents/skills/commit-pr-rules-template/
(mirrored under .github/skills/ and
.opencode/skills/).
Live wiring: cicd.md · contributing.md · dev/git-hooks.md ·
scripts/setup-github-rulesets.mjs ·
scripts/setup-github-merge-settings.mjs.
What other agents should copy
| Artifact | Path |
|---|---|
| Skill entry | SKILL.md |
| Agent staging / safety | references/agent-commit-rules.md |
| Conventional + channels | references/conventional-commits.md |
| PR / merge flow | references/pr-and-merge-rules.md |
| Rulesets + squash settings | references/github-rulesets.md |
| Skip-CI safe vs dangerous | references/skip-ci-policy.md |
| Message skeletons | references/message-templates.md |
| Local hooks | references/local-hooks.md |
How to use on another project
- Copy the
commit-pr-rules-templateskill folder into the target agent skills directory. - Ask the agent to apply it and fill `` (branch names, check names, channels).
- Apply GitHub squash settings (
PR_TITLE+BLANK) before enabling squash-only release merges. - Pair with nuxt-ssr-cicd when scaffolding the matching CI/CD workflows.
Trigger phrases
“commit rules template”, “PR rules”, “conventional commits policy”, “skip-ci squash trap”, “GitHub rulesets template”, “agent commit scope”.