minimal-vibe-coding-kit 0.4.1 → 0.5.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 (207) hide show
  1. package/.agents/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  2. package/.agents/skills/claim/SKILL.md +82 -0
  3. package/.agents/skills/prompt-sharpener/SKILL.md +54 -0
  4. package/.agents/skills/tutien/SKILL.md +74 -0
  5. package/.agents/skills/tutien/references/classification.md +64 -0
  6. package/.agents/skills/tutien/references/lore-sources.md +15 -0
  7. package/.agents/skills/tutien/references/privacy.md +33 -0
  8. package/.agents/skills/tutien/references/schema.md +75 -0
  9. package/.agents/skills/tutien/references/scoring-and-realms.md +37 -0
  10. package/.agents/skills/tutien/references/voice-and-mode.md +44 -0
  11. package/.agents/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  12. package/.agents/skills/tutien/scripts/adapters/git.mjs +48 -0
  13. package/.agents/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  14. package/.agents/skills/tutien/scripts/analyze-history.mjs +84 -0
  15. package/.agents/skills/tutien/scripts/catalog.mjs +130 -0
  16. package/.agents/skills/tutien/scripts/classify.mjs +311 -0
  17. package/.agents/skills/tutien/scripts/command.mjs +107 -0
  18. package/.agents/skills/tutien/scripts/compare.mjs +41 -0
  19. package/.agents/skills/tutien/scripts/metrics.mjs +306 -0
  20. package/.agents/skills/tutien/scripts/normalize-events.mjs +68 -0
  21. package/.agents/skills/tutien/scripts/redact.mjs +30 -0
  22. package/.agents/skills/tutien/scripts/render-report.mjs +423 -0
  23. package/.agents/skills/tutien/scripts/run-tutien.mjs +272 -0
  24. package/.agents/skills/tutien/scripts/score.mjs +97 -0
  25. package/.agents/skills/tutien/scripts/snapshot.mjs +76 -0
  26. package/.agents/skills/tutien/scripts/villains.mjs +196 -0
  27. package/.agents/skills/vibekit-init/SKILL.md +2 -2
  28. package/.claude/settings.json +10 -3
  29. package/.claude/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  30. package/.claude/skills/claim/SKILL.md +82 -0
  31. package/.claude/skills/prompt-sharpener/SKILL.md +54 -0
  32. package/.claude/skills/tutien/SKILL.md +74 -0
  33. package/.claude/skills/tutien/references/classification.md +64 -0
  34. package/.claude/skills/tutien/references/lore-sources.md +15 -0
  35. package/.claude/skills/tutien/references/privacy.md +33 -0
  36. package/.claude/skills/tutien/references/schema.md +75 -0
  37. package/.claude/skills/tutien/references/scoring-and-realms.md +37 -0
  38. package/.claude/skills/tutien/references/voice-and-mode.md +44 -0
  39. package/.claude/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  40. package/.claude/skills/tutien/scripts/adapters/git.mjs +48 -0
  41. package/.claude/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  42. package/.claude/skills/tutien/scripts/analyze-history.mjs +84 -0
  43. package/.claude/skills/tutien/scripts/catalog.mjs +130 -0
  44. package/.claude/skills/tutien/scripts/classify.mjs +311 -0
  45. package/.claude/skills/tutien/scripts/command.mjs +107 -0
  46. package/.claude/skills/tutien/scripts/compare.mjs +41 -0
  47. package/.claude/skills/tutien/scripts/metrics.mjs +306 -0
  48. package/.claude/skills/tutien/scripts/normalize-events.mjs +68 -0
  49. package/.claude/skills/tutien/scripts/redact.mjs +30 -0
  50. package/.claude/skills/tutien/scripts/render-report.mjs +423 -0
  51. package/.claude/skills/tutien/scripts/run-tutien.mjs +272 -0
  52. package/.claude/skills/tutien/scripts/score.mjs +97 -0
  53. package/.claude/skills/tutien/scripts/snapshot.mjs +76 -0
  54. package/.claude/skills/tutien/scripts/villains.mjs +196 -0
  55. package/.claude/skills/vibekit-init/SKILL.md +2 -2
  56. package/.codex/rules/vibekit.rules +77 -0
  57. package/.codex-plugin/plugin.json +1 -1
  58. package/.cursor/cli.json +18 -0
  59. package/.cursor/settings.json +15 -8
  60. package/.cursor/skills/claim/SKILL.md +82 -0
  61. package/.cursor/skills/prompt-sharpener/SKILL.md +54 -0
  62. package/.cursor/skills/tutien/SKILL.md +74 -0
  63. package/.cursor/skills/tutien/references/classification.md +64 -0
  64. package/.cursor/skills/tutien/references/lore-sources.md +15 -0
  65. package/.cursor/skills/tutien/references/privacy.md +33 -0
  66. package/.cursor/skills/tutien/references/schema.md +75 -0
  67. package/.cursor/skills/tutien/references/scoring-and-realms.md +37 -0
  68. package/.cursor/skills/tutien/references/voice-and-mode.md +44 -0
  69. package/.cursor/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  70. package/.cursor/skills/tutien/scripts/adapters/git.mjs +48 -0
  71. package/.cursor/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  72. package/.cursor/skills/tutien/scripts/analyze-history.mjs +84 -0
  73. package/.cursor/skills/tutien/scripts/catalog.mjs +130 -0
  74. package/.cursor/skills/tutien/scripts/classify.mjs +311 -0
  75. package/.cursor/skills/tutien/scripts/command.mjs +107 -0
  76. package/.cursor/skills/tutien/scripts/compare.mjs +41 -0
  77. package/.cursor/skills/tutien/scripts/metrics.mjs +306 -0
  78. package/.cursor/skills/tutien/scripts/normalize-events.mjs +68 -0
  79. package/.cursor/skills/tutien/scripts/redact.mjs +30 -0
  80. package/.cursor/skills/tutien/scripts/render-report.mjs +423 -0
  81. package/.cursor/skills/tutien/scripts/run-tutien.mjs +272 -0
  82. package/.cursor/skills/tutien/scripts/score.mjs +97 -0
  83. package/.cursor/skills/tutien/scripts/snapshot.mjs +76 -0
  84. package/.cursor/skills/tutien/scripts/villains.mjs +196 -0
  85. package/.grok/README.md +13 -0
  86. package/.grok/config.example.toml +13 -0
  87. package/.grok/config.toml +29 -0
  88. package/.grok/rules/safe-delete.md +11 -0
  89. package/.grok/rules/security.md +5 -0
  90. package/.grok/rules/vibe-core.md +8 -0
  91. package/.grok/skills/agentshield-security-review/SKILL.md +75 -0
  92. package/.grok/skills/agentshield-security-review/agents/openai.yaml +5 -0
  93. package/.grok/skills/agentshield-security-review/references/native-install.md +97 -0
  94. package/.grok/skills/agentshield-security-review/references/report-template.md +54 -0
  95. package/.grok/skills/agentshield-security-review/references/review-checklist.md +45 -0
  96. package/.grok/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +135 -0
  97. package/.grok/skills/autoresearch-coding/README.md +15 -0
  98. package/.grok/skills/autoresearch-coding/SKILL.md +101 -0
  99. package/.grok/skills/autoresearch-coding/references/experiment-contract.md +13 -0
  100. package/.grok/skills/autoresearch-coding/references/metric-extraction.md +8 -0
  101. package/.grok/skills/autoresearch-coding/references/result-ledger.md +15 -0
  102. package/.grok/skills/autoresearch-coding/scripts/log_result.py +24 -0
  103. package/.grok/skills/autoresearch-coding/scripts/run_logged.py +30 -0
  104. package/.grok/skills/claim/SKILL.md +82 -0
  105. package/.grok/skills/clearthought/SKILL.md +100 -0
  106. package/.grok/skills/clearthought/examples/decision-framework.md +441 -0
  107. package/.grok/skills/clearthought/examples/metagame-examples.md +536 -0
  108. package/.grok/skills/clearthought/examples/sequential-thinking.md +380 -0
  109. package/.grok/skills/clearthought/references/output-schemas.md +494 -0
  110. package/.grok/skills/clearthought/references/parameter-reference.md +482 -0
  111. package/.grok/skills/coding-level/SKILL.md +34 -0
  112. package/.grok/skills/coding-level/references/level-0.md +131 -0
  113. package/.grok/skills/coding-level/references/level-1.md +118 -0
  114. package/.grok/skills/coding-level/references/level-2.md +140 -0
  115. package/.grok/skills/coding-level/references/level-3.md +142 -0
  116. package/.grok/skills/coding-level/references/level-4.md +152 -0
  117. package/.grok/skills/coding-level/references/level-5.md +84 -0
  118. package/.grok/skills/daily-workflow-curator/SKILL.md +52 -0
  119. package/.grok/skills/memento/SKILL.md +36 -0
  120. package/.grok/skills/parallel-analysis/SKILL.md +160 -0
  121. package/.grok/skills/path-sensitive-shell-safety/SKILL.md +69 -0
  122. package/.grok/skills/path-sensitive-shell-safety/references/workflow.md +127 -0
  123. package/.grok/skills/prompt-sharpener/SKILL.md +54 -0
  124. package/.grok/skills/reviewing-4p-priorities/SKILL.md +72 -0
  125. package/.grok/skills/reviewing-4p-priorities/examples.md +298 -0
  126. package/.grok/skills/sequential-thinking/SKILL.md +106 -0
  127. package/.grok/skills/sequential-thinking/examples/adaptive-depth.md +542 -0
  128. package/.grok/skills/sequential-thinking/examples/branching-exploration.md +474 -0
  129. package/.grok/skills/sequential-thinking/examples/linear-reasoning.md +210 -0
  130. package/.grok/skills/sequential-thinking/examples/revision-pattern.md +304 -0
  131. package/.grok/skills/sequential-thinking/references/output-schema.md +483 -0
  132. package/.grok/skills/sequential-thinking/references/parameters.md +463 -0
  133. package/.grok/skills/sequential-thinking/references/patterns.md +666 -0
  134. package/.grok/skills/tutien/SKILL.md +74 -0
  135. package/.grok/skills/tutien/references/classification.md +64 -0
  136. package/.grok/skills/tutien/references/lore-sources.md +15 -0
  137. package/.grok/skills/tutien/references/privacy.md +33 -0
  138. package/.grok/skills/tutien/references/schema.md +75 -0
  139. package/.grok/skills/tutien/references/scoring-and-realms.md +37 -0
  140. package/.grok/skills/tutien/references/voice-and-mode.md +44 -0
  141. package/.grok/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  142. package/.grok/skills/tutien/scripts/adapters/git.mjs +48 -0
  143. package/.grok/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  144. package/.grok/skills/tutien/scripts/analyze-history.mjs +84 -0
  145. package/.grok/skills/tutien/scripts/catalog.mjs +130 -0
  146. package/.grok/skills/tutien/scripts/classify.mjs +311 -0
  147. package/.grok/skills/tutien/scripts/command.mjs +107 -0
  148. package/.grok/skills/tutien/scripts/compare.mjs +41 -0
  149. package/.grok/skills/tutien/scripts/metrics.mjs +306 -0
  150. package/.grok/skills/tutien/scripts/normalize-events.mjs +68 -0
  151. package/.grok/skills/tutien/scripts/redact.mjs +30 -0
  152. package/.grok/skills/tutien/scripts/render-report.mjs +423 -0
  153. package/.grok/skills/tutien/scripts/run-tutien.mjs +272 -0
  154. package/.grok/skills/tutien/scripts/score.mjs +97 -0
  155. package/.grok/skills/tutien/scripts/snapshot.mjs +76 -0
  156. package/.grok/skills/tutien/scripts/villains.mjs +196 -0
  157. package/.grok/skills/vibekit-init/SKILL.md +52 -0
  158. package/.grok/skills/visual-design-loop/SKILL.md +103 -0
  159. package/.grok/skills/visual-design-loop/agents/openai.yaml +4 -0
  160. package/.vibekit/docs/BACKBONE_REFERENCE.md +3 -1
  161. package/.vibekit/docs/INSTALL.md +11 -7
  162. package/.vibekit/docs/SECURITY_MODEL.md +1 -1
  163. package/.vibekit/docs/TOOLING_GUIDE.md +5 -0
  164. package/.vibekit/docs/templates/CONTEXT_TEMPLATE.md +1 -1
  165. package/.vibekit/init/CLAUDE-template.md +3 -0
  166. package/.vibekit/init/FIRST_PROMPT.md +1 -1
  167. package/.vibekit/init/FIRST_TIME_INIT.md +2 -2
  168. package/.vibekit/scripts/doctor.mjs +11 -4
  169. package/.vibekit/scripts/mvck.mjs +27 -12
  170. package/.vibekit/scripts/pack-dry-run.mjs +38 -3
  171. package/.vibekit/scripts/test-install.mjs +8 -0
  172. package/.vibekit/scripts/validate-kit.mjs +116 -41
  173. package/.vibekit/skills/agentshield-security-review/scripts/agentshield_repo_probe.py +28 -3
  174. package/.vibekit/skills/claim/SKILL.md +82 -0
  175. package/.vibekit/skills/prompt-sharpener/SKILL.md +54 -0
  176. package/.vibekit/skills/skills-manifest.json +27 -0
  177. package/.vibekit/skills/tutien/SKILL.md +74 -0
  178. package/.vibekit/skills/tutien/references/classification.md +64 -0
  179. package/.vibekit/skills/tutien/references/lore-sources.md +15 -0
  180. package/.vibekit/skills/tutien/references/privacy.md +33 -0
  181. package/.vibekit/skills/tutien/references/schema.md +75 -0
  182. package/.vibekit/skills/tutien/references/scoring-and-realms.md +37 -0
  183. package/.vibekit/skills/tutien/references/voice-and-mode.md +44 -0
  184. package/.vibekit/skills/tutien/scripts/adapters/generic-jsonl.mjs +82 -0
  185. package/.vibekit/skills/tutien/scripts/adapters/git.mjs +48 -0
  186. package/.vibekit/skills/tutien/scripts/adapters/plain-transcript.mjs +37 -0
  187. package/.vibekit/skills/tutien/scripts/analyze-history.mjs +84 -0
  188. package/.vibekit/skills/tutien/scripts/catalog.mjs +130 -0
  189. package/.vibekit/skills/tutien/scripts/classify.mjs +311 -0
  190. package/.vibekit/skills/tutien/scripts/command.mjs +107 -0
  191. package/.vibekit/skills/tutien/scripts/compare.mjs +41 -0
  192. package/.vibekit/skills/tutien/scripts/metrics.mjs +306 -0
  193. package/.vibekit/skills/tutien/scripts/normalize-events.mjs +68 -0
  194. package/.vibekit/skills/tutien/scripts/redact.mjs +30 -0
  195. package/.vibekit/skills/tutien/scripts/render-report.mjs +423 -0
  196. package/.vibekit/skills/tutien/scripts/run-tutien.mjs +272 -0
  197. package/.vibekit/skills/tutien/scripts/score.mjs +97 -0
  198. package/.vibekit/skills/tutien/scripts/snapshot.mjs +76 -0
  199. package/.vibekit/skills/tutien/scripts/villains.mjs +196 -0
  200. package/.vibekit/skills/vibekit-init/SKILL.md +2 -2
  201. package/AGENTS.md +2 -2
  202. package/CHANGELOG.md +40 -0
  203. package/README.md +60 -51
  204. package/backbone.yml +2 -1
  205. package/docs/README.vi.md +61 -52
  206. package/docs/README.zh-CN.md +277 -0
  207. package/package.json +15 -4
