Create detailed feature implementation plans from a Feature PRD for an Epoch-style monorepo, including architecture, database schema, API design, frontend structure, security, performance, and deployment considerations. Use this skill when the user asks for a feature implementation plan, feature breakdown, PRD-to-plan conversion, or implementation-plan.md.
Transform a Feature PRD into a comprehensive Markdown implementation plan for a large-scale SaaS feature, using industry-veteran judgment for high-touch front-end and back-end work, pseudocode only when needed, and saving or presenting the plan at /docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md.
When to invoke
"Create an implementation plan from this Feature PRD."
"Plan the frontend, backend, database, and rollout for this feature."
"Turn this PRD into an Epoch monorepo implementation plan."
Inputs
Use $ARGUMENTS as the feature name, epic name, or PRD path when provided. If $ARGUMENTS is empty, infer {epic-name} and {feature-name} from the Feature PRD title and ask only if the destination path would be ambiguous. Treat the Feature PRD content as the source of truth.
Planning scope
Area
Required content
Goal
Describe the feature goal in 3-5 sentences.
Requirements
Preserve detailed feature requirements and implementation specifics from the PRD.
File system
Map work into apps/[app-name]/, services/[service-name]/, and packages/[package-name]/.
Architecture
Include a Mermaid system architecture diagram with frontend, API, business logic, data, and infrastructure layers.
Database
Include a Mermaid entity-relationship diagram, table specifications, constraints, indexes, foreign keys, and migration strategy.
API
Define endpoints, request/response TypeScript types, tRPC routes when applicable, authentication, authorization, validation, status codes, rate limiting, and caching.
Frontend
Define component hierarchy, state flow, reusable components, Zustand/React Query patterns, and TypeScript interfaces.
Security performance
Cover authentication/authorization, data validation, sanitization, caching, and performance optimization.
Deployment
Explain Docker containerization, background services, environment rollout, and scalability.
Epoch monorepo placement
Use the monorepo tree literally when planning files. Assign each artifact to the narrowest owning package or service.
Create a Mermaid diagram using subgraphs for these layers:
Layer
Include
Frontend Layer
User interface components, state management, and client-side logic.
API Layer
tRPC endpoints, authentication middleware, input validation, and request routing.
Business Logic Layer
Service classes, business rules, workflow orchestration, and event handling.
Data Layer
Database interactions, caching mechanisms, and external API integrations.
Infrastructure Layer
Docker containers, background services, and deployment components.
Label arrows with request/response patterns, data transformations, events, and feature-specific flows.
Frontend architecture patterns
Use shadcn/ui as the accessible component foundation when the PRD needs UI. Adapt the example hierarchy to the actual feature rather than copying recipe-specific names unless the feature is a recipe library.
Include a Mermaid state flow diagram; separate server cache, client UI state, and form state.
Component hierarchy
Name containers, presentational components, forms, empty states, loading states, and error states.
TypeScript
Show interfaces and types for request, response, entity, form, and view model shapes.
Data fetching
Use React Query for server state and Zustand for cross-component client state only when needed.
Accessibility
Include keyboard behavior, focus states, labels, and semantic elements for interactive flows.
API and data design
Subject
Required detail
Endpoints
Full endpoint specifications, including tRPC procedure names when used.
Request/response
TypeScript types, validation constraints, and representative examples.
Auth
Stack Auth authentication and authorization checks at the boundary.
Errors
Status codes, error shape, retryability, and user-visible message rules.
Data model
Entity fields, types, nullability, defaults, constraints, foreign keys, and indexes.
Migrations
Version-controlled migration order and rollback approach.
Caching
What is cached, invalidation triggers, and stale data tolerance.
Limits
Do not write production code in the plan. Use pseudocode only for technical situations where prose would be ambiguous.
Do not invent requirements not supported by the Feature PRD; mark assumptions explicitly.
Do not omit deployment architecture when Docker containers, background services, or infrastructure dependencies are part of the feature.
Output template
# Implementation Plan: <feature-name>
**Destination:** `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`
**Source:** Feature PRD: <title or path>
## Goal
<3-5 sentences describing the feature goal>
## Requirements
- <requirement and implementation-specific detail>
## File System
```text
apps/
[app-name]/
services/
[service-name]/
packages/
[package-name]/
```
## Technical Considerations
### System Architecture Overview
```mermaid
flowchart TD
subgraph Frontend Layer
UI[Feature UI]
end
subgraph API Layer
API[tRPC endpoint]
end
subgraph Business Logic Layer
SVC[Service class]
end
subgraph Data Layer
DB[(Database)]
end
subgraph Infrastructure Layer
INF[Docker/background service]
end
UI -->|request/response| API --> SVC --> DB
```
### Database Schema Design
```mermaid
erDiagram
ENTITY ||--o{ RelatedEntity : owns
```
### API Design
| Endpoint | Auth | Request | Response | Errors |
| --- | --- | --- | --- | --- |
| `<endpoint>` | Stack Auth | `<TypeScript type>` | `<TypeScript type>` | `<status codes>` |
### Frontend Architecture
<component hierarchy, state flow diagram, reusable components, Zustand/React Query usage, TypeScript interfaces>
### Security Performance
<authentication, authorization, validation, sanitization, caching, and performance optimization; include Authentication/authorization boundaries explicitly>
Quality gate
The output is a Markdown implementation plan and, when writing files, targets /docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md.
The plan includes the apps/, services/, and packages/ monorepo structure.
The architecture diagram has frontend, API, business logic, data, and infrastructure subgraphs with labeled flows.
The database section includes Mermaid ERD, table specifications, indexes, foreign keys, and migration strategy.
The API section includes endpoints, TypeScript request/response types, Stack Auth, validation, status codes, rate limiting, and caching.
The frontend section includes component hierarchy, shadcn/ui usage, state flow, Zustand/React Query patterns, and TypeScript interfaces.
Security, performance, Docker containerization, scalability, and deployment concerns are addressed.
No production code is included except necessary pseudocode.
1---2name: breakdown-feature-implementation-23description: Create detailed feature implementation plans from a Feature PRD for an Epoch-style monorepo, including architecture, database schema, API design, frontend structure, security, performance, and deployment considerations. Use this skill when the user asks for a feature implementation plan, feature breakdown, PRD-to-plan conversion, or implementation-plan.md.4---56# Feature implementation breakdown78Transform a Feature PRD into a comprehensive Markdown implementation plan for a large-scale SaaS feature, using industry-veteran judgment for high-touch front-end and back-end work, pseudocode only when needed, and saving or presenting the plan at `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`.910## When to invoke1112- "Create an implementation plan from this Feature PRD."13- "Break down this feature for engineering."14- "Generate `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`."15- "Plan the frontend, backend, database, and rollout for this feature."16- "Turn this PRD into an Epoch monorepo implementation plan."1718## Inputs1920Use `$ARGUMENTS` as the feature name, epic name, or PRD path when provided. If `$ARGUMENTS` is empty, infer `{epic-name}` and `{feature-name}` from the Feature PRD title and ask only if the destination path would be ambiguous. Treat the Feature PRD content as the source of truth.2122## Planning scope2324| Area | Required content |25| --- | --- |26| Goal | Describe the feature goal in 3-5 sentences. |27| Requirements | Preserve detailed feature requirements and implementation specifics from the PRD. |28| File system | Map work into `apps/[app-name]/`, `services/[service-name]/`, and `packages/[package-name]/`. |29| Architecture | Include a Mermaid system architecture diagram with frontend, API, business logic, data, and infrastructure layers. |30| Database | Include a Mermaid entity-relationship diagram, table specifications, constraints, indexes, foreign keys, and migration strategy. |31| API | Define endpoints, request/response TypeScript types, tRPC routes when applicable, authentication, authorization, validation, status codes, rate limiting, and caching. |32| Frontend | Define component hierarchy, state flow, reusable components, Zustand/React Query patterns, and TypeScript interfaces. |33| Security performance | Cover authentication/authorization, data validation, sanitization, caching, and performance optimization. |34| Deployment | Explain Docker containerization, background services, environment rollout, and scalability. |3536## Epoch monorepo placement3738Use the monorepo tree literally when planning files. Assign each artifact to the narrowest owning package or service.3940```text41apps/42 [app-name]/43services/44 [service-name]/45packages/46 [package-name]/47```4849| Location | Put here |50| --- | --- |51| `apps/[app-name]/` | UI routes, page components, client state, shadcn/ui composition, and app-specific React Query hooks. |52| `services/[service-name]/` | tRPC endpoints, service classes, workflow orchestration, background jobs, and external API integrations. |53| `packages/[package-name]/` | Shared types, validation schemas, design-system wrappers, domain utilities, and reusable clients. |5455## Architecture diagram requirements5657Create a Mermaid diagram using subgraphs for these layers:5859| Layer | Include |60| --- | --- |61| Frontend Layer | User interface components, state management, and client-side logic. |62| API Layer | tRPC endpoints, authentication middleware, input validation, and request routing. |63| Business Logic Layer | Service classes, business rules, workflow orchestration, and event handling. |64| Data Layer | Database interactions, caching mechanisms, and external API integrations. |65| Infrastructure Layer | Docker containers, background services, and deployment components. |6667Label arrows with request/response patterns, data transformations, events, and feature-specific flows.6869## Frontend architecture patterns7071Use `shadcn/ui` as the accessible component foundation when the PRD needs UI. Adapt the example hierarchy to the actual feature rather than copying recipe-specific names unless the feature is a recipe library.7273```text74Recipe Library Page75├── Header Section (shadcn: Card)76│ ├── Title (shadcn: Typography `h1`)77│ ├── Add Recipe Button (shadcn: Button with DropdownMenu)78│ │ ├── Manual Entry (DropdownMenuItem)79│ │ ├── Import from URL (DropdownMenuItem)80│ │ └── Import from PDF (DropdownMenuItem)81│ └── Search Input (shadcn: Input with icon)82├── Main Content Area (flex container)83│ ├── Filter Sidebar (aside)84│ │ ├── Filter Title (shadcn: Typography `h4`)85│ │ ├── Category Filters (shadcn: Checkbox group)86│ │ ├── Cuisine Filters (shadcn: Checkbox group)87│ │ └── Difficulty Filters (shadcn: RadioGroup)88│ └── Recipe Grid (main)89│ └── Recipe Card (shadcn: Card)90│ ├── Recipe Image (img)91│ ├── Recipe Title (shadcn: Typography `h3`)92│ ├── Recipe Tags (shadcn: Badge)93│ └── Quick Actions (shadcn: Button - View, Edit)94```9596| Topic | Planning rule |97| --- | --- |98| State flow | Include a Mermaid state flow diagram; separate server cache, client UI state, and form state. |99| Component hierarchy | Name containers, presentational components, forms, empty states, loading states, and error states. |100| TypeScript | Show interfaces and types for request, response, entity, form, and view model shapes. |101| Data fetching | Use React Query for server state and Zustand for cross-component client state only when needed. |102| Accessibility | Include keyboard behavior, focus states, labels, and semantic elements for interactive flows. |103104## API and data design105106| Subject | Required detail |107| --- | --- |108| Endpoints | Full endpoint specifications, including tRPC procedure names when used. |109| Request/response | TypeScript types, validation constraints, and representative examples. |110| Auth | Stack Auth authentication and authorization checks at the boundary. |111| Errors | Status codes, error shape, retryability, and user-visible message rules. |112| Data model | Entity fields, types, nullability, defaults, constraints, foreign keys, and indexes. |113| Migrations | Version-controlled migration order and rollback approach. |114| Caching | What is cached, invalidation triggers, and stale data tolerance. |115116## Limits117118- Do not write production code in the plan. Use pseudocode only for technical situations where prose would be ambiguous.119- Do not invent requirements not supported by the Feature PRD; mark assumptions explicitly.120- Do not omit deployment architecture when Docker containers, background services, or infrastructure dependencies are part of the feature.121122## Output template123124````markdown125# Implementation Plan: <feature-name>126127**Destination:** `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`128**Source:** Feature PRD: <title or path>129130## Goal131<3-5 sentences describing the feature goal>132133## Requirements134- <requirement and implementation-specific detail>135136## File System137```text138apps/139 [app-name]/140services/141 [service-name]/142packages/143 [package-name]/144```145146## Technical Considerations147148### System Architecture Overview149```mermaid150flowchart TD151 subgraph Frontend Layer152 UI[Feature UI]153 end154 subgraph API Layer155 API[tRPC endpoint]156 end157 subgraph Business Logic Layer158 SVC[Service class]159 end160 subgraph Data Layer161 DB[(Database)]162 end163 subgraph Infrastructure Layer164 INF[Docker/background service]165 end166 UI -->|request/response| API --> SVC --> DB167```168169### Database Schema Design170```mermaid171erDiagram172 ENTITY ||--o{ RelatedEntity : owns173```174175### API Design176| Endpoint | Auth | Request | Response | Errors |177| --- | --- | --- | --- | --- |178| `<endpoint>` | Stack Auth | `<TypeScript type>` | `<TypeScript type>` | `<status codes>` |179180### Frontend Architecture181<component hierarchy, state flow diagram, reusable components, Zustand/React Query usage, TypeScript interfaces>182183### Security Performance184<authentication, authorization, validation, sanitization, caching, and performance optimization; include Authentication/authorization boundaries explicitly>185````186187## Quality gate188189- [ ] The output is a Markdown implementation plan and, when writing files, targets `/docs/ways-of-work/plan/{epic-name}/{feature-name}/implementation-plan.md`.190- [ ] The plan includes the `apps/`, `services/`, and `packages/` monorepo structure.191- [ ] The architecture diagram has frontend, API, business logic, data, and infrastructure subgraphs with labeled flows.192- [ ] The database section includes Mermaid ERD, table specifications, indexes, foreign keys, and migration strategy.193- [ ] The API section includes endpoints, TypeScript request/response types, Stack Auth, validation, status codes, rate limiting, and caching.194- [ ] The frontend section includes component hierarchy, shadcn/ui usage, state flow, Zustand/React Query patterns, and TypeScript interfaces.195- [ ] Security, performance, Docker containerization, scalability, and deployment concerns are addressed.196- [ ] No production code is included except necessary pseudocode.
Run npx skillmds@latest add paulasilvatech/breakdown-feature-implementation-2 in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Create detailed feature implementation plans from a Feature PRD for an Epoch-style monorepo, including architecture, database schema, API design, frontend structure, security, performance, and deployment considerations. Use this skill when the user asks for a feature implementation plan, feature breakdown, PRD-to-plan conversion, or implementation-plan.md. It is listed under Product & Planning on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
paulasilvatech (@paulasilvatech) published this skill. Their other Agent Skills are listed on their SkillMD profile.