/team:refine-asyncfrom team
Post-refinement triage — consolidates the context saved by /team:refine-live, runs light codebase exploration (budgeted grep, no deep architecture) and generates [INTERIM] subtasks for approval and creation on the board. Use right after the refinement session, before the technical pipeline (archaeology → tech-breakdown).
Ships in team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Asynchronous processing after the refinement session. Consolidates the context captured in /team:refine-live, runs light codebase exploration, generates subtasks for approval, and creates them on the board.
Position in the workflow:
/team:refine-live <card-id> ← during the session
↓
/team:refine-async <card-id> ← you are here (post-session)
↓
archaeology → tech-breakdown → plan
Run after the refinement session, once /team:refine-live has already consolidated the US's context. Can be immediately after (same session) or at another time (reads from the state file).
Not for: deep architectural exploration (use /core:archaeology), detailed technical decomposition (use /core:tech-breakdown).
/team:refine-async <TICKET>
/team:refine-async <numeric-card-id>
Accepts the same card ID formats as /team:refine-live.
Look for the state file at docs/refine/refine-<card-id>.md:
refine-<TICKET>.mdrefine-<numeric-card-id>.mdIf option (b): fetch the card via the consumer project's board MCP tool (this kit doesn't bundle one — adapt to the real server connected in the session) and use only the title + description as the basis.
Based on the card's terms (title, PO context, modules mentioned), run a light exploration:
Budget:
What to search for (Claude Code tools — Glob/Grep):
| Target | Example |
|---|---|
| Does the module/feature exist? | Glob("**/*<feature>*") |
| Does the Store/Controller exist? | Grep("<Feature>Store|<Feature>Controller") |
| Does the Endpoint/Repository exist? | Grep("<feature>Repository|<feature>DataSource") |
| Does the route exist? | Grep("<RoutesTable>.*<feature>") |
Grep output — concise summary:
🔍 Light exploration:
- ✅ Module `<feature_module>` exists at lib/src/modules/<feature_module>/
- ✅ <FeatureX>Store found (<feature>_store.dart)
- ❌ Recommendation endpoint NOT found in the data repository
- ⚠️ Existing route: <RoutesTable>.<feature> (restricted scope)
Based on the consolidated context (live + grep), generate subtasks for the US:
Generation rules:
[INTERIM] — subtasks are a starting point, not final truth/core:tech-breakdown)Presentation format:
## Proposed subtasks — <TICKET> [INTERIM]
1. **Create recommendation endpoint on the backend**
Endpoint that returns items related to the current context.
Dependency: eligibility rule definition with the PO.
2. **Implement <Feature>Repository + DataSource**
Integration with the new endpoint. Use the project's error pattern (e.g., Either<Failure, T>).
3. **Create the feature's UI on the target screen**
Design system component with a list/section of recommended items.
Ref: existing `<feature_module>` module (if any) can be reused.
4. **[QA] Feature integration tests**
Validate the full end-to-end flow.
---
Approve? Options:
- `approve all` — I create all of them on the board
- `approve N` — select which ones (e.g.: "approve 1,2,3")
- `edit N` — request a change to a specific subtask
- `redo` — regenerate with new instructions
Depends on a board/kanban MCP specific to the consumer project — this kit doesn't include one. After the user's approval:
⚠️ Board API unavailable. Subtasks ready for manual creation:
□ Create recommendation endpoint on the backend
□ Implement <Feature>Repository + DataSource
□ Create the feature's UI on the target screen
□ [QA] Feature integration tests
After subtasks are created (or exported), ask:
## Next step
Is this US ready to enter the technical pipeline?
- `ready` — can run `/core:archaeology` → `/core:tech-breakdown` once a dev picks it up
- `blocked` — still has gaps that need the PO (list which)
- `partial` — part is ready, part needs clarification
What's the status?
Record the answer in the state file.
Update the state file at docs/refine/refine-<card-id>.md (make sure the directory exists: mkdir -p docs/refine):
## Async (added)
- async_date: <YYYY-MM-DD>
- grep_findings: [1-line summary per finding]
- subtasks_created: [list of titles]
- subtasks_rejected: [list, if any]
- pipeline_status: ready | blocked (reason) | partial (reason)
## Status
- phase: async_done
- ready_for_pipeline: <updated>
/core:tech-breakdown's job./core:archaeology for full mapping."/core:tech-breakdown.<TICKET>, module/store/repository names, and the board in this file are placeholders — adapt them to the consumer project's real names when using this skill; this kit has no stack of its own to fill these in with.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub arthuravilacompass/agent-kit --plugin team3 skills in this plugin
/chat-draftInvoke to draft informal pt-BR chat messages for Teams/Slack — recap of a tech-sync, squad update, or any request labeled "message for the team / chat / Teams / Slack"./refine-liveLive copilot for the refinement session with the PO — takes the board card + PO's real-time bullets and generates clarifying questions by priority (scope, implicit criteria, dependencies). Use during the refinement call; consolidates state for the follow-up /team:refine-async.