Token导航 LogoToken导航TokenDH.com
研究检索权限需确认github未标认证来源可访问clear审计未展示

subagent-driven-development子 Agent 驱动开发

Agent Skill

subagent-driven-development 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

21,270

周安装

587

GitHub Stars

公开资料未说明

下载量

7,869
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:subagent-driven-development(子 Agent 驱动开发)
来源仓库:https://github.com/chunkytortoise/enterprisehub
仓库路径:skills/subagent-driven-development
安装命令:
npx skills add chunkytortoise/enterprisehub --skill "subagent-driven-development"
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

AgentSkills.tonpx skills
npx skills add chunkytortoise/enterprisehub --skill "subagent-driven-development"

简介

用于驱动子 Agent 完成特定领域任务开发。

  • 适合按角色分工(如测试、文档、UI)分配职责。
  • 使用时需定义每个子 Agent 的能力边界与输入规范。
  • 避免过度拆分导致通信开销增加。subagent-driven-development 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 建议设置主 Agent 作为协调者汇总结果并做最终决策。

SKILL.md

name
Subagent-Driven Development
description
This skill should be used when coordinating "multiple specialized agents", "complex workflow orchestration", "autonomous development teams", "agent collaboration", "distributed task management", or when managing sophisticated multi-agent development processes.
version
2.0.0

Subagent-Driven Development: Multi-Agent Coordination

Overview

This skill provides comprehensive patterns for orchestrating multiple specialized agents in complex development workflows. It enables sophisticated coordination between autonomous agents, each with specific expertise and responsibilities.

When to Use This Skill

Use this skill when implementing:

  • Multi-agent development workflows with specialized roles
  • Complex task orchestration requiring multiple expertise areas
  • Autonomous development teams with agent coordination
  • Parallel workflow execution with dependency management
  • Agent collaboration patterns for complex problems
  • Distributed task management across multiple agents
  • Quality assurance through specialized reviewers

Quick Start

1. Basic Multi-Agent Workflow

from subagent_framework import WorkflowOrchestrator, Task, AgentType, Priority

# Create orchestrator
orchestrator = WorkflowOrchestrator()

# Register specialized agents
orchestrator.register_agent(ArchitectAgent("architect_001"))
orchestrator.register_agent(DeveloperAgent("developer_001"))
orchestrator.register_agent(TesterAgent("tester_001"))

# Define task workflow
tasks = [
    Task(
        id="design_001",
        title="Design System Architecture",
        agent_type=AgentType.ARCHITECT,
        priority=Priority.HIGH,
        input_data={'requirements': {...}}
    ),
    Task(
        id="implement_001",
        title="Implement Feature",
        agent_type=AgentType.DEVELOPER,
        priority=Priority.HIGH,
        dependencies=["design_001"],  # Depends on architect
        input_data={'specification': {...}}
    ),
    Task(
        id="test_001",
        title="Test Implementation",
        agent_type=AgentType.TESTER,
        priority=Priority.MEDIUM,
        dependencies=["implement_001"],  # Depends on developer
        input_data={'test_type': 'integration'}
    )
]

# Execute workflow
results = await orchestrator.execute_workflow(tasks)

2. Parallel Agent Execution

# Create tasks that can run in parallel
parallel_tasks = [
    Task(
        id="frontend_dev",
        title="Develop Frontend",
        agent_type=AgentType.DEVELOPER,
        dependencies=["design_001"],
        input_data={'component': 'ui'}
    ),
    Task(
        id="backend_dev",
        title="Develop Backend API",
        agent_type=AgentType.DEVELOPER,
        dependencies=["design_001"],
        input_data={'component': 'api'}
    ),
    Task(
        id="database_dev",
        title="Develop Database Schema",
        agent_type=AgentType.DEVELOPER,
        dependencies=["design_001"],
        input_data={'component': 'database'}
    )
]

# These tasks will execute in parallel (same dependency level)
results = await orchestrator.execute_workflow(parallel_tasks)

3. Quality Gate Workflow

