/cp
Stage, commit, and push the current branch following git governance rules.
$ npx -y skills add alirezarezvani/claude-code-skill-factory --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/cp
Context preview
What this command does when you run it.
Stage, commit, and push the current branch following git governance rules.
Command definition
cp.mddescription: 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.
A comprehensive toolkit for generating production-ready Claude Skills and Claude Code Agents at scale.
Repo: alirezarezvani/claude-code-skill-factory
Other commands on claude-code-skill-factory.
- /build-hook
**Interactive guide for creating custom hooks with Q&A workflow and automatic validation.**
Open command - /build
**Quick access to the factory-guide orchestrator for building custom Skills, Prompts, Agents, or Hooks.**
Open command - /ci-guard
Trigger the Commit & Branch Guard workflow on demand.
Open command - /codex-exec
**Easy wrapper for running Codex CLI commands from Claude Code with proper syntax.**
Open command - /factory-status
**See what you've built, what's validated, what's installed, and what's next.**
Open command - /cm
Stage working tree changes and create a Conventional Commit (no push).
Open command

