跳到正文
cccskills
免费在 GitHub 公开

delegate

Split multi-step coding, research, or testing into focused assignments for sub-agents, which are agents handling specific parts of a task. The parent agent retains design decisions, integration, and final verification while independent work runs in parallel.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

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.

查看安装方法

适用场景

  • Exploring separate groups of files in parallel
  • Assigning code changes with clear file ownership
  • Running focused tests alongside other work
  • Generating boilerplate from an explicit specification

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

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.

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. Add a regression test showing that provider-specific API key changes do not restart provider onboarding. Return the changed paths and test command output.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

batch

免费

Split a large goal into clearly bounded tasks that can run in parallel. Coordinate existing agent and worktree tools, then combine and verify the results. The skill starts only when explicitly requested.

中文简介正在准备中。当前显示英语简介。

  • Splitting a large goal into parallel tasks
  • Coordinating work across multiple agents
  • Running tasks in separate worktrees
codewhale-hq/Codewhale4.1万2026年10月19日 更新

best-of-n

免费

Generate independent options for design, implementation, explanations, or debugging, then compare them using one shared rubric. Code candidates use separate working copies and undergo independent verification before a winner is presented for review.

中文简介正在准备中。当前显示英语简介。

  • Comparing several plausible design approaches
  • Evaluating independent implementations of the same task
  • Comparing explanations or debugging approaches
codewhale-hq/Codewhale4.1万2026年10月19日 更新

Check Codewhale release readiness through ordered tests, builds, version checks, and manual terminal checks. Record command results and observed behavior, including responsiveness, route isolation, and follow-up input handling, while explicitly identifying any skipped checks.

中文简介正在准备中。当前显示英语简介。

  • Run automated checks on the actual release branch
  • Check whether a PR merges into the release branch
  • Manually test terminal responsiveness and input behavior
codewhale-hq/Codewhale4.1万2026年10月19日 更新

Operate desktop apps and isolated browsers on registered computers by inspecting interface controls, entering information, and checking results. The skill also covers screenshots and recording, with separate routing for the user's signed-in Chrome through Chromewhale.

中文简介正在准备中。当前显示英语简介。

  • Entering information through a desktop app interface
  • Working in an isolated browser session
  • Capturing screenshots or recordings for a task
codewhale-hq/Codewhale4.1万2026年10月19日 更新

Check a local Codewhale checkout before contributing: inspect branch and sync status, build the CLI, and run the repository’s CI checks. Present recent commits and changelog entries from local files, with clear status for each step.

中文简介正在准备中。当前显示英语简介。

  • Checking a checkout before contributing
  • Reviewing local changes and sync status
  • Running the build and CI verification commands
codewhale-hq/Codewhale4.1万2026年10月19日 更新

Builds and installs Codewhale with a source revision identifier, then verifies the installed version in a fresh shell. It guides hands-on runtime checks for interface behavior, routing, approvals, and other changes that automated tests may miss.

中文简介正在准备中。当前显示英语简介。

  • Verifying terminal interface changes in the actual product
  • Installing and checking a local release build
  • Checking model routing and approval behavior
codewhale-hq/Codewhale4.1万2026年10月19日 更新

查看 codewhale-hq 的全部技能

报告此技能的问题