Execution Plan Scripts 标志

Execution Plan Scripts

社区
peterbamuhigire
execution-plan-scripts

Use when converting an approved long-running plan into self-contained execution prompts across sessions or workers. Covers dependency order, checkpoints, capability fallback and evidence handoff; use world-class-engineering for a single implementation slice.

概览

发布者peterbamuhigire
代码仓库chwezi-dev-engine
技能名称execution-plan-scripts
星标数
29
复刻数
6
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 peterbamuhigire 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Execution Plan Scripts AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/execution-plan-scripts
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/peterbamuhigire/chwezi-dev-engine.git /tmp/chwezi-dev-engine
mkdir -p .claude/skills
cp -r /tmp/chwezi-dev-engine/skills/execution-plan-scripts .claude/skills/execution-plan-scripts
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Execution Plan Scripts,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Execution Plan Scripts。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Execution Plan Scripts 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Execution Plan Scripts

Required Inputs

InputOwnerIf absent
Approved plan, current task states and acceptance criteriaTask ownerDraft the plan before generating execution prompts
Repository instructions, actual skill inventory and supported capabilitiesExecuting environmentDiscover them; do not assume a named plugin or tool exists
Dependency edges, file ownership and last verified checkpointCoordinatorSequence dependent work and resolve overlapping writes
Existing authorisation and external-action limitsUser and host policyCarry forward the existing scope; stop only for work outside it

Capability contract

Authoring needs read/search access to the plan and skill catalogue. Editing requires the user's plan-authoring scope. Execution and delegation are optional: produce sequential prompts when workers are unavailable. A process plugin may refine the workflow when installed; its absence does not block the same approved workflow through available tools. Keep vendor-specific invocations in an adapter.

Degraded mode

When an optional tool or process skill is unavailable, preserve the task and substitute its documented capability equivalent. When a required source, test environment or credential is unavailable, mark the affected acceptance evidence NOT ASSESSED and continue independent work. Never convert a missing required test into an expected failure solely to obtain a green suite.

Decision rules

ConditionPrompt designEvidence required
A task consumes another task's outputRun after the producer's acceptance gateProducer artefact and result
Independent tasks have disjoint write sets and delegation is availableAssign one owner per write setReconciled diffs and worker results
A slice delivers one end-to-end user outcomeRepresent it as a tracer-bullet node with explicit blocking edgesRunnable thin-slice evidence
A live contract or schema cannot change atomicallyUse expand-contract nodes and preserve a green compatibility boundaryVersion-skew and rollback tests
Delegation or a named process plugin is unavailableExecute the same tasks sequentiallySame acceptance criteria and checkpoint
A session is resumed or compactedRead the checkpoint and inspect current stateRemaining work, prior results and user corrections
A requested action exceeds existing authorityComplete independent preparation, then request that specific authorityReviewable proposed action and scope boundary

Workflow

  1. Read the plan, user corrections and repository instructions; enumerate the actual skills and capabilities.
  2. Partition the plan into tracer-bullet nodes that cross the necessary layers for one useful outcome. Record blocking edges, query the current runnable frontier, and use expand-contract for wide live changes. Keep the coordinator's next blocking task local; delegate independent work only where supported.
  3. Write self-contained prompts using the anatomy below. Use available process skills when they add value; never prescribe unavailable vendor tools.
  4. Record exact acceptance commands, expected behaviour, negative cases, unresolved prerequisites and the recovery point.
  5. Verify the prompts against the plan: every task has an owner, required inputs, output, acceptance evidence and a checkpoint.

Quality Standards

Prompts must preserve existing authorisation, user corrections and incomplete work across sessions. Completion requires observed acceptance evidence; a tool invocation, a generated file or an unexecuted test is not completion.

About this skill (self-awareness)

This skill is itself a member of the domain engine — the same library of craft skills it instructs you to reference when authoring a script. It is the meta-skill for the planning and documentation surface of software and app development. Other engine members (e.g. mysql-best-practices, php-security, healthcare-ui-design, android-development, swiftui-design, multi-tenant-saas-architecture) are the implementation surface.

