From idh
Run Imperial Dragon batch across multiple tickets. Picks targets, manages waves, enforces isolation. Always autonomous — never merges.
npx claudepluginhub minhhaduong/imperialdragonharnessThis skill uses the workspace's default tool permissions.
The orchestrator does not redefine skills. It calls `/start-ticket`,
Provides Ktor server patterns for routing DSL, plugins (auth, CORS, serialization), Koin DI, WebSockets, services, and testApplication testing.
Conducts multi-source web research with firecrawl and exa MCPs: searches, scrapes pages, synthesizes cited reports. For deep dives, competitive analysis, tech evaluations, or due diligence.
Provides demand forecasting, safety stock optimization, replenishment planning, and promotional lift estimation for multi-location retailers managing 300-800 SKUs.
The orchestrator does not redefine skills. It calls /start-ticket,
/review-pr, /celebrate, etc. Its job is sequencing, wave management,
and enforcing invariants. It never merges — all work lands as merge requests
for the author to review.
Deliverable work ≥60%, tooling ≤40%. If two consecutive tickets were tooling, the next must advance a deliverable. Track in session log.
Deliverables: items in STATE.md under current milestone — papers, slides, reading notes, figures, responses to reviewers. Tooling: tests, hygiene, refactoring, harness improvements.
Escape hatch: if make check-fast fails and blocks all deliverable work, tooling may exceed 40%. Document why.
Every phase ends with a git commit. If the session dies, resume by reading the ticket logs and git history to determine which phase completed last. The checkpoint is the repo, not session state.
If $ARGUMENTS is "all open": read open tickets from git-erg tickets/ or forge.
Otherwise: parse comma-separated ticket IDs.
Prioritize:
Read each ticket + STATE.md. Group by milestone. Identify dependency order and wave structure.
For each ticket, launch an agent (background, no isolation needed — read-only):
Wait for all. Commit reimagined tickets. Report scorecard.
For each reimagined ticket, launch an agent (background):
Wait for all. Commit planned tickets. Report scorecard.
Launch agents by cluster to cross-check plans:
Annotate tickets with PASS/WARN/BLOCK. Commit annotations.
Group tickets into waves:
For each wave, launch agents with isolation: "worktree".
Each agent follows /start-ticket workflow. Push branch when done, create merge request.
Wait for wave to complete.
/verify)Mood: Be strict, skeptical, nit-picky, detail-oriented. Aim for code excellence and integrity.
Per-ticket: invoke /verify <pr-number> on each merge request. The skill runs:
/verify-adherence — mechanical-first rule check (tests + grep ratchet before LLM)./review (built-in) — standard review./review-pr or /review-pr-prose — file-type heuristic./simplify — reuse/quality/efficiency, applies fixes./verify-gate — anti-rubber-stamp merge gate: APPROVED / REROLL / ESCALATE./verify spawns a fix agent and re-gates; round 2 escalates./verify never merges. The orchestrator does not either — merges are always the
author's call (interactive) or the /celebrate flow's call (autonomous).
Per-wave: after all per-ticket /verify runs complete, launch one integration-review
subagent (read-only) to check:
make check still pass if we imagine them all merged?Wave-level findings go to the human as a wave-summary comment; they do not block
individual /verify verdicts.
Check each merge request for scope creep:
/new-ticket)make check passes on main?Autonomous mode: ralph loop to next wave.
make check on main — compare against baseline. New failures → ticket./end-session.Agent timeout: If an agent has not pushed within 10 minutes, kill it. Split the ticket or relaunch with narrower scope.
Ping-pong detector: If two agents edit the same file on the same branch, STOP. Reset to last known-good commit, relaunch ONE agent.
Redirect ban: Do not use SendMessage to redirect a running agent. Kill and relaunch with corrected instructions.
Escalation: If the same fix fails twice, stop and leave a ticket comment with the two failed approaches.