Pattern task breakdown
Skill pecigonzalo/agent-skills/skills/pattern-task-breakdown
Personal agent skills
npx -y skills add pecigonzalo/agent-skills --skill pattern-task-breakdownAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 days oldThe repository was created 21 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Use this skill when planning complex work, responding to requests for a detailed plan, or clarifying an uncertain approach. Decomposes work into sequential subtasks with dependencies and estimates.
SKILL.md
8.1 KB, as published. Nobody here has run it
Quick Reference
When to Use: 4+ files, >60 min effort, complex dependencies, multi-step coordination
Process: Scope → Phases → Small Tasks (1-2h) → Dependencies → Estimates
Template Sections: Overview, Prerequisites, Tasks (by Phase), Testing Strategy, Total Estimate, Notes
Best Practices: Keep tasks small (1-2h), make dependencies clear, include verification, be realistic with estimates
Storing plans for later execution
In Pi, translate the OpenCode-style Task blocks below to the native task tool's steps schema, using only the agents and effort presets exposed by the active session.
Use this section only when the host provides compatible store tools. If it does not, retain the complete plan in TODO descriptions or the conversation and omit storewrite, storeread, [store:<id>], and stored prompt drafts.
If the plan will be stored and later resumed, this skill defines the planning
shape; tool-store only explains the storage tool itself.
When a stored plan will produce 3+ TODOs, take more than 60 minutes, or
involve multiple phases or agents, include data.prompt_drafts in the plan
store entry.
Use this shape:
{
"prompt_drafts": {
"universal_handoff_prompt": "@orchestrator Load store: <plan-id>\n\nTask: Execute the stored plan.",
"todo_tasks": [
{
"todo_title": "Short step title",
"todo_content": "Short step title [store:<plan-id>]",
"task_block": "Task({ ... })"
}
]
}
}
Rules:
universal_handoff_promptis a plain user message, not aTask({ ... })todo_contentshould include[store:<plan-id>]task_blockshould be a full delegation block for the step- Replace placeholder plan IDs after the store item is created
Breakdown Process
1. Understand the Full Scope
- What's the complete requirement?
- What are all the components needed?
- What's the end goal?
- What are the constraints?
2. Identify Major Phases
- What are the logical groupings?
- What must happen first?
- What can happen in parallel?
- What depends on what?
3. Break Into Small Tasks
- Each task should be 1-2 hours max
- Clear, actionable items
- Independently completable
- Easy to verify completion
4. Define Dependencies
- What must be done first?
- What can be done in parallel?
- What blocks what?
- What's the critical path?
5. Estimate Effort
- Realistic time estimates
- Include testing time
- Account for unknowns
- Add buffer for complexity
Breakdown Template
# Task Breakdown: {Task Name}
## Overview
{1-2 sentence description of what we're building}
## Prerequisites
- [ ] {Prerequisite 1}
- [ ] {Prerequisite 2}
## Tasks
### Phase 1: {Phase Name}
**Goal:** {What this phase accomplishes}
- [ ] **Task 1.1:** {Description}
- **Files:** {files to create/modify}
- **Estimate:** {time estimate}
- **Dependencies:** {none / task X}
- **Verification:** {how to verify it's done}
- [ ] **Task 1.2:** {Description}
- **Files:** {files to create/modify}
- **Estimate:** {time estimate}
- **Dependencies:** {task 1.1}
- **Verification:** {how to verify it's done}
### Phase 2: {Phase Name}
**Goal:** {What this phase accomplishes}
- [ ] **Task 2.1:** {Description}
- **Files:** {files to create/modify}
- **Estimate:** {time estimate}
- **Dependencies:** {phase 1 complete}
- **Verification:** {how to verify it's done}
## Testing Strategy
- [ ] Unit tests for {component}
- [ ] Integration tests for {flow}
- [ ] Manual testing: {scenarios}
## Total Estimate
**Time:** {X} hours
**Complexity:** {Low / Medium / High}
## Notes
{Any important context, decisions, or considerations}
Best Practices
Keep Tasks Small
- 1-2 hours maximum per task
- If larger, break it down further
- Each task should be completable in one sitting
Make Dependencies Clear
- Explicitly state what must be done first
- Identify parallel work opportunities
- Note blocking dependencies
Include Verification
- How do you know the task is done?
- What should work when complete?
- How can it be tested?
Be Realistic with Estimates
- Include time for testing
- Account for unknowns
- Add buffer for complexity
- Better to overestimate than underestimate
Group Related Work
- Organize by feature or component
- Keep related tasks together
- Make phases logical and cohesive
Common Patterns
Database-First Pattern
- Design schema
- Create migrations
- Build models
- Implement business logic
- Add API endpoints
- Write tests
Feature-First Pattern
- Define requirements
- Design interface
- Implement core logic
- Add error handling
- Write tests
- Document usage
Refactoring Pattern
- Add tests for existing behavior
- Refactor small section
- Verify tests still pass
- Repeat for next section
- Clean up and optimize
- Update documentation
Example Breakdown
# Task Breakdown: User Authentication System
## Overview
Build authentication system with login, registration, and password reset.
## Prerequisites
- [ ] Database schema designed
- [ ] Email service configured
## Tasks
### Phase 1: Core Authentication
**Goal:** Basic login/logout functionality
- [ ] **Task 1.1:** Create user model and database schema
- **Files:** `models/user.js`, `migrations/001_users.sql`
- **Estimate:** 1 hour
- **Dependencies:** none
- **Verification:** Can create user in database
- [ ] **Task 1.2:** Implement password hashing
- **Files:** `utils/password.js`
- **Estimate:** 30 min
- **Dependencies:** Task 1.1
- **Verification:** Passwords are hashed, not plain text
- [ ] **Task 1.3:** Create login endpoint
- **Files:** `routes/auth.js`, `controllers/auth.js`
- **Estimate:** 1.5 hours
- **Dependencies:** Task 1.1, 1.2
- **Verification:** Can login with valid credentials
### Phase 2: Registration
**Goal:** New user registration
- [ ] **Task 2.1:** Create registration endpoint
- **Files:** `routes/auth.js`, `controllers/auth.js`
- **Estimate:** 1 hour
- **Dependencies:** Phase 1 complete
- **Verification:** Can create new user account
- [ ] **Task 2.2:** Add email validation
- **Files:** `utils/validation.js`
- **Estimate:** 30 min
- **Dependencies:** Task 2.1
- **Verification:** Invalid emails rejected
### Phase 3: Password Reset
**Goal:** Users can reset forgotten passwords
- [ ] **Task 3.1:** Generate reset tokens
- **Files:** `utils/tokens.js`
- **Estimate:** 1 hour
- **Dependencies:** Phase 1 complete
- **Verification:** Tokens generated and validated
- [ ] **Task 3.2:** Create reset endpoints
- **Files:** `routes/auth.js`, `controllers/auth.js`
- **Estimate:** 1.5 hours
- **Dependencies:** Task 3.1
- **Verification:** Can request and complete password reset
- [ ] **Task 3.3:** Send reset emails
- **Files:** `services/email.js`
- **Estimate:** 1 hour
- **Dependencies:** Task 3.2
- **Verification:** Reset emails sent successfully
## Testing Strategy
- [ ] Unit tests for password hashing
- [ ] Unit tests for token generation
- [ ] Integration tests for login flow
- [ ] Integration tests for registration flow
- [ ] Integration tests for password reset flow
- [ ] Manual testing: Complete user journey
## Total Estimate
**Time:** 8.5 hours
**Complexity:** Medium
## Notes
- Use bcrypt for password hashing (industry standard)
- Reset tokens expire after 1 hour
- Rate limit password reset requests
- Email service must be configured before Phase 3
Quick Reference Checklist
Good breakdown:
- Small, focused tasks (1-2 hours)
- Clear dependencies
- Realistic estimates
- Verification criteria
- Logical phases
Breakdown checklist:
- All requirements captured
- Tasks are small and focused
- Dependencies identified
- Estimates are realistic
- Testing included
- Verification criteria clear