Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

subagent-dev

bởi kjaylee

Productivity & Tasks
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Execute implementation plans using fresh subagents per task with two-stage review (spec compliance + code quality).

Mô tả

Kỹ năng này làm gì

A development methodology that executes implementation plans by dispatching fresh subagents per task, each followed by two sequential review stages: spec compliance and code quality. Each task gets an isolated agent context to prevent cross-task contamination. Designed as an enhancement to the ralph-loop workflow.

Using one reviewer for both spec compliance and code quality tends to conflate the two concerns, causing both to be checked superficially — splitting them into sequential gates catches more issues.

Khi nào nên dùng

  • Breaking a multi-task feature plan into isolated agent executions
  • Catching spec drift before merging a completed task
  • Separating "did we build the right thing" from "did we build it well" reviews
  • Running TDD cycles through subagents with commit-per-task discipline
  • Handling ambiguous requirements by letting subagents ask clarifying questions mid-task

Quy trình ví dụ

ĐẦU VÀO

User asks: Execute task 3 from the implementation plan: add user authentication middleware

AGENT
  1. 1

    Extract task 3 spec and relevant context (files, architecture constraints) from the plan

  2. 2

    Dispatch implementation subagent with task spec, context, TDD constraint, and self-review requirement

  3. 3

    Implementation subagent writes tests first, implements, commits, and returns summary with self-review findings

  4. 4

    Dispatch spec-review subagent with original requirements and git diff to verify all requirements are met and no extras added

  5. 5

    Dispatch code-quality subagent to check naming, duplication, error handling, and edge cases — loop back to implementer if issues found

ĐẦU RA

Task 3 marked complete with two review gates passed, commit made, ready for next task

Cài đặt

clawhub install kjaylee/subagent-dev

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết