Commandpython
/cp Command
Stage, commit, and push the current branch following git governance rules.
- Run
/reviewto ensure lint/tests/security checks pass locally. - Review and stage changes with
git add(avoid staging generated or secret files). - Craft a Conventional Commit message (types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert).
- Use
.github/commit-template.txtand include Context / Testing / Reviewers blocks. - Never add AI attribution strings to commits.
- Use
- Commit with
git commitusing the prepared message. If commitlint fails, fix the message and retry. - Push to origin:
git push origin $(git branch --show-current). - Trigger remote checks for visibility:
gh workflow run ci-quality-gate.yml --ref $(git branch --show-current)
- Wait for workflow to finish (
gh run watch --workflow ci-quality-gate.yml) before opening a pull request.