Sw Triageのロゴ

Sw Triage

コミュニティ
mhmtsrfglu
sw-triage

Use when the user reports a bug, failure, error, regression, incident or unexpected behavior in a Superwiki project and wants to know whether it happened before, what was learned, or what the likely causes are, or invokes sw-triage.

概要

公開者mhmtsrfglu
リポジトリsuperwiki
スキル名sw-triage
スター
31
フォーク
3
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

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

  • 指示だけで完結

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

  • オープンソース

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

インストール

AIスキル「Sw Triage」を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-triage
  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-triage .claude/skills/sw-triage
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

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

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

sw-triage

Answers "have we seen this before, and what does the vault say about it?" before anyone starts debugging. It searches the vault with a script, reads only the best matches, and reports. It does not fix anything and does not change files unless the user accepts an offer at the end.

Run commands from the project root.

Steps

  1. State the problem in one line: the symptom, where it shows, since when. If the user gave no symptom, ask for it. If "since when" is missing, go on and say in the report that recent changes cannot be matched to the problem's start.

  2. Search the vault, two or three times with different words: the error text or code, the component or feature name, the symptom in plain words. Search in the language the vault is written in (look at the lines of docs/index.md), whatever language the user wrote in; translate their words.

    bash
    node docs/.sw/sw.mjs search <three to six distinctive words>

    Each result has the page's type and summary and the first matching line; matching log entries follow, with their first line. A page is listed when any word matches, best match first, so the tail of the list is often noise.

    The vault is the only record of earlier sessions this skill can read. On Copilot the user can run /chronicle search <words> (Copilot CLI) or /chronicle:search <words> (VS Code Copilot Chat), which searches Copilot's own session store, to find an earlier session of the project and resume it; name it when the vault has no record, and say that the skill cannot run it.

  3. Look at what changed recently: tail -40 docs/log.md and node docs/.sw/sw.mjs ready (the "in progress" part). Work finished or under way in the same area just before the problem appeared is a suspect.

  4. Read at most four files, plans included, in this order of preference: lesson pages, decision pages, tasks that touched the same area (done or in progress), then the rest. Read a task's plan only if steps 2 and 3 point at that task as the cause.

  5. Report in the user's language, under these headings. Give the source of each claim: a page as [[page]], a log entry as "log, ".

    • Seen before: earlier occurrences, what the cause was, how it was fixed. If no page records this problem, say plainly that the vault has no record of it; do not stretch a weak match. If a recorded fix exists and the problem is back, say so: it is a regression.
    • Lessons that apply: rules or warnings from lesson and decision pages that bear on this problem.
    • Likely causes: ranked, each with the evidence for it and one concrete check that would confirm or rule it out. Where the vault records no cause, these are hypotheses drawn from what the pages say about the area: label them as hypotheses.
    • Recent changes in the area: tasks and log entries from step 3.
    • Gaps: what the vault does not cover and would have helped.
  6. Offer, and act only on a yes to that offer:

    • a task for the fix. Say which area you would file it under and let the user correct it; then the id comes from node docs/.sw/sw.mjs next-id <AREA>, the file from docs/.sw/templates/task.md, with the related pages under "Sources" and the confirming check as the first "Done when" item;
    • running the top check now, if it is one you can run from this session (a command, a test, reading code). Otherwise say who can run it and what to look for.

After the problem is solved

When the cause is known and fixed (in this session or a later one), offer to save a lesson: docs/wiki/<slug>.md with type: lesson, a one-line summary: that names the symptom, and the sections Symptom, Cause, Fix, How to notice it earlier; linked from the task that fixed it and listed in index.md. This page is what the next triage finds.

Common mistakes

  • Reading code or reproducing the bug before searching. Triage is the lookup; debugging comes after, with the report in hand.
  • Opening every search result. Summaries and matching lines decide which four are worth reading.
  • Presenting a guess as history. "Seen before" is only for what a page actually records.

よくある質問

AIスキル「Sw Triage」では何ができますか?

Use when the user reports a bug, failure, error, regression, incident or unexpected behavior in a Superwiki project and wants to know whether it happened before, what was learned, or what the likely causes are, or invokes sw-triage.

TypingMindでSw Triageを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Sw Triageはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにSw Triageをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/mhmtsrfglu/superwiki/tree/main/skills/sw-triageを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

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

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

Sw Triageで使えるAIモデルの数に制限はありますか?

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

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

はい。mhmtsrfgluがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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