systems-decompose
Systems Decomposition
Before implementing, let's properly decompose this feature:
Context
- What are we building? Describe the feature.
- Who triggers it? User action, system event, scheduled?
- What should happen? The happy path outcome.
Data Flow Mapping
Map the complete flow:
[Trigger] → [Input] → [Validation] → [Business Logic] → [Side Effects] → [Output]
For each step:
- What data comes in?
- What transformation happens?
- What data goes out?
- What can go wrong?
Interface Contracts
Define explicit interfaces:
Input Schema
- What fields are required?
- What are the types and constraints?
- Validation rules?
Output Schema
- Success response format?
- Error response format?
- All possible error types?
Error Enumeration
List ALL possible errors:
- Validation errors
- Not found errors
- Authorization errors
- External service errors
- System errors
Boundaries
Clarify ownership:
- What does this component OWN?
- What does it NOT own?
- What are the integration points?
Dependencies
For each external dependency:
- What is it?
- Sync or async?
- What if it fails?
- How do we recover?
This decomposition will guide implementation.
More from sunnypatneedi/claude-starter-kit
learning-coach
Master evidence-based study techniques including active recall, spaced repetition, deliberate practice, and accelerated learning. Build efficient learning systems that maximize retention and skill acquisition.
79productivity-gtd
Master the Getting Things Done (GTD) methodology for stress-free productivity. Implement capture, clarify, organize, reflect, and engage workflows with contexts, projects, and weekly reviews.
63journaling
Build effective journaling practices for clarity, growth, and self-awareness. Includes morning pages, gratitude journaling, reflection prompts, problem-solving templates, and habit-building strategies.
39ugc-content-creator
Create short-form video content for TikTok, Instagram Reels, and YouTube Shorts. Master hooks, scripts, trends, platform-native styling, and the organic-to-ad content pipeline for maximum reach and engagement.
29writing-coach
Master clear writing, editing techniques, style improvement, and effective communication. Transform complex ideas into simple, compelling prose that readers understand and remember.
18sales-playbook
Build repeatable sales processes from prospecting through closing. Master qualification frameworks (BANT/MEDDIC), objection handling, pipeline management, discovery questions, and closing techniques for B2B and B2C sales.
12