Logo Execute Plan

Execute Plan

Cộng đồng
buiducnhat
execute-plan

Execute an approved implementation plan exactly and safely. Use for ExecPlan-style plan execution, resumable phase checklists, multi-hour implementation work, migrations, significant refactors, and plans that require verification checkpoints, status tracking, and final reporting.

Tổng quan

Nhà phát hànhbuiducnhat
Kho mãcobrew
Tên kỹ năngexecute-plan
Sao
48
Bản fork
3
Tệp đi kèm
1
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 là Markdown thuần túy, không phải 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ộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được buiducnhat công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Execute Plan 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 thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/buiducnhat/cobrew/tree/main/plugins/cobrew/skills/execute-plan
  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/buiducnhat/cobrew.git /tmp/cobrew
mkdir -p .claude/skills
cp -r /tmp/cobrew/plugins/cobrew/skills/execute-plan .claude/skills/execute-plan
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 Execute Plan 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ự tải Execute Plan 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 Execute Plan không bị giới hạn ở mô hình mà kỹ năng này được viết cho. 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 kỹ năng chưa dùng không tốn chi phí.

  • Đổ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.

Execute Plan

Overview

Execute a pre-approved plan with strict adherence to scope, sequence, and verification. Treat the plan as a living document that records progress, findings, decisions, and outcomes as execution proceeds.

The input is typically: execute-plan docs/.plans/YYMMDD-HHmm-<plan-slug>/SUMMARY.md

Do not redesign the plan during execution. If ambiguity or blockers appear, stop and ask.

Workflow

Step 1: Initialize

  1. Locate Plan

    • Confirm the plan path exists and is readable.
    • If a directory is provided, locate SUMMARY.md inside it.
  2. Load Execution Context

    • Load only the project context relevant to the plan:
      • If docs/SUMMARY.md exists, read it first.
      • Load only task-relevant detail docs.
      • Prioritize Code Standard docs for implementation conventions.
      • If docs conflict with code or user intent, use the available input/question before broad changes.
    • Review the plan’s phase files, context/orientation notes, dependencies, acceptance criteria, idempotence/recovery notes, decision log, and open questions.
    • If an older plan is missing living-plan sections (Progress, Surprises & Discoveries, Decision Log, Outcomes & Retrospective), add those sections before execution when the plan is otherwise clear.
  3. Select Execution Mode (Explicit Rule)

    • Default mode: Batch
    • Use Interactive when any of the following is true:
      • High-risk changes (auth, payments, migrations, security-critical logic)
      • Irreversible operations (data migrations, destructive scripts)
      • Unclear acceptance criteria
      • User explicitly requests checkpoints
    • If mode is unclear, ask once and proceed with user choice.
  4. Find Next Pending Phase

    • First [ ] phase
    • If none, first [-] phase
    • If no pending/in-progress phases remain, go to final verification.
  5. Critical Plan Sanity Check

    • Ensure each phase has:
      • clear objective
      • file targets
      • verification commands
      • observable acceptance criteria
    • If observable acceptance criteria are missing but can be inferred from explicit phase verification and exit criteria, add them to the phase before execution.
    • If essential details are missing or contradictory, stop and request clarification.

Step 2: Execute Per-Phase Loop

For each phase in order:

  1. Skip Completed

    • If status is [x], continue to next phase.
  2. Mark In Progress

    • Update phase status to [-] before making changes.
    • Add a timestamped Progress entry in SUMMARY.md describing the phase start.
  3. Execute Exactly

    • Implement only the tasks defined in that phase.
    • Do not expand scope without approval.
    • Write the minimum code that satisfies the phase. No speculative features, no abstractions for single-use code, no error handling for impossible scenarios. See Simplicity first and Surgical changes rules below.
    • If implementation reveals a material surprise, record it under Surprises & Discoveries in SUMMARY.md.
    • If a decision is needed to stay within scope, record the decision and rationale under Decision Log before continuing.
  4. Verify Phase

    • Run the phase-specific verification commands from the plan.
    • At minimum, run relevant tests/checks tied to touched files.
    • Record concise verification evidence in SUMMARY.md under Progress or the phase's requested evidence location.
  5. Handle Failures

    • If verification fails:
      • Attempt focused fixes within phase scope.
      • Re-run verification.
    • If still failing or root cause is outside scope, stop and report blocker.
  6. Mark Complete

    • Update phase status to [x] only after verification passes.
    • Add a timestamped Progress entry with the verification result and changed files for that phase.
  7. Progress Report

    • Interactive mode: report and wait for confirmation before next phase.
    • Batch mode: report briefly and continue immediately.

