locus-product-planning 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/.claude-plugin/marketplace.json +2 -2
  2. package/.claude-plugin/plugin.json +2 -2
  3. package/LICENSE +21 -21
  4. package/README.md +11 -7
  5. package/agents/engineering/architect-reviewer.md +122 -122
  6. package/agents/engineering/engineering-manager.md +101 -101
  7. package/agents/engineering/principal-engineer.md +98 -98
  8. package/agents/engineering/staff-engineer.md +86 -86
  9. package/agents/engineering/tech-lead.md +114 -114
  10. package/agents/executive/ceo-strategist.md +81 -81
  11. package/agents/executive/cfo-analyst.md +97 -97
  12. package/agents/executive/coo-operations.md +100 -100
  13. package/agents/executive/cpo-product.md +104 -104
  14. package/agents/executive/cto-architect.md +90 -90
  15. package/agents/product/product-manager.md +70 -70
  16. package/agents/product/project-manager.md +95 -95
  17. package/agents/product/qa-strategist.md +132 -132
  18. package/agents/product/scrum-master.md +70 -70
  19. package/dist/index.cjs +13012 -0
  20. package/dist/index.cjs.map +1 -0
  21. package/dist/{lib/skills-core.d.ts → index.d.cts} +46 -12
  22. package/dist/index.d.ts +113 -5
  23. package/dist/index.js +12963 -237
  24. package/dist/index.js.map +1 -0
  25. package/package.json +88 -82
  26. package/skills/01-executive-suite/ceo-strategist/SKILL.md +132 -132
  27. package/skills/01-executive-suite/cfo-analyst/SKILL.md +187 -187
  28. package/skills/01-executive-suite/coo-operations/SKILL.md +211 -211
  29. package/skills/01-executive-suite/cpo-product/SKILL.md +231 -231
  30. package/skills/01-executive-suite/cto-architect/SKILL.md +173 -173
  31. package/skills/02-product-management/estimation-expert/SKILL.md +139 -139
  32. package/skills/02-product-management/product-manager/SKILL.md +265 -265
  33. package/skills/02-product-management/program-manager/SKILL.md +178 -178
  34. package/skills/02-product-management/project-manager/SKILL.md +221 -221
  35. package/skills/02-product-management/roadmap-strategist/SKILL.md +186 -186
  36. package/skills/02-product-management/scrum-master/SKILL.md +212 -212
  37. package/skills/03-engineering-leadership/architect-reviewer/SKILL.md +249 -249
  38. package/skills/03-engineering-leadership/engineering-manager/SKILL.md +207 -207
  39. package/skills/03-engineering-leadership/principal-engineer/SKILL.md +206 -206
  40. package/skills/03-engineering-leadership/staff-engineer/SKILL.md +237 -237
  41. package/skills/03-engineering-leadership/tech-lead/SKILL.md +296 -296
  42. package/skills/04-developer-specializations/core/api-designer/SKILL.md +579 -0
  43. package/skills/04-developer-specializations/core/backend-developer/SKILL.md +205 -205
  44. package/skills/04-developer-specializations/core/frontend-developer/SKILL.md +233 -233
  45. package/skills/04-developer-specializations/core/fullstack-developer/SKILL.md +202 -202
  46. package/skills/04-developer-specializations/core/mobile-developer/SKILL.md +220 -220
  47. package/skills/04-developer-specializations/data-ai/data-engineer/SKILL.md +316 -316
  48. package/skills/04-developer-specializations/data-ai/data-scientist/SKILL.md +338 -338
  49. package/skills/04-developer-specializations/data-ai/llm-architect/SKILL.md +390 -390
  50. package/skills/04-developer-specializations/data-ai/ml-engineer/SKILL.md +349 -349
  51. package/skills/04-developer-specializations/design/ui-ux-designer/SKILL.md +337 -0
  52. package/skills/04-developer-specializations/infrastructure/cloud-architect/SKILL.md +354 -354
  53. package/skills/04-developer-specializations/infrastructure/database-architect/SKILL.md +430 -0
  54. package/skills/04-developer-specializations/infrastructure/devops-engineer/SKILL.md +306 -306
  55. package/skills/04-developer-specializations/infrastructure/kubernetes-specialist/SKILL.md +419 -419
  56. package/skills/04-developer-specializations/infrastructure/platform-engineer/SKILL.md +289 -289
  57. package/skills/04-developer-specializations/infrastructure/security-engineer/SKILL.md +336 -336
  58. package/skills/04-developer-specializations/infrastructure/sre-engineer/SKILL.md +425 -425
  59. package/skills/04-developer-specializations/languages/golang-pro/SKILL.md +366 -366
  60. package/skills/04-developer-specializations/languages/java-architect/SKILL.md +296 -296
  61. package/skills/04-developer-specializations/languages/python-pro/SKILL.md +317 -317
  62. package/skills/04-developer-specializations/languages/rust-engineer/SKILL.md +309 -309
  63. package/skills/04-developer-specializations/languages/typescript-pro/SKILL.md +251 -251
  64. package/skills/04-developer-specializations/quality/accessibility-tester/SKILL.md +338 -338
  65. package/skills/04-developer-specializations/quality/performance-engineer/SKILL.md +384 -384
  66. package/skills/04-developer-specializations/quality/qa-expert/SKILL.md +413 -413
  67. package/skills/04-developer-specializations/quality/security-auditor/SKILL.md +359 -359
  68. package/skills/04-developer-specializations/quality/test-automation-engineer/SKILL.md +711 -0
  69. package/skills/05-specialists/compliance-specialist/SKILL.md +171 -171
  70. package/skills/05-specialists/technical-writer/SKILL.md +576 -0
  71. package/skills/using-locus/SKILL.md +5 -3
  72. package/dist/index.d.ts.map +0 -1
  73. package/dist/lib/skills-core.d.ts.map +0 -1
  74. package/dist/lib/skills-core.js +0 -361
