locus-product-planning 1.0.0 → 1.2.0

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 (76) hide show
  1. package/.claude-plugin/marketplace.json +31 -0
  2. package/.claude-plugin/plugin.json +32 -0
  3. package/README.md +131 -45
  4. package/agents/engineering/architect-reviewer.md +122 -0
  5. package/agents/engineering/engineering-manager.md +101 -0
  6. package/agents/engineering/principal-engineer.md +98 -0
  7. package/agents/engineering/staff-engineer.md +86 -0
  8. package/agents/engineering/tech-lead.md +114 -0
  9. package/agents/executive/ceo-strategist.md +81 -0
  10. package/agents/executive/cfo-analyst.md +97 -0
  11. package/agents/executive/coo-operations.md +100 -0
  12. package/agents/executive/cpo-product.md +104 -0
  13. package/agents/executive/cto-architect.md +90 -0
  14. package/agents/product/product-manager.md +70 -0
  15. package/agents/product/project-manager.md +95 -0
  16. package/agents/product/qa-strategist.md +132 -0
  17. package/agents/product/scrum-master.md +70 -0
  18. package/dist/index.d.ts +10 -25
  19. package/dist/index.d.ts.map +1 -1
  20. package/dist/index.js +231 -95
  21. package/dist/lib/skills-core.d.ts +95 -0
  22. package/dist/lib/skills-core.d.ts.map +1 -0
  23. package/dist/lib/skills-core.js +361 -0
  24. package/hooks/hooks.json +15 -0
  25. package/hooks/run-hook.cmd +32 -0
  26. package/hooks/session-start.cmd +13 -0
  27. package/hooks/session-start.sh +70 -0
  28. package/opencode.json +11 -7
  29. package/package.json +18 -4
  30. package/skills/01-executive-suite/ceo-strategist/SKILL.md +132 -0
  31. package/skills/01-executive-suite/cfo-analyst/SKILL.md +187 -0
  32. package/skills/01-executive-suite/coo-operations/SKILL.md +211 -0
  33. package/skills/01-executive-suite/cpo-product/SKILL.md +231 -0
  34. package/skills/01-executive-suite/cto-architect/SKILL.md +173 -0
  35. package/skills/02-product-management/estimation-expert/SKILL.md +139 -0
  36. package/skills/02-product-management/product-manager/SKILL.md +265 -0
  37. package/skills/02-product-management/program-manager/SKILL.md +178 -0
  38. package/skills/02-product-management/project-manager/SKILL.md +221 -0
  39. package/skills/02-product-management/roadmap-strategist/SKILL.md +186 -0
  40. package/skills/02-product-management/scrum-master/SKILL.md +212 -0
  41. package/skills/03-engineering-leadership/architect-reviewer/SKILL.md +249 -0
  42. package/skills/03-engineering-leadership/engineering-manager/SKILL.md +207 -0
  43. package/skills/03-engineering-leadership/principal-engineer/SKILL.md +206 -0
  44. package/skills/03-engineering-leadership/staff-engineer/SKILL.md +237 -0
  45. package/skills/03-engineering-leadership/tech-lead/SKILL.md +296 -0
  46. package/skills/04-developer-specializations/core/api-designer/SKILL.md +579 -0
  47. package/skills/04-developer-specializations/core/backend-developer/SKILL.md +205 -0
  48. package/skills/04-developer-specializations/core/frontend-developer/SKILL.md +233 -0
  49. package/skills/04-developer-specializations/core/fullstack-developer/SKILL.md +202 -0
  50. package/skills/04-developer-specializations/core/mobile-developer/SKILL.md +220 -0
  51. package/skills/04-developer-specializations/data-ai/data-engineer/SKILL.md +316 -0
  52. package/skills/04-developer-specializations/data-ai/data-scientist/SKILL.md +338 -0
  53. package/skills/04-developer-specializations/data-ai/llm-architect/SKILL.md +390 -0
  54. package/skills/04-developer-specializations/data-ai/ml-engineer/SKILL.md +349 -0
  55. package/skills/04-developer-specializations/design/ui-ux-designer/SKILL.md +337 -0
  56. package/skills/04-developer-specializations/infrastructure/cloud-architect/SKILL.md +354 -0
  57. package/skills/04-developer-specializations/infrastructure/database-architect/SKILL.md +430 -0
  58. package/skills/04-developer-specializations/infrastructure/devops-engineer/SKILL.md +306 -0
  59. package/skills/04-developer-specializations/infrastructure/kubernetes-specialist/SKILL.md +419 -0
  60. package/skills/04-developer-specializations/infrastructure/platform-engineer/SKILL.md +289 -0
  61. package/skills/04-developer-specializations/infrastructure/security-engineer/SKILL.md +336 -0
  62. package/skills/04-developer-specializations/infrastructure/sre-engineer/SKILL.md +425 -0
  63. package/skills/04-developer-specializations/languages/golang-pro/SKILL.md +366 -0
  64. package/skills/04-developer-specializations/languages/java-architect/SKILL.md +296 -0
  65. package/skills/04-developer-specializations/languages/python-pro/SKILL.md +317 -0
  66. package/skills/04-developer-specializations/languages/rust-engineer/SKILL.md +309 -0
  67. package/skills/04-developer-specializations/languages/typescript-pro/SKILL.md +251 -0
  68. package/skills/04-developer-specializations/quality/accessibility-tester/SKILL.md +338 -0
  69. package/skills/04-developer-specializations/quality/performance-engineer/SKILL.md +384 -0
  70. package/skills/04-developer-specializations/quality/qa-expert/SKILL.md +413 -0
  71. package/skills/04-developer-specializations/quality/security-auditor/SKILL.md +359 -0
  72. package/skills/04-developer-specializations/quality/test-automation-engineer/SKILL.md +711 -0
  73. package/skills/05-specialists/compliance-specialist/SKILL.md +171 -0
  74. package/skills/05-specialists/technical-writer/SKILL.md +576 -0
  75. package/skills/using-locus/SKILL.md +126 -0
  76. package/.opencode/skills/locus/SKILL.md +0 -299
