Feature: skill to autonomously drive feature implementation from work items via sub-agents
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading the existing skills under han-coding/skills/, especially tdd and code-review, then trace plan-work-items, work-items.md, plan-implementation, and agent dispatch in han-core/agents/. Check how workflows and sub-agents are currently invoked. Done means a documented skill can process work items, invoke development and review, honor HITL tasks, and pause on unresolved blockers.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Summary
A skill that, given a set of work items, drives feature implementation end-to-end — offloading development and code review to sub-agents — and only pauses for input on human-in-the-loop (HITL) tasks or on blockers that can't be resolved without changing the planned spec/architecture.
Motivation (current flow)
I use han to implement small-to-medium features on a pet project. After the planning phase, han produces an implementation plan, but the implementation itself is manual: for each work item I hand-invoke tdd and then code-review.
That per-item loop is great for work units with high uncertainty, but it becomes tedious for long features that already have a good specification. Running tdd and code-review also consumes a lot of context, so I have to compact the session every few work items, which costs extra time.
Proposed behavior
A new skill that takes work items and drives implementation, offloading the heavy lifting (development via tdd, review via code-review) to sub-agents, pausing only for:
- HITL tasks, and
- blockers that require my explicit decision because they can't be resolved without changing the planned feature spec, architecture, or similar.
Prior art (I've reproduced this manually)
I've already reproduced the flow by instructing Claude to implement a set of work units while passing development and code review onto sub-agents. Two things were needed to make it reliable:
- I had to explicitly pass the skill names to the sub-agents, otherwise they wouldn't invoke
tdd/code-review. - I had to give explicit per-task model instructions (in the end I just told it to use opus for everything).
Design direction
Where I have a direction, and where I don't:
- How work items are supplied — from
plan-work-items. In practice I commit the feature spec and instruct the agents to read it before proceeding. - Per-work-item completion gate — tests green and
code-reviewreports no findings at severity medium or above. The severity threshold should probably be configurable; pinning down the exact mechanism needs a closer look at thecode-reviewskill. - How a HITL task is recognized —
plan-work-itemsalready classifies each task as AFK or HITL; the skill keys off that. - How a "blocker requiring an explicit decision" is detected — genuinely open. We'll need to try different approaches and see what works.
- Model-selection policy — to be decided later. Likely an optional skill input with an adaptive default. Worth researching the
superpowersskill pack, which does a fairly good job of this. - Failure handling when a sub-agent's
tdd/code-reviewfails or returns findings — either escalate to me, or run atdd→code-review→tdd→ … loop with a hard cap on the iteration count.
Implementation considerations
- Claude workflows could orchestrate this automatically. Caveat: agents spawned via workflows can't use the
Agenttool, so skills that themselves rely on sub-agents (notablycode-review) will need additional consideration.
Suspected areas
- New skill placement: likely a coding-time skill under
han-coding/skills/(alongsidetdd/code-review), or an orchestration skill bridging planning and coding. - The
tddandcode-reviewskills (han-coding/skills/) — the per-item steps dispatched to sub-agents. - The work-item pipeline:
plan-work-items/work-items.mdandplan-implementation(han-planning/skills/) — the upstream that feeds this skill. - Sub-agent dispatch and the agent roster (
han-core/agents/) — including the per-task model selection and explicit-skill-name concerns above.
Ask
Would you be interested in a PR contributing such a skill?
- Lingua principale
- Shell
- Stelle
- 282
- Fork
- 24
- Merge medio
- 6h 6m
- PR unite (30g)
- 1
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di testdouble/han
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
testdouble/han#215 · 1 commento ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
testdouble/han#217 · 1 commento · 1 reazione ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
testdouble/han#216 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
testdouble/han#203 · 1 commento ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
testdouble/han#202 · 1 commento ·
Tutte le issue di testdouble/han
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
IntersectMBO/developer-experience#362 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
registrystack/registry-stack#2168 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
I maintainer di solito rispondono entro 2 giorni
-
Bug triage/confirmed
Difficoltà 2/5 Mezza giornata Idoneità per principianti 85/100
agentscope-ai/agentscope#3355 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
bioconda/bioconda-recipes#70401 ·
I maintainer di solito rispondono entro 2 giorni