Agent Skillsmtarcure/claude-vibe-squad › scope-decomposition

scope-decomposition

GitHub

将复杂目标分解为依赖有序、独立可交付的单元,明确写入集、排除项及通过/失败检查,确保各单元独立验证且无隐性依赖。

.agents/skills/scope-decomposition/SKILL.md mtarcure/claude-vibe-squad

Trigger Scenarios

任务范围过大或边界模糊 需跨模块或人员协作 成功标准不清晰

Install

npx skills add mtarcure/claude-vibe-squad --skill scope-decomposition -g -y
More Options

Non-standard path

npx skills add https://github.com/mtarcure/claude-vibe-squad/tree/main/.agents/skills/scope-decomposition -g -y

Use without installing

npx skills use mtarcure/claude-vibe-squad@scope-decomposition

指定 Agent (Claude Code)

npx skills add mtarcure/claude-vibe-squad --skill scope-decomposition -a claude-code -g -y

安装 repo 全部 skill

npx skills add mtarcure/claude-vibe-squad --all -g -y

预览 repo 内 skill

npx skills add mtarcure/claude-vibe-squad --list

SKILL.md

Frontmatter
{
    "name": "scope-decomposition",
    "audience": "specialist",
    "description": "Use after the goal is understood but the work spans multiple modules, owners, or verification seams: cut it into dependency-ordered, independently shippable units with explicit write sets, exclusions, and one-sentence pass or fail checks."
}

Scope Decomposition

Break a broad goal into shippable slices, each with its own pass/fail check, its own write set, and named exclusions, so that no unit's "done" depends on work that hasn't happened yet.

When to use

  • An ask is too large to verify in one pass, or its edges are fuzzy ("improve X", "add support for Y").
  • A task will be split across specialists or dispatches and each piece needs an enforceable write scope.
  • A packet's success criteria read as activities ("investigate", "refactor") rather than observable outcomes.

Inputs

  • The operator's stated goal and any constraints (deadline, dependencies, stack).
  • The current state of what the ask touches: files, systems, interfaces — inventoried, not assumed.

Steps

  1. Restate the goal as an observable end-state ("requests to /api authenticate via tokens; unauthenticated requests get 401"), never as activity ("work on auth"). If you cannot, the goal is under-specified — elicit before decomposing (requirements-elicitation).
  2. Inventory the touched surface: list the files, modules, interfaces, and external systems the goal implicates. Mark unknowns explicitly; an unknown surface is a discovery unit, not a silent risk.
  3. Slice along existing seams — module, interface, data boundary — not by activity phase. "All design, then all code, then all tests" ships nothing until the end; a seam-aligned slice lands whole and verifiable.
  4. Make each unit independently verifiable: it has a pass/fail check runnable without the other units existing. A unit whose verification needs a later unit is mis-cut — re-slice or merge.
  5. Bind each unit to an explicit write set: the files whose changes may be integrated. Overlapping write sets between units are a hidden ordering dependency — serialize them, merge them, or re-cut the boundary so the overlap disappears. A packet's write_scope is enforced mechanically at controller integration, not as an action-time worker filesystem boundary.
  6. Name exclusions per unit (OUT: ...). An exclusion left unstated becomes scope creep in whichever unit runs longest. Naming what a unit does NOT do is cheaper than arbitrating drift later.
  7. Order by dependency, then by assumption risk: run first the unit whose failure would invalidate the most downstream slices, so a wrong assumption dies cheaply.
  8. Cap unit size by the one-sentence test: if a unit's verification cannot be stated in one sentence, split it again.

Outputs

  • An ordered unit list; per unit: goal end-state, write set, IN/OUT boundary, acceptance check, dependencies.
  • A stated overall done-definition: which units must pass, and what integration check proves the whole.

Failure modes

  • Horizontal slicing — phases instead of seams; nothing is shippable until everything is.
  • The "misc/cleanup" bucket — an unbounded unit that absorbs all drift; dissolve it into named exclusions.
  • Activity-shaped units — "investigate X" with no observable output; every unit ships an artifact or a decision.
  • Hidden coupling via shared files — two "independent" units editing the same file; caught by comparing write sets, not by intuition.
  • Verification deferred to integration — every unit "done", nothing proven until the end; each unit needs its own check.

