Logo Subagent Driven Development

Subagent Driven Development

Cộng đồng
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.

Tổng quan

Nhà phát hànhAlexAI-MCP
Kho mãhermes-CCC
Tên kỹ năngsubagent-driven-development
Sao
134
Bản fork
22
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI là Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Đầy đủ trong hướng dẫn

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được AlexAI-MCP công bố trên GitHub. Hãy đọc nội dung nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Subagent Driven Development trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL thư mục kỹ năng bên dưới và xác nhận.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/subagent-driven-development
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Subagent Driven Development trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự tải Subagent Driven Development ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên Subagent Driven Development không bị giới hạn ở mô hình mà kỹ năng này được viết cho. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên kỹ năng chưa dùng không tốn chi phí.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.

Câu hỏi thường gặp

Kỹ năng AI Subagent Driven Development làm được gì?

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.

Vì sao nên dùng Subagent Driven Development trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Subagent Driven Development là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Subagent Driven Development trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/subagent-driven-development. TypingMind đọc tệp SKILL.md và cài đặt thành một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Subagent Driven Development?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Bạn có thể dùng Subagent Driven Development với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Subagent Driven Development với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Subagent Driven Development có miễn phí không?

Có. Kỹ năng này được AlexAI-MCP phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp cho mô hình các công cụ mới để gọi — mã được chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và tiêu chí của đầu ra tốt. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