一键导入
pr
Open a PR with MirrorBuddy checklist — ci:summary green, conventional commit, issue link, wait CI, require explicit user approval before merge.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Open a PR with MirrorBuddy checklist — ci:summary green, conventional commit, issue link, wait CI, require explicit user approval before merge.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pr |
| description | Open a PR with MirrorBuddy checklist — ci:summary green, conventional commit, issue link, wait CI, require explicit user approval before merge. |
| allowed-tools | ["Read","Glob","Grep","Bash"] |
| context | inline |
| user-invocable | true |
Encodes recurring PR workflow. Prevents premature merges, skipped version bumps, missing issue links.
Message contains /pr or /pr {title}.
npm run ci:summary green before git push.feat|fix|chore|docs|refactor|test|release(scope): ...).Closes #<n> or Refs #<n>.gh pr checks <n> — paste full output.gh pr merge autonomously. NEVER --no-verify. NEVER force-push to main.git status --short
git branch --show-current # must NOT be main
npm run ci:summary # must be green
If on main → abort. Create branch or worktree first (/worktree-start).
Use heredoc. Conventional format. Co-author line.
git add <specific files>
git commit -m "$(cat <<'EOF'
feat(scope): concise subject
Why this change (not what). Reference issue.
Closes #<n>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
EOF
)"
git push -u origin <branch>
gh pr create --title "type(scope): subject" --body "$(cat <<'EOF'
## Summary
- <1-3 bullets>
## Test plan
- [ ] ci:summary green
- [ ] <feature-specific verification>
Closes #<n>
🤖 Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
gh pr checks <n> # paste output to user
All green → ask: "May I merge?" Any red → fix, new commit (NEVER --amend pushed commits).
gh pr merge <n> --squash --delete-branch
git push --no-verifygh pr merge without user yes--amend on pushed commitsconsole.log left in/worktree-start — create isolated worktree before coding/verify-done — gate before claiming completion/release — full release validationGate before claiming any task complete. Runs health-check.sh + ci:summary, pastes output, only then allows "done" claim.
Bootstrap isolated git worktree under ./worktrees/<task-id>. Verifies non-empty path, branch created, deps linked. Prevents working directly on main.
Comprehensive localization verification for MirrorBuddy features via npm run i18n:check
Pre-release validation for MirrorBuddy via app-release-manager subagent
CI verification and build validation for MirrorBuddy. Use when running checks, validating builds, or verifying code quality before commits.
Release readiness verification for MirrorBuddy. Use when preparing releases, checking deployment readiness, or running pre-release validation.