Step 3: Final Verification

After all phases are complete:

  1. Project-Wide Validation

    • Run full lint/type-check suite
    • Run all relevant tests (or full test suite if required by the plan)
    • Run build verification if applicable
  2. Stabilize

    • Fix regressions introduced during execution.
    • Re-run failed checks until green or blocked.
  3. Manual Validation Checkpoint

    • If user/manual QA is required, ask explicitly and pause:
      • Verified to accept
      • or provide feedback for follow-up iteration
  4. Update Outcomes

    • Complete Outcomes & Retrospective in SUMMARY.md with final result, verification summary, approved deviations, and follow-ups.

Step 4: Completion Artifacts

  1. Documentation Sync

    • If behavior/architecture/codebase expectations changed, update the docs artifacts.
  2. Create Execution Report

    • File: docs/.plans/YYMMDD-HHmm-<plan-slug>/EXECUTION-REPORT.md
    • Include all required sections below.
  3. Prepare Final Gate

    • Do not archive before final user confirmation. The user may choose Need verify, and execution must continue against the same plan path.

Step 5: Final Confirmation Gate

After completion artifacts are done, ask the user for a final confirmation using the input/question tool with exactly these options:

  • Confirm: End session
  • Need verify

Handle the selected option as follows:

  1. Confirm: End session

    • Archive the plan folder to docs/.plans/archived/.
    • Announce: Execution complete. Report archived at docs/.plans/archived/YYMMDD-HHmm-<plan-slug>/EXECUTION-REPORT.md.
    • End the execution session.
  2. Need verify

    • Allow the user to provide verification feedback/details.
    • Do not archive.
    • Continue the execution loop to address feedback, then re-run verification and completion steps as needed.

Execution Report Standard

EXECUTION-REPORT.md must use the following template: references/execution-report-template.md

Rules

  • Respect project standards: follow docs/ and related project docs.
  • Follow the plan strictly: no silent scope changes.
  • Stop on blocker: missing dependency, contradictory instructions, or unexplained failures.
  • No guessing: ask for clarification when uncertain.
  • Verify before complete: never mark phase done without passing checks.
  • Keep the plan alive: update progress, discoveries, decisions, and outcomes in SUMMARY.md as execution proceeds. Do not rely on chat history for important execution state.
  • Idempotency: prefer safe/re-runnable operations.
  • Simplicity first: Implement the minimum code that satisfies the phase's exit criteria. No features beyond what the plan asks for. No abstractions for single-use code. No configurability that wasn't requested. If you write 200 lines and it could be 50, rewrite it.
  • Surgical changes: Touch only what the phase requires. Don't "improve" adjacent code, comments, or formatting. Don't refactor things that aren't broken. Match existing style even if you'd do it differently. Only remove imports/variables/functions that your changes orphaned — don't delete pre-existing dead code unless the plan asks for it. Every changed line should trace to a phase task.
  • Write artifacts in language same with the current session.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

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

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

Execute an approved implementation plan exactly and safely. Use for ExecPlan-style plan execution, resumable phase checklists, multi-hour implementation work, migrations, significant refactors, and plans that require verification checkpoints, status tracking, and final reporting.

Vì sao nên dùng Execute Plan 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. Execute Plan 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 Execute Plan trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/buiducnhat/cobrew/tree/main/plugins/cobrew/skills/execute-plan. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà 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 Execute Plan?

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.

Bạn có thể dùng Execute Plan 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 Execute Plan 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 Execute Plan có miễn phí không?

Có. Kỹ năng này được buiducnhat 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 cho mô hình các công cụ mới để gọi — mã đượ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à tiêu chí của đầu ra tốt. 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 👇