Logo Goat Plan

Goat Plan

Tổ chức
blundergoat
goat-plan

Use when creating, updating, reconciling, or resuming milestone plans.

Tổng quan

Nhà phát hànhblundergoat
Kho mãgoat-flow
Tên kỹ nănggoat-plan
Sao
32
Bản fork
2
Tệp đi kèm
2
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ộ.

  • 2 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 blundergoat 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 Goat 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 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/blundergoat/goat-flow/tree/main/.agents/skills/goat-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/blundergoat/goat-flow.git /tmp/goat-flow
mkdir -p .claude/skills
cp -r /tmp/goat-flow/.agents/skills/goat-plan .claude/skills/goat-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 Goat 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ự nạp Goat 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 bạn có thể dùng Goat Plan 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.

/goat-plan

Shared Conventions

Read .goat-flow/skill-docs/skill-preamble.md; Modes R/1/3/4 also read .goat-flow/skill-docs/skill-conventions.md.

Mode selection discharges the shared Quick/Full depth choice; ceremony follows the preamble's complexity table.

When to Use

Use for milestones, replans, rescope, or plan resume in .goat-flow/plans/<active>/.

Boundary Commands

  • NEVER: Implement or do another skill's work.
  • ALWAYS: Keep the selected mode for the current request; new explicit intent runs Step 0 again.
  • DEFER TO: Direct tests/questions or the matching goat-* skill.
ExcuseReality
"Show milestones first, files later"File-Write creates milestone artifacts immediately. Read-Only Analysis is for inline plans.
"Vague tasks are fine - implementer will figure it out"Cold-start tasks need one action, a target, and a done condition; supporting detail belongs beneath them.
"Proof is obvious - skip it"Agent skipped the AI proof gate after the first milestone. The gate caught what it missed.
"Bare task path means start implementing"Path-only context is data, not delegation. Bare task paths must not update .active, milestone status, checkboxes, or code.

Step 0 - Intake

  1. Classify the input shape before any plan-state read. Path-only guard runs first: a task/milestone path alone or ambiguous context phrase selects Path-Only Intake / Read-Only Orientation. Do NOT update .active, milestone status fields, task checkboxes, or code. Switching a mismatched .active needs approval. Code or plan changes need an explicit action verb.

  2. Run learning-loop retrieval before mode-specific reads. Follow the preamble's INDEX-first retrieval and emit Relevant prior learnings:. Use brief/plan terms; add decisions for architecture, policy, or setup. For path-only intake, search only for plan-orientation and task-state failure classes. Do not retrieve implementation-domain learnings from the task path; open entries only when a hit affects safe orientation.

  3. Inspect existing plan state only after retrieval.

  • Explicit plan paths select that directory; milestone paths select their parent. Otherwise scan the valid advisory .active subdir.
  • If missing/invalid, list non-archive dirs and recent M*.md, ask which is current, and offer to update .active; this is not setup failure.
  • For stale plans, compare code and modification dates.

Reconcile Existing Plan State

Plans are local workflow state, not a setup invariant. Mode R is read-only: report each canonical Status token with a plain-language explanation.

Starting fresh: name the build, main risk, and kill criteria.

  1. Pick exactly one mode. First match:

0: Path-Only Intake / Read-Only Orientation - path-only or ambiguous task path. Summarize status, ask next action, stop.

No-file guard: Mode R or 2 - reporting-only/no-file constraints forbid writes: reconcile/audit requests select read-only Mode R; other requests select Mode 2. No-implementation alone does not forbid plan edits. Conflicting write/no-write instructions preserve bytes and require clarification.

Existing plan: resume to ACT - start, resume or implement the current or a named milestone of an existing plan (its path, or the valid .active plan) writes no new milestones: confirm the milestone (ask when the plan records none), apply Phase 3 lane eligibility, then continue to ACT; Phase 3 gates it. A new build brief is never a resume.

Build handoff: Mode 3 or 4 - a /goat return-to-implement build/change brief authorizes gitignored planning artifacts, never Mode 2 or Ask First boundaries: Hotfix/Small Feature selects Mode 3; Standard+ selects Mode 4. Post-plan return then continues to ACT; Phase 3 gates each milestone.

1: Named-File Update - explicit plan edits, including reconcile-and-fix with implementation prohibited. A path alone is not write approval; use Phase 2 § Mode 1, never implement code.