Because it lives inside the engine, this skill MUST:

  1. Discover siblings dynamically. Do not paste a static list of available skills into a script. Instead, enumerate the skills library at author-time and pick the relevant ones by name. On any environment, the listing command is whatever the local CLAUDE.md / AGENTS.md / GEMINI.md documents (e.g. ls $SKILLS_HOME or ls <web-dev-library>/skills/). The author session runs the command, reads the listing, picks the relevant skill names, and quotes them by name in the script.
  2. Refer to siblings by name only. This skill never paths to a sibling (/Users/.../skills/mysql-best-practices/SKILL.md) — it names it (mysql-best-practices). The executor's environment resolves the path.
  3. Refresh its category knowledge each use. New skills land in the library all the time. Treat the categories table at the bottom of this file as a stable taxonomy of kinds of skill (security, db, ui, mobile, etc.) — not a frozen registry of skill names. Re-list the library before authoring.
  4. Self-load when relevant. Whenever a plan or runbook is being written or executed for software/app development, this skill SHOULD be loaded — the project's CLAUDE.md "mandatory pairings" entry for execution-plan-scripts enforces this. If a sibling skill is being applied to a multi-prompt deliverable, this skill is its companion.

Use When

  • A plan has more open tasks than one session can credibly execute (rule of thumb: > ~30 tasks, or > 10 file surfaces, or mixes web + mobile + infra).
  • The work crosses dependency boundaries that benefit from session-level checkpoints (operator review between prompts).
  • Subagents will be dispatched from inside one or more of the prompts (per-prompt fan-out).
  • The deliverable is a runnable script (a markdown file the operator pastes prompt-by-prompt), not the implementation itself.
  • A sibling domain skill is being applied to a multi-prompt workstream — this skill is the companion that wraps it.

Do Not Use When

  • The task is a single implementation slice: use world-class-engineering with the applicable domain skill.
  • The work is open-ended discovery: use product-discovery before writing execution prompts.
  • No written plan exists: define scope, dependencies and acceptance criteria first.

The Two-Engine Skills Model

Each prompt distinguishes domain guidance from optional process guidance:

EnginePurposeHow to enumerate
Process engine (e.g. superpowers:*)HOW work is done — TDD cadence, subagent fan-out, verification gates, code reviewLoaded by the host platform (Claude Code plugin manager / Codex / Gemini CLI). The session lists them via the platform's skill discovery (Skill tool listing, /skills, etc.).
Domain engine (the craft library this skill lives in)WHAT good looks like — language standards, framework patterns, security baselines, UX rulesThe session lists them by enumerating the library's skills/ directory. Path is resolved from the local environment's CLAUDE.md / AGENTS.md / GEMINI.md — never hardcoded.

Author-time discipline:

  1. Discover the domain catalogue and any installed process guidance before writing the script; do not assume plugins exist.
  2. Pick by name — the author session quotes only the names that apply to each prompt.
  3. Re-quote in subagent prompts — subagents do not inherit the parent session's skill state, so each subagent prompt repeats the names it needs.
  4. Never path — a name in this script is a contract that the executor will resolve to a path on its own machine.

