Skip to main content
ClaudeWave
Slash Command801 repo starsupdated 7mo ago

cp

The cp command automates the git workflow by running local reviews, staging changes, creating Conventional Commit messages from a template, committing code, pushing to origin, and triggering remote CI workflows. Use this when ready to submit work for pull request review, ensuring all lint, test, security, and quality gate checks pass before integration.

Install in Claude Code
Copy
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/alirezarezvani/claude-code-skill-factory/HEAD/.claude/commands/git/cp.md -o ~/.claude/commands/cp.md
Then start a new Claude Code session; the slash command loads automatically.

cp.md

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.
agents-guideSubagent

Interactive guide for building custom Claude Code Agents and subagents. Asks straightforward questions, generates enhanced YAML frontmatter with tools/model/color/field/expertise, creates agent .md files, validates format, and helps install to .claude/agents/ or ~/.claude/agents/. Use when user wants to build workflow specialist agents.

factory-guideSubagent

Main navigation guide for Claude Code Skills Factory. Use when user wants to build custom Skills, Prompts, or Agents. Orchestrates and delegates to specialized guide agents.

hooks-guideSubagent

Interactive guide for building custom Claude Code hooks. Asks straightforward questions, uses hook-factory skill, generates complete hooks with validation, and provides installation instructions.

prompts-guideSubagent

Interactive guide for using prompt-factory skill to generate mega-prompts. Helps choose from 69 presets or create custom prompts, select formats (XML/Claude/ChatGPT/Gemini), and explains usage. Use when user wants to generate production-ready prompts for any LLM.

skills-guideSubagent

Interactive guide for building custom Claude Skills. Asks straightforward questions, uses SKILLS_FACTORY_PROMPT template, generates complete skill files, validates format, creates ZIP, and helps install. Use when user wants to build multi-file skill capabilities.

ci-guardSlash Command

Trigger the Commit & Branch Guard workflow on demand.

cmSlash Command

Stage working tree changes and create a Conventional Commit (no push).

prSlash Command

Create a pull request from the current branch.