From zen
Commit current work, push the branch to origin, and open a PR using .github/PULL_REQUEST_TEMPLATE.md. Use only when the user explicitly invokes /zen:cpp.
How this skill is triggered — by the user, by Claude, or both
Slash command
/zen:cppThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Commit, push, and create a pull request for the current work.
Commit, push, and create a pull request for the current work.
This is the combined workflow for /zen:commit, /zen:push, and /zen:pr. Execute the same safety rules from those workflows in this order:
Commit phase:
Inspect git status --short, git diff, git diff --staged, and recent commit messages.
Stage only relevant files by explicit path.
Run available verification checks before committing.
Create one atomic commit with an appropriate message and this trailer:
Co-Authored-By: Claude Opus 4.7 <[email protected]>
Push phase:
main or master unless the user explicitly confirms that exact branch push.origin, creating upstream tracking with git push -u origin <current-branch> if needed.PR phase:
gh repo view --json defaultBranchRef when available..github/PULL_REQUEST_TEMPLATE.md; stop if it is missing.git diff <base-branch>...HEAD and the branch commits.gh pr create.Do not skip verification, hooks, or safety checks. If any phase fails, stop after explaining the blocker and do not continue to later phases.
Finish by reporting:
Arguments from the user, if any, are additional guidance for commit scope, PR title, draft mode, reviewers, labels, or base branch:
$ARGUMENTS
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub syouzen/syouzen-kit --plugin zen