R: Reconcile Existing Plan State - reconcile/audit without requested edits: compare evidence, propose corrections, stop without writes.

2: Read-Only Analysis - inline planning without artifact authority. File mode requires authorization.

3: Small File-Write - explicit planning artifacts for Hotfix / Small Feature (1-2 milestones); use Mode 4's write path with compact ceremony.

4: File-Write (Standard+) - explicit planning artifacts for Standard / System / Infrastructure; resolve missing destination/scope before writing.

CHECKPOINT (Path-Only Intake): "Mode: Path-Only Intake. Plan pointer: [state]. Active set: [IDs/statuses]. Cap provenance: [value; config/default/session override]. Session milestone: [ID/unselected]. Next item: [item]. Action needed."

CHECKPOINT (Reconcile): "Mode R. State: [status]. Corrections: [changes]. No writes."

CHECKPOINT (Named-File Update): "Mode 1. Edit [file] in place for [delta]. Boundary: [scope]."

CHECKPOINT (Resume): "Resume [milestone]. Lane eligibility: [state]. Next item: [bounded task or proof]. Continue authorized ACT; Phase 3 gates remain."

CHECKPOINT (planning modes): "Mode: [selected mode]. Milestones: [feature]. Risk: [risk]. Kill criteria: [criteria]."

Phase 1 - Milestone Breakdown

Budget determines must-deliver scope, ranked stretch work, and cut order. Risk sets proof; split for uncertainty, independent value, or a decision gate.

Milestone Archetypes

Archetypes are optional lenses: Prove It Works, Make It Real, Make It Solid, Make It Shine. Merge shared outcomes/proof; omit valueless lenses.

Spike-first rule: Library/API, performance or integration uncertainty belongs in Milestone 1 as a spike, not Milestone 3 as a risk.

Never drop a spike, intake, or kill criteria for milestone count, deadline, or reduced ceremony.

For each milestone, produce:

Choose a Small, Standard, or high-risk rendering from references/milestone-examples.md. Include outcome, Status, agent-time estimate, scope, executable Tasks, binary Exit, claim-based Proof, and Stop/rescope. Standard+ adds ## What problem are we solving and ## Who benefits and how between Objective and Context, one plain line each. Actual, dependencies, context, assumptions, Mid-implementation proof, boundaries, rollback, deferred work, and maintenance are conditional.

Risk-weighted task ordering

Order [RISKY] unknowns/integrations/spikes, [CORE] logic, then [SAFE] docs/polish. Uncertainty requires a [RISKY] task.

Proof format

State claim, evidence and proof-class tag. Omit inapplicable classes; manual proof is conditional. Static analysis is not behavioural proof. High-risk work keeps distinct compatibility, rollback and security evidence. Store literal commands once.

Quality rules

Tasks: One action, target and done condition; supporting rationale/paths/proof only when needed. Pin paths for downstream dependencies.

Start task text with the operation; prefer about 25 words excluding tags and estimates. Validation, saving and history loading are separate observable changes: give each its own counted task. Separate test authoring from test execution. Read references/milestone-examples.md → Short task example before rendering checkboxes.

Verify paths/symbols/behavior against the target revision. Label proposed paths new and unresolved anchors (confirm: what); investigate before dependent implementation.

For every ISSUE draft, PR, or handoff export, read references/issue-format.md → Human-facing exports before drafting and delivery; it owns audience checks and saved-draft proof.

Effort estimate (agent-time): Count positive agent-owned Task/Proof/Mid-proof plus one admin; exclude [HUMAN] and zero-minute items. Forecast basis: records agent work units, rates, and historical source: quantiles. Use 1.0-2.5-6 min/unit until three eligible bases, then plans check evidence. Never use duration intuition; ~70/20/10 stays advisory. If scope changes, reforecast before implementation; reforecast required blocks. Execution uses references/milestone-examples.md → Timing receipts. Forecast range: is required with a basis; legacy points and range-only estimates remain valid.

Before authoring or revising forecasts, read references/milestone-examples.md → Effort Estimates for work counting, history selection, fast-case evidence and immutable revisions. Read references/issue-format.md → Forecast presentation when summarizing delivery.

Readable narrative, specific tasks: Preamble prose routing applies; references/issue-format.md owns audience-specific task guidance.

Cold-start bar: Identify files, conventions, scope, commands, and recovery.

Handoff-grade artifacts: Use Standard+ drift context; Small File-Write stays compact.

Assumption tracking

Tick validated assumptions. Record invalidation and stop dependent work; amend only when mode/approval permits. At human gates, propose and wait.

For Standard+, answer "If this plan fails, the most likely cause is ..." in an existing task, assumption, or kill criterion.

CHECKPOINT: Read-Only Analysis stops inline. Write modes enter Phase 2; no Phase 1 approval pause.

Phase 2 - Deliver Milestones

Use only the Step 0 mode's delivery block.

Mode 0: Path-Only Intake / Read-Only Orientation

  • Read filenames plus Status, Lane, and Depends on; run the source-compatible plans check <plan-path> --strict. Checker errors stop body reads.
  • Use --max-active only when the operator supplied it for this session; otherwise omit it for canonical config or default one. Never infer a cap from the active count or borrow an earlier override; if an absent override is needed, stop and ask.
  • Active means in-progress, testing-gate, or human-verification-pending. An absent or empty Lane means default. Check the final join below before source work or timing.
  • One session owns one milestone. An explicit path or user instruction selects it; select the sole active milestone automatically. With several active milestones and no selection, report each bounded next item, then ask which milestone this session owns.
  • Read only the bounded next item: implementation task, executor proof, or human item according to status. Report other lanes as state, never implementation authority. With no active work, report eligible choices.
  • Do NOT mutate .goat-flow/plans/.active, milestone status, checkboxes, or code.
  • Present the plan pointer, active set, cap provenance, session milestone, and next item. Ask for the next action and stop.

Mode R: Reconcile Existing Plan State (read-only)

Compare HEAD and uncommitted state with status, tasks, assumptions, and evidence. Propose exact amendments; do NOT edit plans, .active, status/checkboxes, or code.

Mode 1: Named-File Update (edit in place)

Edit the named file in place; a path alone does not qualify. Preserve unaffected title/status. Present the delta and apply the progress rule for adopted plans; stop on scope spill.

Mode 2: Read-Only Analysis (no files)

Present Phase 1 inline and stop; no files or .goat-flow/plans/ changes. Skip Phase 3.

Transition out: When the user explicitly requests files for an inline plan, reuse Phase 1: Hotfix/Small Feature selects Mode 3; Standard+ selects Mode 4. Across turns, re-read instructions, .active, and named sources; do not repeat breakdown. Clarify an ambiguous "let's go ahead".

Mode 3: Small File-Write (Hotfix / Small Feature)

Direct Hotfix invocation uses Mode 3. Write compact artifacts immediately; present paths and summary.

Mode 4: File-Write (Standard+)

Write Standard or triggered high-risk artifacts immediately. Do NOT invoke/ask about /goat-critique; run it only on request.

File Artifact Rules (Modes 3 and 4)

Fresh plan: honour supplied destinations; otherwise create a slugged directory. Write zero-padded M*.md, investigation-notes (empty allowed; no filler), and _PROGRESS.md containing only # Plan and implementation progress; follow the plans README. Existing plans adopt notes/progress only explicitly. Only explicit active-plan selection updates .active. Existing plan: identify its prior final join covering every participating lane; amend a missing join first. Append: new Depends on prior join. Insert before prior: preserve its existing dependencies and add new. Re-derive ISSUE.md bands and totals.

Rendering: Mode 3 uses compact Small; Mode 4 uses Standard plus triggered high-risk fields. Omit empty sections; retain Phase 1 core and claim-based Proof.

ISSUE.md: Standard+ writes ISSUE.md using references/issue-format.md as read-only guidance; Small only for a requested GitHub brief, multiple milestones, or shared requirements/budget.

Backlog: Deferred items need backlog.md with Next, Later, and Maybe tiers.

CHECKPOINT: "Wrote [files created] to .goat-flow/plans/<active>/. Ready to start implementation."

Validate: Resolve inline references, then run goat-flow plans check .goat-flow/plans/<active> --strict; fix errors before the checkpoint.

Post-plan return: After Phase 2 finishes, Modes 3/4 apply the progress rule. return-to-implement hands ordinary ACT the existing build authorization; new Ask First boundaries still gate. Plan-only stops; Phase 3 gates milestones.

Phase 3 - Between Milestones

