parallel-feature-development by wshobson/agents
npx skills add https://github.com/wshobson/agents --skill parallel-feature-development将功能分解为并行工作流、建立文件所有权边界、避免冲突以及整合多个实施者代理结果的策略。
为每个实施者分配特定目录的所有权:
implementer-1: src/components/auth/
implementer-2: src/api/auth/
implementer-3: tests/auth/
最适合:具有清晰目录边界的组织良好的代码库。
分配逻辑模块的所有权(可能跨越多个目录):
implementer-1: 认证模块(登录、注册、登出)
implementer-2: 授权模块(角色、权限、守卫)
最适合:面向功能的架构、领域驱动设计。
分配架构层的所有权:
implementer-1: UI 层(组件、样式、布局)
implementer-2: 业务逻辑层(服务、验证器)
implementer-3: 数据层(模型、存储库、迁移)
最适合:传统的 MVC/分层架构。
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
每个文件一个所有者。 任何文件都不应分配给多个实施者。
如果一个文件确实需要多个实施者进行更改:
当实施者需要在边界处协调时:
// src/types/auth-contract.ts (由团队负责人拥有,实施者只读)
export interface AuthResponse {
token: string;
user: UserProfile;
expiresAt: number;
}
export interface AuthService {
login(email: string, password: string): Promise<AuthResponse>;
register(data: RegisterData): Promise<AuthResponse>;
}
两位实施者都从契约文件导入,但都不修改它。
每个实施者构建一个完整的功能切片(UI + API + 测试):
implementer-1: 登录功能(登录表单 + 登录 API + 登录测试)
implementer-2: 注册功能(注册表单 + 注册 API + 注册测试)
优点:每个切片可独立测试,所需集成最少。缺点:可能重复共享工具,对于紧密耦合的功能更困难。
每个实施者为所有功能构建一个层:
implementer-1: 所有 UI 组件(登录表单、注册表单、个人资料页)
implementer-2: 所有 API 端点(登录、注册、个人资料)
implementer-3: 所有测试(单元、集成、端到端)
优点:每层内模式一致,自然专业化。缺点:更多集成点,第 3 层依赖于第 1 和第 2 层。
根据耦合度混合垂直和水平模式:
implementer-1: 登录功能(垂直切片 — UI + API + 测试)
implementer-2: 共享认证基础设施(水平 — 中间件、JWT 工具、类型)
最适合:大多数具有一些共享基础设施的真实世界功能。
所有实施者在同一功能分支上工作:
每个实施者在子分支上工作:
feature/auth
├── feature/auth-login (implementer-1)
├── feature/auth-register (implementer-2)
└── feature/auth-tests (implementer-3)
每周安装量
2.4K
代码仓库
GitHub 星标数
32.3K
首次出现
2026 年 2 月 5 日
安全审计
已安装于
gemini-cli2.0K
opencode2.0K
codex2.0K
claude-code1.9K
cursor1.8K
github-copilot1.8K
Strategies for decomposing features into parallel work streams, establishing file ownership boundaries, avoiding conflicts, and integrating results from multiple implementer agents.
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.
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.
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.
One owner per file. No file should be assigned to multiple implementers.
If a file genuinely needs changes from multiple implementers:
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.
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.
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.
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.
All implementers work on the same feature branch:
Each implementer works on a sub-branch:
feature/auth
├── feature/auth-login (implementer-1)
├── feature/auth-register (implementer-2)
└── feature/auth-tests (implementer-3)
Weekly Installs
2.4K
Repository
GitHub Stars
32.3K
First Seen
Feb 5, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykPass
Installed on
gemini-cli2.0K
opencode2.0K
codex2.0K
claude-code1.9K
cursor1.8K
github-copilot1.8K
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
102,200 周安装
App Store Connect CLI 发布流程指南:asc-release-flow 技能详解与自动化提交
1,200 周安装
App Store Connect 提交健康检查指南 - 减少审核失败,监控应用状态
1,200 周安装
Xcode构建与导出指南:使用asc-xcode-build自动化iOS/macOS应用上传App Store
1,200 周安装
AI事实核查工具 - 专业级信息验证助手 | 识别虚假信息,评估证据可信度
1,200 周安装
i18n国际化与本地化最佳实践指南:React、Next.js、Python多语言开发
1,200 周安装
Nest.js专家:企业级Node.js应用架构、依赖注入、测试与数据库集成解决方案
1,200 周安装