# Add quality gate for production-critical code
quality_workflow = [
    Task(id="develop", agent_type=AgentType.DEVELOPER, ...),
    Task(
        id="security_review",
        agent_type=AgentType.SECURITY,
        dependencies=["develop"],
        priority=Priority.CRITICAL,
        input_data={'scan_type': 'comprehensive'}
    ),
    Task(
        id="quality_gate",
        agent_type=AgentType.QUALITY_GATE,
        dependencies=["security_review"],
        priority=Priority.CRITICAL,
        input_data={'approval_required': True}
    )
]

results = await orchestrator.execute_workflow(quality_workflow)

Core Components

Agent Types

See: reference/agent-taxonomy.md for complete agent type specifications

Available Agent Types:

  • ARCHITECT - System design and architecture
  • DEVELOPER - Code implementation
  • TESTER - Testing and quality assurance
  • REVIEWER - Code review and analysis
  • SECURITY - Security analysis and hardening
  • PERFORMANCE - Performance optimization
  • QUALITY_GATE - Quality validation and approval
  • COORDINATOR - Workflow coordination

Task Management

See: reference/task-management.md for complete task data structures

Key Task Properties:

  • agent_type - Which agent handles this task
  • priority - Task priority (LOW to EMERGENCY)
  • dependencies - Tasks that must complete first
  • input_data - Task-specific input parameters
  • metadata - Additional context and configuration

Workflow Orchestrator

Central coordination system for multi-agent workflows

Key Methods:

  • register_agent() - Add agent to available pool
  • execute_workflow() - Execute task workflow
  • get_workflow_status() - Monitor progress
  • handle_agent_failure() - Error recovery

Common Workflows

Sequential Pipeline

Linear workflow with strict dependencies:

Architect → Developer → Tester → Reviewer → Quality Gate

See: reference/orchestration-patterns.md#sequential-pipeline

Parallel Fan-Out

Multiple agents working independently:

                 ┌─> Developer A (Frontend)
Architect ──────┼─> Developer B (Backend)
                 └─> Developer C (Database)
                           ↓
                      [Integration]

See: reference/orchestration-patterns.md#parallel-fan-out

Iterative Refinement

Progressive improvement through feedback loops:

Developer → Reviewer → [Feedback] → Developer → Reviewer → [Approved]

See: reference/orchestration-patterns.md#iterative-refinement

Orchestration Patterns

Complete patterns: reference/orchestration-patterns.md

Pattern Selection Guide

Workflow TypeRecommended PatternAgents Needed
Feature DevelopmentSequential PipelineArchitect, Developer, Tester, Quality Gate
Independent ComponentsParallel Fan-OutMultiple Developers, Coordinator
Critical Production CodeMulti-Stage ReviewDeveloper, Security, Performance, Reviewer
Optimization TasksIterative RefinementDeveloper, Performance, Reviewer
Security VulnerabilitiesEmergency Fast-TrackSecurity, Developer, Tester

Error Handling

Retry Strategy

task = Task(
    id="task_001",
    title="Implement Feature",
    agent_type=AgentType.DEVELOPER,
    priority=Priority.HIGH,
    max_retries=3,  # Retry up to 3 times
    input_data={...}
)

Fallback Agents

# Register multiple developer agents for fallback
orchestrator.register_agent(DeveloperAgent("dev_primary"))
orchestrator.register_agent(DeveloperAgent("dev_fallback_1"))
orchestrator.register_agent(DeveloperAgent("dev_fallback_2"))

# Orchestrator automatically uses fallback if primary fails

See: reference/orchestration-patterns.md#error-handling-patterns

Monitoring and Status

Get Workflow Status

status = orchestrator.get_workflow_status(workflow_id)

print(f"Progress: {status['progress']['percentage']}%")
print(f"Completed: {status['progress']['completed']}/{status['progress']['total']}")
print(f"Active Agents: {status['active_agents']}")

Monitor Agent Health

for agent_id, agent_status in status['agent_details'].items():
    print(f"{agent_id}: {agent_status['status']}")
    if agent_status['current_task']:
        print(f"  Working on: {agent_status['current_task']}")

Real Estate Platform Example

Complete example: examples/real-estate-workflow.py

