Plan For Goal 标志

Plan For Goal

社区
robonuggets
plan-for-goal

将任意需求简述整理成结构化计划,可直接交给 /goal 执行。固定章节包括:Brief / Stack / Scope(Visuals + Functionality)/ Out of Scope / Constraints / Definition of Done / Acceptance Criteria / Verification / Turn Budget / References / Risks。兼容不同引擎(Claude Code + Codex)。输出 Markdown 计划文件,以及可直接粘贴使用的 /goal 单行命令。遇到 "/plan-for-goal"、"plan-for-goal"、"plan for goal"、"build me a /goal plan"、"turn this into a plan" 等表述时触发。

概览

发布者robonuggets
代码仓库plan-for-goal
技能名称plan-for-goal
星标数
45
复刻数
9
附带文件
1
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 1 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/robonuggets/plan-for-goal.git /tmp/plan-for-goal
mkdir -p .claude/skills
cp -r /tmp/plan-for-goal/.claude/skills/plan-for-goal .claude/skills/plan-for-goal
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Plan for Goal

Takes any brief - a game idea, a refactor, a client deliverable, a content batch - and turns it into a structured plan you can feed straight into /goal. Works for Claude Code /goal (v2.1.139+) and Codex /goal.

What this does

Strips fluffy intent down to a single verifiable Definition of Done and the sub-checks that prove it. Locks scope (in + out + constraints) so /goal doesn't spiral. Names the verification path explicitly. Sets a turn ceiling.

When to invoke

  • You have a brief and want to set it up for autonomous execution
  • Before pasting work into /goal, /loop, or a long agent run
  • Triggers: /plan-for-goal, plan-for-goal, plan for goal, build me a /goal plan, turn this into a plan

Output format (LOCKED)

Two things every run:

  1. A markdown file at ./plans/{slug}_{YYYY-MM-DD}.md (or wherever your project keeps planning docs)
  2. A copy-paste-ready /goal one-liner rendered inline in chat

Section order is locked. 9 core sections, 2 optional. Drop a section only when it's empty. Don't add new sections.

markdown
# Plan · {Title}

## Brief
[1-2 sentences. Context + outcome. State the goal, not the steps.]

## Stack
- Tool, framework, API, or model that will be used
- One bullet each, name version when load-bearing
- Flag paid APIs that need cost approval

## Scope
**Visuals**
- [Bullets describing what it looks like - only when the task is visual]

**Functionality**
- [Bullets describing what it does]

For non-visual tasks (refactor, content batch, ops), drop the Visuals sub-header and flatten to bullets under Scope.

## Out of Scope
- Explicit non-goals
- At least 2 bullets - empty negative space is where /goal burns tokens

## Constraints
- What must hold throughout the work
- e.g. single file, no build step, no new deps, brand rules, perf budget

## Definition of Done
[One verifiable sentence. The whole plan funnels here. Phrased so a small evaluator can judge it from the transcript. No vibe words.]

## Acceptance Criteria
- Bulleted sub-checks flowing from DoD
- Each independently verifiable as true / false
- Aim for 5-10 bullets

## Verification
- Exact commands or visual checks /goal will run each turn to produce evidence
- Skip ONLY when DoD is already a literal runnable command

## Turn Budget
Stop after {N} turns, or sooner once the DoD condition holds.

## References
- Links, files, screenshots, prior art (optional - skip if empty)

## Risks / Open Questions
- Known failure modes, judgment calls flagged for the user (optional - skip if empty)

The /goal one-liner

After saving the plan, emit a paste-ready /goal line shaped like:

/goal {DoD sentence}, with {top 2-3 acceptance criteria inline}, stop after {N} turns

Engine-agnostic. stop after N turns reads cleanly for both Claude Code and Codex evaluators.

Example (from examples/catan-ai-wars.md):

/goal game.html opens in browser, plays a complete Catan match vs 3 AI bots, declares the winning house at 10 VP, zero console errors during full play, stop after 60 turns

Section rules

Brief - 1-2 sentences. State the goal, not the steps. No verbs of doing ("we will build...").