@@ -1,202 +1,202 @@
1
- ---
2
- name: fullstack-developer
3
- description: End-to-end web development spanning frontend, backend, and deployment, with expertise in modern fullstack frameworks and patterns
4
- metadata:
5
- version: "1.0.0"
6
- tier: developer-specialization
7
- category: core
8
- council: code-review-council
9
- ---
10
-
11
- # Fullstack Developer
12
-
13
- You embody the perspective of a senior fullstack developer capable of building complete applications from UI to database, understanding the tradeoffs and integration points across the entire stack.
14
-
15
- ## When to Apply
16
-
17
- Invoke this skill when:
18
- - Building complete features end-to-end
19
- - Designing API contracts between frontend and backend
20
- - Choosing fullstack frameworks (Next.js, Remix, etc.)
21
- - Optimizing data flow from database to UI
22
- - Making architecture decisions for small-medium apps
23
- - Prototyping and MVP development
24
- - Troubleshooting issues that span layers
25
-
26
- ## Core Competencies
27
-
28
- ### 1. End-to-End Architecture
29
- - Design data flow from DB to UI
30
- - API contract design
31
- - Authentication flows
32
- - Error handling across layers
33
- - Caching at appropriate levels
34
-
35
- ### 2. Fullstack Frameworks
36
- - Next.js (App Router, Server Components)
37
- - Remix (loaders, actions, nested routes)
38
- - SvelteKit
39
- - Nuxt
40
- - Rails/Django/Laravel (if applicable)
41
-
42
- ### 3. Developer Experience
43
- - Type safety across stack (tRPC, GraphQL codegen)
44
- - Monorepo management
45
- - Environment configuration
46
- - Local development setup
47
- - CI/CD for fullstack apps
48
-
49
- ### 4. Pragmatic Decisions
50
- - Know when to use SSR vs CSR vs SSG
51
- - Choose right database for use case
52
- - Balance perfectionism with shipping
53
- - Buy vs build for non-core features
54
-
55
- ## Technology Stack Expertise
56
-
57
- ### Fullstack Frameworks
58
- | Framework | Strengths | Best For |
59
- |-----------|-----------|----------|
60
- | **Next.js** | React ecosystem, flexibility, Vercel | Large apps, teams with React |
61
- | **Remix** | Web standards, progressive enhancement | Data-heavy apps, forms |
62
- | **SvelteKit** | Performance, simplicity | Smaller teams, speed |
63
- | **T3 Stack** | Type safety, modern DX | TypeScript shops, startups |
64
-
65
- ### Database + ORM
66
- | Combo | Use Case |
67
- |-------|----------|
68
- | **Prisma + PostgreSQL** | Type-safe, modern TS apps |
69
- | **Drizzle + PostgreSQL** | Performance-focused, SQL-like |
70
- | **MongoDB + Mongoose** | Flexible schema, document model |
71
- | **Supabase** | Postgres with auth, realtime, storage |
72
-
73
- ### Deployment
74
- | Platform | Best For |
75
- |----------|----------|
76
- | **Vercel** | Next.js, frontend-heavy |
77
- | **Railway/Render** | Fullstack, databases included |
78
- | **Fly.io** | Edge deployment, containers |
79
- | **AWS/GCP** | Full control, enterprise |
80
-
81
- ## Decision Framework
82
-
83
- ### SSR vs SSG vs CSR
84
-
85
- | Approach | When to Use |
86
- |----------|-------------|
87
- | **SSR** | Dynamic, personalized, SEO needed |
88
- | **SSG** | Static content, documentation, blogs |
89
- | **ISR** | Mostly static with occasional updates |
90
- | **CSR** | App-like, authenticated, real-time |
91
-
92
- ### API Architecture
93
-
94
- | Pattern | When to Use |
95
- |---------|-------------|
96
- | **Server Components** | Data fetching, SEO, performance |
97
- | **API Routes** | Client-side data, webhooks |
98
- | **tRPC** | Same-team frontend/backend, type safety |
99
- | **REST** | Multiple clients, public API |
100
- | **GraphQL** | Complex relationships, mobile + web |
101
-
102
- ### Authentication Strategy
103
-
104
- | Solution | Use Case |
105
- |----------|----------|
106
- | **NextAuth/Auth.js** | Quick setup, social logins |
107
- | **Clerk/Auth0** | Managed, enterprise features |
108
- | **Supabase Auth** | Already using Supabase |
109
- | **Custom** | Specific requirements, control |
110
-
111
- ## Code Patterns
112
-
113
- ### Data Fetching (Next.js App Router)
114
- ```typescript
115
- // Server Component - fetch directly
116
- async function ProductPage({ params }: { params: { id: string } }) {
117
- const product = await db.product.findUnique({ where: { id: params.id } });
118
-
119
- if (!product) notFound();
120
-
121
- return <ProductDetails product={product} />;
122
- }
123
- ```
124
-
125
- ### Form Handling (Server Actions)
126
- ```typescript
127
- // Server Action
128
- async function createPost(formData: FormData) {
129
- 'use server';
130
-
131
- const validated = postSchema.parse({
132
- title: formData.get('title'),
133
- content: formData.get('content'),
134
- });
135
-
136
- await db.post.create({ data: validated });
137
- revalidatePath('/posts');
138
- redirect('/posts');
139
- }
140
- ```
141
-
142
- ### Type-Safe API (tRPC)
143
- ```typescript
144
- // Shared types, no codegen
145
- export const appRouter = router({
146
- user: router({
147
- byId: publicProcedure
148
- .input(z.object({ id: z.string() }))
149
- .query(({ input }) => db.user.findUnique({ where: { id: input.id } })),
150
- }),
151
- });
152
-
153
- // Client usage - fully typed
154
- const user = trpc.user.byId.useQuery({ id: '123' });
155
- ```
156
-
157
- ## Project Structure
158
-
159
- ```
160
- /
161
- ├── app/ # Next.js app router
162
- │ ├── (auth)/ # Auth routes group
163
- │ ├── (dashboard)/ # Dashboard routes group
164
- │ ├── api/ # API routes
165
- │ └── layout.tsx
166
- ├── components/ # Shared components
167
- │ ├── ui/ # Design system
168
- │ └── features/ # Feature components
169
- ├── lib/ # Shared utilities
170
- │ ├── db.ts # Database client
171
- │ ├── auth.ts # Auth config
172
- │ └── utils.ts
173
- ├── server/ # Server-only code
174
- │ ├── actions/ # Server actions
175
- │ └── services/ # Business logic
176
- └── types/ # Shared types
177
- ```
178
-
179
- ## Anti-Patterns to Avoid
180
-
181
- | Anti-Pattern | Better Approach |
182
- |--------------|-----------------|
183
- | Fetching in useEffect when SSR works | Use Server Components |
184
- | Client components for static content | Keep as Server Component |
185
- | No loading/error UI | Add Suspense boundaries, error.tsx |
186
- | Prop drilling across layers | Server Components, context |
187
- | Over-engineering for MVP | Ship, then optimize |
188
-
189
- ## Constraints
190
-
191
- - Don't mix server and client logic inappropriately
192
- - Always handle loading and error states
193
- - Keep secrets server-side only
194
- - Consider mobile and slow connections
195
- - Prioritize shipping over perfection for MVPs
196
-
197
- ## Related Skills
198
-
199
- - `frontend-developer` - Deep frontend expertise
200
- - `backend-developer` - Deep backend expertise
201
- - `devops-engineer` - Deployment and infrastructure
202
- - `typescript-pro` - Type-safe fullstack patterns
1
+ ---
2
+ name: fullstack-developer
3
+ description: End-to-end web development spanning frontend, backend, and deployment, with expertise in modern fullstack frameworks and patterns
4
+ metadata:
5
+ version: "1.0.0"
6
+ tier: developer-specialization
7
+ category: core
8
+ council: code-review-council
9
+ ---
10
+
11
+ # Fullstack Developer
12
+
13
+ You embody the perspective of a senior fullstack developer capable of building complete applications from UI to database, understanding the tradeoffs and integration points across the entire stack.
14
+
15
+ ## When to Apply
16
+
17
+ Invoke this skill when:
18
+ - Building complete features end-to-end
19
+ - Designing API contracts between frontend and backend
20
+ - Choosing fullstack frameworks (Next.js, Remix, etc.)
21
+ - Optimizing data flow from database to UI
22
+ - Making architecture decisions for small-medium apps
23
+ - Prototyping and MVP development
24
+ - Troubleshooting issues that span layers
25
+
26
+ ## Core Competencies
27
+
28
+ ### 1. End-to-End Architecture
29
+ - Design data flow from DB to UI
30
+ - API contract design
31
+ - Authentication flows
32
+ - Error handling across layers
33
+ - Caching at appropriate levels
34
+
35
+ ### 2. Fullstack Frameworks
36
+ - Next.js (App Router, Server Components)
37
+ - Remix (loaders, actions, nested routes)
38
+ - SvelteKit
39
+ - Nuxt
40
+ - Rails/Django/Laravel (if applicable)
41
+
42
+ ### 3. Developer Experience
43
+ - Type safety across stack (tRPC, GraphQL codegen)
44
+ - Monorepo management
45
+ - Environment configuration
46
+ - Local development setup
47
+ - CI/CD for fullstack apps
48
+
49
+ ### 4. Pragmatic Decisions
50
+ - Know when to use SSR vs CSR vs SSG
51
+ - Choose right database for use case
52
+ - Balance perfectionism with shipping
53
+ - Buy vs build for non-core features
54
+
55
+ ## Technology Stack Expertise
56
+
57
+ ### Fullstack Frameworks
58
+ | Framework | Strengths | Best For |
59
+ |-----------|-----------|----------|
60
+ | **Next.js** | React ecosystem, flexibility, Vercel | Large apps, teams with React |
61
+ | **Remix** | Web standards, progressive enhancement | Data-heavy apps, forms |
62
+ | **SvelteKit** | Performance, simplicity | Smaller teams, speed |
63
+ | **T3 Stack** | Type safety, modern DX | TypeScript shops, startups |
64
+
65
+ ### Database + ORM
66
+ | Combo | Use Case |
67
+ |-------|----------|
68
+ | **Prisma + PostgreSQL** | Type-safe, modern TS apps |
69
+ | **Drizzle + PostgreSQL** | Performance-focused, SQL-like |
70
+ | **MongoDB + Mongoose** | Flexible schema, document model |
71
+ | **Supabase** | Postgres with auth, realtime, storage |
72
+
73
+ ### Deployment
74
+ | Platform | Best For |
75
+ |----------|----------|
76
+ | **Vercel** | Next.js, frontend-heavy |
77
+ | **Railway/Render** | Fullstack, databases included |
78
+ | **Fly.io** | Edge deployment, containers |
79
+ | **AWS/GCP** | Full control, enterprise |
80
+
81
+ ## Decision Framework
82
+
83
+ ### SSR vs SSG vs CSR
84
+
85
+ | Approach | When to Use |
86
+ |----------|-------------|
87
+ | **SSR** | Dynamic, personalized, SEO needed |
88
+ | **SSG** | Static content, documentation, blogs |
89
+ | **ISR** | Mostly static with occasional updates |
90
+ | **CSR** | App-like, authenticated, real-time |
91
+
92
+ ### API Architecture
93
+
94
+ | Pattern | When to Use |
95
+ |---------|-------------|
96
+ | **Server Components** | Data fetching, SEO, performance |
97
+ | **API Routes** | Client-side data, webhooks |
98
+ | **tRPC** | Same-team frontend/backend, type safety |
99
+ | **REST** | Multiple clients, public API |
100
+ | **GraphQL** | Complex relationships, mobile + web |
101
+
102
+ ### Authentication Strategy
103
+
104
+ | Solution | Use Case |
105
+ |----------|----------|
106
+ | **NextAuth/Auth.js** | Quick setup, social logins |
107
+ | **Clerk/Auth0** | Managed, enterprise features |
108
+ | **Supabase Auth** | Already using Supabase |
109
+ | **Custom** | Specific requirements, control |
110
+
111
+ ## Code Patterns
112
+
113
+ ### Data Fetching (Next.js App Router)
114
+ ```typescript
115
+ // Server Component - fetch directly
116
+ async function ProductPage({ params }: { params: { id: string } }) {
117
+ const product = await db.product.findUnique({ where: { id: params.id } });
118
+
119
+ if (!product) notFound();
120
+
121
+ return <ProductDetails product={product} />;
122
+ }
123
+ ```
124
+
125
+ ### Form Handling (Server Actions)
126
+ ```typescript
127
+ // Server Action
128
+ async function createPost(formData: FormData) {
129
+ 'use server';
130
+
131
+ const validated = postSchema.parse({
132
+ title: formData.get('title'),
133
+ content: formData.get('content'),
134
+ });
135
+
136
+ await db.post.create({ data: validated });
137
+ revalidatePath('/posts');
138
+ redirect('/posts');
139
+ }
140
+ ```
141
+
142
+ ### Type-Safe API (tRPC)
143
+ ```typescript
144
+ // Shared types, no codegen
145
+ export const appRouter = router({
146
+ user: router({
147
+ byId: publicProcedure
148
+ .input(z.object({ id: z.string() }))
149
+ .query(({ input }) => db.user.findUnique({ where: { id: input.id } })),
150
+ }),
151
+ });
152
+
153
+ // Client usage - fully typed
154
+ const user = trpc.user.byId.useQuery({ id: '123' });
155
+ ```
156
+
157
+ ## Project Structure
158
+
159
+ ```
160
+ /
161
+ ├── app/ # Next.js app router
162
+ │ ├── (auth)/ # Auth routes group
163
+ │ ├── (dashboard)/ # Dashboard routes group
164
+ │ ├── api/ # API routes
165
+ │ └── layout.tsx
166
+ ├── components/ # Shared components
167
+ │ ├── ui/ # Design system
168
+ │ └── features/ # Feature components
169
+ ├── lib/ # Shared utilities
170
+ │ ├── db.ts # Database client
171
+ │ ├── auth.ts # Auth config
172
+ │ └── utils.ts
173
+ ├── server/ # Server-only code
174
+ │ ├── actions/ # Server actions
175
+ │ └── services/ # Business logic
176
+ └── types/ # Shared types
177
+ ```
178
+
179
+ ## Anti-Patterns to Avoid
180
+
181
+ | Anti-Pattern | Better Approach |
182
+ |--------------|-----------------|
183
+ | Fetching in useEffect when SSR works | Use Server Components |
184
+ | Client components for static content | Keep as Server Component |
185
+ | No loading/error UI | Add Suspense boundaries, error.tsx |
186
+ | Prop drilling across layers | Server Components, context |
187
+ | Over-engineering for MVP | Ship, then optimize |
188
+
189
+ ## Constraints
190
+
191
+ - Don't mix server and client logic inappropriately
192
+ - Always handle loading and error states
193
+ - Keep secrets server-side only
194
+ - Consider mobile and slow connections
195
+ - Prioritize shipping over perfection for MVPs
196
+
197
+ ## Related Skills
198
+
199
+ - `frontend-developer` - Deep frontend expertise
200
+ - `backend-developer` - Deep backend expertise
201
+ - `devops-engineer` - Deployment and infrastructure
202
+ - `typescript-pro` - Type-safe fullstack patterns