Process-engine examples (current as of this skill's last edit; the host platform is authoritative):

superpowers:executing-plans, superpowers:test-driven-development, superpowers:subagent-driven-development, superpowers:dispatching-parallel-agents, superpowers:verification-before-completion, superpowers:systematic-debugging, superpowers:requesting-code-review, superpowers:receiving-code-review, superpowers:brainstorming, superpowers:writing-plans, superpowers:finishing-a-development-branch.

Domain-engine taxonomy (kinds, not a frozen registry — re-list the library at author-time):

Security · API contract · Database/migration · Multi-tenancy/RBAC · Web UI/UX · Mobile (Android / iOS / KMP) · Healthcare-UI / domain-UX · Performance · Testing/SDLC · DevOps/CI · Content/i18n · Architecture.

This skill (execution-plan-scripts) sits in the SDLC + Architecture corner of the domain engine. When you author a script, list its siblings and pick from the categories above — do not work from a frozen list inside this file.

Path-Resolution Rule (cross-platform)

Never hardcode the skills library location. Each environment (mac, linux, windows, codespaces, CI) keeps its own CLAUDE.md/AGENTS.md/GEMINI.md (or equivalent) that tells the executing session where its skills live. The execution-plan script only quotes skill names; the executor resolves them.

In your script, write:

Read these skills in full before any code: mysql-best-practices, php-security, multi-tenant-saas-architecture, vibe-security-skill, sdlc-testing, healthcare-ui-design, api-error-handling.

NOT:

Read /Users/alice/skills/mysql-best-practices/SKILL.md …

The executor finds the file by following the path rule its own environment defines (e.g. macOS: ~/Sites/chwezi-dev-engine/skills/<name>/SKILL.md; Linux dev box: ~/skills-lib/<name>/SKILL.md; CI: $SKILLS_HOME/<name>/SKILL.md). Skill names are stable; paths are not.

Prompt Anatomy

Every prompt in the script follows this structure:

## Prompt N — <one-line scope>

You are in . Read these files first, in this order:

  1. /CLAUDE.md
  2. /INDEX.md
  3. /AGENT_BRIEF.md (or equivalent invariants doc)
  4. /README.md
  5. /plan.md (focus: lines A–B if a sub-range)

Then load the available skills in order, before implementation:

Process guidance (only skills verified as available): - -

Read these domain skills in full (resolve paths from your environment): - - - <healthcare-ui-design or other PRIMARY skill, re-read per page Task>

Track each task with the host's task facility or the plan's status register.

Work plan:

A.

B. — delegate through the available worker capability, or execute sequentially. Each worker prompt MUST include: - The Task IDs and plan.md line ranges it owns - The exact list of domain skills to read first (by NAME) - The file scope it is allowed to touch - Acceptance checks and the existing commit/publication boundary - Subagents do NOT inherit the parent's skill state — re-state every skill name.

C. Verification gate (no claim without evidence): <exact commands to run, with expected green outcome>

D. Status updates in plan.md (- [ ] **Status:** pending → - [x] complete (<hash>))

E. Final report ≤200 words: commits, tests added, deviations.

Do NOT push. Do NOT touch other phases. Do NOT modify INDEX until the phase's final prompt.

Fan-Out Rules

  • Bucket subagents by file scope. Two subagents must never write to the same file. If they would, fold them into one subagent or split the file first.
  • Batch independent work where supported. Use the host's available worker capability; execute sequentially when it is unavailable.
  • State the file scope explicitly. Allowed: src/Imaging/Services/*, tests/Unit/Imaging/*. Forbidden: anything else. Subagents will respect a clear scope.
  • Re-inject skills. Every subagent prompt repeats the skill names it must read. They do not inherit parent skill state.
  • Cap fan-out at ~7. Beyond that, results are hard for the parent session to review. Split into two prompts.

Sequencing Rules

  • Critical-path serial. If Prompt N produces an artefact (frozen API spec, schema, design tokens) consumed by Prompt N+1, run them in order.
  • Independent siblings. When two phases have no shared state, they can be siblings — but still keep them as separate prompts so the operator can review between.
  • No prompt pushes. Push, PR, and release decisions live with the operator after the final prompt completes.
  • Final prompt is always cleanup. Static analysis, security audit, multi-tenant leak hunt, i18n parity, dead-code/yellow-flag sweep, INDEX flip. Never bury this work inside a feature prompt.

Verification Gate (per prompt)

Every prompt ends with the same gate, drawn from superpowers:verification-before-completion:

Run and capture output verbatim:
    <test-suite command>
    <static-analysis command>
    <linter command>
    <multi-tenant / leak / parity grep>
Fix failed checks within the authorised scope. If blocked by a missing source,
environment or new authority, preserve the failure, continue independent work
and leave the dependent task incomplete with a recovery checkpoint.

A "done" claim without the output pasted is forbidden.

Operator-Action Surfacing

Some work needs human-only steps (signing keys, cloud accounts, real-device tests, App Store / Play Console). The script must:

  1. Surface the prerequisite at the top of the prompt that needs it.
  2. Use existing authorisation and capabilities; ask only when a required input cannot be recovered or a materially different action needs new authority.
  3. If unavailable, record NOT ASSESSED with its release consequence. Keep real failures failing; do not insert xfail or ignored-test annotations to hide missing evidence. Continue work that does not depend on the prerequisite.

Never silently skip operator actions.

Index / Status Hygiene

  • Phase Tasks: every prompt flips - [ ] **Status:** pending to - [x] **Status:** complete (<hash>) at the end.
  • Phase status in INDEX.md: only the last prompt of a phase flips the row to complete.
  • Authoring-progress log in INDEX.md: append a dated entry referring to the session.
  • Memory layer: only the cleanup prompt may write to long-term memory (frozen-contract pointer, post-launch follow-ups location).

Anti-Patterns

  • Hardcoded skill paths (/Users/alice/skills/...) — environments differ.
  • Operator commands that run through a skills, scratch, or temp directory, or that need a path argument - each must be one short line (see rules/common/user-run-scripts.md).
  • Skill names in the script header but not re-stated in subagent prompts — subagents lose them.
  • A single mega-prompt covering > ~30 Tasks — context exhaustion, lost discipline.
  • Verification commands omitted "to keep the prompt short" — verification is the prompt.
  • Fan-out without file-scope — subagents collide on the same file.
  • Final prompt without static analysis + security audit + INDEX flip.
  • Pushing or merging from inside a prompt — operator decides.
  • Re-implementing scaffolded code "to be clean" instead of verifying what's there (violates TDD's iron law against tests-after-code).

Authoring Checklist

Before handing the script to the operator, verify:

  • Every prompt names verified domain skills and any available process skills it needs.
  • No absolute path to a skill file appears anywhere in the script.
  • Every command the operator must run is one short line (package script, ./scripts/<name>, or a bare command on PATH); none goes through a skills, scratch, or temp directory.
  • Every fan-out subagent prompt re-injects the skill names it needs.
  • Every fan-out has explicit, non-overlapping file scope.
  • Every prompt ends with a verification gate that names exact commands.
  • Operator-action prerequisites are surfaced at the top of the affected prompt with a STOP-and-ask instruction.
  • The final prompt does cleanup: static analysis, security audit, multi-tenant leak hunt, i18n parity, dead-code/yellow-flag sweep, INDEX flip, memory write.
  • No prompt pushes, force-pushes, or opens PRs.
  • Status updates: each prompt flips its Task statuses; only the last prompt of a phase flips the phase row in INDEX.md.
  • The script preface lists the sequence overview as a table (prompt #, scope, parallelism, subagent count) so the operator sees the shape at a glance.

Companion skills (named, not pathed)

The companions below are the kinds of skill you will most often pair with this one. Re-enumerate the library at author-time to confirm names and discover new arrivals — never work from this list as a frozen registry.

  • superpowers:writing-plans or feature-planning — author the underlying plan first.
  • implementation-status-auditor (its ../sdlc-meta/implementation-status-auditor/references/plan-implementation.md method) — what each prompt follows when it runs; superpowers:executing-plans is an optional helper where that plugin is installed.
  • superpowers:subagent-driven-development — fan-out discipline.
  • superpowers:dispatching-parallel-agents — when to parallelise.
  • superpowers:verification-before-completion — the closing gate of every prompt.
  • sdlc-testing — test pyramid + RED→GREEN→COMMIT cadence the prompts enforce.
  • code-safety-scanner — used in the cleanup prompt.
  • web-app-security-audit — used in the cleanup prompt.
  • The relevant domain skills for the workstream (security, db, framework, UI, mobile, etc.) — picked by enumerating the library each time.

Outputs

  • A markdown file (e.g. docs/<scope>/clear-debt.md, docs/runbooks/<release>.md) containing:
    • Preface (purpose, how-to-use, sequence-overview table, hard-rule for skills).
    • A "Skills Engine" section that names the two engines and lists which skills apply where.
    • N self-contained prompts (each runnable in a fresh session, never assuming prior conversation context).
    • Operator notes (run order, no-push rule, prerequisite list, deferred-test policy).

References

Use the companion skills above only after confirming their names in the current catalogue. The local world-class-engineering skill owns implementation gates; implementation-status-auditor checks plan evidence. Illustrative plugin names above are not installation requirements.

Evidence Produced

CategoryArtifactFormatExample
CorrectnessTask-to-prompt coverage with dependencies and acceptance checksMarkdown tableEach approved task maps to one owner and a verification command
OperabilityResume checkpoint and capability fallbackMarkdownCompleted task evidence, remaining tasks and sequential worker fallback
Release evidenceVerification results and unresolved prerequisitesMarkdownFailed or unavailable checks remain visible with their release consequence

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Execution Plan Scripts AI 技能有什么作用?

Use when converting an approved long-running plan into self-contained execution prompts across sessions or workers. Covers dependency order, checkpoints, capability fallback and evidence handoff; use world-class-engineering for a single implementation slice.

为什么在 TypingMind 中使用 Execution Plan Scripts?

因为您只需安装一次,就能搭配任何模型使用。Execution Plan Scripts 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Execution Plan Scripts?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/peterbamuhigire/chwezi-dev-engine/tree/main/skills/execution-plan-scripts。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Execution Plan Scripts?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Execution Plan Scripts 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Execution Plan Scripts 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Execution Plan Scripts AI 技能免费吗?

是的。peterbamuhigire 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