Logo Spike

Spike

Cộng đồng
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.

Tổng quan

Nhà phát hànhdan-the-dev
Kho mãxp-developer-skills
Tên kỹ năngspike
Sao
33
Bản fork
1
Tệp đi kèm
8
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 8 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được dan-the-dev công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Spike trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Spike trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Spike ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Spike không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Tệp đi kèm

Mô hình đọc các tệp này khi cần trong lúc kỹ năng được tải. Các tệp được cung cấp ở dạng có thể đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Spike làm được gì?

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.

Vì sao nên dùng Spike trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Spike là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Spike trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Spike?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Spike với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Spike với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Spike có miễn phí không?

Kỹ năng này được dan-the-dev phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