شعار 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 يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 8

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها dan-the-dev على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Spike في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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

فعّل Spike في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Spike تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Spike بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف 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.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Spike على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Spike عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Spike في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/dan-the-dev/xp-developer-skills/tree/master/skills/spike. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Spike؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Spike؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Spike معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Spike مجانية؟

نشرها dan-the-dev على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