@@ -0,0 +1,298 @@
1
+ # 4P Priority Classification: Detailed Examples
2
+
3
+ Concrete scenarios for each priority level based on real-world software development situations.
4
+
5
+ ## P0 Priority Examples
6
+
7
+ ### Example 1: Messaging App Crash (from Fibery article)
8
+
9
+ **Scenario:** Just released an update for a popular messaging app. A critical bug causes the app to crash immediately upon opening. Every single user is affected.
10
+
11
+ **Why P0:**
12
+ - **Impact:** All users completely blocked
13
+ - **Urgency:** Immediate (24/7 response)
14
+ - **Scope:** Complete service disruption
15
+ - **Response:** All hands on deck, pause all other work
16
+
17
+ **Classification rationale:** This is the epitome of P0. No user can access any functionality. Revenue impact is severe. Reputation damage accumulates by the minute.
18
+
19
+ **Key indicator:** "Would I wake up the entire team at 3 AM?" → YES, absolutely.
20
+
21
+ ---
22
+
23
+ ### Example 2: System Outage
24
+
25
+ **Scenario:** Production database goes down. Website shows error pages. No users can access the platform.
26
+
27
+ **Why P0:**
28
+ - **Impact:** 100% of users blocked
29
+ - **Urgency:** Every minute of downtime costs revenue
30
+ - **Scope:** Complete business stoppage
31
+ - **Response:** Drop everything, immediate escalation
32
+
33
+ **Not P1 because:** This cannot wait until morning. Every minute matters.
34
+
35
+ ---
36
+
37
+ ## P1 Priority Examples
38
+
39
+ ### Example 1: E-commerce Review Display (from Fibery article)
40
+
41
+ **Scenario:** Online shopping platform has a glitch where user reviews are not displaying correctly on product pages. Customers can still browse products, add to cart, and check out.
42
+
43
+ **Why P1:**
44
+ - **Impact:** Reviews influence buying decisions (revenue impact)
45
+ - **Urgency:** Needs quick fix but not catastrophic
46
+ - **Scope:** Major functionality degraded but not broken
47
+ - **Response:** Queue after P0 issues, swift resolution needed
48
+
49
+ **Key distinction from P0:** The platform still functions. Users can complete purchases. But reviews are "bread and butter of e-shopping" so high priority.
50
+
51
+ **Classification rationale:** Many users affected, revenue at risk, but service is operational. Can wait until business hours if discovered at midnight.
52
+
53
+ ---
54
+
55
+ ### Example 2: Payment Processing Slowdown
56
+
57
+ **Scenario:** Payment processing takes 30 seconds instead of 3 seconds. Users are completing transactions but abandonment rate is increasing.
58
+
59
+ **Why P1:**
60
+ - **Impact:** High - affects conversion rate
61
+ - **Urgency:** High - measurable business impact
62
+ - **Scope:** Core functionality degraded
63
+ - **Response:** Immediate attention during business hours
64
+
65
+ **Not P0 because:** Payments still process. Not a complete outage.
66
+
67
+ **Not P2 because:** Affects many users immediately with direct revenue impact.
68
+
69
+ ---
70
+
71
+ ## P2 Priority Examples
72
+
73
+ ### Example 1: Social Media Feed Filter (from Fibery article)
74
+
75
+ **Scenario:** Planning to introduce a new feature that allows users to filter their social media feeds based on interests. Currently, the app works well, but this would enhance user experience.
76
+
77
+ **Why P2:**
78
+ - **Impact:** Moderate - improves but doesn't fix broken functionality
79
+ - **Urgency:** Moderate - important for growth but not immediate
80
+ - **Scope:** Enhancement, not fix
81
+ - **Response:** Strategic timing, fit into roadmap
82
+
83
+ **Classification rationale:** "Like adding a chocolate drizzle on top – great to have, but your ice cream sundae is still good without it."
84
+
85
+ **Not P1 because:** Current app is fully functional. No users are blocked.
86
+
87
+ **Not P3 because:** Significant feature for user retention and engagement.
88
+
89
+ ---
90
+
91
+ ### Example 2: Search Results Relevance
92
+
93
+ **Scenario:** Search results are sometimes showing less relevant items higher in the list. Users can find what they need with a bit more scrolling.
94
+
95
+ **Why P2:**
96
+ - **Impact:** Moderate user friction
97
+ - **Urgency:** Should be fixed but not urgent
98
+ - **Scope:** Quality improvement
99
+ - **Response:** Prioritize against other P2 items
100
+
101
+ **Key question answered:** "Can this be deprioritized depending on its scale?" → YES
102
+
103
+ ---
104
+
105
+ ## P3 Priority Examples
106
+
107
+ ### Example 1: Fitness App Themes (from Fibery article)
108
+
109
+ **Scenario:** Developing a fitness-tracking app. A P3 task is adding new aesthetic themes for the app's interface. The themes make the app look better and give users personalization options.
110
+
111
+ **Why P3:**
112
+ - **Impact:** Low - doesn't improve core functionality (workout tracking, health data)
113
+ - **Urgency:** Low - nice to have when time permits
114
+ - **Scope:** Polish and aesthetics
115
+ - **Response:** Part of routine work, tackle after higher priorities
116
+
117
+ **Classification rationale:** "Jazz up the user experience" but doesn't jump the queue ahead of functional improvements.
118
+
119
+ **Not P2 because:** Doesn't significantly impact user retention or engagement.
120
+
121
+ **Not P4 because:** Will eventually be implemented as part of ongoing improvements.
122
+
123
+ ---
124
+
125
+ ### Example 2: Error Message Clarity
126
+
127
+ **Scenario:** Error messages are functional but could be more user-friendly. Users understand there's an error but messages could be clearer about what action to take.
128
+
129
+ **Why P3:**
130
+ - **Impact:** Minor UX improvement
131
+ - **Urgency:** Low
132
+ - **Scope:** Quality of life
133
+ - **Response:** Include in routine improvement cycle
134
+
135
+ ---
136
+
137
+ ## P4 Priority Examples
138
+
139
+ ### Example 1: AI Assistant Suggestion Feature (from Fibery article)
140
+
141
+ **Scenario:** Developing a project management tool. A P4 task is integrating an experimental AI assistant feature to suggest task prioritization. This is innovative but not necessary for current operation.
142
+
143
+ **Why P4:**
144
+ - **Impact:** Negligible current impact
145
+ - **Urgency:** None - experimental
146
+ - **Scope:** Wishlist / innovation
147
+ - **Response:** Backlog placement, evaluate later
148
+
149
+ **Classification rationale:** "Could add value in the long run but isn't necessary or urgent." Development can be indefinitely postponed without impact.
150
+
151
+ **Not P3 because:** No commitment to ever build this. Purely speculative.
152
+
153
+ ---
154
+
155
+ ### Example 2: Easter Egg Features
156
+
157
+ **Scenario:** Team wants to add hidden Easter egg features that delight power users when discovered.
158
+
159
+ **Why P4:**
160
+ - **Impact:** Zero impact on core functionality
161
+ - **Urgency:** None
162
+ - **Scope:** Fun but unnecessary
163
+ - **Response:** Only if team has completely free time
164
+
165
+ ---
166
+
167
+ ## Edge Cases and Tricky Classifications
168
+
169
+ ### Edge Case 1: Security Vulnerability (Not Actively Exploited)
170
+
171
+ **Scenario:** Discover a security vulnerability. No evidence of active exploitation. Patch available.
172
+
173
+ **Classification:** P1 (not P0)
174
+ - **Rationale:** High impact potential but not currently causing damage
175
+ - **Response:** Urgent deployment during business hours
176
+ - **Why not P0:** Not actively causing outage or data breach
177
+
178
+ ---
179
+
180
+ ### Edge Case 2: Security Vulnerability (Actively Exploited)
181
+
182
+ **Scenario:** Security vulnerability is being actively exploited. Data breach in progress.
183
+
184
+ **Classification:** P0
185
+ - **Rationale:** Active business disruption and damage
186
+ - **Response:** Immediate 24/7 response, stop the breach
187
+ - **Why P0:** Every minute increases damage
188
+
189
+ ---
190
+
191
+ ### Edge Case 3: Feature Regression Affecting 5% of Users
192
+
193
+ **Scenario:** Update broke a feature, but only affects 5% of users due to specific configuration. Those 5% are completely blocked.
194
+
195
+ **Classification:** P1 (edge case between P1 and P2)
196
+ - **Rationale:** Smaller user count but complete blockage for them
197
+ - **Response:** Urgent fix but can be scheduled
198
+ - **Why not P0:** Majority of users unaffected
199
+ - **Why not P2:** Those affected are completely blocked
200
+
201
+ **Decision factors:**
202
+ - Are those 5% high-value users? → P1
203
+ - Is there a simple workaround? → P2
204
+ - Can it wait 24 hours? → P2, otherwise P1
205
+
206
+ ---
207
+
208
+ ### Edge Case 4: Critical Feature for One Major Client
209
+
210
+ **Scenario:** Feature is broken, affects only one enterprise client who represents 30% of revenue.
211
+
212
+ **Classification:** P1 (potentially P0 depending on contract)
213
+ - **Rationale:** Business impact is severe despite single client
214
+ - **Response:** Immediate attention
215
+ - **Consider:** SLA agreements, contract obligations, revenue impact
216
+
217
+ **Key question:** "If we lost this client, what's the business impact?" → Drives priority
218
+
219
+ ---
220
+
221
+ ## Cross-Reference: P0 vs P1 Decision Matrix
222
+
223
+ | Criteria | P0 | P1 |
224
+ |----------|----|----|
225
+ | **Service status** | Completely down/unusable | Degraded but functional |
226
+ | **User impact** | All users blocked | Many users affected |
227
+ | **Response time** | Immediate (24/7) | Urgent (business hours) |
228
+ | **Team action** | Drop everything | Queue after P0 |
229
+ | **Example decision** | Wake team at 3 AM? YES | Wake team at 3 AM? NO |
230
+
231
+ ## Cross-Reference: P1 vs P2 Decision Matrix
232
+
233
+ | Criteria | P1 | P2 |
234
+ |----------|----|----|
235
+ | **Number of issues** | Usually single critical issue | Can have multiple P2s |
236
+ | **Prioritization** | Cannot be deprioritized | Can be prioritized against others |
237
+ | **User blocking** | Many users blocked from key feature | Users have workarounds or minor impact |
238
+ | **Response** | Must do now | Strategic scheduling |
239
+ | **Example decision** | Can wait for sprint planning? NO | Can wait for sprint planning? YES |
240
+
241
+ ## Validation Checklist
242
+
243
+ Before finalizing priority classification, check:
244
+
245
+ ### For P0 Classification:
246
+ - [ ] Is EVERY user affected?
247
+ - [ ] Is the service completely unusable?
248
+ - [ ] Would I wake up the team at 3 AM for this?
249
+ - [ ] Is there zero workaround?
250
+ - [ ] Is immediate action required or damage accumulates rapidly?
251
+
252
+ **If any answer is NO, reconsider if this is truly P0.**
253
+
254
+ ### For P1 Classification:
255
+ - [ ] Are MANY users affected (not just a few)?
256
+ - [ ] Is major functionality broken (not just degraded)?
257
+ - [ ] Does this require immediate attention during business hours?
258
+ - [ ] Is there measurable business impact?
259
+
260
+ **If answers are mixed, consider P2.**
261
+
262
+ ### Alert Fatigue Check:
263
+ - [ ] In the past month, what % of issues did we classify as P0?
264
+ - [ ] If >20% are P0, are we over-escalating?
265
+ - [ ] Are we desensitized to "urgent" because everything is urgent?
266
+
267
+ **Healthy distribution:** ~5% P0, ~15% P1, ~30% P2, ~30% P3, ~20% P4
268
+
269
+ ---
270
+
271
+ ## Summary Table of All Examples
272
+
273
+ | Priority | Example | User Impact | Time to Fix |
274
+ |----------|---------|-------------|-------------|
275
+ | **P0** | App crashes on launch | All users blocked | Immediate (24/7) |
276
+ | **P0** | System outage | All users blocked | Immediate (24/7) |
277
+ | **P1** | Reviews not displaying | Many users, revenue impact | Urgent (business hours) |
278
+ | **P1** | Payment slowdown | Many users, conversion impact | Urgent (business hours) |
279
+ | **P2** | New filter feature | Enhancement, no blockage | Strategic timing |
280
+ | **P2** | Search relevance | Minor friction | Strategic timing |
281
+ | **P3** | UI themes | Polish, personalization | Routine work |
282
+ | **P3** | Error message clarity | Minor UX improvement | Routine work |
283
+ | **P4** | AI assistant experiment | Negligible current impact | Backlog |
284
+ | **P4** | Easter eggs | Fun but unnecessary | Backlog |
285
+
286
+ ---
287
+
288
+ ## Usage Tips
289
+
290
+ 1. **Start with impact, then urgency**: Impact determines the ceiling (P0 requires extensive impact), urgency determines response time.
291
+
292
+ 2. **Use examples as anchors**: When unsure, compare to these concrete examples. Is it more like "app crashes" (P0) or "reviews missing" (P1)?
293
+
294
+ 3. **Validate with team**: Share classification rationale and get feedback. Consistency across team is crucial.
295
+
296
+ 4. **Track over time**: Monitor priority distribution. Healthy teams don't have 50% P0/P1 issues.
297
+
298
+ 5. **Update examples**: Add organization-specific examples as you encounter them.
@@ -0,0 +1,106 @@
1
+ ---
2
+ name: sequential-thinking
3
+ description: Step-by-step reasoning for complex coding tasks. Use to break broad requirements into ordered implementation steps, revise assumptions, branch alternatives, and decide the next safe edit.
4
+ argument-hint: "<thought or task> [thoughtNumber] [totalThoughts] [nextThoughtNeeded]"
5
+ user-invocable: true
6
+ effort: high
7
+ ---
8
+
9
+ # Sequential Thinking
10
+
11
+ Use Sequential Thinking when the path is not obvious and the work needs explicit progression.
12
+
13
+ ## Best Use
14
+
15
+ Use this skill for:
16
+
17
+ - multi-file implementation planning;
18
+ - debugging with uncertain root cause;
19
+ - refactors with several dependency paths;
20
+ - requirement decomposition into small tasks;
21
+ - comparing branches such as "minimal fix" vs "larger redesign";
22
+ - revising an earlier plan after tests or code reading change the facts.
23
+
24
+ ## Inputs
25
+
26
+ Accept natural language, positional values, or key-value style:
27
+
28
+ ```text
29
+ Break this feature into safe implementation steps
30
+ "Inspect installer behavior" 1 5 true
31
+ thought="Revise the test plan" thoughtNumber=3 isRevision=true revisesThought=1
32
+ ```
33
+
34
+ Supported fields:
35
+
36
+ - `thought`
37
+ - `thoughtNumber`
38
+ - `totalThoughts`
39
+ - `nextThoughtNeeded`
40
+ - `isRevision`
41
+ - `revisesThought`
42
+ - `branchFromThought`
43
+ - `branchId`
44
+ - `needsMoreThoughts`
45
+
46
+ ## Workflow
47
+
48
+ 1. State the current step and what evidence it depends on.
49
+ 2. Keep each step small enough to implement or validate independently.
50
+ 3. Use revisions when new evidence invalidates an earlier assumption.
51
+ 4. Use branches only when alternatives materially change implementation.
52
+ 5. End with the next concrete edit, validation command, or question.
53
+
54
+ ## Coding Output
55
+
56
+ For repository work, produce:
57
+
58
+ ```markdown
59
+ ## Sequential Plan
60
+
61
+ Step: <n>/<total>
62
+ Current focus: <specific focus>
63
+ Evidence:
64
+ - <observed facts>
65
+ Task split:
66
+ 1. <small task>
67
+ 2. <small task>
68
+ Validation:
69
+ - <command or check>
70
+ Continue: <yes/no and why>
71
+ ```
72
+
73
+ If the user explicitly asks for JSON, use:
74
+
75
+ ```json
76
+ {
77
+ "thoughtNumber": 1,
78
+ "totalThoughts": 3,
79
+ "nextThoughtNeeded": true,
80
+ "branches": [],
81
+ "thoughtHistoryLength": 1,
82
+ "sessionContext": {
83
+ "sessionId": "conversation",
84
+ "remainingThoughts": 99
85
+ }
86
+ }
87
+ ```
88
+
89
+ ## References And Examples
90
+
91
+ Load these only when the current task needs the extra detail:
92
+
93
+ - `references/parameters.md`: full parameter meanings and validation rules.
94
+ - `references/output-schema.md`: JSON fields, optional fields, and error shape.
95
+ - `references/patterns.md`: linear, revision, branching, and adaptive-depth patterns.
96
+ - `examples/linear-reasoning.md`: simple ordered reasoning example.
97
+ - `examples/revision-pattern.md`: example of correcting an earlier assumption.
98
+ - `examples/branching-exploration.md`: example of comparing alternatives.
99
+ - `examples/adaptive-depth.md`: example of expanding scope when complexity grows.
100
+
101
+ ## Guardrails
102
+
103
+ - Do not skip from broad requirements straight to code.
104
+ - Do not bury uncertainty. Mark unknowns and decide how to resolve them.
105
+ - Do not create long visible chains of thought. Summarize the useful reasoning state.
106
+ - Stop when the plan is actionable and validation is clear.