Worked example

Ask: "add auth to the API." End-state: every endpoint rejects unauthenticated requests; valid users get tokens. Units: (1) token issue/verify module + unit tests — writes auth/, OUT: any endpoint change; (2) middleware rejecting unauthenticated requests, applied to one pilot endpoint + integration test — writes middleware/, one route file; (3) rollout to remaining endpoints + e2e pass — writes route files only; (4) migration for existing API consumers — OUT of all prior units, explicitly. Unit 1 runs first: it holds the riskiest assumption (token scheme fits the existing session model), and units 2–3 are invalid without it. Write sets are disjoint, so 2 and 4 could parallelize after 1.

Acceptance

  • The overall goal is stated as an observable end-state, and so is every unit.
  • Every unit has a pass/fail check runnable without later units.
  • Write sets are explicit and pairwise-disjoint, or the overlap is declared as an ordering edge.
  • Exclusions are named per unit; there is no catch-all unit.
  • Unit order puts the riskiest assumption first.

Version History

  • d5262e2 Current 2026-09-11 11:25

Same Skill Collection

.agents/skills/accessible-media-authoring/SKILL.md
.agents/skills/agent-prompt-engineering/SKILL.md
.agents/skills/agentic-safety-audit/SKILL.md
.agents/skills/audio-event-map-authoring/SKILL.md
.agents/skills/auto-scaffold/SKILL.md
.agents/skills/claim-verification/SKILL.md
.agents/skills/code-reachability-audit/SKILL.md
.agents/skills/code-review-loop/SKILL.md
.agents/skills/color-theory/SKILL.md
.agents/skills/conversation-design/SKILL.md
.agents/skills/copy-refinement/SKILL.md
.agents/skills/cross-file-relationship-synthesis/SKILL.md
.agents/skills/dependency-cycle-audit/SKILL.md
.agents/skills/dependency-health-triage/SKILL.md
.agents/skills/detection-as-code/SKILL.md
.agents/skills/diff-aware-semgrep-scan/SKILL.md
.agents/skills/differential-review/SKILL.md
.agents/skills/dimensional-analysis-check/SKILL.md
.agents/skills/dual-level-retrieval/SKILL.md
.agents/skills/figma-implement-design/SKILL.md
.agents/skills/forensic-timeline-authoring/SKILL.md
.agents/skills/game-design-fundamentals/SKILL.md
.agents/skills/game-mechanics-balancing/SKILL.md
.agents/skills/head-tail/SKILL.md
.agents/skills/incident-response-runbook/SKILL.md
.agents/skills/interactive-audio-design/SKILL.md
.agents/skills/interface-ambiguity-check/SKILL.md
.agents/skills/keyword-clustering/SKILL.md
.agents/skills/knowledge-base-integration/SKILL.md
.agents/skills/layered-analysis-loop/SKILL.md
.agents/skills/level-design-patterns/SKILL.md
.agents/skills/locale-adaptation/SKILL.md
.agents/skills/narrative-structure/SKILL.md
.agents/skills/platform-compliance/SKILL.md
.agents/skills/player-engagement-psychology/SKILL.md
.agents/skills/requirements-elicitation/SKILL.md
.agents/skills/rule6-rights-gate/SKILL.md
.agents/skills/rule8-truth-gate/SKILL.md
.agents/skills/sandbox-provision-discipline/SKILL.md
.agents/skills/scope-estimation/SKILL.md
.agents/skills/security-ownership-map/SKILL.md
.agents/skills/security-threat-model/SKILL.md
.agents/skills/semgrep-rule-author/SKILL.md
.agents/skills/skill-description-trigger-authoring/SKILL.md
.agents/skills/sound-design-principles/SKILL.md
.agents/skills/structured-data-authoring/SKILL.md
.agents/skills/supply-chain-audit/SKILL.md
.agents/skills/take-over-resume/SKILL.md
.agents/skills/technical-seo-audit/SKILL.md

Metadata

Files
0
Version
d5262e2
Hash
4f51ef9f
Indexed
2026-09-11 11:25

Home - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-13 05:01
浙ICP备14020137号-1 $Map of visitor$