Logo Plan Authoring

Plan Authoring

Cộng đồng
Dark-Alex-17
plan-authoring

Viết kế hoạch cấp cao có thể thực thi và kế hoạch triển khai theo từng bước cho công việc theo giai đoạn. Định nghĩa bố cục repo kế hoạch và lược đồ kế hoạch từng bước. Cấp quyền truy cập hệ thống tệp để xây dựng kế hoạch dựa trên mã thực tế.

Tổng quan

Nhà phát hànhDark-Alex-17
Kho mãcoyote
Tên kỹ năngplan-authoring
Sao
56
Bản fork
2
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépAGPL-3.0
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 Dark-Alex-17 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 Plan Authoring 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/Dark-Alex-17/coyote/tree/main/assets/skills/plan-authoring
  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/Dark-Alex-17/coyote.git /tmp/coyote
mkdir -p .claude/skills
cp -r /tmp/coyote/assets/skills/plan-authoring .claude/skills/plan-authoring
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 Plan Authoring 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 Plan Authoring 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 Plan Authoring 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.

You are writing implementation plans that a DIFFERENT agent will execute later, in a fresh session, with zero access to this conversation. The plan IS the executor's entire context. A plan that needs the conversation to make sense is a broken plan.

Plan repo layout

Default layout (match the existing layout instead if the repo already has one):

plans/
  plan.md            # high-level plan; links each step plan
  steps/01-<slug>.md # one file per step, numbered in execution order
  handoffs/          # written by executors; see `handoff-protocol`
  NOTES.md           # rolling durable facts discovered during execution

In plan.md, link each step plan with an inclusion link (the link alone on its own line). This makes the plan repo an IWE hierarchy — agents navigating a large plan corpus can load iwe-knowledge-base and traverse it structurally instead of globbing.

High-level plan requirements

  • Ordered list of steps. Each step is independently implementable and independently verifiable — it compiles and its tests pass WITHOUT any later step existing.
  • The dependency graph is explicit and acyclic. If step 4 needs step 2's API, step 4's plan says so.
  • Steps are sized for one focused session: roughly 1-5 files of meaningful change. A step that needs "and then also..." is two steps.
  • State what the plan does NOT cover. Scope creep starts where scope boundaries are implicit.

Step plan schema

Every step plan starts with frontmatter:

yaml
---
step: 3
title: Add retry policy to the fetch client
depends_on: [1, 2]
status: pending   # pending | in-progress | complete
---

And contains these sections, all mandatory:

SectionContents
Objective1-3 sentences: what exists after this step that didn't before
ContextFile paths AND pasted code snippets (5-20 lines) showing the patterns to follow. Not just paths — actual code
TasksOrdered, atomic tasks. Each maps to one todo item for the executor
Acceptance criteriaMeasurable behaviors. These become the tests
Test commandsExact commands to run, from the repo root
Edge casesKnown edge cases this step must handle or explicitly punt on
Out of scopeWhat the executor must NOT touch, even if tempting

Names a stranger can read

Every new module, type and public function the plan or breakdown names must be meaningful to a reader who has not read the plan. Coinages and acronyms the plan invented get a descriptive name BEFORE tasks are created: a name that reaches 30 files is never questioned again, and the implementer will not stop to rename what the plan told them to type.

  • Bad: mod lrq (the design doc's shorthand for the transport's request/response pair).
  • Good: mod link_request.

Documents, directories and scaffolding a plan adds

Every document, directory, example target, dependency added ahead of use, or smoke test the plan adds must name its lifetime -- permanent, or replaced by <X> at <milestone> -- AND the task that removes it. Record this in the plan as a table under a section named ## Added artefacts:

ArtefactLifetimeRemoved by
tests/support/smoke_deps.rsreplaced by the transport client at step 4step 4
docs/link-request.mdpermanent--

Test-only binaries live under tests/ support (or are declared as test targets in the build manifest with a comment saying so), never under examples/ as if they were examples. Scaffolding tasks ("add dependencies ahead of use", "smoke the deps") must name the later task that supersedes them, and that task's acceptance criteria include deleting the scaffolding.

Writing for a context-free executor

  • Paste code snippets from your exploration into Context. "Follow the pattern in foo.rs" forces the executor to re-do exploration you already did.
  • Use repo-relative paths from the project root. Never "the file we discussed."
  • Name symbols exactly: RetryPolicy::backoff, not "the backoff logic."
  • If a decision was made in discussion (X over Y), record the decision AND the one-line reason in the PLAN FILE (or the task's log once execution starts) -- never in CONTRIBUTING, README or code comments. The executor will face the same fork and must not re-litigate it.
  • Write acceptance criteria as observable behavior ("returns 429 after 3 failed attempts"), not implementation ("uses a for loop"). Criteria that describe implementation produce tautological tests.

Grounding (before the plan is done)

Plans rot when written from memory. Before finalizing each step plan:

  1. fs_grep every symbol the plan references — confirm it exists and is spelled right.
  2. fs_read the files listed in Context — confirm the pasted snippets are current.
  3. Confirm the test commands actually exist (check justfile, Makefile, package.json scripts, CI config).

A plan referencing a function that doesn't exist fails the executor at the worst possible time: mid-implementation.

Edge cases are a first-class section

For every step, enumerate the edge cases you can foresee: empty inputs, concurrent access, error paths, partial failures, migration/compat concerns. If an edge case belongs to a LATER step, write it in that step's plan now — not in a comment, not in your head. Executors are instructed to propagate newly discovered edge cases downstream; make their diff small by having the section exist.

Anti-patterns

  • "As discussed above" / "per our conversation" — the executor has no conversation
  • File paths without pasted snippets in Context — forces re-exploration
  • Acceptance criteria like "works correctly" — unmeasurable, untestable
  • A step that depends on a later step — cycle; re-order or merge
  • Omitting Out of scope — the executor will helpfully refactor things you didn't ask for
  • Frontmatter without depends_on or status — breaks status queries and dependency checks
  • A plan coinage carried into code -- the module is named for a shorthand nobody outside the plan recognises
  • An added document, directory or example without a lifetime -- it outlives the thing it scaffolded
  • A scaffolding task with no superseding task named -- "add deps ahead of use" with nothing scheduled to delete it
  • Decisions recorded in CONTRIBUTING or README -- they belong in the plan file or the task log

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

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

Viết kế hoạch cấp cao có thể thực thi và kế hoạch triển khai theo từng bước cho công việc theo giai đoạn. Định nghĩa bố cục repo kế hoạch và lược đồ kế hoạch từng bước. Cấp quyền truy cập hệ thống tệp để xây dựng kế hoạch dựa trên mã thực tế.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Dark-Alex-17/coyote/tree/main/assets/skills/plan-authoring. 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 Plan Authoring?

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 Plan Authoring 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 Plan Authoring 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 Plan Authoring có miễn phí không?

Có. Kỹ năng này được Dark-Alex-17 phát hành trên GitHub theo giấy phép AGPL-3.0. 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 👇