Progress: For adopted plans, apply references/issue-format.md → Plan progress updates after meaningful planning or implementation batches, at handoff, and for material approval/check/rework changes. Skip unchanged resumes. Carry this rule into execution handoffs; always run scoped goat-clarity before delivering new or revised entries.

Lane eligibility: Activate not-started work only when every dependency is complete, its lane is free, and the active count is below the cap. For lane or capacity contention, show eligible IDs, lanes, and dependencies; ask, never select by number. Lanes grant no writer ownership; use disjoint scopes, applicable write claims, and an agreed merge boundary. Read references/milestone-examples.md → Lane lifecycle for downgrade recovery.

Final join: Exclude abandoned, superseded, and deferred; blocked still participates. Require one participating dependency sink whose transitive dependency closure covers every other participating milestone. Authors join every participating lane tip. plans check --strict fails a plan with open work that breaks this join; a fully complete plan gets an advisory instead. Multiple sinks or uncovered work requires a plan amendment before source work or timing; never guess.

Completed implementation enters testing-gate. If the milestone changed source, run goat-clarity on the paths it wrote before proof, so remediation renames cannot stale it. Apply the preamble's Proof Gate; audit tasks and exit, rerun only stale/failed checks or when risk requires it.

Successful AI proof records structured Actual: and sets human-verification-pending; only human-owned items stay open. Each milestone retains its own receipt and blocking human gate; unrelated active lanes keep their state and receipts. Follow references/milestone-examples.md → Timing receipts: finalize before Actual or declare retrospective/unavailable/incomplete instead of inventing minutes. Calibration eligibility starts at complete.

BLOCKING GATE (Human Verification): Present files, exit evidence, estimate versus Actual, and assumptions. "Approve this milestone and eligible follow-up work, or adjust?"

After approval for a non-final milestone, capture learnings, complete it, re-read/update the selected eligible milestone; start it only when Depends on permits and lane capacity allows. Human-requested changes return the milestone to in-progress; this applies only to the reviewed milestone; never amend silently. For exceptional states, use references/milestone-examples.md → Status reason; remove stale reasons on ordinary states. Rerun strict validation after each transition.

The final pending milestone enters the combined Phase 4 review; do not mark it complete in Phase 3.

Phase 4 - Plan Complete

Begin only when the unique final join is human-verification-pending, every other participating milestone and every join dependency is complete, and no sibling active work remains. Cap-one plans keep one final review.

AI Verification Gate

Verify every implementation task and, when ISSUE.md exists, every ISSUE Tasks item is closed. Require fresh exit/Proof evidence, resolved assumptions, coherent statuses and required learning-loop updates. Keep Requirements stable and mapped to outcomes/proof. Reconcile ISSUE delivery bands with its headline separately: plans check reads milestones only. Aggregate gaps/UNVERIFIED; reuse fresh evidence.

Human Verification Gate

BLOCKING GATE: Present files changed, milestone states, exit evidence, invalidated assumptions, and UNVERIFIED items. "Final evidence is ready. Review before I close this plan." Human approval is mandatory.

After Human Approval

  • Set the final milestone complete and confirm the plan snapshot.
  • Leave plan files in place; archival remains the human's decision.
  • Do not create a completion log unless the human requests one.

Constraints

  • MUST use claim-based Proof, risk-first tasks, and mid-proof before switching modules or after a bounded edit batch.
  • MUST stop dependent work on invalidated assumptions, kill criteria, scope changes, or conflicting evidence.
  • MUST preserve failing evidence and obtain approval before amendments or lifecycle transitions.
  • MUST keep every milestone and final completion behind AI proof plus human sign-off.
  • MUST NOT invoke or prompt for /goat-critique; run it only on explicit request.
  • MUST NOT include self-deletion, self-archival, commit, or push instructions.

Output Format

Emit the selected mode's result: resume checkpoint then authorized ACT; 0 orientation; R reconciliation; 1 delta; 2 inline milestones; 3/4 paths, milestone names/objectives, task/exit/test counts, risks, and stop condition.

Terse-first: One sentence per bullet; preserve gate prompts and evidence.

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 Goat Plan làm được gì?

Use when creating, updating, reconciling, or resuming milestone plans.

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

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/blundergoat/goat-flow/tree/main/.agents/skills/goat-plan. 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 Goat 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.

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

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