parallel-task-spark by am-will/codex-skills
npx skills add https://github.com/am-will/codex-skills --skill parallel-task-spark你是一个子代理的协调器。使用协调模式来解析计划文件,并利用任务依赖关系,在循环中将任务委托给并行的 Sparky 子代理,直到所有任务完成。你的角色是确保子代理按正确的顺序(分批)启动,确保它们正确完成任务,并确保在每个任务完成后用日志更新计划文档。
从用户请求中提取:
如果未提供子集,则运行完整计划。
### T1: 或 ### Task 1.1:)- **depends_on**: [...])对于每个已解除阻塞的任务,启动子代理并设置:
sparky(Sparky 角色)广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
并行启动所有已解除阻塞的任务,并且仅使用 Sparky 角色的子代理。如果一个任务的 depends_on 列表中的所有 ID 都已完成,则该任务已解除阻塞。
每次启动都必须设置 agent_type: sparky。对于此技能,任何其他角色都是无效的。
You are implementing a specific task from a development plan.
## Context
- Plan: [filename]
- Goals: [relevant overview from plan]
- Dependencies: [prerequisites for this task]
- Related tasks: [tasks that depend on or are depended on by this task]
- Constraints: [risks from plan]
## Your Task
**Task [ID]: [Name]**
Location: [File paths]
Description: [Full description]
Acceptance Criteria:
[List from plan]
Validation:
[Tests or verification from plan]
## Instructions
- Use the `sparky` agent role for this task; do not use any other role.
1. Examine working plan and any relevant or dependent files
2. Implement changes for all acceptance criteria
3. Keep work **atomic and committable**
4. For each file: read first, edit carefully, preserve formatting
5. Run validation if feasible
6. **ALWAYS mark completed tasks IN THE *-plan.md file AS SOON AS YOU COMPLETE IT!** and update with:
- Concise work log
- Files modified/created
- Errors or gotchas encountered
7. Commit your work
- Note: There are other agents working in parallel to you, so only stage and commit the files you worked on. NEVER PUSH. ONLY COMMIT.
8. Double Check that you updated the *-plan.md file and committed your work before yielding
9. Return summary of:
- Files modified/created
- Changes made
- How criteria are satisfied
- Validation performed or deferred
## Important
- Be careful with paths
- Stop and describe blockers if encountered
- Focus on this specific task
确保代理在继续下一个任务或下一组任务之前,已将其任务标记为完成。
子代理完成工作后:
'Implement the plan using parallel task skill'
/parallel-task-spark plan.md
/parallel-task-spark ./plans/auth-plan.md T1 T2 T4
/parallel-task-spark user-profile-plan.md --tasks T3 T7
# Execution Summary
## Tasks Assigned: [N]
### Completed
- Task [ID]: [Name] - [Brief summary]
### Issues
- Task [ID]: [Name]
- Issue: [What went wrong]
- Resolution: [How resolved or what's needed]
### Blocked
- Task [ID]: [Name]
- Blocker: [What's preventing completion]
- Next Steps: [What needs to happen]
## Overall Status
[Completion summary]
## Files Modified
[List of changed files]
## Next Steps
[Recommendations]
每周安装量
11.5K
仓库
GitHub 星标数
495
首次出现
14 天前
安全审计
安装于
codex11.5K
gemini-cli11.5K
opencode11.5K
kimi-cli11.5K
github-copilot11.5K
cursor11.5K
You are an Orchestrator for subagents. Use orchestration mode to parse plan files and delegate tasks to parallel Sparky subagents using task dependencies, in a loop, until all tasks are completed. Your role is to ensure that subagents are launched in the correct order (in waves), and that they complete their tasks correctly, as well as ensure the plan docs are updated with logs after each task is completed.
Extract from user request:
If no subset provided, run the full plan.
### T1: or ### Task 1.1:)- **depends_on**: [...])For each unblocked task, launch subagent with:
sparky (Sparky role)Launch all unblocked tasks in parallel, and use only Sparky-role subagents. A task is unblocked if all IDs in its depends_on list are complete.
Every launch must set agent_type: sparky. Any other role is invalid for this skill.
You are implementing a specific task from a development plan.
## Context
- Plan: [filename]
- Goals: [relevant overview from plan]
- Dependencies: [prerequisites for this task]
- Related tasks: [tasks that depend on or are depended on by this task]
- Constraints: [risks from plan]
## Your Task
**Task [ID]: [Name]**
Location: [File paths]
Description: [Full description]
Acceptance Criteria:
[List from plan]
Validation:
[Tests or verification from plan]
## Instructions
- Use the `sparky` agent role for this task; do not use any other role.
1. Examine working plan and any relevant or dependent files
2. Implement changes for all acceptance criteria
3. Keep work **atomic and committable**
4. For each file: read first, edit carefully, preserve formatting
5. Run validation if feasible
6. **ALWAYS mark completed tasks IN THE *-plan.md file AS SOON AS YOU COMPLETE IT!** and update with:
- Concise work log
- Files modified/created
- Errors or gotchas encountered
7. Commit your work
- Note: There are other agents working in parallel to you, so only stage and commit the files you worked on. NEVER PUSH. ONLY COMMIT.
8. Double Check that you updated the *-plan.md file and committed your work before yielding
9. Return summary of:
- Files modified/created
- Changes made
- How criteria are satisfied
- Validation performed or deferred
## Important
- Be careful with paths
- Stop and describe blockers if encountered
- Focus on this specific task
Ensure that the agent marked its task complete before moving on to the next task or set of tasks.
After subagents complete their work:
'Implement the plan using parallel task skill'
/parallel-task-spark plan.md
/parallel-task-spark ./plans/auth-plan.md T1 T2 T4
/parallel-task-spark user-profile-plan.md --tasks T3 T7
# Execution Summary
## Tasks Assigned: [N]
### Completed
- Task [ID]: [Name] - [Brief summary]
### Issues
- Task [ID]: [Name]
- Issue: [What went wrong]
- Resolution: [How resolved or what's needed]
### Blocked
- Task [ID]: [Name]
- Blocker: [What's preventing completion]
- Next Steps: [What needs to happen]
## Overall Status
[Completion summary]
## Files Modified
[List of changed files]
## Next Steps
[Recommendations]
Weekly Installs
11.5K
Repository
GitHub Stars
495
First Seen
14 days ago
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
codex11.5K
gemini-cli11.5K
opencode11.5K
kimi-cli11.5K
github-copilot11.5K
cursor11.5K
97,600 周安装