AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Task Decomposer

skill-aldianriski-lean-flow-task-decomposer · by aldianriski

Use when converting a freeform feature request, ticket URL, PRD, or epic into structured TASK-NNN entries in TODO.md. Enforces an assumption registry, risk scoring, vertical-slice granularity, and validation before writing. Self-contained, no specialist agents. Do not use when a task already exists and is ready to build — use /orchestrator instead.

No reviews yet
0 installs
30 views
0.0% view→install

Install

$ agentstack add skill-aldianriski-lean-flow-task-decomposer

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-aldianriski-lean-flow-task-decomposer)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Task Decomposer? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Task Decomposer

Translate any form of human intent into fully-formed TASK-NNN entries. The approved output serves as the scope gate — no separate gate runs after approval.

Input types

| Input | Detection | |---|---| | Freeform — "add Google OAuth login" | no URL, no -- flag | | Ticket — JIRA-123 or a Linear/GitHub URL | matches [A-Z]+-[0-9]+ or a URL | | PRD — --prd docs/feature.md | --prd flag + path | | Epic — --epic "Payments" | --epic flag + name |

For a ticket, fetch the description first (ask the user to paste if credentials are missing — never block on env vars).

Procedure

  1. Clarify — the grill (freeform / ticket only) — ambiguity is cheapest to kill at intake. Ask ONE question at a time, each with a recommended answer; explore the codebase before asking. For mature / unfamiliar code, recon first via the Explore agent (existing impl + tests + deps → a tight brief, in its own context — a cheap-tier sonnet pass; the grill itself stays on the session model. Tier map → CONTEXT.md). Moves:
  • Challenge the glossary — a term conflicts with CONTEXT.md? Surface it: "your glossary says X, you seem to mean Y — which?"
  • Sharpen fuzzy language — replace an overloaded word ("account", "user") with a precise canonical term; feed a newly-pinned term straight to /lean-doc-generator (glossary), don't batch.
  • Invent edge-case scenarios — concrete cases that force the boundaries between concepts to be made explicit.
  • Cross-reference code — a claim contradicts the code? Surface the contradiction.
  • **A design that must be felt, or a high-stakes fork** — don't resolve it here: record it on the task (assumes:) so G2 routes to /prototype / /council.

Stop when the goal is unambiguous. Synthesize from context instead of re-interviewing ONLY when step 2's registry comes back with zero open assumptions (a design discussion just happened and nothing is open); otherwise grill the open ones.

  1. Assumption registry — list every assumption that affects behavior (auth model, data shape, third-party limits). Confirm the risky ones explicitly.
  2. Decompose into tracer-bullet vertical slices — each task is a thin path through every layer end-to-end (schema → API → UI → tests), independently demoable. Prefer many thin slices over few thick ones; record depends-on. Horizontal layers ("write all the models", "all the tests") are NOT valid tasks.
  3. Risk score — per task, rate impact × likelihood (low / med / high); note the blast radius (files / layers touched).
  4. Classify HITL / AFKHITL = a human must review the output before proceeding; AFK = autonomous completion is safe (acceptance is mechanically checkable · no irreversible side effects · no product/UX judgment call · spec is durable). Default to HITL when uncertain. For AFK tasks, spec durably — an AFK task may sit in the backlog for weeks before an agent picks it up: write behavioral contracts (name the types / interfaces / config shapes to change) + testable acceptance + explicit out-of-scope; never reference file paths or line numbers — they go stale.
  5. Validate — every task has an observable acceptance criterion ("done when …"); no two tasks share identical criteria (merge or differentiate). For multi-slice breakdowns, run the breakdown quiz (reference) — confirm granularity, dependencies, merge/split, HITL/AFK — before Write.
  6. Write — only after the human types approve, append entries to TODO.md Backlog in dependency order (blockers first). Touch no other file. Sprint formation happens later via /lean-doc-generator promote.

Task entry shape

- [ ] TASK-042 —   [size: M] [risk: med] [HITL]
      done-when: 
      touches: 
      assumes: 
      state:   ready | needs-info   (set ready only if done-when is concrete)

Set the initial state: (ready if the done-when is concrete, else needs-info). Re-prioritising, re-stating, and pruning the backlog later is /triage's job — don't re-rank existing tasks here.

Large features / --prd: synthesize a PRD first (Problem · Solution · exhaustive User Stories · Implementation + Testing Decisions · Out-of-scope · seams), get approval, then decompose. Full PRD template + seams + the breakdown quiz → ${CLAUDE_SKILL_DIR}/references/prd-and-slices.md (${CLAUDE_SKILL_DIR} resolves to this skill's install directory at load time). Output is local (TODO.md Backlog) — no external issue tracker.

Hard rules

  • Never write to TODO.md before the human types approve.
  • After approve: Backlog only; never write directly into an Active Sprint.
  • Identical acceptance criteria on two tasks → merge or differentiate first.
  • A task with no observable acceptance criterion fails validation — rewrite it.
  • A question that BLOCKS scope/design is asked here (one at a time) or recorded as an explicit needs-info/blocked with its unblock condition — never parked as a silent assumes: or a passive doc note that stalls dev.

Red flags

| Rationalization | What it actually means | |---|---| | "I'll guess the acceptance criteria" | "works correctly" fails validation — write the observable outcome | | "Skip the assumption registry, it's small" | unconfirmed auth assumptions are the top source of regressions | | "Four questions at once is faster" | stacked questions get vague answers — one at a time forces precision | | "These two are related, I'll merge them" | related ≠ same concern — verify the criteria are truly identical | | "I'll slice it by layer" | horizontal layers aren't demoable — slice vertically | | "A multiple-choice question pins the term" | an MCQ captures a preference, not a definition — pin a domain term with a concrete example, then confirm (L-017) |

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.