orchestrate-bugfix
Full bugfix pipeline: repro test → fix → verify → review. Triggers on: 'orchestrate bugfix', 'fix bug pipeline'.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Full bugfix pipeline: repro test → fix → verify → review. Triggers on: 'orchestrate bugfix', 'fix bug pipeline'.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Evaluate architectural decisions, propose ADRs. Triggers on: 'architecture review', 'ADR', 'design review'.
Perform structured code reviews. Triggers on: 'code review', 'review code', 'review PR'.
Create GitHub pull requests. Triggers on: 'create PR', 'pull request', 'submit PR'.
Evaluate strategic direction changes before execution. Triggers on: 'direction change', 'strategic decision', 'pivot'.
Triage and organize GitHub issues. Triggers on: 'triage', 'triage issues', 'organize backlog'.
Create new custom agent definition. Triggers on: 'create agent', 'new agent'.
| name | orchestrate-bugfix |
| description | Full bugfix pipeline: repro test → fix → verify → review. Triggers on: 'orchestrate bugfix', 'fix bug pipeline'. |
Full bugfix pipeline: repro test → fix → verify → review → PR → close.
gh issue edit N --add-label "status:in-progress"
git worktree add -b fix/issue-N-short-description ../project-N main
cd ../project-N
This test MUST FAIL before the fix is applied.
def test_bug_N_regression():
"""Regression test for #N — [bug description]"""
# Reproduce the exact conditions from the bug report
result = buggy_function(trigger_input)
assert result == expected_correct_behavior
uv run pytest tests/path/test_file.py::test_bug_N_regression -v
# Expected: FAIL
Use @code-developer agent:
# Regression test now passes
uv run pytest tests/path/test_file.py::test_bug_N_regression -v
# Expected: PASS
# All other tests still pass
uv run pytest tests/ -v
# Lint and types clean
uv run ruff check src/
uv run mypy src/
Confirm the test actually catches the bug:
# Revert fix temporarily
git stash
# Test should FAIL (proves it catches the bug)
uv run pytest tests/path/test_file.py::test_bug_N_regression -v
# Expected: FAIL
# Restore fix
git stash pop
git add -A && git commit -m "fix(scope): description (fixes #N)"
git push -u origin HEAD
gh pr create --draft --title "fix(scope): description" --body "fixes #N
## What was broken
[Description]
## Root cause
[What caused it]
## Fix
[What was changed]
## Verification
- Regression test added: test_bug_N_regression
- Red-green cycle verified"
gh run list --branch $(git branch --show-current) --limit 3
⛔ Never merge without CI green.
gh pr merge --squash --delete-branch
gh issue close N --comment "Fixed in PR #M. Regression test added."
Remove status labels:
gh issue edit N --remove-label "status:in-progress"
cd ..
git worktree remove project-N