Logotipo de Spike

Spike

Comunidad
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.

Descripción general

Editordan-the-dev
Repositorioxp-developer-skills
Nombre de la habilidadspike
Estrellas
33
Forks
1
Archivos incluidos
8
Enlaces
  • Instrucciones en Markdown

    Un archivo SKILL.md que el modelo carga cuando lo necesita, de modo que solo consume tokens cuando una petición es realmente relevante.

  • Funciona con cualquier LLM

    Las habilidades de IA están en Markdown, no en código específico de un proveedor, por lo que funcionan con GPT, Claude, Gemini, Grok o un modelo local.

  • 8 archivos incluidos

    Scripts, plantillas y referencias que el modelo puede leer mientras trabaja. Los archivos son de solo lectura y nunca se ejecutan.

  • Código abierto

    Publicada por dan-the-dev en GitHub. Revisa el contenido original antes de instalarla.

Instalación

Instala la habilidad de IA Spike en TypingMind para usarla con cualquier LLM, o añádela a otro agente que lea SKILL.md.

1

Instalar en TypingMind

TypingMind instala una habilidad directamente desde su carpeta de GitHub: lee SKILL.md, empaqueta los archivos de recursos y guarda el resultado localmente.

  1. Abre la aplicación y ve a Plugins → Habilidades.
  2. Elige «Instalar desde GitHub».
  3. Pega la URL de la carpeta de la habilidad que se muestra a continuación y confirma.
    https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike
  4. Activa la habilidad en cada chat en el que quieras tenerla disponible.
Plugins → Habilidades → Añadir habilidad → Desde URL de GitHub; después, pega la URL de la carpeta y pulsa Continuar.
2

Instalar en otro agente

Cualquier agente que lea el formato Agent Skills puede usar esta habilidad: copia la carpeta en el directorio de habilidades de ese agente.

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
Reinicia Claude Code después de copiarla para que detecte la nueva habilidad.

Úsala en TypingMind

Activa Spike en cualquier chat de TypingMind y el modelo se encargará del resto. Su nombre y descripción se incluyen en el prompt del sistema y, en cuanto una petición es relevante, el modelo carga las instrucciones completas por sí solo. No tienes que invocarla manualmente y no consume tokens hasta que se utiliza.

El modelo carga Spike automáticamente en cuanto una petición es relevante para esa habilidad.

Funciona con cualquier modelo de IA

Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que Spike no está vinculada al modelo para el que se creó. Instálala una sola vez en TypingMind y úsala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modelo local que ejecutes tú, todo con tus propias claves API.

  • Se carga solo cuando se necesita

    El prompt del sistema solo incluye el nombre y la descripción. Las instrucciones se cargan con la primera petición relevante, por lo que una habilidad que no se usa no supone ningún coste.

  • Cambia de modelo durante el chat

    Como la habilidad contiene instrucciones y no código, cambiar de modelo no impide que funcione: el nuevo modelo lee el mismo archivo SKILL.md.

Instrucciones de la habilidad

Este es el contenido de SKILL.md que carga el modelo. Léelo antes de instalar la habilidad: contiene instrucciones que tu modelo seguirá.

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.

Archivos incluidos

El modelo los lee según los necesita mientras la habilidad está cargada. Se ofrecen como archivos de lectura y nunca se ejecutan.

Preguntas frecuentes

¿Qué hace la habilidad de IA 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.

¿Por qué usar Spike en TypingMind?

Porque la instalas una vez y la usas con cualquier modelo. Spike está escrita en Markdown, no en código específico de un proveedor, por lo que la misma habilidad funciona con GPT-5, Claude, Gemini, Grok o un modelo local, y puedes cambiar de modelo en mitad del chat sin que deje de funcionar. TypingMind utiliza tus propias claves API, de modo que pagas directamente a los proveedores en lugar de pagar una suscripción por puesto, y tus habilidades y chats permanecen en tu propio almacenamiento.

¿Cómo instalo Spike en TypingMind?

Abre Plugins → Habilidades → Instalar desde GitHub en TypingMind y pega https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike. TypingMind lee su archivo SKILL.md, empaqueta sus archivos y la instala como una habilidad que puedes activar en cada chat.

¿Qué modelos de IA pueden usar Spike?

Cualquier modelo que conectes en TypingMind. Las habilidades de IA son instrucciones en Markdown, no código específico de un proveedor, por lo que GPT, Claude, Gemini, Grok y los modelos locales pueden cargar esta habilidad cuando una solicitud se corresponda con ella.

¿Con cuántos modelos de IA puedo usar Spike?

Con tantos como quieras. Siempre que un modelo admita habilidades, puedes usar Spike con él: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama y muchos más, todos en TypingMind con tus propias claves API.

¿Es gratuita la habilidad de IA Spike?

dan-the-dev la ha publicado en GitHub. Consulta el repositorio para conocer las condiciones de la licencia. Solo pagas a tu proveedor de IA por los tokens que utilizas.

¿Qué son las habilidades de IA?

Una habilidad de IA es un conjunto de instrucciones reutilizables que enseña a un modelo de IA a realizar una tarea concreta. Sigue el formato abierto Agent Skills: un archivo SKILL.md con un nombre y una descripción, además de los scripts, plantillas o archivos de referencia que pueda necesitar el modelo. El modelo solo lee las instrucciones cuando tu solicitud se corresponde con la habilidad, por lo que una habilidad instalada no supone ningún coste hasta que se utiliza.

¿En qué se diferencian las habilidades de IA de los plugins o los servidores MCP?

Un plugin o un servidor MCP proporciona al modelo nuevas herramientas que puede invocar: código que se ejecuta en algún lugar y devuelve un resultado. En cambio, una habilidad de IA aporta conocimientos y procedimientos al modelo: cómo abordar una tarea, qué pasos seguir y qué se considera un buen resultado. Las habilidades son instrucciones en Markdown, por lo que no necesitan servidor, clave API ni entorno de ejecución, y funcionan con cualquier modelo.

Ver todos

Crea ya tu propio espacio de trabajo IA

Suscríbete a nuestro boletín para recibir avisos sobre nuevas funciones y próximos sorteos 👇