Sw Plan Implement 标志

Sw Plan Implement

社区
mhmtsrfglu
sw-plan-implement

Use when the user wants to plan and implement a Superwiki task in one go, says "do this task" or asks to take a task from todo to done without choosing between planning and implementing, or invokes sw-plan-implement, with or without a task id.

概览

发布者mhmtsrfglu
代码仓库superwiki
技能名称sw-plan-implement
星标数
31
复刻数
3
附带文件
仅含指令
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 指令自成一体

    模型所需的一切都包含在指令中,无需同步额外文件。

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

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

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

sw-plan-implement

Takes one task from todo to done with one command. It judges the task's size from the task file, picks one of three routes, and then follows sw-plan and/or sw-implement.

It is a thin orchestrator. Changing the task's status, the log entries, the review and sw-verify as the gate before done all come from sw-plan and sw-implement: follow those skills as they are written, and do not repeat or shorten their steps here. The only thing sw-plan-implement itself writes is a note in the task's "Notes".

Needs the task module (docs/tasks/). If it is missing, say so and offer sw-init with --tasks. Run commands from the project root.

Steps

  1. Pick the task.

    • Id given: node docs/.sw/sw.mjs check <ID>, then read docs/tasks/<ID>.md.
    • No id: node docs/.sw/sw.mjs ready, and let the user choose.
    • New work without a task file: sw-plan step 1 ("New work") creates it; then continue here.

    check may settle the route before any classifying:

    check saysDo
    status done or cancelledstop and ask what the user wants
    status in-progress, or a plan with status: approvedsw-implement, nothing else
    a draft planlarge route; sw-plan revises it
    open depsstop, as sw-implement's gate does. Do not plan around it unasked
  2. Classify from the task file alone: no code, no plan file. The rule for a small task, word for word as sw-plan and sw-implement state it:

    A task is small when its task file alone shows all four: one area, meaning its work belongs to the configured area its id prefix names and to no other (areas in docs/.sw/config.json; with one configured area, every task is in one area); three "Done when" items or fewer, as the done when: line of node docs/.sw/sw.mjs check <ID> counts them; nothing left open in its "Notes"; and the files that change, named in the task file, three or fewer. A task whose file does not show how many files change is medium at least, never small.

    Take the first row that matches, from the top. "Area" and the count of "Done when" items mean what the rule above says.

    ClassThe task file showsRoute
    largeany of: more than six "Done when" items; more than one area; a question left open in "Notes"; review: set; a new format, interface or migration other work will depend onsw-plan, the user's approval, then sw-implement
    smallall four conditions of the rule above: one area, three "Done when" items or fewer, nothing left open, three files or fewer namedsw-implement directly; no plan, no note
    mediumeverything else: one area, nothing open, and four to six "Done when" items or more than three files or the files not shownan "Approach" note in "Notes", then sw-implement
  3. Say the route in one line before acting: Route: <class> (<the rubric conditions that decided it>). The line is written as given, word for word: it begins Route: at the start of its own line, and a sentence that gives the route in other words does not replace it, since a reader of the session finds the route by those words. Do not wait for an answer. When the user has waived the plan's approval, the line says so: Route: <class>, plan approval waived by the user (<the rubric conditions that decided it>).

    Override. A route the user names wins over the rubric, whether in the invocation ("as small", "with a plan", "no plan") or at any later point. When the override lowers the class, record it in the task's "Notes" as - Route: <class>, chosen by the user. Only a named route lowers the class. A waiver of approval ("without presenting the plan for approval", "no need to approve it") names no route: the class stays what the rubric decided.

  4. Follow the route.

    • Small: follow sw-implement from its step 1.
    • Medium: write one bullet into the task's "Notes", starting - Approach (sw-plan-implement, <date>):, three to five sentences (a line of the note is a sentence): the order of the work, which "Done when" items belong together, the constraints the notes set, and how the result is checked, in a sentence naming the commands where the task file gives them, not as a D<n> list. Its sources are the task file and the area guide, if node docs/.sw/sw.mjs explain <ID> names one. No planner, no code reading, no plan file, no log entry. Then follow sw-implement from its step 1; its gate accepts plan: none with this note.
    • Large: follow sw-plan, which skips its own size test when called from here; it clarifies, dispatches the planner, gets the user's approval and records it. That approval is the one planned stop of sw-plan-implement. Plan approved: continue with sw-implement in the same run. Plan dropped: stop; the task stays todo.
    • Large, approval waived by the user: the planner runs all the same; the waiver removes the stop, not the plan. Follow sw-plan steps 4 to 6 with these differences. Nothing is presented. Each question of the planner gets its assumed answer, unless the task file, a wiki page or a lesson says otherwise (node docs/.sw/sw.mjs search), as under sw-autopilot's standing answer, and the answers count as the user's: step 6 runs whole, so the plan is approved, and "Notes" gets the answers once, as - <date>, answered under the user's waiver of approval: .... The plan log entry gets the body line Approved under the user's waiver. A Split: the planner proposes is still put to the user, as sw-plan step 5 says: the waiver covers the plan's approval, not the creation of tasks. Then continue with sw-implement in the same run. Its question about checks that need the environment is still asked.

Common mistakes

  • Restating, shortening or skipping steps of sw-plan or sw-implement. They are followed whole, as written.
  • Reading code or a plan file to classify. The rubric uses the task file only.
  • Counting files or areas from the code. A task file that does not name the files that change makes the task medium at least; an area is a configured one, never a part of the code.
  • Asking the user to confirm the route. Say it and go on; the user interrupts if they disagree.
  • Giving the route in other words. The Route: line is written as step 3 gives it; a table or a sentence that names the route is not the line.
  • Skipping the planner, or lowering the route, because the user waived the plan's approval. A waiver removes the stop, not the plan; only a named route lowers the class.
  • Treating the Approach note as a plan. check still says plan: none, and the note holds no steps or verification list.
  • Writing a long Approach note, or exploring the code to write it. Past five sentences the task is large: use the large route.
  • Implementing after a plan that was not approved, or going on after the user dropped it.
  • Setting the task to done here. sw-implement does that, after sw-verify has verified every item.

常见问题

Sw Plan Implement AI 技能有什么作用?

Use when the user wants to plan and implement a Superwiki task in one go, says "do this task" or asks to take a task from todo to done without choosing between planning and implementing, or invokes sw-plan-implement, with or without a task id.

为什么在 TypingMind 中使用 Sw Plan Implement?

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

如何在 TypingMind 中安装 Sw Plan Implement?

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

哪些 AI 模型可以使用 Sw Plan Implement?

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

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

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

Sw Plan Implement AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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