Logo Planning

Planning

Cộng đồng
Lynricsy
planning

Turns vague software requests into executable plans with dependencies and acceptance criteria. Use when a request is too vague to start, work spans several subsystems or sessions, someone else will execute the plan, a draft plan needs review, or progress contradicts the plan, including deciding whether a plan document is needed at all.

Tổng quan

Nhà phát hànhLynricsy
Kho mãHyperSkills
Tên kỹ năngplanning
Sao
26
Bản fork
0
Tệp đi kèm
19
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ộ.

  • 19 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 Lynricsy 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 Planning 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/Lynricsy/HyperSkills/tree/main/skills/planning
  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/Lynricsy/HyperSkills.git /tmp/HyperSkills
mkdir -p .claude/skills
cp -r /tmp/HyperSkills/skills/planning .claude/skills/planning
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 Planning 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 Planning 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 Planning 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.

planning

Paths below are relative to this skill's directory.

Scope

Getting from "someone asked for a thing" to "a plan an executor can follow and a reviewer can check": clarification, option selection and its record, decomposition, the shape of the plan document, and keeping the plan honest while it is executed.

The cheapest plan is often no document. A change whose flow already exists here and can be read end to end needs a stated intent and agreement, not a file. Reach for a document when the work spans subsystems, outlives one session, or will be executed by someone other than its author.

Not covered — do not answer from this skill:

  • Writing a skill. Planning its content is planning; frontmatter, structure and reference layout are the skill-authoring skill.
  • The red-green-refactor loop. A plan says which command proves a step done; restating the test cycle is the test-driven-development skill.
  • Creating issues, pull requests, milestones or labels, and anything gh does: the github skill. Deciding what the work is belongs here.
  • Branch strategy, commit granularity and history: the git-workflow skill.
  • Reviewing a diff: the code-review skill. Judging whether a plan is executable belongs here; judging the code it produced does not.
  • Diagnosing a failure whose cause is unknown: the debugging skill.
  • Designing the interface once the plan says one is needed: the api-design skill.
  • Writing the prose — user docs, release notes, a guide. Use the technical-writing skill.
  • Product roadmaps, cross-team prioritisation, sprint scheduling and delivery estimates. Nothing here predicts dates.

Core rules

