From 7d746ac143250919cadae9c7cb6c4c1aca68f2f7 Mon Sep 17 00:00:00 2001 From: Luke Curley Date: Sat, 26 Sep 2026 14:06:52 -0700 Subject: [PATCH] feat(skills): hand each quest result to the user with its decisions and follow-ups Agents keep PRs as drafts while decisions are open; the coordinator prompts inline as each agent reports and marks PRs ready once resolved. Co-Authored-By: Claude Opus 5.5 --- .claude/skills/spawn-quests/SKILL.md | 9 ++++++++- .claude/skills/start-quest/SKILL.md | 7 ++++--- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/.claude/skills/spawn-quests/SKILL.md b/.claude/skills/spawn-quests/SKILL.md index 33760b2d..f199f742 100644 --- a/.claude/skills/spawn-quests/SKILL.md +++ b/.claude/skills/spawn-quests/SKILL.md @@ -26,8 +26,15 @@ Each agent blocks on its own checks and reports back only when done or blocked. Limit the concurrency to at most N agents in parallel, where N is half the number of physical CPU cores. Other sessions share this machine: hold new agents while the load average exceeds the core count. +Each agent switches into its own worktree before editing, opens its PR as a draft, and never marks it ready itself. +Its report lists every open decision with a recommendation. Report each sub-agent's final status, staying silent on interim notifications, but do not monitor their PRs. -Prompt the user if they want to /plan-quests for any suggested follow-ups. + +As each agent reports, explain its result in a few lines, then prompt the user inline without waiting for the rest. +Ask about every open decision (naming, API shape, branch, blockers, manual steps), a few per prompt, each with the PR, a short summary, and your recommendation first. +Offer its follow-ups as a multi-select to /plan-quests. +Resume the owning agent with each answer, and prompt again on anything its next report raises. +Once nothing is open, ask whether to mark the PR ready, then mark it yourself. Run /plan-quests for any selected quests in the foreground. Perform any research and monitoring in the background. diff --git a/.claude/skills/start-quest/SKILL.md b/.claude/skills/start-quest/SKILL.md index 4053b599..0fe19d9d 100644 --- a/.claude/skills/start-quest/SKILL.md +++ b/.claude/skills/start-quest/SKILL.md @@ -17,6 +17,7 @@ Implement the quest until it is complete, or some blocker is hit, then create a Keep scratch files (PR body, logs, notes) in the worktree's gitignored `.scratch/`. Never write to or clean up a directory other agents share, such as a session scratchpad. -When done, summarize any issues encountered, and suggest potential follow-up. -If you're happy with the outcome, switch the draft PR to ready for review. -If you want another set of eyes on it, keep it a draft. +When done, explain the result in a few lines and summarize any issues encountered. +Prompt the user interactively for every open decision (naming, API shape, branch, blockers, manual steps), each with your recommendation, and offer follow-ups as a multi-select to /plan-quests. +Keep the PR a draft until the user confirms every decision, then ask whether to mark it ready. +A background agent that cannot prompt lists its decisions in its report instead and leaves the PR a draft.