diff --git a/CHANGELOG.md b/CHANGELOG.md index 45660c2..662ddb9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## [Unreleased] +- `open-pr`: absorbed the commit, branch and PR hygiene rules from the archipy plugin's `contributing-for-apps` rule (one purpose per change, keep description current, run gates, security validation, no changelog or release changes unless asked). - Multi-PR issues use an integration branch: chunk PRs merge into it, one final PR goes to the working branch with `Closes #N`, assigned to a named person and left unmerged. `split-issue`, `open-pr` and `merge-pr` ask for the working branch and the assignee. - `merge-pr`: delete a head branch only after the PR is confirmed MERGED. diff --git a/skills/open-pr/SKILL.md b/skills/open-pr/SKILL.md index 5cbbb1c..62b6039 100644 --- a/skills/open-pr/SKILL.md +++ b/skills/open-pr/SKILL.md @@ -21,9 +21,17 @@ description: >- 8. Final PR only: ask the user who to assign it to (GitHub login or name), then pass `--assignee ` (GitLab: `--assignee`). Never merge it; the assignee reviews and merges. 9. Run `tick-checklist` before merge if checks already pass. +## Hygiene + +- Keep each change to one purpose and preserve the user's existing uncommitted changes. +- Keep the PR description current when behavior changes during review. +- Run the project's configured formatter, linter/type checker, targeted tests and security checks before opening; security-sensitive changes (network adapters, auth, cryptography, uploads, secrets/config) need security validation. +- Do not touch changelogs, versions, tags or releases unless the project policy or the user asks. + ## Do not - Mix unrelated changes or lockfile churn. +- Include secrets, generated credentials or large artifacts. - Use `Closes #N` on a chunk PR; only the final PR or a single-PR issue closes it. - Open the final PR before every checklist item is ticked. - Mention AI tools in commits or PR text.