From cp
Commit and push in one step. Use when user says "/cp", "commit and push", "커밋하고 푸시", "커밋 푸시", or wants to stage, commit, and push changes in a single action. Optionally accepts a commit message as argument.
npx claudepluginhub october-academy/agent-plugins --plugin cpThis skill uses the workspace's default tool permissions.
Streamlined git workflow: stage, commit, and push in one command.
Commits git changes with auto-generated message and pushes to origin after analyzing status/diffs, staging specifics, skipping secrets, and warning on main/master branches.
Commits all local git changes following Conventional Commits format with type, scope, and body, then pushes to remote. Analyzes diffs and logs for accurate messages.
Commits staged git changes after mandatory secret scanning, adds smart staging if needed, and pushes to remote. Blocks secrets and checkpoint branches.
Share bugs, ideas, or general feedback.
Streamlined git workflow: stage, commit, and push in one command.
/cp # Auto-generate commit message
/cp "fix: resolve bug" # Use provided message
git status # See all changes
git diff --staged # Staged changes
git diff # Unstaged changes
git log -3 --oneline # Recent commits for context
If no message provided, analyze changes and generate following Conventional Commits:
| Prefix | Use Case |
|---|---|
feat: | New feature |
fix: | Bug fix |
docs: | Documentation |
refactor: | Code restructuring |
style: | Formatting (no logic change) |
test: | Adding tests |
chore: | Maintenance tasks |
Prefer specific files over git add -A:
git add src/component.tsx src/utils.ts
Never stage:
.env filesUse HEREDOC for proper formatting:
git commit -m "$(cat <<'EOF'
type: concise description
Optional body with more details.
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git push origin <current-branch>
If upstream not set:
git push -u origin <current-branch>
Before committing:
| Error | Solution |
|---|---|
| "Nothing to commit" | No changes detected, inform user |
| "Push rejected" | Run git pull first, then retry |
| "Pre-commit hook failed" | Fix issues, stage again, create NEW commit |