본문으로 건너뛰기
Skillpedia
에이전트41k · #6523

delegate

하는 일

이 스킬은 큰 작업의 일부를 동시에 일하는 하위 에이전트에게 넘기는 시점을 설명합니다. 여러 단계로 이루어진 코딩, 조사, 검토 작업을 AI와 함께 진행하는 분들을 위한 스킬입니다.

사용하는 경우

  • ✓큰 작업을 독립적인 부분으로 나눠 동시에 진행할 수 있을 때.
  • ✓도우미에게 정해진 파일 묶음을 읽기 전용으로 검토받고 싶을 때.
  • ✓명확한 경계를 정해 기계적인 수정이나 테스트 실행을 넘길 수 있을 때.

스킬 링크

https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/codewhale-hq/Codewhale/blob/main/crates/skills/assets/skills/delegate/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“이 마이그레이션을 여러 부분으로 나눠서, 도우미들은 파일 검색을 맡고 나는 설계를 맡아 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

상위 AI는 결정과 최종 검토를 맡고, 각 도우미에게 명확한 결과와 완료 기준을 준 뒤, 독립적인 도우미들을 함께 실행합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Delegate

Use sub-agents when they can do focused work in parallel while the parent keeps architectural judgment, integration, and final verification.

Keep vs Delegate

Keep in the parent:

  • Understanding the user's actual request and constraints
  • Architecture, security, product, and release-risk decisions
  • Cross-module integration
  • Final review, test interpretation, and user-facing summary

Delegate to sub-agents:

  • Read-only exploration over a bounded file set
  • Mechanical edits with a clear file ownership boundary
  • Focused test or lint runs
  • Boilerplate generation from an explicit spec
  • Independent checks that can run while parent work continues

Do not delegate tiny one-step tasks, ambiguous product decisions, destructive operations without a clear acceptance criterion, or final verification.

Launch Focused Work

Use agent for a focused child run. Launch independent children together so they can run in parallel.

Give each child a concrete outcome and acceptance criteria. Let it continue until the work is complete or it needs input. Do not invent time, turn or token budgets, or tell it to stop early because a percentage of a budget has elapsed. The runtime carries any limits explicitly configured by the owner.

Prefer provider-neutral model_strength over hardcoded model ids. Children inherit the active model by default (model_strength: "same"), including type: "explore", so pass model_strength: "faster" explicitly to get the cheaper same-family sibling for read-only exploration:

{
  "name": "config_audit",
  "prompt": "Inspect crates/tui/src/config.rs and crates/tui/src/settings.rs for duplicate model-default logic. Return file/line findings only; do not edit files.",
  "type": "explore",
  "model_strength": "faster",
  "cwd": "."
}

For code changes, give the child a precise write boundary and tell it not to revert unrelated edits. Keep implementation children capable with model_strength: "same":

{
  "name": "docs_patch",
  "prompt": "Update only docs/configuration.md to document the new [statusline] keys. Match the surrounding style. Do not edit other files.",
  "type": "implement",
  "model_strength": "same",
  "cwd": "."
}

Use fork_context: true only when the child genuinely needs the current conversation prefix. Leave it omitted for fresh, narrower context.

Route the Work

Choose the route per child from agent(action:"roster") (no provider request), not from memory. It lists each role's resolved route and the models you may pick.

  • thinking overrides a saved tier on any role. Dial: off low medium high xhigh max ultra, plus inherit (role default, then session effort) and auto.
  • model and model_strength apply to unpinned routes only. A pinned profile refuses a conflicting model; to choose a model, start an unpinned role such as general. model_strength: "faster" is the same-family faster sibling, "same" the session model.
  • Read the receipt, not your request: child_route shows the provider, model and route source, and requested_reasoning vs effective_reasoning shows what the route actually ran.
  • Route by stakes. Mechanical work: the cheapest sufficient route with thinking: "off" or "low". Implementation: a capable route at medium or above. Review and verification: a strong route at high, on a different route than the author when independence matters.

Evaluate and Verify

Sub-agent outputs are self-reports. Re-check material claims before relying on them:

  • Read changed files directly.
  • Run the relevant tests locally.
  • Inspect unexpected diffs before committing.
  • Verify externally visible or destructive claims against source data.

Prompt Shape

A good delegation prompt includes:

  • The exact task
  • Files or modules owned by the child
  • Files or behavior the child must not touch
  • Expected output format
  • Acceptance criteria

Weak prompt:

Fix the settings bug.

Strong prompt:

Own only crates/tui/src/settings.rs and its tests. Preserve existing config key names. Verify with the existing checks that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.
자주 묻는 질문

주 AI가 직접 맡는 일은 무엇인가요?

요청 이해, 설계와 보안 결정, 모듈 간 통합, 최종 검토는 상위 AI가 맡습니다.

무엇을 넘기면 안 되나요?

아주 작은 한 단계 작업, 모호한 제품 결정, 명확한 기준이 없는 파괴적 작업, 최종 검증은 넘기지 않습니다.

도우미의 모델을 정할 수 있나요?

네. 스킬은 특정 제공자에 묶이지 않은 모델 성능 설정을 우선하며, 기본적으로 도우미는 현재 활성화된 모델을 따릅니다.

상세 정보

작성자의 원본 설명

Strategic delegation for multi-step coding, research, or verification work. Use when a task can be split into parent reasoning plus focused sub-agent execution through the agent tool.

repo: codewhale-hq/Codewhale

인기도

GitHub 스타
41k
순위
#6523
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