Each rule is an invariant; the clause after the dash is what violating it costs.

  1. A requirement is finished only when a third party can judge it true or false — "instant but not spammy" cannot be, so it is built, then rejected.
  2. Every requirement not stated by the requester is written down as an assumption, before decomposition — an unrecorded assumption is indistinguishable from a requirement until it proves wrong, and then the work resting on it is rewritten rather than adjusted.
  3. Each assumption names the steps that die with it. An assumption with no dependents is noise; one with dependents is a rollback plan you already have.
  4. Facts are looked up, decisions are asked. Anything discoverable from the repository, a --help or a changelog is looked up — asking for it tells the requester you have not read their code. Anything that trades one cost against another is asked — deciding it silently commits them to a cost they never agreed to.
  5. Before clarifying anything, check whether the behaviour already exists and whether this request was already rejected, and say where you looked — every project has a feature built twice and a request re-litigated a third time.
  6. A step is not a step until it names the command that proves it done and the output that counts as passing — "run tests" and "wire up the frontend" cannot be finished, only abandoned, so they are reported done on the day someone stops looking.
  7. Commands in a plan are the repository's own, read from its Makefile, package.json, pyproject.toml or CI workflow — a plan that says npm test in a repository that has no test script fails at its first step and takes its credibility with it.
  8. Every step names what it depends on. A dependency that is obvious to the author is invisible to the executor, who will build the consumer first and then discover it has nothing to call.
  9. Two steps are parallel only after an argument that they are; otherwise they are sequential. "Independent unless stated" inverts the burden of proof and the undeclared dependency surfaces as a merge conflict or a broken build in someone else's workspace.
  10. Work that two parties will consume in parallel is preceded by a step that freezes the contract between them — parallelising against an unfrozen interface means both sides land, disagree, and one is rewritten.
  11. A plan states its non-goals. Without them every adjacent good idea is arguably in scope, and the plan ends larger than the request while the request stays unfinished.
  12. A plan states where the work can be abandoned and the state it leaves. With forward-only migrations or an applied deploy, "revert the commit" is not a rollback, and mid-incident is the worst time to learn that.
  13. No placeholders in a finished plan: no TBD, no "add appropriate error handling", no "write tests for the above", no "similar to step N", no reference to a type no step defines — each defers a decision onto the executor at the moment they have the least context. The opposite failure is a transcript: a code step carries the file, the exact signature and the pinned values, and a body only where the signature and tests leave the algorithm open — a body in the plan was never run, yet is copied with the plan's authority, and it buries the decisions a reviewer must check.
  14. Each step is self-contained: its own paths, signatures and expected output, repeated rather than cross-referenced. Executors read one step, out of order, often in a fresh session with none of the author's context.
  15. Paths and code belong in the plan, not in the requirements. Requirements outlive the file layout; a requirement written as src/foo.ts:42 is stale at the next refactor and was a design decision in disguise.
  16. Rejected options are recorded with the reason they were rejected, next to the decision — otherwise the same option is re-proposed in three months, and no one can tell whether it was considered or overlooked.
  17. A step spanning two independent subsystems is split, or the plan says why not — an unsplittable step cannot be partially approved or localised.
  18. The riskiest unknown is settled first, by the cheapest thing that answers it. Deferring it means everything built meanwhile rests on a guess.
  19. Execution stops and the plan is revised — not patched in place — when a premise turns out to be false, when a step's acceptance cannot be met as written, when the same step has failed three times, or when work appears that no step covers. Pressing on produces a codebase that matches neither the plan nor the requirements, and no one can tell which is authoritative.
  20. Revising a plan amends it: completed steps and the reason each changed stay on the record. Regenerating the document destroys the only account of why the code looks the way it does.
  21. A step counts as done on quoted command output, never on a report that it is done — including a delegate's own report, which is checked against the diff. "Tests pass" from a session that has not run them is the most common false completion.
  22. An existing plan with unchecked steps is never overwritten or repurposed for different work without asking. Those unchecked boxes may be the only record of what another session is mid-way through.

Workflows

clarify

From a vague request to requirements someone can build against.

  • Read the request and every comment on it. Comments are where scope arrives unannounced; list each one as its own candidate requirement.
  • Read the code the request is about, and the repository's conventions (docs/plans/, docs/adr/, CONTRIBUTING, the Makefile or script targets). Note the real commands; they become the plan's acceptance commands.
  • Run the two pre-checks from references/clarifying-requirements.md: already implemented, previously rejected. Report where you looked.
  • Sort every open point into looked-up, must-be-asked, or assumed (rule 4). Look up the first group now.
  • Ask the second group in one round, numbered, each with your recommended answer. Use the format below.
  • Write the third group as an explicit assumption block, each assumption naming what depends on it (rules 2, 3).
  • Restate the requirements as criteria that can be judged true or false, and state the non-goals for this round (rules 1, 11).
  • Gate — DECIDABLE AND BOUNDED: every requirement can be judged by a third party, every assumption is written down with its dependents, and the non-goals are stated. A requirement you cannot phrase as a check is still a wish.

plan

From agreed requirements to a document an executor can follow.

  • Confirm the requirements are decidable. If not, run clarify first — decomposing a wish produces steps that cannot be finished.
  • Choose where the plan lives: the repository's existing convention if it has one, otherwise ask. Never overwrite a plan with unchecked steps (rule 22).
  • Settle the approach: two or three real options, the trade-off that separates them, your recommendation, and the reason each rejected option was rejected (rule 16). Read references/exploring-options.md.
  • Map the dependency order, then cut vertical slices along it. Read references/task-decomposition.md.
  • Write the steps in the shape given by references/plan-document.md: files, interfaces consumed and produced, acceptance command with expected output, dependencies.
  • Decide parallelism per pair of steps, and add the contract-freezing step that any real parallelism needs (rules 9, 10). Read references/parallelism.md.
  • Front-load the riskiest unknown as an investigation, not a build step (rule 18). Read references/risk-and-unknowns.md.
  • State non-goals and the rollback point (rules 11, 12).
  • Self-review, once, with fresh eyes: requirement coverage, placeholder scan, name and type consistency across steps, and proportion — a plan that is mostly code blocks is a transcript (rule 13). The checklist is in references/plan-document.md.
  • Gate — EVERY STEP HAS A COMMAND AND A PREDECESSOR: for each step you can quote the command that proves it, the output that counts as passing, and either its dependencies or the argument that it has none. A step missing any of these is not a step.

