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ファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    mhmtsrfgluがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルSw Plan ImplementをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にSw Plan Implementを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Sw Plan Implementは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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.

よくある質問

AIスキル「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.

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を読み込み、チャットごとに有効にできるスキルとしてインストールします。

Sw Plan Implementを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Sw Plan Implementは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもSw Plan Implementを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Sw Plan Implement」は無料ですか?

はい。mhmtsrfgluがGitHubでMITライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