Skillpedia
برمجة عامة15k · #10988

principle-sequence-verifiable-units

ما الذي تفعله

تمنح هذه المهارة وكيلك قاعدة لتنفيذ مجموعات كبيرة من التغييرات بأمان. وهي لمطوّرين ينفذون هجرات أو عمليات مسح أو تعديلات متشابهة كثيرة.

متى تستخدمها

  • ✓عندما تملك هجرة متعددة الخطوات أو مسحًا أو سلسلة تعديلات متشابهة.
  • ✓عندما تريد اكتشاف التعطل في الخطوة التي سببته.
  • ✓عندما تكدّس إيداعات أو طلبات سحب ليتابعها المراجع.

رابط المهارة

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-sequence-verifiable-units/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/principle-sequence-verifiable-units/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“نعيد تسمية هذه الدالة في كامل قاعدة الكود. نفّذ ذلك على خطوات صغيرة مفحوصة، ورتّب الإيداعات حتى يتابعها المراجع.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يتحقق وكيلك من كل تغيير قبل البدء في التالي، فيُكتشف التعطل في الخطوة التي سببته. ويرتّب الإيداعات بحيث تثبت القصة نفسها، مثل اختبار فاشل أولًا ثم الإصلاح فوقه.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Sequence work into verifiable units

Order work as a sequence of small units, each ending in a state you can check, and don't advance until the current one is green.

Why: A break caught at the unit that caused it is cheap to localize. A break caught after a batch is buried, and you have already built further on a broken base. Sequencing those same units into a delivery a reviewer can replay turns "trust me" into "watch it go red, then green."

Execution. In a sweep, migration, or any run of similar edits, verify each change before starting the next. Each unit is a before/after bracket: known-good state, one change, run the check, then proceed. Rebase onto clean trunk first so every check measures against the real baseline. When a lever does the edits, the per-unit check is nearly free. Run it anyway.

Delivery. Stack commits and PRs in the order that proves the work. The canonical shape is the failing test first, then the fix on top. Other story orders are a subtraction before the reshape, a baseline capture before the treatment, the scaffold before the feature. Each commit lands on its own and the sequence reads as an argument.

The sequencing complement to the prove-it-works principle skill, which keeps each check real, and the build-the-lever principle skill, which makes the per-unit check cheap.

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

لماذا نفحص بعد كل خطوة؟

التعطل الذي يُكتشف في خطوته يسهل تحديد موضعه، أما الذي يُكتشف بعد دفعة كاملة فيكون مدفونًا تحت عمل لاحق.

ما الترتيب المعتاد للإيداعات؟

اختبار فاشل أولًا، ثم الإصلاح فوقه، بحيث تُقرأ السلسلة كحجة واضحة.

هل يسهّل السكربت ذلك؟

نعم. عندما يُجري السكربت التعديلات، يصبح الفحص بعد كل خطوة شبه مجاني، لكنه يجب أن يُشغَّل.

التفاصيل

الوصف الأصلي من المؤلف

Apply to multi-step work (sweeps, migrations, runs of similar edits) and to how you stack commits and PRs. Break work into small units that each end in a verifiable state, check each before the next, and order delivery so the sequence proves itself to a reviewer.

repo: cursor/plugins

الشعبية

نجوم GitHub
15k
الترتيب
#10988
الترخيص
—
آخر تحديث
31‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة