一键导入
executing-plans
Executes implementation plans with smart task grouping. Groups related tasks to share context, parallelizes across independent subsystems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Executes implementation plans with smart task grouping. Groups related tasks to share context, parallelizes across independent subsystems.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Writing style and tone guide for human-sounding content. Use when writing documentation, READMEs, commit messages, PR descriptions, blog posts, LinkedIn posts, social media content, or any user-facing content.
Diagnose and fix tests that pass in isolation but fail when run concurrently. Covers shared state isolation, resource conflicts, and timing-based flakiness.
Guides CI/CD pipeline architecture, security hardening, and deployment strategies for GitHub Actions. Use when designing workflows, securing supply chains, optimizing build performance, configuring deployments, managing infrastructure as code pipelines, or setting up pipeline observability.
Defines product features from a PM perspective before technical planning begins. Use when scoping new features, writing product specs, defining user problems, choosing what to build, researching existing patterns, or bridging the gap between strategy and implementation. Covers JTBD analysis, competitive research, UX/DX experience definition, and scope negotiation for consumer, B2B, and developer tool products.
Writes behavior-focused tests using Testing Trophy model with real dependencies. Use when writing tests, choosing test types, or avoiding anti-patterns like testing mocks.
Guides clean, scalable system architecture during the build phase. Use when designing modules, defining boundaries, structuring projects, managing dependencies, or preventing tight coupling and brittleness as systems grow.
基于 SOC 职业分类
| name | executing-plans |
| description | Executes implementation plans with smart task grouping. Groups related tasks to share context, parallelizes across independent subsystems. |
You are an orchestrator. Spawn and coordinate sub-agents to do the actual implementation. Group related tasks by subsystem (one agent for API routes, another for tests) rather than spawning per-task. Each agent re-investigates the codebase, so fewer agents with broader scope = faster execution.
Create a worktree using EnterWorktree before starting any work. This isolates changes from the main branch and makes cleanup safe. Skip only for trivial single-file changes that don't warrant isolation.
Clarify ambiguity upfront. If the plan has unclear requirements or meaningful tradeoffs, ask before starting. Don't guess when the user can clarify in 10 seconds.
Track progress with tasks. Create tasks for each major work item from the plan. Set up dependency chains between tasks using addBlocks/addBlockedBy so blocked tasks don't start prematurely. Update task status as work progresses. This keeps execution visible to the user and persists across context compactions.
Group related tasks to share agent context. One agent per subsystem, groups run in parallel.
| Signal | Group together |
|---|---|
| Same directory prefix | src/auth/* tasks |
| Same domain/feature | Auth tasks, billing tasks |
| Plan sections | Tasks under same ## heading |
3-4 tasks max per group. Split if larger. Overloading a single agent causes context compactions that degrade output quality, so err toward splitting over cramming.
Parallel vs sequential: Groups that touch different subsystems run in parallel. Groups with dependencies run sequentially (e.g., create shared types before using them). When parallel agents may touch overlapping files, use isolation: "worktree" on the Agent call.
Auto-recovery:
Verification is a gate, not a checklist. Nothing proceeds to merge until all checks pass. If any check fails, fix and re-verify. This is a loop, not a one-shot.
Automated tests. Run the full test suite. All tests must pass.
Manual verification. Automated tests aren't sufficient. Actually exercise the changes:
Watch for DX friction during manual testing: confusing error messages, noisy output, inconsistent behavior, rough edges that technically work but feel bad. Fix inline or document for follow-up. Don't ship friction.
Code review (mandatory). After tests pass and manual verification is done, dispatch the ce:code-reviewer agent to review the full diff against the base branch. This step is not optional.
Load relevant domain skills into the reviewer based on what was implemented. Evaluate which apply and include them in the agent prompt:
Skill(architecting-systems) - system design, module boundariesSkill(managing-databases) - database workSkill(handling-errors) - error handlingSkill(writing-tests) - test qualitySkill(optimizing-performance) - performance workHandle the review verdict:
Plan execution is not done until review findings are addressed.
Once verification passes:
ExitWorktree with action: "remove" to clean up./plans/done/ if applicable