skills/mp-hitl/SKILL.md
Resolve HITL issues into AFK-ready by grilling human decisions. Use when: "resolve HITL", "make issues AFK", "grill HITL issues", "prep for overnight run"
npx skillsauth add MartinoPolo/mpx-claude-code mp-hitlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Grill the user on open decisions in HITL-labeled GitHub issues, then flip resolved issues to AFK for autonomous execution. $ARGUMENTS
lowest → process unblocked HITL issues by lowest issue number firstmost-blocking → process by transitive unblock count (highest-impact first)Default ordering: lowest
If a PRD issue URL or number is provided, use it directly. Otherwise auto-detect:
gh repo view --json nameWithOwner --jq '.nameWithOwner'
gh issue list --label "prd" --state open --json number,title
If multiple open PRDs found, show them and ask which one. If zero, report and exit.
Fetch the PRD body — it provides shared context (especially ## Implementation Decisions):
gh issue view <PRD_NUMBER> --json title,body
gh issue list --label "task" --state open --json number,title,labels,body
For each issue, parse the ## Blocking Relationships section to extract Blocked by #N references. Build a dependency graph.
An HITL issue is unblocked when all its blockers are either:
AFK (will be resolved autonomously)Filter to only HITL-labeled issues that meet this criteria. If zero found:
Sort unblocked HITL issues based on the ordering parameter:
lowest (default) → ascending by issue numbermost-blocking → descending by transitive unblock count (how many downstream issues, direct + indirect, each one unblocks)Present the queue to the user.
For lowest:
HITL issues to resolve (ordered by issue number):
1. #3 — Dashboard + issue CRUD
2. #6 — Session spawning
For most-blocking:
HITL issues to resolve (ordered by blocking impact):
1. #3 — Dashboard + issue CRUD (unblocks 6 downstream)
2. #6 — Session spawning (unblocks 4 downstream)
For each HITL issue, in priority order:
## Notes for the HITL reason, ## Acceptance Criteria for ambiguity, ## Description for open questions## Implementation Decisions section — remove anything already decidedExplore agent (model: "sonnet") to scan the codebase for files relevant to this issue (components, patterns, configs mentioned in the issue). Use findings to pre-answer questions where possibleGroup the issue's decision points into thematic batches. Present each batch as a numbered list in one round. For each question, provide a recommended answer backed by codebase evidence or PRD context.
Only split into a follow-up round when earlier answers would change later questions.
Follow the mp-grill pattern: if a question can be answered by exploring the codebase, spawn an Explore agent (model: "sonnet") instead of asking.
If all decisions resolved: Append a ## Resolved Decisions section to the issue body:
## Resolved Decisions
- **Decision name**: Resolution with implementation context.
- **Another decision**: Resolution with implementation context.
Then flip labels:
gh issue edit <NUMBER> --remove-label "HITL" --add-label "AFK"
If some decisions require implementation to answer: Append both sections, keep HITL label:
## Resolved Decisions
- **Decision name**: Resolution with implementation context.
## Unresolved — Needs Implementation
- **Decision name**: Why it needs experimentation first.
After completing an issue, ask: "Continue to the next HITL issue?"
If yes, proceed. If no, skip to Step 6.
After flipping issues to AFK, re-evaluate the dependency graph. Issues that were blocked solely by the just-resolved HITL issues are now unblocked. Add them to the queue and continue grilling.
HITL Resolution Summary
========================
Resolved (flipped to AFK):
- #3 — Dashboard + issue CRUD
- #6 — Session spawning
Partially resolved (still HITL):
- #7 — Embedded terminal (2 decisions unresolved)
Still blocked (not grilled):
- #9 — Rich chat view (blocked by #6 HITL)
Newly unblocked AFK issues (ready for execution):
- #4 — Git CLI integration (was blocked by #3)
- #10 — Worktree lifecycle (was blocked by #3)
development
Audit all active skills for consistency, convention drift, and common issues. Auto-fixes where possible, reports remaining issues. Use when: "audit skills", "skill audit", "check skills", "lint skills"
testing
Ship finished work: sync base, commit, push, PR, wait for CI green, merge. Use when: "ship it", "ship and merge", "ship this"
development
Scan recent Claude Code sessions for grilling/design discussions, extract decisions, and update CONTEXT.md + DECISIONS.md. Use when: "harvest decisions", "extract decisions from sessions", "update docs from sessions", "sync decisions"
tools
Consolidate CONTEXT.md: remove duplicates, outdated items, tighten language. Use when: "consolidate context", "clean up context", "simplify context", "consolidate requirements"