adk-build
Category router for implementing, refactoring, migrating, testing, or analyzing dependencies. Use when the next step is to change code (new feature, bug fix, refactor, framework migration, test authoring, or dependency hygiene). Picks one of adk-build-feature, adk-build-refactor, adk-build-migrate, adk-build-test, adk-build-deps.
ADK Build (Category Router)
Routes any "change the code" intent to the right implementation task. Activate one of the listed task skills below; do not implement directly from this router.
When to use this category
- A feature must be added or extended.
- A bug must be diagnosed and fixed.
- Code structure must change without changing behavior (refactor).
- A framework, library, or runtime must be upgraded or replaced (migrate).
- Tests must be authored or expanded.
- Dependencies must be inventoried, upgraded, or pruned.
When NOT to use this category
- Direction or design is still open ->
adk-plan - Reviewing changes that already exist ->
adk-review - Writing docs or specs ->
adk-docs/adk-plan-spec - Frontend / UI-specific implementation ->
adk-frontend - Commit messages or PR text ->
adk-publish-commit
Shared workflow
Every task in this category honors the same six steps. The task skills tailor the content of each step.
- Confirm intent - clarify task, scope, validation target, and constraints. Approval gate unless
--auto. - Scope - read only the relevant code; gather error context and recent git history if debugging.
- Plan - short, ordered, file-aware plan. Approval gate unless
--autoor change is trivial single-file. - Execute - apply the smallest correct change; stay inside scope; flag necessary out-of-scope work.
- Validate - run repo-native tests / lint / type-check; never claim success without fresh evidence.
- Report - changed files with one-line diffs; validation evidence; remaining risk; offer depth on request.
Task selection
| Task skill | Use when | Do NOT use when |
|---|---|---|
adk-build-feature | New feature, bug fix, behavior enhancement, or systematic debugging | Behavior is unchanged but structure changes -> refactor |
adk-build-refactor | Restructure code, rename, extract, dedupe with no behavior change | Behavior changes - use feature |
adk-build-migrate | Replace a framework, runtime, library version, or build tool | Single-package upgrade with no API change - use deps |
adk-build-test | Author tests, raise coverage, or convert manual checks into automated tests | Implementation is also changing - use feature with test alongside |
adk-build-deps | Inventory, upgrade, deduplicate, audit, or remove dependencies | A framework migration - use migrate |
Common chains
flowchart LR
plan[adk-plan-roadmap] --> feature[adk-build-feature]
feature --> test[adk-build-test]
feature --> review[adk-review-local]
refactor[adk-build-refactor] --> review
migrate[adk-build-migrate] --> test
deps[adk-build-deps] --> review
review --> commit[adk-publish-commit]
Subagent dispatch
Build tasks dispatch focused subagents when work is large enough to benefit from parallelism. Each task skill defines its own dispatch matrix. Do not dispatch for trivial single-file edits.
Validation discipline
- Run the smallest relevant repo-native check first (target test, lint on changed files, typecheck on touched module).
- Never say "tests pass" or "bug fixed" without command output backing it.
- If validation cannot run, say so explicitly with the reason.
Activation
Once you have picked a task, load adk-build-<task> and follow it. Each task skill is fully standalone - everything it needs is in its own folder.
Anti-patterns
- Implementing inside this router. Always hand off to a task skill.
- Mixing refactor with feature work in one change. Pick one task per pass.
- Writing >100 lines without a validation run.
- Claiming "fix" without reproducing the original failure first.
Clarifying questions (default-ask)
When running without --auto, the skill asks these questions in order, one at a time. Under --auto, the skill picks the safest option for each (see references/clarifying-questions.md) and reports the choices.
- Does behavior change (new feature, bug fix, enhancement) or is it pure restructure? — How to pick: Behavior change → feature. Pure restructure → refactor.
- Is this a framework/library upgrade across the codebase? — How to pick: Yes → migrate. No → feature or refactor.
- Is the work test-only? — How to pick: Yes → test. No → other.
- Is the work dependency-only (upgrade/audit/prune deps)? — How to pick: Yes → deps. No → other.
Default report: Routed task + why.
Detailed report (on request or --verbose): Lifecycle table showing where the work fits in the build category.
Artifact: build-routing-decision — Inline message.
Artifact path: (none)
Clarifying questions (default-ask)
When running without --auto, the skill asks these questions in order, one at a time. Under --auto, the skill picks the safest option for each (see references/clarifying-questions.md) and reports the choices.
- Does behavior change (new feature, bug fix, enhancement) or is it pure restructure? — How to pick: Behavior change → feature. Pure restructure → refactor.
- Is this a framework/library upgrade across the codebase? — How to pick: Yes → migrate. No → feature or refactor.
- Is the work test-only? — How to pick: Yes → test. No → other.
- Is the work dependency-only (upgrade/audit/prune deps)? — How to pick: Yes → deps. No → other.
Default vs detailed output
Default report: Routed task + why.
Detailed report (on request or --verbose): Lifecycle table showing where the work fits in the build category.
Artifact: build-routing-decision — Inline message.
Artifact path: (none)
<!-- adk:references:start -->References shipped with this skill
These files live in references/ next to this SKILL.md. Read them when the skill activates; they are inlined here so the skill is fully self-contained (no cross-skill or shared sources).
| File | Purpose |
|---|---|
references/anti-patterns.md | Things to avoid when running this skill. |
references/artifact-format.md | The deliverable's format and where it lives (.temp/ contract). |
references/clarifying-questions.md | The default-ask questions for this skill, with how-to-pick rubrics. |
references/constitution.md | Non-negotiable rules and working/communication discipline. |
references/interaction-contract.md | Default-ask, explained-options, --auto contract every skill must follow. |
references/output-format.md | Default vs detailed report shapes; severity labels; verbosity rules. |
references/persona.md | The agent persona that drives this skill. |