شعار New Increment

New Increment

المجتمع
dan-the-dev
new-increment

Deliver one releasable increment from increments/<feature>.md — strict TDD by default (one test-lists/<feature>.md, unit tests). ATDD only when a real outer seam exists (API/UI/contract). One increment per invocation; RED before GREEN; all project verify steps green before done; commit then stop. Not for whole-feature planning (skills/new-feature).

نظرة عامة

الناشرdan-the-dev
المستودعxp-developer-skills
اسم المهارةnew-increment
النجوم
33
التفريعات
1
الملفات المرفقة
5
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

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

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

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

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

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

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

التثبيت

ثبّت مهارة الذكاء الاصطناعي New Increment في 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/new-increment
  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/new-increment .claude/skills/new-increment
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

New increment (one slice)

Mission

Implement exactly one open line from increments/<feature-stem>.md.

Default: skills/tdd/SKILL.md only — unit (or narrow integration) tests, behaviors tracked in one test-lists/<feature-stem>.md (section per increment).

When a real outer seam exists: compose skills/atdd/SKILL.md at that boundary, then TDD inside. Never duplicate the same assertions in acceptance and unit layers.

Always: complete test strategy before first RED; during RGR run scoped tests only; apply Simple Design on REFACTOR (docs/simple-design.md — mandatory Object Calisthenics; patterns only toward evidenced smells); at the end run all applicable verify steps; leave the suite green; commit on the feature branch; mark the parent backlog line [x]; stop. Never start the next backlog line — even if the user asked for the whole feature (that is new-feature automatic mode).


Workflow

Shared delivery rules: docs/delivery-process.md and docs/project-verification.md.

  1. Lock scope to one [ ] backlog line. Stay on the feature branch feat/<feature-stem> (create it only if missing) — never a new branch per increment, and never merge to main between increments (delivery-process.md §1a). Record the branch's current commit SHA (git rev-parse HEAD) as the start point — you will squash back to it in step 11.
  2. Test strategy — test-strategy-selection.md: discover configured jobs; complete adopt/skip table before first RED (checklists/test-strategy.md). On greenfield, introduce mutation (and other warranted practices) when characterization says adopt and the introduce-tooling threshold is met — do not wait to be asked; teaching/kata may skip with an explicit reason. For an owned third-party API client, follow §3a (prefer SDK; sandbox when feasible; else manual fake/stub).
  3. Discover project verification for the language/module you will touch (§2; project-verification.md) — README, CI, scripts, Makefile, Sonar, mutation config; do not assume one command.
  4. Choose layer — references/scoped-atdd-tdd.md (TDD-only vs ATDD+TDD; Gherkin only when Distill needs it).
  5. Artifacts — references/artifact-policy.md: one feature test list; no per-increment markdown sprawl.
  6. RED → GREEN → REFACTOR per behavior; one failing check at a time; after each edit run only the narrowest tests for what you touched (file/test id/package) — not the full suite mid-increment. REFACTOR must satisfy Simple Design + mandatory Object Calisthenics on touched OO (docs/design-quality.md).
  7. If construction/import/API changed, search and update all call sites in scope (§3).
  8. Update parent increments/… to [x] with link to test list section (and acceptance section if used) — only after verification is fully green.
  9. Cleanup redundant slice-only markdown if created by mistake.
  10. At increment end only: run all applicable project verify steps — full test suite scoped to the module/package/app you touched when the project is multi-module and defines a narrower command; the entire repo suite only when no such scoping exists — plus lint, format, typecheck, SonarQube, mutation job if adopted (§2). None may be skipped because another already passed. If any step is red → fix; do not stop as done.
  11. Commit — mandatory, squashed. Ensure this increment's work is committed on the same feature branch (follow skills/tdd micro-commits during RGR). Before returning, squash every commit made since the step-1 start point into one commit for this line:
    git reset --soft <start-point-sha>
    git commit -m "<type>: <increment summary>"
    Confirm git status reports a clean working tree. Never return with uncommitted changes or more than one commit for this line. AMPD agents: commit is part of done. Outside AMPD delivery workflows, follow the user's git policy. Do not merge to main or open a per-increment PR unless the user asks.
  12. Mini-journal — mandatory. Write a short recap (2–4 bullets: what shipped, key files/seams) and a review-focus note (1–3 bullets: the trickiest or riskiest part of this diff) — see Return payload. This is what increment-review and new-feature read instead of re-deriving intent from the diff.
  13. Return payload (§10) including test strategy table, Design note (docs/design-quality.md), verification table, single commit SHA, feature branch name, and the mini-journal; stop — do not start the next increment.

Prep if needed: skills/legacy-testing (invalid harness), skills/refactoring, skills/spike — then resume.


Definition of done

  • One backlog line only; test strategy table completed before first RED (test-strategy-selection.md)
  • All project verify steps for this scope passed (§2; project-verification.md) — including adopted practices (mutation, contract, integration, etc.)
  • Hard green gate: no applicable verify step left red
  • Work committed and squashed to one commit for this line; git status clean — no uncommitted slice leftovers presented as done
  • RED observed before each production change (see scoped reference)
  • Mini-journal delivered (recap + review-focus bullets) for increment-review / new-feature
  • Touched owned OO complies with Object Calisthenics / Simple Design (or stated boundary exception); no speculative pattern theater (docs/design-quality.md)
  • Test list lines [x] only with passing checks referenced
  • No duplicate acceptance + unit tests for the same behavior
  • Change-surface complete if APIs/seams changed (§3)
  • Parent increment line [x]
  • No behavior from future increments
  • Return payload delivered (§10) including Design note when OO production was touched; stopped (next line is new-feature’s decision)

Checklist: checklists/increment-done.md, checklists/test-strategy.md.


Anti-patterns

  • Implementing multiple backlog lines in one session (even under “automatic” feature mode)
  • Stopping with failing tests or unverified adopted practices
  • Leaving the increment uncommitted, or leaving its RGR micro-commits unsquashed, when claiming done
  • Returning without a mini-journal (recap + review-focus)
  • acceptance-examples/ + unit tests with identical assertions (documentation theater)
  • Per-increment test-lists/<slice>.md files (use one feature file)
  • Marking [x] on markdown before tests exist or fail
  • Writing full test files and full production in one step
  • Skipping mutation on greenfield branchy domain with only “not configured” when the introduce-tooling threshold is met
  • Forcing mutation tooling into teaching/kata slices or when setup clearly dominates the slice
  • Batch message: “implementing increments 2–7”
  • Per-increment git branch (feat/<feature>-<increment-slug>) or merge-to-main between increments — keep one feature branch (§1a)
  • Full suite on every RGR step — scoped tests mid-increment; full verify only at step 10
  • Leaving procedural multi-case if/else on owned OO (calisthenics breach) or introducing speculative GoF hierarchies

See references/anti-patterns.md.


Additional resources

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

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

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

ماذا تفعل مهارة الذكاء الاصطناعي New Increment؟

Deliver one releasable increment from increments/<feature>.md — strict TDD by default (one test-lists/<feature>.md, unit tests). ATDD only when a real outer seam exists (API/UI/contract). One increment per invocation; RED before GREEN; all project verify steps green before done; commit then stop. Not for whole-feature planning (skills/new-feature).

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

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

كيف أثبّت New Increment في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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