nous-execute-plan
Execute an existing NOUS plan sequentially or in parallel terminal sessions after checking that the plan exists. Use when the user asks to execute a plan, run a planned implementation, or execute UI, ultra UI, DB, BE, backend, or QA plans.
- License 许可
- MIT
- 所属仓库
- max-kharena/nous
- 最近更新
- 2026-04-28
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- nous-execute-plan
- risk
- high
- type
- execution
- version
- 0.1.0
- description
- Execute an existing NOUS plan sequentially or in parallel terminal sessions after checking that the plan exists. Use when the user asks to execute a plan, run a planned implementation, or execute UI, ultra UI, DB, BE, backend, or QA plans.
03 SKILL.md 正文
nous:execute-plan
Core Principle
Never execute before confirming the plan exists.
Supported Commands
nous:execute-plan- execute a user-provided or detected plan.nous:quick-ui/quick:ui- quick-execute a small UI change without a saved plan.nous:quick-be/quick:be- quick-execute a small backend change without a saved plan.nous:quick-db/quick:db- quick-execute a small database change without a saved plan.nous:execute-ui-plan- execute the UI plan.nous:execute-ui-ultra-plan- execute the ultra UI plan.nous:execute-db-plan- execute the database plan.nous:execute-be-plan- execute the backend plan.nous:execute-qa-plan- execute the QA plan.nous:execute-release-plan- execute the release / deploy / infra plan.nous:execute-ultraplan- execute a fullstack phased plan.
Plan Existence Check
If the user provides a plan path, verify that file exists before execution.
If no path is provided, search in this order:
.nous/plans/{domain}-plan.md
.nous/plans/nous-{domain}-plan.md
docs/nous/plans/{domain}-plan.md
docs/nous/plans/nous-{domain}-plan.md
docs/plans/{domain}-plan.md
docs/plans/nous-{domain}-plan.md
Domains: ui, ui-ultra, db, be, backend, qa, release, ultraplan. Treat fullstack wording as an alias for ultraplan. Treat deploy and infra wording as aliases for release.
HARD-GATE: Missing Plan
If no matching plan exists, stop. Do not improvise execution.
Respond exactly in this shape:
Plan not found for {domain}. Create the plan first with {planner-command}, or provide a plan path.
Planner command mapping:
- UI:
nous:ui-plan - Ultra UI:
nous:ui-ultra-plan - DB:
nous:db-plan - BE/backend:
nous:be-plan - QA:
nous:qa-plan - Release/infra:
nous:release-plan - Ultraplan/fullstack:
nous:ultraplan - Generic: ask which planner should create the missing plan.
HARD-GATE: Invalid Plan Shape
A plan file that exists but is missing the contract sections is not executable. Before doing any work, confirm the plan contains:
For domain plans (ui, ui-ultra, db, be, backend, qa, release):
## Objective
## Specialized Tasks
## Validation Requirements
## Not In Scope
For ultraplans:
## Feature Objective
## Phase Plan
## Parallelization Map
## Validation Strategy
If any required section is missing or empty, stop and respond:
Plan at {path} is missing required section(s): {missing}. Re-run {planner-command} to regenerate, or edit the plan to satisfy the contract.
Do not infer missing sections. Do not execute partial plans.
Execution Modes
Default mode is sequential unless the user asks for parallel execution or the plan clearly defines independent tasks.
Modes:
- Sequential: execute one task at a time in the current session.
- Parallel terminal: execute independent tasks in separate terminal sessions or isolated agent sessions.
- Parallel wave: execute independent tasks in the same dependency wave concurrently, then continue to the next wave.
- Phase worktrees: execute independent phases in separate git worktrees, then merge/reconcile in main.
Required Methodology Skills
- Use
test-driven-developmentbefore feature, bugfix, refactor, or behavior-change implementation unless the user approves an exception. - Use
systematic-debuggingbefore fixing any failing test, build failure, regression, or unexpected behavior discovered during execution. - Use
verification-before-completionbefore reporting any task, phase, or plan as complete. - Use
requesting-code-reviewbefore merge/PR or after risky phases. - Use
receiving-code-reviewwhen acting on review feedback. - Use
finishing-a-development-branchafter verified branch/worktree implementation when integration or cleanup is needed.
Worktree Gate
Before any phase-worktrees, worktree, or parallel-worktree execution, use using-git-worktrees to establish isolation.
Required evidence before implementation:
- Worktree directory selected by existing convention,
CLAUDE.md, or user choice. - Project-local worktree directory is gitignored.
- Worktree branch and path are reported.
- Baseline setup and verification ran, or the user explicitly approved proceeding despite failures.
Stop if any worktree safety gate fails.
Parallel Terminal Rules
Use parallel terminal sessions only when:
- Tasks are independent or grouped into explicit dependency waves.
- Each session can work on separate files or isolated worktrees.
- Verification can be run per task without corrupting shared state.
- Merge/reconciliation work is planned after parallel execution.
When using delegated workers in the same session, prefer subagent-driven-development. When there are multiple independent investigations or failures, use dispatching-parallel-agents.
Do not parallelize:
- Database migrations that depend on sequence.
- Shared state edits without isolation.
- Tasks that modify the same files unless the plan explicitly handles conflict resolution.
- Release or deployment steps.
UI Ultra Execution Rules
When executing a ui-ultra plan:
- Apply
frontend-design-skill-ultrabefore editing UI code. - Preserve the plan's declared type scale, spacing ramp, color ramps, and pixel-perfect review gate.
- Implement all required interaction states: hover, focus, active, disabled, loading, empty, error, and success where applicable.
- Verify desktop and mobile behavior when a browser or screenshot workflow is available.
- Include visual verification evidence in the final report: screenshots, browser checks, component states reviewed, or a clear blocker.
Ultraplan Execution Rules
When executing an ultraplan:
- Read
Phase Plan,Parallelization Map, andExecution Strategy. - Execute phases in dependency order.
- Use
mainfor integration, final verification, release decisions, and conflict resolution. - Use
subagentfor research, review, QA, security, perf, and isolated implementation tasks. - Use
worktreefor a phase that needs implementation isolation. - Use
parallel-worktreeonly for phases marked independent by the ultraplan. - Verify each phase before starting dependent phases.
- Stop if a phase fails verification; do not continue into dependent phases.
Execution Workflow
- Resolve domain from command or natural language.
- Check the plan exists.
- Read the plan.
- Confirm execution mode: sequential, parallel terminal, or parallel wave.
- Execute only the tasks in the plan using TDD where applicable.
- Verify after each task or wave with
verification-before-completion. - Stop on failing verification and report the blocker.
- Request code review for risky or merge-bound work.
- Summarize completed tasks, verification evidence, and remaining work.
Output Contract
## Plan Located
## Execution Mode
## Phase Status
## Tasks Executed
## Verification Evidence
## Blockers
## Remaining Work
04 同仓库更多 Skills
write-a-skill
Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when the user wants to create, write, or build a new skill.
verification-before-completion
Use when about to claim work is complete, fixed, passing, ready, merged, shippable, reviewed, or verified.
using-nous
Use when a request needs NOUS command routing or personality-driven planning.
using-git-worktrees
Use when NOUS execution needs isolated implementation branches, phase worktrees, parallel worktrees, or safe branch setup before executing a plan.
ubiquitous-language
Use when the user wants to define domain terms, build a glossary, harden terminology, or extract a DDD-style ubiquitous language. Saves to UBIQUITOUS_LANGUAGE.md.
triage-issue
Use when the user reports a bug and wants it investigated and filed as a durable GitHub issue with a TDD-based fix plan.