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

Decompose Problem

skill-hknc-claude-evolve-decompose-problem · by hknc

Use when user says "break this down", "where do I start", "this is overwhelming", "too big", "decompose", "chunk this", "step by step plan", or faces a complex problem needing breakdown into manageable pieces with dependencies and order identified. Do NOT use for new project setup — use build-project skill instead. For "break down" to understand/explain something, use explain-step-by-step instead.

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

Install

$ agentstack add skill-hknc-claude-evolve-decompose-problem

✓ 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-hknc-claude-evolve-decompose-problem)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
6mo 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 Decompose Problem? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Decompose Problem Skill

You break complex problems into manageable pieces with clear dependencies and order.

Philosophy

  • Actionable chunks - Each piece should be doable independently
  • Clear dependencies - Know what blocks what
  • Right granularity - Not too big (overwhelming) or too small (overhead)
  • Flexible order - Identify what can parallelize

Process

1. Understand the Whole Problem

Before decomposing, understand:

  • What's the end goal?
  • What are the constraints?
  • What's the current state?
  • What's already been tried?

2. Identify Natural Boundaries

Look for natural seams:

| Domain | Natural Boundaries | |--------|-------------------| | Software | Layers, modules, features, data flows | | Process | Phases, handoffs, decision points | | Research | Questions, sources, synthesis | | Writing | Sections, arguments, evidence |

3. Create Work Breakdown

Break into pieces that are:

  • Independently completable - Can be done and verified alone
  • Well-defined - Clear start and end state
  • Appropriately sized - 1-4 hours of focused work typically
  • Testable - Know when it's done

4. Map Dependencies

Identify what blocks what:

A ──► B ──► D
      │
      └──► C ──► E

A must complete before B
B must complete before C and D
C must complete before E
D and E can run in parallel after their deps

5. Determine Order and Parallelism

Sequential when:

  • Output of one feeds input of next
  • Learning from earlier informs later
  • Risk needs to be reduced incrementally

Parallel when:

  • No data dependencies
  • Different skill sets
  • Can be independently verified

6. Present the Breakdown

## Problem Decomposition: [Problem Name]

### Goal
[Clear end state]

### Phases

#### Phase 1: [Name] (Foundation)
- [ ] Task 1.1: [Description]
- [ ] Task 1.2: [Description]
**Milestone:** [What's true when phase is done]

#### Phase 2: [Name] (Core)
*Depends on: Phase 1*
- [ ] Task 2.1: [Description]
- [ ] Task 2.2: [Description] (can parallel with 2.1)
**Milestone:** [What's true when phase is done]

#### Phase 3: [Name] (Polish)
*Depends on: Phase 2*
- [ ] Task 3.1: [Description]
**Milestone:** [What's true when phase is done]

### Dependency Graph
[Visual or textual representation]

### Start Here
[First actionable task with clear instructions]

Using Tasks for Complex Decomposition

For very complex problems, analyze different aspects in parallel:

Task 1: Identify technical components and dependencies
Task 2: Identify process/workflow steps
Task 3: Identify risks and unknowns

Synthesize into unified breakdown.

Granularity Guidelines

| Scope | Task Size | Example | |-------|-----------|---------| | Feature | 1-2 days | "Implement user authentication" | | Task | 2-4 hours | "Create login form component" | | Subtask | 30-60 min | "Add email validation" |

Decompose to the level appropriate for tracking. Usually task-level.

Common Decomposition Patterns

For Features

1. Data model / Schema
2. Backend logic / API
3. Frontend UI
4. Integration / Wiring
5. Testing
6. Documentation

For Migrations

1. Prepare (dual-write capability)
2. Migrate (move data)
3. Verify (check correctness)
4. Switch (cut over)
5. Cleanup (remove old)

For Investigations

1. Define question clearly
2. Identify information sources
3. Gather data
4. Analyze patterns
5. Form conclusions
6. Verify/validate

For Refactoring

1. Characterize current behavior (tests)
2. Identify target structure
3. Incremental moves (one at a time)
4. Verify after each move
5. Clean up

Anti-Patterns

DON'T:

  • Create tasks with hidden dependencies
  • Make tasks too granular (creates overhead)
  • Make tasks too vague ("make it better")
  • Ignore the critical path

DO:

  • Make each task independently verifiable
  • Identify the riskiest/most uncertain parts early
  • Build in checkpoints
  • Allow for learning and adjustment

Output Example

## Decomposition: REST to GraphQL Migration

### Goal
Replace REST API with GraphQL while maintaining backwards compatibility.

### Phase 1: Foundation (Week 1)
- [ ] Set up GraphQL server alongside REST
- [ ] Define schema for User and Post types
- [ ] Implement read-only queries
**Milestone:** GraphQL queries work for basic reads

### Phase 2: Feature Parity (Week 2-3)
*Depends on: Phase 1*
- [ ] Add mutations for create/update/delete
- [ ] Implement authentication in GraphQL context
- [ ] Add pagination and filtering
**Milestone:** GraphQL can do everything REST does

### Phase 3: Migration (Week 4)
*Depends on: Phase 2*
- [ ] Update internal clients to use GraphQL
- [ ] Monitor for issues
- [ ] Deprecate REST endpoints
**Milestone:** All traffic on GraphQL

### Start Here
Create `graphql/` directory and install apollo-server. First query: `user(id)`.

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.