parallel-feature-development
ما الذي تفعله
تساعد هذه المهارة فرق الذكاء الاصطناعي على تقسيم المهام الكبيرة إلى أجزاء أصغر ومستقلة. تحدد من المسؤول عن أي جزء من الشيفرة، وكيف يمنع تعارض أجزاء الشيفرة عند العمل عليها في الوقت نفسه.
متى تستخدمها
- ✓عندما تقسّم مهمة كبيرة إلى مهام أصغر.
- ✓عندما يحتاج عدة ذكاءات اصطناعية إلى العمل معًا على المشروع نفسه.
- ✓عندما تحدد من يعمل على أي ملف من ملفات الشيفرة.
رابط المهارة
https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/parallel-feature-development/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“قسّم إنشاء موقع إلى أجزاء: ذكاء اصطناعي يتولى المظهر (الواجهة الأمامية)، وآخر يتولى البيانات (الواجهة الخلفية)، وثالث يتولى الاختبار.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تضع هذه المهارة قواعد واضحة لتحديد أي ذكاء اصطناعي يملك أي جزء من الشيفرة. وإذا احتاج ذكاءان إلى العمل على الملف نفسه، يكون أحدهما المالك، ويطلب الآخر التغييرات من المالك.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Parallel Feature Development
Strategies for decomposing features into parallel work streams, establishing file ownership boundaries, avoiding conflicts, and integrating results from multiple implementer agents.
When to Use This Skill
- Decomposing a feature for parallel implementation
- Establishing file ownership boundaries between agents
- Designing interface contracts between parallel work streams
- Choosing integration strategies (vertical slice vs horizontal layer)
- Managing branch and merge workflows for parallel development
File Ownership Strategies
By Directory
Assign each implementer ownership of specific directories:
implementer-1: src/components/auth/
implementer-2: src/api/auth/
implementer-3: tests/auth/
Best for: Well-organized codebases with clear directory boundaries.
By Module
Assign ownership of logical modules (which may span directories):
implementer-1: Authentication module (login, register, logout)
implementer-2: Authorization module (roles, permissions, guards)
Best for: Feature-oriented architectures, domain-driven design.
By Layer
Assign ownership of architectural layers:
implementer-1: UI layer (components, styles, layouts)
implementer-2: Business logic layer (services, validators)
implementer-3: Data layer (models, repositories, migrations)
Best for: Traditional MVC/layered architectures.
Conflict Avoidance Rules
The Cardinal Rule
One owner per file. No file should be assigned to multiple implementers.
When Files Must Be Shared
If a file genuinely needs changes from multiple implementers:
- Designate a single owner — One implementer owns the file
- Other implementers request changes — Message the owner with specific change requests
- Owner applies changes sequentially — Prevents merge conflicts
- Alternative: Extract interfaces — Create a separate interface file that the non-owner can import without modifying
Interface Contracts
When implementers need to coordinate at boundaries:
// src/types/auth-contract.ts (owned by team-lead, read-only for implementers)
export interface AuthResponse {
token: string;
user: UserProfile;
expiresAt: number;
}
export interface AuthService {
login(email: string, password: string): Promise<AuthResponse>;
register(data: RegisterData): Promise<AuthResponse>;
}
Both implementers import from the contract file but neither modifies it.
Integration Patterns
Vertical Slice
Each implementer builds a complete feature slice (UI + API + tests):
implementer-1: Login feature (login form + login API + login tests)
implementer-2: Register feature (register form + register API + register tests)
Pros: Each slice is independently testable, minimal integration needed. Cons: May duplicate shared utilities, harder with tightly coupled features.
Horizontal Layer
Each implementer builds one layer across all features:
implementer-1: All UI components (login form, register form, profile page)
implementer-2: All API endpoints (login, register, profile)
implementer-3: All tests (unit, integration, e2e)
Pros: Consistent patterns within each layer, natural specialization. Cons: More integration points, layer 3 depends on layers 1 and 2.
Hybrid
Mix vertical and horizontal based on coupling:
implementer-1: Login feature (vertical slice — UI + API + tests)
implementer-2: Shared auth infrastructure (horizontal — middleware, JWT utils, types)
Best for: Most real-world features with some shared infrastructure.
Branch Management
Single Branch Strategy
All implementers work on the same feature branch:
- Simple setup, no merge overhead
- Requires strict file ownership to avoid conflicts
- Best for: small teams (2-3), well-defined boundaries
Multi-Branch Strategy
Each implementer works on a sub-branch:
feature/auth
├── feature/auth-login (implementer-1)
├── feature/auth-register (implementer-2)
└── feature/auth-tests (implementer-3)
- More isolation, explicit merge points
- Higher overhead, merge conflicts still possible in shared files
- Best for: larger teams (4+), complex features
Troubleshooting
Implementers are blocking each other waiting for shared code.
…
الأسئلة الشائعة
ماذا يحدث إذا حاول ذكاءان اصطناعيان تغيير الملف نفسه في الوقت ذاته؟
هذا لا يحدث. فهناك دائمًا ذكاء اصطناعي واحد هو المالك الرسمي للملف. وعلى الآخرين طلب التغييرات من المالك، الذي يطبقها.
كيف تعرف الذكاءات الاصطناعية الجزء الذي يجب أن تعمل عليه؟
يمكن للمهارة تقسيم العمل حسب المجلدات، أو حسب الميزات (الوحدات)، أو حسب الطبقات (الواجهة والمنطق والبيانات).
ماذا لو انتهى أحد الذكاءات قبل الآخرين؟
يمكنه إنشاء «هيكل» أو نسخة وهمية من الجزء الذي يحتاجه الآخرون حتى يكملوا عملهم، ثم تتم عملية الدمج النهائية لاحقًا.
التفاصيل
الوصف الأصلي من المؤلف
Coordinate parallel feature development with file ownership strategies, conflict avoidance rules, and integration patterns for multi-agent implementation. Use this skill when decomposing a large feature into independent work streams, when two or more agents need to implement different layers of the same system simultaneously, when establishing file ownership to prevent merge conflicts in a shared
repo: wshobson/agents
الشعبية
- نجوم GitHub
- 41k
- الترتيب
- #6629
- الترخيص
- MIT
- آخر تحديث
- 15/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
screen-reader-testing
41kيجعل وكيلك يختبر مواقع الويب باستخدام قارئات الشاشة للتأكد من أنها سهلة الوصول.
wcag-audit-patterns
41kيساعد وكيلك على تدقيق مواقع الويب من حيث إمكانية الوصول، وإصلاح المشكلات وفق إرشادات WCAG.
multi-reviewer-patterns
41kيمكّن وكيلك من تنسيق مراجعات الشيفرة المتوازية، مع إزالة التكرار في الملاحظات ودمج التقارير.
parallel-debugging
41kيتيح للوكيل تصحيح الأخطاء المعقدة عبر تحقيقات متوازية وتحليل السبب الجذري.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.