Goat Plan 标志

Goat Plan

组织
blundergoat
goat-plan

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

概览

发布者blundergoat
代码仓库goat-flow
技能名称goat-plan
星标数
32
复刻数
2
附带文件
2
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 2 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 blundergoat 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Goat Plan AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/blundergoat/goat-flow/tree/main/.agents/skills/goat-plan
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

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
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Goat Plan,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Goat Plan。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Goat Plan 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

/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.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Goat Plan AI 技能有什么作用?

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

为什么在 TypingMind 中使用 Goat Plan?

因为您只需安装一次,就能搭配任何模型使用。Goat Plan 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Goat Plan?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/blundergoat/goat-flow/tree/main/.agents/skills/goat-plan。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Goat Plan?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Goat Plan 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Goat Plan 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Goat Plan AI 技能免费吗?

是的。blundergoat 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