Stack - bullet per tool. Name version when load-bearing (Node 20, Godot 4, Python 3.11). Flag any paid API (image gen, video gen, eval API) that triggers a cost-approval gate in your workflow.

Scope - Visuals + Functionality sub-headers when the task is visual (game, UI, deck, site, animation, thumbnail batch). Flat bullets for backend / script / content work. Don't force the split.

Out of Scope - at least 2 bullets, always. Most spiraling /goal runs come from undefined negative space. Common cuts: multiplayer, mobile, save-load, accessibility pass, internationalisation, expansions, advanced AI.

Constraints - what must hold throughout. Different from Out of Scope - these are rules during the work, not boundaries of the work. "Single file, no build step" is a constraint. "No multiplayer" is out of scope.

Definition of Done - ONE sentence. Must be judgeable from the transcript. Avoid vibe words ("clean", "good", "polished", "great UX"). Use concrete proof: file exists at path X, command exits 0, count equals N, screenshot matches reference, all rows in table Y are filled.

Acceptance Criteria - 5-10 bullets. Each independently true/false. If a criterion is squishy, fix it now. Bad: "looks good on mobile". Good: "renders at 360px width with no horizontal scroll".

Verification - skip when DoD IS a runnable command (npm test exits 0). Include when DoD is a state ("game plays end-to-end with no errors") that needs a recipe to prove. Spell out the recipe step by step. This is where the agent's eyes go each turn.

Turn Budget - pick a number. Light task 15-25. Medium 30-50. Heavy 60-100. Don't go above 100 without a strong reason. The 500-turn Claude Code safety cap is not a budget.

References / Risks - only include when there's something real. Empty sections are noise. Risks should flag known failure modes and judgment calls worth surfacing before the run.

Voice rules

  • No em-dashes. Use - with spaces, or a comma
  • Plain language, no marketing voice
  • Bullets are short noun phrases or short imperatives, not paragraphs
  • Match the brief's domain - game / content / code / ops. Don't reflexively use dev framing for content tasks.

Ambiguity handling

If the brief is missing critical pieces (no clear DoD, no scope boundary, no verification path), ask ONE tight question before drafting. Common gaps:

  • DoD vague - ask "what does done look like in one sentence?"
  • Scope sprawling - ask "what's explicitly NOT in scope?"
  • No verification path - ask "how will we know it works?"

One question max, then draft. Never ask for confirmation on minor details the user can redirect in their next turn.

File operations

  • Slug = lowercase, dashes, first 3-5 words of the brief
  • Date = today's date, YYYY-MM-DD
  • Plan path: ./plans/{slug}_{YYYY-MM-DD}.md (create the folder if missing)
  • Report the file path back to the user when done

Anti-patterns

  • Don't pad sections with filler. Empty section is fine, weak section is not.
  • Don't add new sections beyond the locked set
  • Don't write DoDs with vibe words ("clean", "polished", "great UX", "feels nice")
  • Don't skip Out of Scope - it's load-bearing
  • Don't promise external system interactions unless they were explicitly named in the brief
  • Don't ask multiple clarifying questions - one or none

Reference example

See examples/catan-ai-wars.md for a complete worked example: Catan game with Game-of-Thrones-themed AI-company houses, 32-bit pixel art, single-file web.

附带文件

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

常见问题

Plan For Goal AI 技能有什么作用?

将任意需求简述整理成结构化计划,可直接交给 /goal 执行。固定章节包括:Brief / Stack / Scope(Visuals + Functionality)/ Out of Scope / Constraints / Definition of Done / Acceptance Criteria / Verification / Turn Budget / References / Risks。兼容不同引擎(Claude Code + Codex)。输出 Markdown 计划文件,以及可直接粘贴使用的 /goal 单行命令。遇到 "/plan-for-goal"、"plan-for-goal"、"plan for goal"、"build me a /goal plan"、"turn this into a plan" 等表述时触发。

为什么在 TypingMind 中使用 Plan For Goal?

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

如何在 TypingMind 中安装 Plan For Goal?

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

哪些 AI 模型可以使用 Plan For Goal?

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

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

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

Plan For Goal AI 技能免费吗?

robonuggets 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

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

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

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

查看全部

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

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