review-plan

Judging someone else's plan — or your own, a day later — before execution.

  • Read the plan and the actual repository state side by side, checking that every path, service and command it names exists. Most plan defects are disagreements with reality, not internal ones.
  • Walk the defect catalogue in references/plan-review.md and record a finding per defect with the step it lands on. Check each parallelism claim against the code rather than the plan's assertion (rule 9), and check for scope the request never asked for using references/scope-creep.md.
  • Give a verdict: executable, executable after the listed fixes, or not executable. Name the defects before proposing a rewrite — a silently repaired plan teaches its author nothing and hides how wrong it was.
  • Gate — EVERY FINDING NAMES ITS FAILURE: each finding says what will happen during execution if it is left alone. A finding you cannot complete that sentence for is a style preference; drop it.

track

Keeping a plan honest while it is executed, and knowing when to stop.

  • Before each step, re-read it. Plans go stale against the code from the moment they are written.
  • After each step, record the command and its actual output. A step with no quoted output is in progress, whatever the checkbox says (rule 21).
  • Compare what happened with what the step said would happen. Note every divergence, including the ones that worked out.
  • Check the stop triggers in references/execution-tracking.md against each divergence. On any trigger, stop and revise; do not improvise a patch inside a step (rule 19).
  • When revising, amend: keep completed steps and record why each change was made (rule 20).
  • Gate — STATE MATCHES EVIDENCE: the checked steps are exactly those with quoted passing output, every divergence is either accepted in writing or open as a finding, and no claim rests on a report you did not verify.

Rationalizations

ExcuseReality
"I'll figure out the details as I go"The details are the plan. What you had was a title.
"The dependencies are obvious"To you, today. The executor sees one step and no context.
"Everything can run in parallel"Say it per pair, with the reason. The claim survives about two pairs.
"I'll write the acceptance criteria once it works"Then they will describe what you built, and can never disagree with it.
"While I'm in there I'll also…"That is a second plan. Write it down and leave it for later.
"The old plan is stale, I'll regenerate it"Its unchecked steps may be in flight, and its history is the only record of why. Amend it.
"The premise changed but I'm nearly done"Nearly done on a false premise is further from done than starting over knowingly.

Red flags

Stop and re-plan when you catch any of these: a step whose completion you cannot describe as a command; a plan that names a directory that does not exist; "and" in a step title; a requirement quoted from the request verbatim because it resisted rephrasing; an assumption you noticed and did not write down; a parallel claim with no argument; a rollback described as "revert the commit" over a forward-only migration; a progress report with no command output in it; a definition of done that mentions how the team feels.

Topic router

