Langsung ke konten
Skillpedia
Tugas & proyek41k ยท #6629

parallel-feature-development

Fungsinya

Skill ini membantu tim AI memecah tugas besar menjadi bagian-bagian kecil yang saling independen. Skill ini menentukan siapa yang bertanggung jawab atas bagian kode tertentu dan bagaimana mencegah bagian kode yang berbeda saling bertabrakan saat dikerjakan secara bersamaan.

Kapan dipakai

  • โœ“Saat memecah tugas besar menjadi tugas-tugas yang lebih kecil.
  • โœ“Saat beberapa AI perlu mengerjakan proyek yang sama bersama-sama.
  • โœ“Untuk menentukan siapa yang mengerjakan file kode tertentu.

Link skill

https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/parallel-feature-development/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/wshobson/agents/blob/main/plugins/agent-teams/skills/parallel-feature-development/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit โ†’

Contoh permintaan ke AI

โ€œBagi pembuatan website menjadi beberapa bagian: satu AI menangani tampilan (frontend), AI lain menangani data (backend), dan AI ketiga menangani pengujian.โ€

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menetapkan aturan yang jelas tentang AI mana yang memiliki bagian kode tertentu. Jika dua AI perlu mengerjakan file yang sama, salah satunya menjadi pemilik, dan yang lain mengajukan permintaan perubahan.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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:

  1. Designate a single owner โ€” One implementer owns the file
  2. Other implementers request changes โ€” Message the owner with specific change requests
  3. Owner applies changes sequentially โ€” Prevents merge conflicts
  4. 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.

โ€ฆ

Pertanyaan umum

Apa yang terjadi jika dua AI mencoba mengubah file yang sama pada waktu yang bersamaan?

Hal ini tidak akan terjadi. Selalu ada satu AI yang menjadi pemilik resmi file tersebut. AI lain harus meminta perubahan kepada pemilik, yang kemudian menerapkannya.

Bagaimana AI tahu bagian kode mana yang harus mereka kerjakan?

Skill ini dapat membagi pekerjaan berdasarkan direktori, fitur (modul), atau lapisan (UI, logika, data).

Bagaimana jika salah satu AI selesai lebih dulu daripada yang lain?

AI tersebut dapat membuat 'kerangka' atau mock dari bagian yang dibutuhkan agar yang lain bisa terus bekerja, dan integrasi final dilakukan kemudian.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
41k
Peringkat
#6629
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • โ€ฆ

Skill lain dari repositori ini

Skill serupa