Skip to content
Development
Command

/cp

Stage, commit, and push the current branch following git governance rules.

From plugin
claude-code-skill-factory
90120 skills5 agents20 commands

Command definition

cp.md
description: Stage, commit, and push the current branch following git governance rules.

1. Run `/review` to ensure lint/tests/security checks pass locally. 2. Review and stage changes with `git add` (avoid staging generated or secret files). 3. Craft a Conventional Commit message (types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert).

  • Use `.github/commit-template.txt` and include Context / Testing / Reviewers blocks.
  • Never add AI attribution strings to commits.

4. Commit with `git commit` using the prepared message. If commitlint fails, fix the message and retry. 5. Push to origin: `git push origin $(git branch --show-current)`. 6. Trigger remote checks for visibility:

  • `gh workflow run ci-commit-branch-guard.yml --ref $(git branch --show-current)`
  • `gh workflow run ci-quality-gate.yml --ref $(git branch --show-current)`

7. Wait for both workflows to finish (`gh run watch --workflow ci-quality-gate.yml`) before opening a pull request.

@alirezarezvani
Ships withclaude-code-skill-factory

A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale.

Stars on GitHub

Momentum

stars in total
901
Star history of alirezarezvani/claude-code-skill-factory on GitHub, a chart by star-history.com

Other commands on claude-code-skill-factory.

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command