TopicRead whenFile
Decidable acceptance criteria, the already-built and already-rejected pre-checks, the look-up/ask/assume split, one-round questions, keeping clarification resultsTurning a vague request into requirementsreferences/clarifying-requirements.md
Two or three real options, the trade-off axis, YAGNI cuts, recording the rejected ones, ADR shape and supersede chainsA choice with more than one defensible answerreferences/exploring-options.md
Plan header, global constraints, the step block, interfaces consumed and produced, acceptance command and expected output, identifiers, no-placeholder list, what a step carries instead of a body, self-reviewWriting or fixing the plan document itselfreferences/plan-document.md
Dependency mapping, vertical slices, right-sizing and split triggers, capability maps for multi-subsystem work, one-subsystem-per-stepCutting work into steps, or a step feels too big to startreferences/task-decomposition.md
Parallel / sequential / needs-coordination, freezing a contract first, serialisation boundaries, what a delegated step must carryDeciding what can run at the same time, or handing steps outreferences/parallelism.md
Classifying unknowns, designing a spike that answers exactly one question, front-loading risk, [NEEDS CLARIFICATION] markers, assumption-to-step mappingThe plan contains something nobody knows yetreferences/risk-and-unknowns.md
Progress reporting shape, evidence rules, the stop-and-replan triggers, amend-not-regenerate, living and flow-back revision modelsA plan is being executed, or a report disagrees with itreferences/execution-tracking.md
Creep patterns and where each one enters, the definition-drift test, what to do with a good idea that is out of scopeThe work is growing, or a plan contains steps the request never asked forreferences/scope-creep.md
Defect catalogue with the execution failure each one causes, per-defect verdictsReviewing a plan before executionreferences/plan-review.md

Output format

Clarification — the clarify workflow. Facts first, then the one round of questions, then what you assumed.

## What I checked
<where you looked for an existing implementation or a prior rejection, and what you found>
<facts you established from the code, one line each, with path:line>

## Requirements (decidable)
R1. Given <context>, when <trigger>, then <observable outcome>.
R2. ...

## Non-goals this round
- <thing deliberately excluded, and where it goes instead>

## Assumptions
A1. <assumption> — if false: <the steps or requirements that change>

## Decisions I need
❓ Q1 — <title>
<question>
➡️ Recommended: <answer and why>

Plan — the plan workflow. One step block per step; repeat, never cross-reference.

# <feature> — plan

Goal: <one sentence>
Approach: <two or three sentences; the rejected options live in the decision record>
Requirements: <path to the decidable requirements this plan implements>
Rollback point: <where work can stop, and the state it leaves behind>

## Global constraints
- <project-wide constraint, exact values copied from the requirements>

## Non-goals
- <excluded, and where it goes instead>

## Assumptions
A1. <assumption> — affected steps: <N, M>

## Step N — <title>
Depends on: <step numbers, or "nothing, because …">
Files: create <path> / modify <path> / test <path>
Consumes: <exact signatures this step relies on from earlier steps>
Produces: <exact signatures later steps rely on>
Do: <what changes, concretely>
Accept: `<the repository's own command>` → <the output that counts as passing>

Plan review — the review-plan workflow, worst first.

## <plan path>

Verdict: executable | executable after the fixes below | not executable

<plan path>:<line> - <step or section>: <defect>
  Fails as: <what happens during execution if this is left alone>
  Fix: <the smallest change that removes the defect>

## Missing
<requirement, dependency or risk that no step covers>

Worked example:

## docs/plans/2026-08-notifications.md

Verdict: not executable

docs/plans/2026-08-notifications.md:9 - Task 1: targets services/notifier/,
which does not exist in this repository.
  Fails as: the first step's executor stops to invent a service boundary the
  plan never decided, and every later step's paths are guesses.
  Fix: state whether the notifier is a new service or lives inside
  services/mailer/, and name the files either way.

docs/plans/2026-08-notifications.md:5 - "All tasks are independent and can be
worked in parallel": false.
  Fails as: Task 2 calls GET /notifications, which Task 3 creates. Whoever
  takes Task 2 first writes against an endpoint that does not exist.
  Fix: make the OpenAPI change its own step, freeze it, and mark Tasks 2 and 3
  as its dependents.

## Missing
Nothing covers the retrievability requirement from the request, so the plan
can be fully executed and still fail acceptance.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

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

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

Turns vague software requests into executable plans with dependencies and acceptance criteria. Use when a request is too vague to start, work spans several subsystems or sessions, someone else will execute the plan, a draft plan needs review, or progress contradicts the plan, including deciding whether a plan document is needed at all.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Lynricsy/HyperSkills/tree/main/skills/planning. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng 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 Planning?

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

Có. Kỹ năng này được Lynricsy 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 👇