writing-plans
ما الذي تفعله
تنشئ هذه المهارة خطة تفصيلية للمبرمج لبناء ميزة جديدة. تحدد كل خطوة، والملفات التي يجب تعديلها، والشيفرة الدقيقة، وطريقة الاختبار، وطريقة حفظ العمل.
متى تستخدمها
- ✓عندما تملك فكرة لميزة جديدة.
- ✓عندما تحتاج إلى تقسيم عمل كبير إلى مهام صغيرة.
- ✓عندما تريد أن يعرف المبرمج بالضبط ما عليه فعله.
رابط المهارة
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/writing-plans/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أنشئ خطة تنفيذ لإضافة زر تسجيل الدخول إلى الصفحة الرئيسية.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تقسم المهارة المهمة إلى خطوات صغيرة، مثل كتابة اختبار، ثم جعل الشيفرة تجتاز الاختبار، ثم حفظ العمل. وتحدد الملفات والأوامر الدقيقة التي يجب استخدامها.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Writing Plans
Overview
Write comprehensive implementation plans assuming the engineer has zero context for our codebase and questionable taste. Document everything they need to know: which files to touch for each task, code, testing, docs they might need to check, how to test it. Give them the whole plan as bite-sized tasks. DRY. YAGNI. TDD. Frequent commits.
Assume they are a skilled developer, but know almost nothing about our toolset or problem domain. Assume they don't know good test design very well.
Announce at start: "I'm using the writing-plans skill to create the implementation plan."
Context: This should be run in a dedicated worktree (created by brainstorming skill).
Save plans to: docs/plans/YYYY-MM-DD-<feature-name>.md
Bite-Sized Task Granularity
Each step is one action (2-5 minutes):
- "Write the failing test" - step
- "Run it to make sure it fails" - step
- "Implement the minimal code to make the test pass" - step
- "Run the tests and make sure they pass" - step
- "Commit" - step
Plan Document Header
Every plan MUST start with this header:
# [Feature Name] Implementation Plan
> **For Claude:** REQUIRED SUB-SKILL: Use superpowers:executing-plans to implement this plan task-by-task.
**Goal:** [One sentence describing what this builds]
**Architecture:** [2-3 sentences about approach]
**Tech Stack:** [Key technologies/libraries]
---
Task Structure
### Task N: [Component Name]
**Files:**
- Create: `exact/path/to/file.py`
- Modify: `exact/path/to/existing.py:123-145`
- Test: `tests/exact/path/to/test.py`
**Step 1: Write the failing test**
```python
def test_specific_behavior():
result = function(input)
assert result == expected
Step 2: Run test to verify it fails
Run: pytest tests/path/test.py::test_name -v
Expected: FAIL with "function not defined"
Step 3: Write minimal implementation
def function(input):
return expected
Step 4: Run test to verify it passes
Run: pytest tests/path/test.py::test_name -v
Expected: PASS
Step 5: Commit
git add tests/path/test.py src/path/file.py
git commit -m "feat: add specific feature"
## Remember
- Exact file paths always
- Complete code in plan (not "add validation")
- Exact commands with expected output
- Reference relevant skills with @ syntax
- DRY, YAGNI, TDD, frequent commits
## Execution Handoff
After saving the plan, offer execution choice:
**"Plan complete and saved to `docs/plans/<filename>.md`. Two execution options:**
**1. Subagent-Driven (this session)** - I dispatch fresh subagent per task, review between tasks, fast iteration
**2. Parallel Session (separate)** - Open new session with executing-plans, batch execution with checkpoints
**Which approach?"**
**If Subagent-Driven chosen:**
- **REQUIRED SUB-SKILL:** Use superpowers:subagent-driven-development
- Stay in this session
- Fresh subagent per task + code review
**If Parallel Session chosen:**
- Guide them to open new session in worktree
- **REQUIRED SUB-SKILL:** New session uses superpowers:executing-plans
## When to Use
This skill is applicable to execute the workflow or actions described in the overview.
## Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
الأسئلة الشائعة
ماذا تعني «DRY» و«YAGNI» و«TDD»؟
هي مبادئ برمجية: DRY يعني «لا تكرر نفسك»، وYAGNI يعني «لن تحتاج إليه»، أي لا تبنِ ما لا تحتاجه الآن، وTDD يعني «التطوير المدفوع بالاختبارات»، أي كتابة الاختبار قبل الشيفرة.
ما هي «worktree»؟
هي مساحة عمل منفصلة على حاسوبك لمشروع محدد، تمنع اختلاط الملفات بين المهام المختلفة.
أين تُحفظ الخطة؟
تُحفظ في ملف نصي يحمل التاريخ واسم الميزة، داخل المجلد «docs/plans/» في المشروع.
التفاصيل
الوصف الأصلي من المؤلف
Use when you have a spec or requirements for a multi-step task, before touching code
الشعبية
- نجوم GitHub
- 48k
- الترتيب
- #6212
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
00-andruia-consultant
48kيساعد وكيلك على بدء مشاريع الذكاء الاصطناعي أو تحسينها. يحلل الكود ويقترح الأدوات ويُعد خطط عمل بالإسبانية.
007
48kيتيح لوكيلك إجراء تدقيقات أمنية ونمذجة التهديدات. مفيد لحماية المشاريع من الهجمات والثغرات الأمنية.
10-andruia-skill-smith
48kيساعد وكيلك على إنشاء أدوات الذكاء الاصطناعي أو تحسينها. يحدد طريقة عملها، ويكتب توثيقها، ويتحقق من بنيتها.
20-andruia-niche-intelligence
48kيتيح لوكيلك إعداد ملخص عن صناعة محددة. مفيد لفهم السياق والقواعد وأنماط الاستخدام والمخاطر لمشروع ما، باستخدام مصادر موثوقة.
مهارات مشابهة
obsidian-vault-maintainer
394kيساعد وكيلك على الحفاظ على خزنة ذاكرة متوافقة مع Obsidian، بروابط ويكي تعمل وخصائص متسقة وأقسام آلية آمنة.
wiki-maintainer
394kيساعد وكيلك على صيانة ويكي ذاكرة OpenClaw بصفحات قابلة للتكرار وكتل مُدارة آمنة، مع فحص التناقضات والثغرات.
obsidian
394kيتيح لوكيلك قراءة ملاحظات Obsidian ومهامها وروابطها وخصائصها والبحث فيها وإنشاؤها وتعديلها، عبر سطر أوامر Obsidian الرسمي.