Logo de Subagent Driven Development

Subagent Driven Development

Comunidade
AlexAI-MCP
subagent-driven-development

Decompose Claude Code work into parallel subagent-friendly streams when the environment permits delegation. Use when a task has independent sidecar work, disjoint file ownership, or review/verification streams that can run in parallel without blocking the critical path.

Visão geral

Publicado porAlexAI-MCP
Repositóriohermes-CCC
Nome da habilidadesubagent-driven-development
Estrelas
134
Forks
22
Arquivos incluídos
Somente instruções
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Completa em si mesma

    Tudo de que o modelo precisa está nas instruções — sem arquivos extras para sincronizar.

  • Código aberto

    Publicada por AlexAI-MCP no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Subagent Driven Development no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/subagent-driven-development
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/subagent-driven-development .claude/skills/subagent-driven-development
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Subagent Driven Development em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Subagent Driven Development automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Subagent Driven Development não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

Subagent-Driven Development

Purpose

  • Shorten total task time by parallelizing independent work.
  • Keep the critical path moving locally while sidecar work runs elsewhere.
  • Prevent duplicated effort between contributors.
  • Improve reliability by separating implementation, research, and verification concerns.
  • Turn broad requests into explicit owned slices.

Activation Signals

  • Use this skill when the task has multiple independent questions.
  • Use this skill when write scopes can be separated cleanly.
  • Use this skill when verification can happen in parallel with implementation.
  • Use this skill when one thread can map code while another edits disjoint files.
  • Use this skill only if the environment allows subagent delegation.

Non-Use Signals

  • Do not use this skill when the user did not permit delegation.
  • Do not use this skill when the next local action is blocked on the answer.
  • Do not use this skill when the task is small enough to finish faster alone.
  • Do not use this skill when the subtasks touch the same files and will conflict.
  • Do not use this skill when the problem is still poorly framed.

Core Principle

  • Keep blocking work local.
  • Delegate bounded sidecar work.
  • Assign explicit ownership.
  • Integrate results quickly.
  • Do not re-do delegated work yourself.

Decomposition Procedure

  1. Identify the deliverable.
  2. Identify the next blocking action.
  3. Keep that blocking action local.
  4. List other work that can advance in parallel.
  5. Split the work by independent outputs or disjoint write sets.
  6. Write one concrete prompt per subagent.
  7. State ownership and constraints clearly.
  8. Continue local progress immediately.

Good Subtasks

  • codebase mapping for a specific subsystem
  • docs-backed verification
  • isolated backend patch in owned files
  • isolated frontend patch in owned files
  • targeted regression test creation in a separate file family
  • review of a completed patch

Bad Subtasks

  • "figure out the whole problem"
  • "do whatever seems useful"
  • work that overlaps the same file region
  • urgent work needed for the next local decision
  • tasks that duplicate what the main thread is already doing

Prompt Design Rules

  • State the task in one sentence first.
  • Name the owned files or module boundary.
  • Say that the subagent is not alone in the codebase.
  • Say not to revert other changes.
  • Define the expected final output.
  • Include any known constraints or acceptance tests.

Example Prompt

text
Implement the parser fix in parser/tokenizer.py only. You are not alone in the codebase, so do not revert unrelated edits and adjust to concurrent changes if needed. Return the files changed and a short note on verification.

Ownership Rules

  • One write owner per file family whenever possible.
  • Shared read-only context is fine.
  • Shared write scope is a last resort.
  • Verification agents should prefer read-only work unless asked to patch tests.

Waiting Rules

  • Do not wait immediately after delegation.
  • Use the time to do non-overlapping local work.
  • Wait only when integration is blocked on the result.
  • Prefer longer waits over frequent polling.
  • Close finished agents when they are no longer needed.

Integration Procedure

  1. Review the returned output.
  2. Check whether the subtask stayed within scope.
  3. Read the changed files or summary.
  4. Integrate into the local branch carefully.
  5. Reconcile any assumptions that conflict with local work.
  6. Run the relevant validation.

Conflict Management

  • If two streams unexpectedly touch the same file, stop and replan.
  • Do not blindly merge contradictory changes.
  • Preserve the clearer ownership model after the replan.
  • Prefer one integrator making final decisions.

Verification Patterns

  • implementation locally, review remotely
  • implementation remotely, integration locally
  • code mapping remotely, coding locally
  • docs verification remotely, code changes locally

Fallback When Subagents Are Not Allowed

  • Use the same decomposition framework locally.
  • Convert each subagent slice into a checklist item.
  • Work the slices sequentially in priority order.
  • Preserve explicit ownership even if ownership is just "current thread".

Decision Rules

  • Delegate only if the subtask is concrete and bounded.
  • Keep ambiguity resolution local.
  • Parallelize information gathering aggressively when it is independent.
  • Avoid delegating more agents than the integration cost can support.
  • If the main path is short, skip delegation.

Common Failure Modes

  • delegation of blocking work
  • overlapping file ownership
  • weak prompts that encourage broad wandering
  • premature waiting
  • local duplication of delegated work

Recovery Moves

  • cancel or redirect a drifting subtask quickly
  • re-scope overlapping workers into disjoint ownership
  • absorb a small sidecar task locally if delegation overhead dominates
  • move verification later if implementation is still unstable

Output Contract

When presenting the decomposition, include:

  • local critical-path task
  • delegated sidecar tasks
  • ownership per task
  • integration point
  • validation plan

Example Decomposition Block

markdown
Local critical path: reproduce failing parser test and patch tokenizer logic
Delegated sidecar task: map config loading path in config/ only
Delegated verification task: draft regression tests under tests/parser/ only
Integration point: after tokenizer patch compiles
Validation plan: run targeted parser tests and review returned diffs

Checklist

  1. Identify the blocking task.
  2. Keep it local.
  3. Find parallel sidecar tasks.
  4. Split by disjoint ownership.
  5. Write precise prompts.
  6. Continue local work.
  7. Wait only when blocked.
  8. Integrate and validate.

Perguntas frequentes

O que a habilidade de IA Subagent Driven Development faz?

Decompose Claude Code work into parallel subagent-friendly streams when the environment permits delegation. Use when a task has independent sidecar work, disjoint file ownership, or review/verification streams that can run in parallel without blocking the critical path.

Por que usar Subagent Driven Development no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Subagent Driven Development é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Subagent Driven Development no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/subagent-driven-development. O TypingMind lê o arquivo SKILL.md e instala a habilidade para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Subagent Driven Development?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Subagent Driven Development?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Subagent Driven Development com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Subagent Driven Development é gratuita?

Sim. A habilidade é publicada no GitHub por AlexAI-MCP sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