bug-fix
無料Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the user wants to fix a bug with thorough investigation and regression testing.
日本語の概要は準備中です。原文の説明を表示しています。
Multi-ticket batch workflow. Takes a batch of tickets, plans execution order, implements each via /implement in autonomous mode, runs cross-cutting quality passes, and presents results for final review.
インストール方法を見るインストールする前に、エージェントに与えられる指示の中身を確認できます。
Orchestrates a batch of tickets as a cohesive unit. Creates a project branch, implements each ticket sequentially using the /implement workflow in autonomous mode, runs cross-cutting quality passes, and presents results for final human review.
Maximize autonomy, minimize accumulated error. The goal is to complete an entire batch of tickets without user intervention — but not at the cost of letting problems compound. When something goes wrong, pull the andon cord immediately rather than pressing forward and hoping later steps will compensate.
The project branch is the integration point. Each ticket gets its own topic branch. Work flows from topic branches into the project branch, never directly into main. This keeps main clean and gives the user a single decision point at the end: merge the project branch or don't.
This skill is a for-loop, not an orchestrator. Tickets are the work definition. Commander's intent does not apply here — the tickets carry the intent, and cross-cutting constraints (if any) inherit from the caller (/implement-project or /lead-project). The skill applies the autonomy discipline documented in references/autonomy.md at the points where it does apply: the shared handoff template for andon-cord pulls, the cascade rule for /implement escalations.
Cascade rule. Escalations from /implement cascade up to this skill, not directly to the operator. When /implement would otherwise pull its own cord (e.g., 3-strike acceptance failure, unresolvable critical security finding), the batch skill catches that signal and pulls its cord with batch-level context (which ticket, which step, what's already merged). The caller has more context than the worker; the worker does not go around its caller.
┌──────────────────────────────────────────────────────┐
│ BATCH WORKFLOW │
├──────────────────────────────────────────────────────┤
│ 1. Receive ticket specification │
│ 2. Detect issue tracker & fetch tickets │
│ 3. Batch planning (present to user) │
│ 4. Create project branch │
│ 5. Per-ticket loop: │
│ ├─ 5a. Create topic branch │
│ ├─ 5b. Run /implement (autonomous mode) │
│ ├─ 5c. Merge topic branch → project branch │
│ ├─ 5d. Post-merge verification gate │
│ └─ 5e. Delete topic branch │
│ 6. Cross-cutting quality passes │
│ ├─ 6a. /refactor (SAFE aggression) │
│ └─ 6b. /tidy-docs │
│ 7. Final review (present to user) │
└──────────────────────────────────────────────────────┘
This protocol applies throughout the entire workflow. When the andon cord is pulled:
references/autonomy.md. The escalation must include pre-loaded options (2–3 named choices), an explicit recommendation, the one tradeoff that would flip the recommendation, and a pre-rebutted counterargument. Include the skill-specific state: which ticket and step failed, current branch state (what's merged into the project branch, what's in-progress on a topic branch), and tracker links if relevant.Andon cord triggers (skill-specific):
/implement step 4)/implement step 5a)Accept tickets from the user in any of these forms:
#12, #15, #18)v2.0")Detect the issue tracker and fetch ticket data per references/trackers.md (Detection Procedure + "Fetch (read)" operation). Fetch each ticket's title, description, acceptance criteria, labels, and dependencies.
Andon cord if tracker is unavailable or tickets can't be fetched.
Analyze all fetched tickets and produce an execution plan:
Dependency analysis:
Execution ordering:
Present the plan to user:
Wait for user approval before proceeding. This is the one planned user interaction point.
main or master)feat/batch-<descriptive-name>For each ticket in the planned order:
feat/issue-<number>-<brief-slug>/implement Workflow (Autonomous Mode)Follow the /implement workflow with these overrides for autonomous operation:
/implement Step | Autonomous Override |
|---|---|
| Step 1 (requirements) | Pre-loaded from ticket body. Do not prompt user for requirements. If the ticket lacks explicit acceptance criteria, derive them from the description. If the description is empty or incoherent, andon cord. |
| Step 2 (planning) | Follow normal conditional logic — invoke swe-planner for complex tasks, skip for simple ones. |
| Steps 3-4 (implementation + acceptance) | Follow normal logic. If acceptance verification fails 3 times, andon cord (do not escalate to user within /implement — escalate here at the batch level). |
| Step 5a (security review) | Follow normal logic. If critical/high findings cannot be resolved by the implementation agent, andon cord. |
| Steps 5b-5c (refactoring/perf review) | Follow normal logic — these are advisory. |
| Step 6 (implement review feedback) | Follow normal logic. |
| Step 7 (peer review) | Follow normal logic. Handle deep issues autonomously — trust agents. If peer review breaks tests, revert peer review changes per standard /implement logic. |
| Step 8 (coverage/quality verification) | Follow normal logic. Handle autonomously — if tests pass, proceed. Do not prompt user for approval of minor issues. |
| Step 9 (documentation) | Follow normal logic. |
| Step 10 (final verification) | Follow normal logic. |
| Step 11a (commit) | Auto-commit with ticket reference. Use Fixes #<number> in the commit message. |
| Step 11b (ticket update/close) | Post a comment on the ticket summarizing changes made. Do not close the ticket — leave that for the user after final review. |
| Step 11c (rebase on main) | Skip entirely. We're on topic branches off the project branch, not main. |
git merge --no-ff feat/issue-<number>-<brief-slug>--no-ff preserves topic branch history for claritygit branch -d feat/issue-<number>-<brief-slug>After all tickets are implemented and merged into the project branch:
Run the /refactor workflow with these parameters:
/refactor workflow handles its own iteration loop, commits, and QA verificationRun the /tidy-docs workflow:
Present comprehensive summary to user:
## Batch Complete
### Tickets Implemented
- #12: <title> — <brief outcome>
- #15: <title> — <brief outcome>
- #18: <title> — <brief outcome>
### Statistics
- Total commits: N
- Net lines changed: +/-N
- Tests added/modified: N
- Documentation files updated: N
### Quality Passes
- Refactoring: N improvements, net -N lines
- Documentation: N updates
### Branch Status
- Project branch: feat/batch-<name>
- Base branch: <main branch>
- Ready to merge
User decides next steps: merge to main, further work, or discard.
The orchestrator maintains:
Sequential execution:
Context management:
/implement workflow within each ticket manages its own agent lifecycleFresh state per ticket:
/implement workflow starts from scratch for each ticketRelationship to /implement:
/implement-batch is a higher-level orchestrator that runs /implement for each ticket/implement handles the full development cycle for a single ticket/implement-batch adds: batching, ordering, branching strategy, cross-cutting quality passesRelationship to /scope:
/scope creates tickets; /implement-batch consumes them/scope to plan and create tickets, then /implement-batch to implement the batchRelationship to /refactor, /tidy-docs:
まだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Bug-fixing workflow that coordinates diagnosis, test-driven reproduction, root-cause analysis, and targeted fixes. Use when the user wants to fix a bug with thorough investigation and regression testing.
日本語の概要は準備中です。原文の説明を表示しています。
Proactive bug-hunting workflow. Assesses codebase risk through complexity, coverage, and structural analysis, then spawns focused investigators that write reproducing tests to validate suspected bugs. Thoroughness over speed. Advisory only — produces findings and proposes tickets; does not implement fixes.
日本語の概要は準備中です。原文の説明を表示しています。
Iterative development workflow that coordinates implementation, refactoring, QA, and documentation agents to complete features systematically. Use when the user wants a full development workflow with quality checks.
日本語の概要は準備中です。原文の説明を表示しています。
Full-lifecycle project workflow. Takes batched tickets, implements via /implement-batch, runs smoke tests, then executes a comprehensive quality pipeline (refactor, review-arch, review-test, tidy-docs, review-release). Maximizes autonomy with andon cord escape.
日本語の概要は準備中です。原文の説明を表示しています。
Autonomous bug-elimination loop. Iteratively invokes /bug-hunt and /implement-batch until findings converge below an operator-specified severity floor. At termination, runs /review-test scoped to the run's new reproducing tests and fixes quality issues above the floor. Auto-approves /bug-hunt and /review-test ticket proposals; pulls the andon cord on contested findings, repeated implementation failure, hard-cap exhaustion, or breaking-change proposals. Optional /refactor finisher.
日本語の概要は準備中です。原文の説明を表示しています。
Autonomous technical lead. Takes commander's intent and drives a project to completion through an OODA loop over implementation, refactoring, review, and bug-hunting skills. Has broad authority — creates tickets, commits, invokes any skill — and only escalates via andon cord for irreversible actions, public releases, or genuinely blocking decisions. User acts as product owner; skill acts as tech lead.
日本語の概要は準備中です。原文の説明を表示しています。