Spikeのロゴ

Spike

コミュニティ
dan-the-dev
spike

XP-style spike — time-boxed experiment on an isolated branch; code is disposable. Answer one technical or design question (feasibility, library fit, performance bound, integration). Use automated checks only when they help prove the goal — no delivery test pyramid, no ATDD/TDD discipline on the spike branch. Explicit promotion to skills/atdd, skills/tdd, or skills/legacy-testing when learning is done. Use for unknowns before committing to product work, not for shipping features.

概要

公開者dan-the-dev
リポジトリxp-developer-skills
スキル名spike
スター
33
フォーク
1
同梱ファイル
8
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 8個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

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

インストール

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

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dan-the-dev/xp-developer-skills.git /tmp/xp-developer-skills
mkdir -p .claude/skills
cp -r /tmp/xp-developer-skills/skills/spike .claude/skills/spike
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

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

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

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

スキルの指示

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

Spike (time-boxed experiment)

Mission

A spike is a small, time-boxed experiment to reduce uncertainty: prove a point, test an idea, a feature approach, or a library / API / integration — not to deliver production-ready software.

All spike code lives on an isolated branch (see references/charter-and-timebox.md). Treat that branch as throwaway: merge to main only after explicit promotion into normal delivery workflows; default outcome is discard the branch and keep the spike report.

Optimize for:

  • One clear question (hypothesis) and evidence (yes / no / inconclusive)
  • Isolation — experiment does not pollute main or production paths
  • Speed of learning — ignore polish, pyramid, and “proper” architecture unless they are the question
  • Honest handoff — promotion to skills/atdd, skills/tdd, or skills/legacy-testing when building for real

NOT for:

  • shipping user-facing behavior from the spike branch as-is
  • full test pyramid, example catalogs, or test lists on the spike branch
  • skills/bugfix, skills/refactoring (delivery hats), or legacy harness unless the spike question is specifically “can we test this seam?”

What a spike is (XP)

From Extreme Programming: a very simple program (or script) that explores a tough technical or design problem, addresses only that problem, and is often thrown away. Goal: reduce risk or improve estimates — “What is the simplest thing we can try that convinces us we are on the right track?” (Kent Beck / Ward Cunningham).

Use spikes when you are knowledge-limited, not merely time-limited. See references/definition-and-when.md.


Isolated branch (mandatory)

Before writing spike code:

  1. Create a dedicated branch — e.g. spike/<short-question-slug> off the agreed base (main / develop).
  2. Do all spike edits on that branch only — no mixed commits on feature or main branches.
  3. Assume disposal — do not depend on spike structure in production; do not ask reviewers to treat spike code as product.

When the spike ends:

  • Discard: delete branch or abandon without merge; keep spike report (charter artifact).
  • Promote: open a new branch / slice and re-implement (or carefully port ideas, not bulk paste) under skills/atdd / skills/tdd / skills/legacy-testing.

Tests on a spike (pragmatic only)

Spikes are not governed by the delivery test pyramid (references/spike-vs-other-skills.md).

Use automated checks when…Skip when…
They directly prove the hypothesis (script assertion, one integration call, timing log)You would be building a “proper” unit/integration suite for maintainability
A failing check would invalidate the approach quicklyATDD example catalog or TDD test list is required
A one-off test is faster than manual clickingRefactoring for testability is unrelated to the question

No requirement for: layered pyramid, characterization of full modules, Gherkin, CI gates on the spike branch, or green-before-every-step TDD. Manual proof (logs, screenshots, measured latency) is valid when it answers the charter.


Workflow

1. Charter (before code)

Record in chat or docs/spikes/<slug>.md (see references/charter-and-timebox.md):

  • Hypothesis / question (one sentence)
  • Success signal / failure signal
  • Time box
  • Out of scope (including: “no production design”, “no full test suite”)
  • Branch name (spike/…)

2. Explore (on spike branch only)

  • Smallest code, script, or config to learn
  • Stop when the question is answered or the time box expires
  • Prefer prove the point over clean code

3. Stop and report

Produce a spike report (template in Output format):

  • Verdict: yes / no / inconclusive
  • Evidence
  • Recommendation: discard branch | promote (which skill next) | follow-up spike (narrower question)

4. Promotion (explicit only)

If building product:

SituationNext skill
Need agreed business examples + acceptanceskills/atdd
Clear slice, programmer testsskills/tdd
Untested production area must changeskills/legacy-testing first
Still unknownAnother spike with a smaller question

Do not merge spike branch as “done feature.”

Detail: references/promotion-and-handoff.md.


Composition with other skills

SkillRelationship
skills/atddAfter spike: agree examples and automate acceptance on a delivery branch
skills/tddAfter spike: test list + R–G–R for real behavior
skills/legacy-testingAfter spike: harness when you must change untested code
skills/refactoringNot on spike branch for cleanup; optional on delivery branch if tests green
skills/bugfixWrong tool — known defect needs bugfix, not exploration

Anti-patterns (summary)

  • Spike code on main or a feature branch without isolation
  • Merging spike branch without promotion plan
  • Building full test pyramid “while we’re here”
  • Eternal spike — no time box, no report
  • Spike-as-feature — shipping spike code without ATDD/TDD

Full list: references/anti-patterns.md.


Definition of done (spike slice)

  • Charter recorded; work on spike/… branch only
  • Time box honored or explicitly extended with reason
  • Spike report complete (verdict + evidence + recommendation)
  • Branch discarded or promotion named with target skill — not ambiguous “we’ll clean later”

Checklists: checklists/before-spike.md, checklists/spike-done.md.


Output format

markdown
## Spike: <short title>

### Charter
- Branch: `spike/<slug>` (isolated; disposable)
- Hypothesis: …
- Success / failure: …
- Time box: …
- Out of scope: …

### What we tried (on spike branch only)
- …

### Evidence
- …

### Verdict
- yes | no | inconclusive

### Recommendation
- discard branch | promote to <atdd | tdd | legacy-testing | follow-up spike>
- If promote: what to re-build cleanly on a new branch (do not assume spike code merges as-is)

### Tests used (if any)
- Purpose-built checks only: … — or “none; manual / script evidence”

Additional resources

References

Examples

Checklists

Bibliography

Resource usage

Open references when branch isolation, test scope, or promotion vs discard is unclear.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

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

XP-style spike — time-boxed experiment on an isolated branch; code is disposable. Answer one technical or design question (feasibility, library fit, performance bound, integration). Use automated checks only when they help prove the goal — no delivery test pyramid, no ATDD/TDD discipline on the spike branch. Explicit promotion to skills/atdd, skills/tdd, or skills/legacy-testing when learning is done. Use for unknowns before committing to product work, not for shipping features.

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

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

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

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spikeを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

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

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

Spikeは何個のAIモデルで使えますか?

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

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

dan-the-devがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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