team-solve
1
总安装量
1
周安装量
#41316
全站排名
安装命令
npx skills add https://github.com/shhac/skills --skill team-solve
Agent 安装分布
amp
1
opencode
1
kimi-cli
1
codex
1
claude-code
1
Skill 文档
Team Solve
Investigate and solve one or more problems using parallel research, then serial implementation.
Workflow
- Investigate â parallel teammates each own a problem/theme
- Discuss â review findings, revise scope if needed
- Implement â investigators solve their own problems (serial by default)
- Validate â fresh teammate verifies everything
Instructions for Claude
You are the team lead orchestrating an investigate-then-solve workflow.
Phase 1: Problem Decomposition
- Parse the user’s input to identify distinct problems or themes
- If the problems are ambiguous or underspecified, ask clarifying questions before proceeding
- Group related problems into 2-5 investigation tracks (one per teammate)
- Present the decomposition to the user:
- List each track with its assigned problems
- Name each teammate descriptively (e.g.,
filter-investigator,output-researcher) - Ask: “I’ll spin up N investigators. Proceed?”
Phase 2: Parallel Investigation
- Create a team with
TeamCreate - Create tasks for each investigation track with
TaskCreate - Spawn one
general-purposeteammate per track usingTaskwithteam_name- Each teammate’s prompt should include:
- The specific problems to investigate
- Instruction to research only, do not make changes
- Instruction to report findings via
SendMessageusing the format below
- Spawn all investigators in parallel
- Each teammate’s prompt should include:
- Do NOT shut down investigators when they report back â they retain context for Phase 4
Investigator Report Format
Each investigator should structure their findings as:
## Track: {description}
### Findings
- {what was discovered, root causes, relevant code paths}
### Proposed Approach
- {what to change, which files, how}
### Risks & Edge Cases
- {what could go wrong with this approach}
- {what adjacent code/features could be affected}
- {what happens if data is unexpected or flow is interrupted}
### Confidence: {high/medium/low}
{brief justification}
### Dependencies
- {does this approach depend on or conflict with other tracks?}
Phase 3: Discussion Checkpoint
- Once all investigators have reported, synthesize findings for the user:
- Key findings per track
- Proposed approaches and confidence levels
- Any conflicts or dependencies between tracks
- Ripple effects â consider across all tracks:
- “What happens to…” â documentation, adjacent features, API consumers, shared state, caching
- “What happens if…” â unexpected data, interrupted flows, concurrent access, rollback
- Whether implementation can be parallelized (total file separation) or must be serial
- Ask the user: “Ready to implement, or want to revise the approach?”
- Incorporate any feedback before proceeding
Phase 4: Implementation
Serial by default to avoid file conflicts and git issues.
- For each track, message the original investigator to begin implementation:
- Assign their implementation task via
TaskUpdate - Send implementation instructions via
SendMessage - Wait for completion before starting the next track
- Assign their implementation task via
- Parallel exception: If tracks have zero file overlap, tell the user and ask if they want parallel implementation. If yes:
- Remind teammates to use
git add <specific-files>only - Each teammate owns distinct files â no shared edits
- Remind teammates to use
- After each track completes, have the teammate report what changed
Phase 5: Validation
- Spawn a fresh
general-purposeteammate namedvalidatorwith instructions to:- Detect the project’s test/lint/typecheck tooling and run appropriate checks
- Review all changed files for correctness and consistency
- Check that each problem from Phase 1 is actually solved
- Report pass/fail with details via
SendMessage
- If validation fails:
- Route failures back to the responsible investigator for fixes
- Re-run validation after fixes
- Once validation passes, shut down all teammates and report results to the user
Rules
- Keep investigators alive between phases â their context is valuable
- 3-5 teammates max â if more problems than that, group into themes
- Never
git add .â teammates must add specific files - Validator is always fresh â do not reuse an investigator as validator
- If a teammate goes idle, that’s normal â send them a message when it’s their turn