async def create_property_matching_workflow():
    """Multi-agent workflow for property matching feature."""
    orchestrator = WorkflowOrchestrator()

    # Register agents
    orchestrator.register_agent(ArchitectAgent("architect_001"))
    orchestrator.register_agent(DeveloperAgent("developer_001"))
    orchestrator.register_agent(DeveloperAgent("developer_002"))
    orchestrator.register_agent(TesterAgent("tester_001"))
    orchestrator.register_agent(QualityGateAgent("quality_gate_001"))

    # Define workflow
    workflow = [
        # Phase 1: Architecture
        Task(
            id="arch_001",
            title="Design Property Matching System",
            agent_type=AgentType.ARCHITECT,
            priority=Priority.HIGH,
            input_data={'requirements': {'ai_integration': True}}
        ),

        # Phase 2: Parallel Development
        Task(
            id="api_dev",
            title="Develop Matching API",
            agent_type=AgentType.DEVELOPER,
            dependencies=["arch_001"],
            input_data={'framework': 'FastAPI'}
        ),
        Task(
            id="model_dev",
            title="Develop Data Models",
            agent_type=AgentType.DEVELOPER,
            dependencies=["arch_001"],
            input_data={'orm': 'SQLAlchemy'}
        ),

        # Phase 3: Testing
        Task(
            id="integration_test",
            title="Integration Testing",
            agent_type=AgentType.TESTER,
            dependencies=["api_dev", "model_dev"],
            input_data={'coverage_target': 0.80}
        ),

        # Phase 4: Quality Gate
        Task(
            id="quality_gate",
            title="Production Approval",
            agent_type=AgentType.QUALITY_GATE,
            dependencies=["integration_test"],
            priority=Priority.CRITICAL
        )
    ]

    # Execute
    results = await orchestrator.execute_workflow(workflow)
    return results

Best Practices

  1. Clear Agent Responsibilities: Each agent should have well-defined, non-overlapping responsibilities
  2. Proper Dependency Management: Ensure task dependencies are correctly specified and enforced
  3. Error Handling: Implement robust error handling and retry mechanisms
  4. Status Monitoring: Provide comprehensive status monitoring and reporting
  5. Resource Management: Prevent resource contention and ensure efficient agent utilization
  6. Quality Gates: Implement quality validation at appropriate workflow stages
  7. Scalability: Design for horizontal scaling of agent instances

Advanced Usage

For advanced multi-agent orchestration scenarios, see:

  • reference/agent-taxonomy.md - Complete agent type specifications
  • reference/task-management.md - Task and workflow state management
  • reference/orchestration-patterns.md - Advanced coordination patterns
  • examples/real-estate-workflow.py - Real Estate platform workflows
  • examples/emergency-workflow.py - Emergency fast-track patterns
  • scripts/workflow-monitor.py - Monitoring and observability tools

Troubleshooting

Agents Not Executing Tasks

Cause: No registered agents matching task's agent_type Solution: Ensure agents are registered before workflow execution

Circular Dependencies

Cause: Task A depends on Task B which depends on Task A Solution: Use dependency resolver to validate task graph before execution

Workflow Stuck

Cause: Agent failed but retry limit not reached Solution: Check agent logs, increase retry limit or add fallback agents

Quick Reference

OperationCommand
Register agentorchestrator.register_agent(agent)
Execute workflowawait orchestrator.execute_workflow(tasks)
Get statusorchestrator.get_workflow_status(workflow_id)
Create taskTask(id, title, agent_type, priority, input_data)
Add dependencyTask(..., dependencies=["task_id"])

Version: 2.0.0 (Token-Optimized) Original: 1,395 lines Optimized: ~400 lines (71% reduction) Full Documentation: See reference/ directory

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

windsurf

27.7%
按下载量换算2,180

OpenCode

21.69%
按下载量换算1,707

Codex

17.39%
按下载量换算1,368

Claude Code

11.94%
按下载量换算940

Antigravity

7.1%
按下载量换算559

Gemini CLI

2.88%
按下载量换算227

安全审计

暂无安全审计结果可展示。

权限和风险

权限需确认

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills