Logo Executing Plans

Executing Plans

Cộng đồngPhổ biến
GanyuanRan
executing-plans

Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.

Tổng quan

Nhà phát hànhGanyuanRan
Kho mãAegis
Tên kỹ năngexecuting-plans
Sao
1.2K
Bản fork
52
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được GanyuanRan công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Executing Plans trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/GanyuanRan/Aegis/tree/main/skills/executing-plans
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/GanyuanRan/Aegis.git /tmp/Aegis
mkdir -p .claude/skills
cp -r /tmp/Aegis/skills/executing-plans .claude/skills/executing-plans
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Executing Plans trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Executing Plans ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Executing Plans với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Executing Plans

Overview

Load plan, review critically, execute all tasks, report when complete.

Announce at start: "I'm using the executing-plans skill to implement this plan."

For non-trivial execution, include Aegis Visibility: briefly tie the active slice to its plan, checkpoint, drift or verification boundary. At completion, pass plan adherence, evidence, complexity and residual risk to verification-before-completion for the unified receipt.

If subagents are available and the plan has genuinely independent tasks, prefer subagent-driven-development; lack of subagent support does not block inline execution. Same-task agents share one workspace, and the coordinator remains the only Git mutation owner.

The Process

Step 1: Load and Review Plan

  1. Read plan file
  2. If the plan or active checkpoint includes an Execution Readiness View, read it before implementation and compare the plan against its intent lock, scope fence, baseline lock, owner / contract constraints, compatibility boundary, retirement boundary, test obligations, review gates, drift / rewind rules, and evidence required before completion.
  3. Review critically - identify any questions or concerns about the plan
  4. If the view contradicts the plan, baseline, or current worktree evidence, return to plan review or refresh the advisory handoff before editing.
  5. Run the TDD Route Guard before implementation: confirm Mode, Decision, Strict authority, strict signals, light eligibility, Test posture, and verification. Strict steps require either an explicit user/project request or a recorded auto decision; plan approval or risk labels alone are not authority. An off-mode missing record may be repaired only as Mode: off / Decision: skipped without loading TDD. Missing/unsupported auto decisions return to plan review. An auto-light record is unsupported when any strict signal is present or when its tiny/low-risk/single-owner/no-behavior-change proof is incomplete. Only Decision: strict with recorded strict authority may authorize steps named Write failing test, Verify RED, GREEN, or REFACTOR. Do not infer strict during execution.
  6. If concerns: Raise them with your human partner before starting
  7. Before the first write, capture TaskStartSnapshot: root, HEAD, branch or detached state, upstream divergence, staged/unstaged/untracked paths, active Git operations, and git worktree list --porcelain. Preserve task-preexisting state; do not stash, reset, clean, or commit it.
  8. Reuse the current branch unless rules require independent history or another goal owns it. If justified, switch/create it in the current workspace when safe; a worktree still requires concurrent checkout or blocking dirty state.
  9. If no concerns: Create TodoWrite and proceed

Step 1.5: Long-Task Checkpoint Setup

If the plan has multiple tasks, may span sessions, or includes architecture / contract / workflow changes:

  1. Announce: "I'm using the long-task-continuation skill to keep this plan checkpointed and drift-aware."
  2. Load aegis:long-task-continuation.
  3. Create the initial checkpoint from the plan:
    • current todo
    • active task
    • completed tasks
    • evidence refs
    • blockers
    • next step
  4. Before each task, restate the current checkpoint.
  5. After each task, update checkpoint, evidence refs, and drift check.

Before a verification-driven unplanned edit, read retained PatchShape, CanonicalOwner, UpwardDrillSignal, outcome, and evidence refs. Route their comparison with the candidate to systematic-debugging before editing; it decides whether the directions converge. A proven independent canonical-owner root stays on the normal plan path.

Step 2: Execute Tasks

For each task:

  1. Mark as in_progress

  2. Follow each step exactly (plan has bite-sized steps)

  3. Before any new source-code path is added by a task, restate the plan's Change Necessity or create a compact one if the plan failed to carry it forward. Plan approval is not by itself proof that a new helper, small guard, new branch, fallback, adapter, or owner is necessary.

    text
    Change Necessity:
    - User-visible need:
    - No-change / non-code option:
    - Why code change is necessary:
    - Minimum change boundary:
    - Decision: no-change | docs/config-only | code-change | needs-clarification

    If the decision is not code-change, pause execution and return to plan review instead of editing. If the decision is code-change, carry the minimum boundary into the edit and verification scope.

  4. Before any non-trivial source edit, run the plan's Pre-Edit Complexity Check or create a compact one:

    Use using-aegis/references/complexity-governance.md for shared artifact classes, pressure signals, and over-budget handling.

    text
    Complexity Budget:
    - Artifact class:
    - Target files / artifacts:
    - Current pressure:
    - Projected post-change pressure:
    - Budget result: within-budget | at-risk | over-budget
    - Planned governance:
    
    Pre-Edit Complexity Check:
    - Target edit file:
    - Existing pressure signal:
    - Safer edit boundary:
    - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update
    
    Pre-Edit Owner-Fit Decision:
    - Edit intent: wiring-only | move-out / extract-first | local-fix-without-new-responsibility | new-responsibility | emergency / compatibility patch
    - Owner fit:
    - Safer edit boundary:
    - Decision: edit-in-place | extract helper | add owner file | split task | pause for plan update

    If the check contradicts the plan's file boundary, pause and return to plan review instead of silently stuffing logic into an overloaded owner. If the budget result is over-budget and the task does not also govern that overrun, stop execution and return to plan review rather than pushing the task through as if it were still atomic. When the target edit file is over-budget or mixed-purpose, new-responsibility must not be added in place by default. wiring-only, move-out / extract-first, and local-fix-without-new-responsibility may proceed only when they do not add a new responsibility and the verification boundary is clear. emergency / compatibility patch requires residual risk and a retirement trigger.

  5. Run verifications as specified

  6. The coordinator is the Git mutation owner. After the coherent Task passes its planned verification, use verification-before-completion before a default local commit, stage only task-owned paths, and read back HEAD, the committed file list, and remaining task delta. no commit, read-only, no-change, and failed-verification tasks create no normal commit.

  7. Update TodoCheckpointDraft and DriftCheckDraft before marking the task completed. When an Execution Readiness View exists, the drift check must explicitly compare the active slice against the view's intent lock, scope fence, baseline lock, compatibility boundary, retirement boundary, test obligations, and review gates.

  8. Mark as completed

Step 3: Complete Development

After all tasks complete and verified:

  • if Aegis created a branch/worktree or the user requests integration handling, use aegis:finishing-a-development-branch;
  • otherwise use verification-before-completion, report the local task commit and Task clean / Repository clean, and do not invent merge/PR ceremony.

When to Stop and Ask for Help

STOP executing immediately when:

  • Hit a blocker (missing dependency, test fails, instruction unclear)
  • Plan has critical gaps preventing starting
  • You don't understand an instruction
  • Verification fails repeatedly

Ask for clarification rather than guessing.

When to Revisit Earlier Steps

Return to Review (Step 1) when:

  • Partner updates the plan based on your feedback
  • Fundamental approach needs rethinking

Don't force through blockers - stop and ask.

Remember

  • Review plan critically first
  • Follow plan steps exactly
  • Don't skip verifications
  • Reference skills when plan says to
  • Stop when blocked, don't guess
  • Do not create a branch merely because the current branch is main/master
  • Do not let task complexity, TDD, planning, or subagents alone trigger a worktree

Integration

Required workflow skills:

  • aegis:writing-plans - Creates the plan this skill executes
  • aegis:using-git-worktrees - Only when the approved Git lifecycle says a concurrent checkout is necessary
  • aegis:finishing-a-development-branch - Only when branch/worktree integration or cleanup is in scope

Câu hỏi thường gặp

Kỹ năng AI Executing Plans làm được gì?

Use when executing a written implementation plan across sessions or with review checkpoints. Small or single-slice plans stay inline. For same-session independent tasks, use subagent-driven-development instead.

Vì sao nên dùng Executing Plans trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Executing Plans là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Executing Plans trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/GanyuanRan/Aegis/tree/main/skills/executing-plans. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Executing Plans?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Executing Plans với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Executing Plans với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Executing Plans có miễn phí không?

Có. Kỹ năng này được GanyuanRan phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