claude/ai-resources-plugin/skills/break-into-subtasks/SKILL.md
Break frontend feature requirements into parallelizable subtasks (API, UI, integration) with dependencies and a Mermaid diagram.
npx skillsauth add amhuppert/my-ai-resources break-into-subtasksInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Guide for analyzing requirements and breaking down frontend work into parallelizable, well-organized tasks.
Context: Modern frontend architecture with API clients (Zod schemas + React Query hooks) separate from presentational UI components, connected via integration tasks.
Use this skill when:
Objective: Understand the feature completely before planning work.
Steps:
Example Questions:
Objective: Group related functionality into user-facing features.
Guidelines:
Example Features:
For each feature, identify work in three categories:
What: Zod schemas, data validation/parsing, and React Query hooks for API endpoints.
Characteristics:
Format: {Endpoint Name} - client
Examples:
What: Presentational components that receive data via props/context.
Characteristics:
Examples:
What: Wire API clients to UI components to create working features.
Characteristics:
Format: Descriptive task name with dependencies noted
Examples:
Purpose: Visualize work order, dependencies, and parallelization opportunities.
Structure:
flowchart TD
%% API clients at top level (no grouping)
API1[{Endpoint Name} - client]
API2[{Endpoint Name} - client]
%% Features as subgraphs
subgraph Feature1["🎯 Feature Name"]
direction TB
F1_UI1[UI: Component name]
F1_INT[Integration: Task name]
F1_DONE[✅ Feature Complete]
F1_UI1 --> F1_INT
F1_INT --> F1_DONE
end
%% Dependencies
API1 --> F1_INT
Requirements:
Comprehensive inline comments:
API Endpoint Clients:
{Endpoint Name} - clientFeature Subgraphs:
Dependencies:
Avoid:
Structure:
## Work Items
### API Endpoint Clients
Build Zod schemas, data parsers, and React Query hooks for each endpoint. These can all be started immediately with no dependencies.
- **{Endpoint Name} - client**
- **{Endpoint Name} - client**
### {Feature Name}
**UI Components:**
- Component name and brief description
- Component name and brief description
**Integration:**
- Integration task name
- _Depends on: {API Client Name}, {API Client Name}_
- Integration task name
- _Depends on: {API Client Name}_
Requirements:
*Depends on: {Client Name}, {Client Name}*Before finalizing work breakdown:
If a UI component is used by multiple features (e.g., "Create location button & dropdown"), extract it from individual features to avoid duplication. List it separately, similar to API clients. Both features' integration tasks will depend on it, but it appears only once in the work breakdown.
Some features have sequential integration steps:
Integration 1 (search) → Integration 2 (create from search result)
Show this in both Mermaid (arrows between integration nodes) and Markdown (separate integration items).
Features with Create/Read/Update/Delete typically need:
❌ Grouping API clients in subgraph - They're shared infrastructure, keep top-level ❌ Creating feature dependencies without real blockers - Maximize parallelization ❌ Vague integration tasks - Be specific about what's being wired ❌ Missing dependency notation - Always note which API clients are needed ❌ Insufficient Mermaid comments - AI agents need context in the diagram itself ❌ Too granular - Work items should be JIRA-ticket sized, not hour-by-hour tasks ❌ Too broad - "Build entire feature" isn't useful; break into client/UI/integration
Given: "Users can view a list of items and filter by category"
Analysis:
Breakdown:
Not separate features: Filtering is part of the list feature, not independent.
Remember: The goal is maximum parallelization while maintaining clear dependencies. When in doubt, avoid creating blocking relationships between features.
development
Debug a running web app via the web-debugger SDK: app logs, application state, runtime snapshots, React state, query cache.
development
Thoroughly understand a software development objective before implementation: research, identify ambiguities, ask clarifying questions. Use before starting implementation of a non-trivial or ambiguously specified feature, or when requirements leave open design decisions.
development
Locate the on-disk Claude Code transcript file (.jsonl under ~/.claude/projects/) for the current or a specified conversation.
development
Reflect on codebase navigation effectiveness at end of conversation. Surfaces dead ends, inefficiencies, missing context. Does not write files — pair with /kiro:steering-custom to persist.