@@ -1,299 +0,0 @@
1
- ---
2
- name: locus
3
- description: Plan and build projects through a simple 4-step process (Vision → Features → Design → Build)
4
- license: MIT
5
- metadata:
6
- version: "2.0.0"
7
- author: locus
8
- category: workflow
9
- ---
10
-
11
- # Locus - Simple Project Planning
12
-
13
- Help users go from idea to implementation through 4 simple steps. No jargon, no complexity - just guided progress.
14
-
15
- ## How It Works
16
-
17
- When a user describes something they want to build, guide them through:
18
-
19
- ```
20
- Step 1: Vision → What and why?
21
- Step 2: Features → What will it do?
22
- Step 3: Design → How will it work?
23
- Step 4: Build → Make it happen
24
- ```
25
-
26
- ## User Experience
27
-
28
- ### Starting (User describes their idea)
29
-
30
- When user says something like:
31
- - "I want to build an AI trading simulator"
32
- - "/locus a mobile app for..."
33
- - "Help me create a..."
34
-
35
- Respond with:
36
-
37
- ```
38
- I'll help you plan and build this step by step.
39
-
40
- 📋 [Project Name]
41
- ━━━━━━━━━━━━━━━━━━
42
- → Step 1: Vision ◄ you are here
43
- Step 2: Features
44
- Step 3: Design
45
- Step 4: Build
46
-
47
- Let's start with the vision. [Ask 1-2 clarifying questions]
48
- ```
49
-
50
- ### Progressing (User says "continue", "next", "yes", etc.)
51
-
52
- Move to the next step automatically. Show progress:
53
-
54
- ```
55
- ✓ Step 1: Vision — complete
56
-
57
- 📋 [Project Name]
58
- ━━━━━━━━━━━━━━━━━━
59
- ✓ Step 1: Vision
60
- → Step 2: Features ◄ you are here
61
- Step 3: Design
62
- Step 4: Build
63
-
64
- Now let's define the features...
65
- ```
66
-
67
- ### Checking Status (User asks "where are we?", "status", "progress")
68
-
69
- ```
70
- 📋 [Project Name]
71
- ━━━━━━━━━━━━━━━━━━
72
- ✓ Step 1: Vision
73
- ✓ Step 2: Features
74
- → Step 3: Design ◄ you are here
75
- Step 4: Build
76
-
77
- Progress: 50% complete
78
- Say "continue" to keep going.
79
- ```
80
-
81
- ## The Four Steps
82
-
83
- ### Step 1: Vision
84
- **Purpose**: Understand what they're building and why
85
-
86
- Ask about:
87
- - What problem does this solve?
88
- - Who is it for?
89
- - What does success look like?
90
-
91
- **Output**: Clear vision statement (create behind the scenes)
92
-
93
- ### Step 2: Features
94
- **Purpose**: Define what the product will do
95
-
96
- Ask about:
97
- - Core features (must have)
98
- - Nice-to-have features
99
- - What's NOT included
100
-
101
- **Output**: Feature list with priorities (create behind the scenes)
102
-
103
- ### Step 3: Design
104
- **Purpose**: Figure out how it will work
105
-
106
- Cover:
107
- - Key technical decisions
108
- - Architecture overview
109
- - Main components
110
-
111
- **Output**: Technical approach (create behind the scenes)
112
-
113
- ### Step 4: Build
114
- **Purpose**: Actually create it
115
-
116
- Do:
117
- - Break into tasks
118
- - Start implementing
119
- - Track progress
120
-
121
- **Output**: Working code/product
122
-
123
- ## Response Patterns
124
-
125
- ### Keep It Conversational
126
-
127
- **Good:**
128
- > "Great! So we're building a trading simulator that helps people learn without risking real money. What's the most important feature it needs?"
129
-
130
- **Bad:**
131
- > "I have created the strategic mandate artifact for Tier 1. The gate criteria require vision_aligned=true. Proceeding to Tier 2 Product Planning phase."
132
-
133
- ### Show Progress Visually
134
-
135
- Always show the simple progress bar:
136
- ```
137
- 📋 Project Name
138
- ━━━━━━━━━━━━━━
139
- ✓ Step 1: Vision
140
- → Step 2: Features ◄
141
- Step 3: Design
142
- Step 4: Build
143
- ```
144
-
145
- ### Handle "continue" Naturally
146
-
147
- When user says: continue, next, yes, keep going, proceed, go ahead, let's do it
148
-
149
- → Move to next step or continue current step
150
-
151
- ### Handle Questions
152
-
153
- If user asks about the process:
154
- > "We're working through 4 steps: Vision → Features → Design → Build. You're on step 2. Just say 'continue' when you're ready to move forward."
155
-
156
- ## Behind the Scenes
157
-
158
- The skill uses the Initiative Flow Framework internally but **never exposes this to the user**.
159
-
160
- | User Sees | Framework Does |
161
- |-----------|----------------|
162
- | Step 1: Vision | Creates strategic-mandate.md, passes strategic gate |
163
- | Step 2: Features | Creates prd.md and epics, passes product gate |
164
- | Step 3: Design | Creates ADRs, stories, tasks, passes design gate |
165
- | Step 4: Build | Creates implementation files, tracks progress |
166
-
167
- ### File Management
168
-
169
- Create files silently in: `projects/{project-slug}/`
170
-
171
- ```
172
- projects/ai-trading-simulator/
173
- ├── locus.md # Combined readable plan
174
- ├── vision.md # Step 1 output
175
- ├── features.md # Step 2 output
176
- ├── design.md # Step 3 output
177
- └── tasks/ # Step 4 breakdown
178
- ```
179
-
180
- ### State Tracking
181
-
182
- Track state in a simple format:
183
- ```yaml
184
- # projects/{slug}/.locus-state.yaml
185
- project: AI Trading Simulator
186
- current_step: 2
187
- steps:
188
- 1: complete
189
- 2: in_progress
190
- 3: pending
191
- 4: pending
192
- created: 2025-01-20
193
- ```
194
-
195
- ## Example Conversation
196
-
197
- ```
198
- User: I want to build an AI trading simulator
199
-
200
- AI: I'll help you plan and build this step by step.
201
-
202
- 📋 AI Trading Simulator
203
- ━━━━━━━━━━━━━━━━━━━━━━━
204
- → Step 1: Vision ◄ you are here
205
- Step 2: Features
206
- Step 3: Design
207
- Step 4: Build
208
-
209
- Let's start with the vision.
210
-
211
- What problem does this solve? Who would use it?
212
-
213
- User: People who want to learn trading without risking real money.
214
- It should use AI to help them learn faster.
215
-
216
- AI: Got it — a risk-free trading simulator with AI-powered learning.
217
-
218
- A few quick questions:
219
- 1. Should it simulate real market data or simplified scenarios?
220
- 2. Web app, mobile, or both?
221
-
222
- User: Real market data, web app first
223
-
224
- AI: Perfect. Here's the vision:
225
-
226
- **AI Trading Simulator**
227
- A web-based trading simulator using real market data where users
228
- can practice trading strategies risk-free, with AI providing
229
- personalized feedback to accelerate learning.
230
-
231
- ✓ Step 1: Vision — complete
232
-
233
- 📋 AI Trading Simulator
234
- ━━━━━━━━━━━━━━━━━━━━━━━
235
- ✓ Step 1: Vision
236
- → Step 2: Features ◄ you are here
237
- Step 3: Design
238
- Step 4: Build
239
-
240
- Ready to define features?
241
-
242
- User: yes
243
-
244
- AI: Let's figure out what it needs to do.
245
-
246
- **Must-have features** (what's essential?):
247
- - Virtual portfolio with fake money
248
- - Real market data
249
- - Basic buy/sell trades
250
- - AI feedback on trades
251
-
252
- **Nice-to-have** (if time permits?):
253
- - Leaderboards
254
- - Strategy backtesting
255
- - Social features
256
-
257
- Does this capture it, or should we add/remove anything?
258
-
259
- User: Add paper trading competitions as nice-to-have. Otherwise good.
260
-
261
- AI: Added. Here's the feature plan:
262
-
263
- **Must Have**
264
- • Virtual portfolio ($100k starting balance)
265
- • Real-time market data (stocks)
266
- • Buy/sell/short trades
267
- • AI coach (analyzes trades, suggests improvements)
268
- • Performance dashboard
269
-
270
- **Nice to Have**
271
- • Leaderboards & competitions
272
- • Strategy backtesting
273
- • Paper trading competitions
274
- • Social sharing
275
-
276
- ✓ Step 2: Features — complete
277
-
278
- 📋 AI Trading Simulator
279
- ━━━━━━━━━━━━━━━━━━━━━━━
280
- ✓ Step 1: Vision
281
- ✓ Step 2: Features
282
- → Step 3: Design ◄ you are here
283
- Step 4: Build
284
-
285
- Continue to design?
286
-
287
- User: continue
288
-
289
- AI: Now let's figure out how to build this...
290
- [Continues to design step]
291
- ```
292
-
293
- ## Constraints
294
-
295
- - **Never use jargon**: No "tiers", "gates", "artifacts", "epics", "ADRs"
296
- - **Never show file paths**: User doesn't need to know where files are
297
- - **Always show progress**: The 4-step visual keeps users oriented
298
- - **Keep it conversational**: Like talking to a helpful colleague
299
- - **One thing at a time**: Don't overwhelm with options