@mrciphersmith/keryx 0.2.98 → 0.2.99

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 (182) hide show
  1. package/dist/cli.js +4057 -2510
  2. package/dist/core.js +39 -1
  3. package/package.json +1 -1
  4. package/src/gdskills/bundled/rules/core/cli-interface-design.mdc +237 -0
  5. package/src/gdskills/bundled/rules/core/definition-of-done.mdc +116 -0
  6. package/src/gdskills/bundled/rules/core/skills-storage-workflow.mdc +101 -11
  7. package/src/gdskills/bundled/rules/core/subagent-status-protocol.md +9 -2
  8. package/src/gdskills/bundled/skills/core/reviewer-skill-creator/SKILL.md +42 -5
  9. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.md +19 -3
  10. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.md +20 -4
  11. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.md +32 -9
  12. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.md +18 -4
  13. package/src/gdskills/bundled/skills/orchestration/flow-orchestrator/SKILL.md +21 -5
  14. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.md +4 -4
  15. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/orchestrator-prompt.md +1 -1
  16. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.md +42 -2
  17. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.md +23 -9
  18. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.md +33 -31
  19. package/src/gdskills/bundled/skills/orchestration/task-implementer/output-contract.schema.json +32 -1
  20. package/src/gdskills/bundled/skills/planning/autodoc-analyst/SKILL.md +16 -0
  21. package/src/gdskills/bundled/skills/planning/autodoc-architect/SKILL.md +16 -0
  22. package/src/gdskills/bundled/skills/planning/autodoc-assembler/SKILL.md +16 -0
  23. package/src/gdskills/bundled/skills/planning/autodoc-orchestrator/SKILL.md +17 -0
  24. package/src/gdskills/bundled/skills/planning/autodoc-scanner/SKILL.md +16 -0
  25. package/src/gdskills/bundled/skills/planning/autodoc-writer/SKILL.md +16 -0
  26. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.md +28 -3
  27. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.codex.md +17 -0
  28. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.cursor.md +17 -0
  29. package/src/gdskills/bundled/skills/planning/consistency-checker/SKILL.md +17 -0
  30. package/src/gdskills/bundled/skills/planning/docpack-orchestrator/SKILL.md +32 -2
  31. package/src/gdskills/bundled/skills/planning/docpack-review/SKILL.md +14 -2
  32. package/src/gdskills/bundled/skills/planning/interview/SKILL.md +29 -7
  33. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.md +32 -6
  34. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.codex.md +16 -0
  35. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.cursor.md +16 -0
  36. package/src/gdskills/bundled/skills/planning/patterns-researcher/SKILL.md +16 -0
  37. package/src/gdskills/bundled/skills/planning/planner/SKILL.codex.md +17 -0
  38. package/src/gdskills/bundled/skills/planning/planner/SKILL.cursor.md +17 -0
  39. package/src/gdskills/bundled/skills/planning/planner/SKILL.md +17 -0
  40. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.md +20 -3
  41. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.codex.md +16 -0
  42. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.cursor.md +16 -0
  43. package/src/gdskills/bundled/skills/planning/problem-definer/SKILL.md +16 -0
  44. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.codex.md +16 -0
  45. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.cursor.md +16 -0
  46. package/src/gdskills/bundled/skills/planning/project-discovery/SKILL.md +16 -0
  47. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.codex.md +4 -0
  48. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.cursor.md +4 -0
  49. package/src/gdskills/bundled/skills/planning/spec-writer/SKILL.md +4 -0
  50. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.codex.md +4 -0
  51. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.cursor.md +4 -0
  52. package/src/gdskills/bundled/skills/planning/stack-advisor/SKILL.md +4 -0
  53. package/src/gdskills/bundled/skills/platform/agent-entrypoint-distiller/SKILL.md +31 -4
  54. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.md +26 -2
  55. package/src/gdskills/bundled/skills/platform/hookify/SKILL.md +28 -3
  56. package/src/gdskills/bundled/skills/quality/api-truth/SKILL.md +226 -0
  57. package/src/gdskills/bundled/skills/quality/changelog/SKILL.md +24 -4
  58. package/src/gdskills/bundled/skills/quality/commit/SKILL.md +24 -3
  59. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.md +24 -3
  60. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.md +25 -4
  61. package/src/gdskills/bundled/skills/quality/deploy/SKILL.md +26 -3
  62. package/src/gdskills/bundled/skills/quality/deprecation-path/SKILL.md +268 -0
  63. package/src/gdskills/bundled/skills/quality/fresh-eyes/SKILL.md +190 -0
  64. package/src/gdskills/bundled/skills/quality/metaproject-security/SKILL.md +24 -3
  65. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.md +29 -8
  66. package/src/gdskills/bundled/skills/quality/pr/SKILL.md +24 -4
  67. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.md +25 -2
  68. package/src/gdskills/bundled/skills/quality/push/SKILL.md +24 -3
  69. package/src/gdskills/bundled/skills/quality/root-cause/SKILL.md +204 -0
  70. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.md +25 -4
  71. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.md +24 -3
  72. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.md +17 -2
  73. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.md +40 -5
  74. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.md +41 -1
  75. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.md +44 -2
  76. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.md +44 -4
  77. package/src/gdskills/bundled/skills/review/review-architecture/SKILL.md +3 -3
  78. package/src/gdskills/bundled/skills/review/review-backend/SKILL.md +2 -3
  79. package/src/gdskills/bundled/skills/review/review-clean-code/SKILL.md +4 -4
  80. package/src/gdskills/bundled/skills/review/review-core-boundaries/SKILL.md +36 -2
  81. package/src/gdskills/bundled/skills/review/review-flow-graph/SKILL.md +37 -3
  82. package/src/gdskills/bundled/skills/review/review-frontend/SKILL.md +2 -4
  83. package/src/gdskills/bundled/skills/review/review-frontend-conventions/SKILL.md +36 -2
  84. package/src/gdskills/bundled/skills/review/review-highload/SKILL.md +3 -5
  85. package/src/gdskills/bundled/skills/review/review-layout/SKILL.md +23 -2
  86. package/src/gdskills/bundled/skills/review/review-logic/SKILL.md +3 -3
  87. package/src/gdskills/bundled/skills/review/review-orchestrator/SKILL.md +9 -29
  88. package/src/gdskills/bundled/skills/review/review-performance/SKILL.md +9 -9
  89. package/src/gdskills/bundled/skills/review/review-pr-feedback/SKILL.md +3 -2
  90. package/src/gdskills/bundled/skills/review/review-regression/SKILL.md +33 -2
  91. package/src/gdskills/bundled/skills/review/review-security-code/SKILL.md +4 -2
  92. package/src/gdskills/bundled/skills/review/review-style/SKILL.md +2 -2
  93. package/src/gdskills/bundled/skills/review/review-testing-practices/SKILL.md +40 -2
  94. package/src/gdskills/bundled/skills/review/review-verifier/SKILL.md +1 -1
  95. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.codex.md +0 -330
  96. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.cursor.md +0 -330
  97. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.opencode.md +0 -330
  98. package/src/gdskills/bundled/skills/orchestration/code-verifier/SKILL.zed.md +0 -330
  99. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.codex.md +0 -655
  100. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.cursor.md +0 -655
  101. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.opencode.md +0 -655
  102. package/src/gdskills/bundled/skills/orchestration/context-collector/SKILL.zed.md +0 -655
  103. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.codex.md +0 -424
  104. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.cursor.md +0 -424
  105. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.opencode.md +0 -424
  106. package/src/gdskills/bundled/skills/orchestration/feature-analyzer/SKILL.zed.md +0 -424
  107. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.codex.md +0 -163
  108. package/src/gdskills/bundled/skills/orchestration/feature-dev/SKILL.cursor.md +0 -163
  109. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.codex.md +0 -373
  110. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.cursor.md +0 -373
  111. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.opencode.md +0 -373
  112. package/src/gdskills/bundled/skills/orchestration/issue-analyzer/SKILL.zed.md +0 -373
  113. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.codex.md +0 -374
  114. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.cursor.md +0 -374
  115. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.opencode.md +0 -374
  116. package/src/gdskills/bundled/skills/orchestration/job-documenter/SKILL.zed.md +0 -374
  117. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.codex.md +0 -2232
  118. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.cursor.md +0 -2232
  119. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.opencode.md +0 -2232
  120. package/src/gdskills/bundled/skills/orchestration/job-orchestrator/SKILL.zed.md +0 -2232
  121. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.codex.md +0 -668
  122. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.cursor.md +0 -668
  123. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.opencode.md +0 -668
  124. package/src/gdskills/bundled/skills/orchestration/task-implementer/SKILL.zed.md +0 -668
  125. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.codex.md +0 -90
  126. package/src/gdskills/bundled/skills/planning/brainstorm/SKILL.cursor.md +0 -90
  127. package/src/gdskills/bundled/skills/planning/interview/SKILL.codex.md +0 -187
  128. package/src/gdskills/bundled/skills/planning/interview/SKILL.cursor.md +0 -187
  129. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.codex.md +0 -105
  130. package/src/gdskills/bundled/skills/planning/interviewer/SKILL.cursor.md +0 -105
  131. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.codex.md +0 -193
  132. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.cursor.md +0 -193
  133. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.opencode.md +0 -193
  134. package/src/gdskills/bundled/skills/planning/prd-creator/SKILL.zed.md +0 -193
  135. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.codex.md +0 -87
  136. package/src/gdskills/bundled/skills/platform/claude-md-management/SKILL.cursor.md +0 -87
  137. package/src/gdskills/bundled/skills/platform/hookify/SKILL.codex.md +0 -100
  138. package/src/gdskills/bundled/skills/platform/hookify/SKILL.cursor.md +0 -100
  139. package/src/gdskills/bundled/skills/quality/changelog/SKILL.codex.md +0 -84
  140. package/src/gdskills/bundled/skills/quality/changelog/SKILL.cursor.md +0 -84
  141. package/src/gdskills/bundled/skills/quality/commit/SKILL.codex.md +0 -66
  142. package/src/gdskills/bundled/skills/quality/commit/SKILL.cursor.md +0 -66
  143. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.codex.md +0 -66
  144. package/src/gdskills/bundled/skills/quality/db-migrate/SKILL.cursor.md +0 -66
  145. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.codex.md +0 -81
  146. package/src/gdskills/bundled/skills/quality/dependency-update/SKILL.cursor.md +0 -81
  147. package/src/gdskills/bundled/skills/quality/deploy/SKILL.codex.md +0 -70
  148. package/src/gdskills/bundled/skills/quality/deploy/SKILL.cursor.md +0 -70
  149. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.codex.md +0 -83
  150. package/src/gdskills/bundled/skills/quality/perf-check/SKILL.cursor.md +0 -83
  151. package/src/gdskills/bundled/skills/quality/pr/SKILL.codex.md +0 -75
  152. package/src/gdskills/bundled/skills/quality/pr/SKILL.cursor.md +0 -75
  153. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.codex.md +0 -378
  154. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.cursor.md +0 -378
  155. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.opencode.md +0 -378
  156. package/src/gdskills/bundled/skills/quality/pr-issue-documenter/SKILL.zed.md +0 -378
  157. package/src/gdskills/bundled/skills/quality/push/SKILL.codex.md +0 -52
  158. package/src/gdskills/bundled/skills/quality/push/SKILL.cursor.md +0 -52
  159. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.codex.md +0 -108
  160. package/src/gdskills/bundled/skills/quality/security-audit/SKILL.cursor.md +0 -108
  161. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.codex.md +0 -80
  162. package/src/gdskills/bundled/skills/quality/test-gen/SKILL.cursor.md +0 -80
  163. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.codex.md +0 -345
  164. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.cursor.md +0 -345
  165. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.opencode.md +0 -345
  166. package/src/gdskills/bundled/skills/quality/tests-creator/SKILL.zed.md +0 -345
  167. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.codex.md +0 -203
  168. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.cursor.md +0 -203
  169. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.opencode.md +0 -203
  170. package/src/gdskills/bundled/skills/review/code-ai-review/SKILL.zed.md +0 -203
  171. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.codex.md +0 -243
  172. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.cursor.md +0 -243
  173. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.opencode.md +0 -243
  174. package/src/gdskills/bundled/skills/review/code-learned-review/SKILL.zed.md +0 -243
  175. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.codex.md +0 -259
  176. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.cursor.md +0 -259
  177. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.opencode.md +0 -259
  178. package/src/gdskills/bundled/skills/review/code-mobx-store-review/SKILL.zed.md +0 -259
  179. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.codex.md +0 -168
  180. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.cursor.md +0 -168
  181. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.opencode.md +0 -168
  182. package/src/gdskills/bundled/skills/review/code-style-review/SKILL.zed.md +0 -168
@@ -1,193 +0,0 @@
1
- ---
2
- name: prd-creator
3
- description: "Use when a vague or unstructured request needs to be converted into a formal, testable Product Requirements Document."
4
- triggers:
5
- - "Create a PRD"
6
- - "Formulate requirements"
7
- - "Write a product requirements document"
8
- - "Draft PRD"
9
- - "Analyze requirements"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "planning"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # PRD-Creator Sub-Agent
19
-
20
- ## 1. Purpose
21
-
22
- The PRD-Creator transforms unstructured user requests into structured, complete, and testable Product Requirements Documents (PRD).
23
-
24
- It operates in two modes:
25
- - **Direct Mode** — interacts directly with the user.
26
- - **Orchestrated Mode** — invoked by another agent with structured context input.
27
-
28
- ---
29
-
30
- ## 2. Responsibilities
31
-
32
- The agent MUST:
33
-
34
- 1. Analyze the initial request.
35
- 2. Detect ambiguities and missing context.
36
- 3. Generate clarification questions.
37
- 4. Prefer multiple-choice questions when possible.
38
- 5. Ask open-ended questions only when unavoidable.
39
- 6. Limit clarification rounds to 7 questions per iteration.
40
- 7. Generate a complete PRD only after ambiguities are resolved.
41
- 8. Always include:
42
- - Goals
43
- - Non-Goals
44
- - Functional Requirements
45
- - Non-Functional Requirements
46
- - Constraints
47
- - Acceptance Criteria (Gherkin)
48
- - Verification Section
49
-
50
- The agent MUST NOT:
51
- - Assume missing context.
52
- - Skip constraint validation.
53
- - Produce incomplete PRDs.
54
-
55
- ---
56
-
57
- ## 3. Operational Modes
58
-
59
- ### 3.1 Direct Mode
60
-
61
- - **Input:** Raw user request (string)
62
- - **Output:** Clarification questions OR Completed PRD
63
-
64
- ### 3.2 Orchestrated Mode
65
-
66
- - **Input:** Schema-validated input including `contextSchema`, `initialRequest`, `constraints`, `metadata`. (See `input-contract.schema.json`)
67
- - **Output:** Schema-validated clarification questions OR Completed PRD. (See `output-contract.schema.json`)
68
-
69
- ---
70
-
71
- ## 4. Internal Processing Flow
72
-
73
- 1. Extract entities and scope.
74
- 2. Classify change type:
75
- - UI only
76
- - UI + state logic
77
- - Architecture change
78
- - Refactor
79
- - Bug fix
80
- - Performance
81
- - Integration
82
- 3. Detect missing information.
83
- 4. Generate clarification questions.
84
- 5. Validate completeness.
85
- 6. Construct final PRD.
86
-
87
- ---
88
-
89
- ## 5. Built-in PRD Template
90
-
91
- When generating the final PRD, follow this exact structure:
92
-
93
- ```markdown
94
- # PRD: {Feature Name}
95
-
96
- Version: 0.1.0
97
-
98
- ## 1. Overview
99
- Brief summary of the feature.
100
-
101
- ## 2. Context
102
- Product:
103
- Module:
104
- User Role:
105
- Tech Stack:
106
-
107
- ## 3. Problem Statement
108
- Clear definition of the current issue.
109
-
110
- ## 4. Goals
111
- - Goal 1
112
- - Goal 2
113
-
114
- ## 5. Non-Goals
115
- - Explicit exclusions
116
-
117
- ## 6. Functional Requirements
118
- FR-1:
119
- FR-2:
120
-
121
- ## 7. Non-Functional Requirements
122
- NFR-1:
123
- NFR-2:
124
-
125
- ## 8. Constraints
126
- - Architectural constraints
127
- - Tech constraints
128
- - Design constraints
129
-
130
- ## 9. Edge Cases
131
- - Case 1
132
- - Case 2
133
-
134
- ## 10. Acceptance Criteria (Gherkin)
135
- Given
136
- When
137
- Then
138
-
139
- ## 11. Verification
140
- - How to test
141
- - Where to test
142
- - Observability checks
143
- ```
144
-
145
- ---
146
-
147
- ## 6. Output Location & Format
148
-
149
- **Direct Mode:**
150
- - You MUST follow `rules/core/requirements-package-standard.mdc` (via `rules/core/documentation-management.mdc` for the `requirements` category).
151
- - Before saving, ASK the user to confirm the feature name (`<name>`) or to suggest a custom path.
152
- - The default target path is: `<current_project_root>/docs/requirements/<name>/prd.md` — no date-stamped folder.
153
- - If the requirements package (`README.md`, `prd.md`, `specification.md`) does not exist yet, create it; otherwise update `prd.md` in place and bump its `Version` field rather than creating a parallel copy.
154
- - Default to a single document in the project's documentation language (`en` unless the project states otherwise). Generate additional language variants only when the user explicitly asks for them, and keep any variants you create synchronized.
155
- - You MUST NOT create a single file in the generic `docs/` root.
156
-
157
- **Orchestrated Mode:**
158
- - The PRD MUST be saved within the active job's directory for traceability: `<JOBS_ROOT>/<current_job>/`
159
- - Follow the orchestrator's constraints for exact file naming in the job context.
160
-
161
- ---
162
-
163
- ## 7. API Contract Design
164
-
165
- Both Direct Mode and Orchestrated Mode adhere to strict JSON schemas to ensure reliable inter-agent communication.
166
-
167
- - **Input Schema:** Defines the incoming request context. (See `input-contract.schema.json`)
168
- - **Output Schema:** Defines the response structure, which is either an array of clarification questions or a finalized PRD payload. (See `output-contract.schema.json`)
169
-
170
- ---
171
-
172
- ## 8. Quality Control Checklist
173
-
174
- Before finalizing PRD, the agent MUST verify:
175
-
176
- - [ ] Is the business goal clearly defined?
177
- - [ ] Are technical/design constraints explicit?
178
- - [ ] Are non-goals present and clear?
179
- - [ ] Are all acceptance criteria testable and formatted in Gherkin?
180
- - [ ] Is the verification method fully defined?
181
- - [ ] Is the potential architecture impact clear?
182
-
183
- **CRITICAL:** If any answer is NO → The PRD must not be finalized. Return to the user/orchestrator with clarification questions.
184
-
185
- ---
186
-
187
- ## 9. Intended Usage
188
-
189
- Designed for multi-agent orchestration pipelines, such as:
190
-
191
- `User → Intent Agent → PRD-Creator → Tech Spec Agent → Code Agent`
192
-
193
- All programmatic interactions are strictly schema-validated.
@@ -1,87 +0,0 @@
1
- ---
2
- name: claude-md-management
3
- description: "Use when saving session learnings, coding patterns, conventions, or commands discovered during work into CLAUDE.md files."
4
- triggers:
5
- - "/revise-claude-md"
6
- - "Update claude md"
7
- - "Save learnings"
8
- - "Update project instructions"
9
- - "Add to CLAUDE.md"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "platform"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # CLAUDE.md Management
19
-
20
- Capture session insights and persist them into the appropriate CLAUDE.md file.
21
-
22
- ## Arguments
23
-
24
- - `/revise-claude-md` — analyze session and propose updates
25
- - `/revise-claude-md "specific thing"` — add a specific entry
26
- - `/revise-claude-md --auto` — apply without asking (for pipelines)
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Collect Session Insights
31
- Analyze the current conversation for:
32
- - Coding patterns discovered or established
33
- - Project conventions learned (naming, structure, testing)
34
- - Build/deploy commands that work
35
- - Gotchas and pitfalls encountered
36
- - Architecture decisions made
37
- - Tool configurations set up
38
-
39
- ### Step 2: Read Current CLAUDE.md Files
40
- 1. Project-level: `<project-root>/CLAUDE.md`
41
- 2. User-level: `~/.claude/CLAUDE.md`
42
- 3. Project-specific user-level: `~/.claude/projects/<project-path>/CLAUDE.md`
43
-
44
- ### Step 3: Classify Each Insight
45
-
46
- | Type | Target |
47
- |------|--------|
48
- | Project conventions, build commands | `<project>/CLAUDE.md` |
49
- | Global preferences, workflow rules | `~/.claude/CLAUDE.md` |
50
- | Project-specific personal notes | `~/.claude/projects/<path>/CLAUDE.md` |
51
-
52
- ### Step 4: Propose Changes
53
- Present diff preview:
54
- ```
55
- 📝 Proposed CLAUDE.md updates:
56
-
57
- [project] CLAUDE.md:
58
- + ## Build Commands
59
- + - `npm run dev` — start dev server on port 3000
60
-
61
- [global] ~/.claude/CLAUDE.md:
62
- + ## Preferences
63
- + - Always use conventional commits
64
- ```
65
-
66
- ### Step 5: Apply (after user approval)
67
- 1. Edit existing sections or append new sections
68
- 2. Keep organized with clear `##` headers
69
- 3. Avoid duplication — merge with existing
70
- 4. Remove outdated entries if contradicted
71
-
72
- ## Formatting Rules for CLAUDE.md
73
-
74
- - Use `##` headers for sections
75
- - Use `-` bullet lists for items
76
- - Keep entries concise (1 line each)
77
- - Group by: Commands, Conventions, Architecture, Gotchas
78
- - No frontmatter in CLAUDE.md files
79
- - CLAUDE.md should be practical — commands you run, not documentation
80
-
81
- ## Rules
82
-
83
- - ALWAYS show proposed changes before applying
84
- - NEVER remove existing entries without explanation
85
- - NEVER add entries that duplicate what's already there
86
- - Keep CLAUDE.md files under 100 lines
87
- - Prefer project-level for project-specific things
@@ -1,87 +0,0 @@
1
- ---
2
- name: claude-md-management
3
- description: "Use when saving session learnings, coding patterns, conventions, or commands discovered during work into CLAUDE.md files."
4
- triggers:
5
- - "/revise-claude-md"
6
- - "Update claude md"
7
- - "Save learnings"
8
- - "Update project instructions"
9
- - "Add to CLAUDE.md"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "platform"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # CLAUDE.md Management
19
-
20
- Capture session insights and persist them into the appropriate CLAUDE.md file.
21
-
22
- ## Arguments
23
-
24
- - `/revise-claude-md` — analyze session and propose updates
25
- - `/revise-claude-md "specific thing"` — add a specific entry
26
- - `/revise-claude-md --auto` — apply without asking (for pipelines)
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Collect Session Insights
31
- Analyze the current conversation for:
32
- - Coding patterns discovered or established
33
- - Project conventions learned (naming, structure, testing)
34
- - Build/deploy commands that work
35
- - Gotchas and pitfalls encountered
36
- - Architecture decisions made
37
- - Tool configurations set up
38
-
39
- ### Step 2: Read Current CLAUDE.md Files
40
- 1. Project-level: `<project-root>/CLAUDE.md`
41
- 2. User-level: `~/.claude/CLAUDE.md`
42
- 3. Project-specific user-level: `~/.claude/projects/<project-path>/CLAUDE.md`
43
-
44
- ### Step 3: Classify Each Insight
45
-
46
- | Type | Target |
47
- |------|--------|
48
- | Project conventions, build commands | `<project>/CLAUDE.md` |
49
- | Global preferences, workflow rules | `~/.claude/CLAUDE.md` |
50
- | Project-specific personal notes | `~/.claude/projects/<path>/CLAUDE.md` |
51
-
52
- ### Step 4: Propose Changes
53
- Present diff preview:
54
- ```
55
- 📝 Proposed CLAUDE.md updates:
56
-
57
- [project] CLAUDE.md:
58
- + ## Build Commands
59
- + - `npm run dev` — start dev server on port 3000
60
-
61
- [global] ~/.claude/CLAUDE.md:
62
- + ## Preferences
63
- + - Always use conventional commits
64
- ```
65
-
66
- ### Step 5: Apply (after user approval)
67
- 1. Edit existing sections or append new sections
68
- 2. Keep organized with clear `##` headers
69
- 3. Avoid duplication — merge with existing
70
- 4. Remove outdated entries if contradicted
71
-
72
- ## Formatting Rules for CLAUDE.md
73
-
74
- - Use `##` headers for sections
75
- - Use `-` bullet lists for items
76
- - Keep entries concise (1 line each)
77
- - Group by: Commands, Conventions, Architecture, Gotchas
78
- - No frontmatter in CLAUDE.md files
79
- - CLAUDE.md should be practical — commands you run, not documentation
80
-
81
- ## Rules
82
-
83
- - ALWAYS show proposed changes before applying
84
- - NEVER remove existing entries without explanation
85
- - NEVER add entries that duplicate what's already there
86
- - Keep CLAUDE.md files under 100 lines
87
- - Prefer project-level for project-specific things
@@ -1,100 +0,0 @@
1
- ---
2
- name: hookify
3
- description: "Use when adding automated hook behavior to Claude Code or Cursor from a natural language description."
4
- triggers:
5
- - "/hookify"
6
- - "Create hook"
7
- - "Add hook"
8
- - "Run lint after edit"
9
- - "Notify when done"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "platform"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # Hookify
19
-
20
- Create agent hooks from natural language descriptions.
21
-
22
- ## Arguments
23
-
24
- - `/hookify <description>` — create hook from description
25
- - `/hookify --list` — show all current hooks
26
- - `/hookify --remove <event>` — remove a hook
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Parse Request
31
- Understand from natural language:
32
- - **When**: what event triggers it (before edit, after bash, on stop)
33
- - **What**: what should happen (run command, check, notify)
34
- - **Condition**: optional matcher (specific tool, file pattern)
35
-
36
- Examples:
37
- - "Run lint after every file edit" → PostToolUse + Edit matcher + lint command
38
- - "Notify me when done" → Stop + notification command
39
- - "Check types before committing" → PreToolUse + Bash(git commit) + tsc
40
-
41
- ### Step 2: Read Current Settings
42
- Check for existing hooks to avoid conflicts.
43
-
44
- ### Step 3: Generate Hook Config
45
-
46
- ```json
47
- {
48
- "hooks": {
49
- "<event>": [
50
- {
51
- "matcher": "<tool name or pattern>",
52
- "command": "<shell command>",
53
- "timeout": 60000
54
- }
55
- ]
56
- }
57
- }
58
- ```
59
-
60
- ### Step 4: Validate
61
- 1. Verify command exists and is executable
62
- 2. Test standalone if safe
63
- 3. Check for conflicts with existing hooks
64
-
65
- ### Step 5: Preview & Apply
66
- ```
67
- 🔧 New hook:
68
- Event: PostToolUse (Edit)
69
- Command: npm run lint --fix
70
- Timeout: 30s
71
-
72
- Add to settings.json? [confirm]
73
- ```
74
-
75
- After confirmation, merge into settings.
76
-
77
- ## Hook Event Reference
78
-
79
- | Event | When | Matcher |
80
- |-------|------|---------|
81
- | PreToolUse | Before tool runs | Tool name: Edit, Bash, Write |
82
- | PostToolUse | After tool runs | Tool name |
83
- | Notification | Agent notifies | — |
84
- | Stop | Response complete | — |
85
- | SubagentStop | Sub-agent done | — |
86
-
87
- ## Common Patterns
88
-
89
- - **Auto-lint**: PostToolUse(Edit) → `eslint --fix $FILE`
90
- - **Auto-format**: PostToolUse(Write) → `prettier --write $FILE`
91
- - **Type-check gate**: PreToolUse(Bash:git commit) → `npx tsc --noEmit`
92
- - **Notify on done**: Stop → notification command
93
-
94
- ## Rules
95
-
96
- - ALWAYS preview before applying
97
- - NEVER overwrite existing hooks — merge or ask
98
- - Keep timeouts reasonable (10-60s)
99
- - Warn if hook could slow down every tool call
100
- - Test commands before adding as hooks
@@ -1,100 +0,0 @@
1
- ---
2
- name: hookify
3
- description: "Use when adding automated hook behavior to Claude Code or Cursor from a natural language description."
4
- triggers:
5
- - "/hookify"
6
- - "Create hook"
7
- - "Add hook"
8
- - "Run lint after edit"
9
- - "Notify when done"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "platform"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # Hookify
19
-
20
- Create agent hooks from natural language descriptions.
21
-
22
- ## Arguments
23
-
24
- - `/hookify <description>` — create hook from description
25
- - `/hookify --list` — show all current hooks
26
- - `/hookify --remove <event>` — remove a hook
27
-
28
- ## Workflow
29
-
30
- ### Step 1: Parse Request
31
- Understand from natural language:
32
- - **When**: what event triggers it (before edit, after bash, on stop)
33
- - **What**: what should happen (run command, check, notify)
34
- - **Condition**: optional matcher (specific tool, file pattern)
35
-
36
- Examples:
37
- - "Run lint after every file edit" → PostToolUse + Edit matcher + lint command
38
- - "Notify me when done" → Stop + notification command
39
- - "Check types before committing" → PreToolUse + Bash(git commit) + tsc
40
-
41
- ### Step 2: Read Current Settings
42
- Check for existing hooks to avoid conflicts.
43
-
44
- ### Step 3: Generate Hook Config
45
-
46
- ```json
47
- {
48
- "hooks": {
49
- "<event>": [
50
- {
51
- "matcher": "<tool name or pattern>",
52
- "command": "<shell command>",
53
- "timeout": 60000
54
- }
55
- ]
56
- }
57
- }
58
- ```
59
-
60
- ### Step 4: Validate
61
- 1. Verify command exists and is executable
62
- 2. Test standalone if safe
63
- 3. Check for conflicts with existing hooks
64
-
65
- ### Step 5: Preview & Apply
66
- ```
67
- 🔧 New hook:
68
- Event: PostToolUse (Edit)
69
- Command: npm run lint --fix
70
- Timeout: 30s
71
-
72
- Add to settings.json? [confirm]
73
- ```
74
-
75
- After confirmation, merge into settings.
76
-
77
- ## Hook Event Reference
78
-
79
- | Event | When | Matcher |
80
- |-------|------|---------|
81
- | PreToolUse | Before tool runs | Tool name: Edit, Bash, Write |
82
- | PostToolUse | After tool runs | Tool name |
83
- | Notification | Agent notifies | — |
84
- | Stop | Response complete | — |
85
- | SubagentStop | Sub-agent done | — |
86
-
87
- ## Common Patterns
88
-
89
- - **Auto-lint**: PostToolUse(Edit) → `eslint --fix $FILE`
90
- - **Auto-format**: PostToolUse(Write) → `prettier --write $FILE`
91
- - **Type-check gate**: PreToolUse(Bash:git commit) → `npx tsc --noEmit`
92
- - **Notify on done**: Stop → notification command
93
-
94
- ## Rules
95
-
96
- - ALWAYS preview before applying
97
- - NEVER overwrite existing hooks — merge or ask
98
- - Keep timeouts reasonable (10-60s)
99
- - Warn if hook could slow down every tool call
100
- - Test commands before adding as hooks
@@ -1,84 +0,0 @@
1
- ---
2
- name: changelog
3
- description: "Use when generating a changelog, release notes, or summarizing what changed between tags, versions, or date ranges."
4
- triggers:
5
- - "/changelog"
6
- - "Generate changelog"
7
- - "What changed since"
8
- - "Release notes"
9
- - "What's new"
10
- metadata:
11
- author: "MrCipherSmith"
12
- version: "1.0.0"
13
- category: "quality"
14
- compatible_harnesses: "cursor,codex,zed,opencode,claude"
15
- license: "MIT"
16
- ---
17
-
18
- # Changelog Generator
19
-
20
- Generate structured changelog from git history.
21
-
22
- ## Arguments
23
-
24
- - `/changelog` — latest tag to HEAD
25
- - `/changelog v1.0..v2.0` — between tags
26
- - `/changelog --since 2024-01-01` — since date
27
- - `/changelog --output <file>` — write to file
28
- - `/changelog --prepend` — prepend to existing CHANGELOG.md
29
- - `/changelog --format compact` — one-liner per change
30
-
31
- ## Workflow
32
-
33
- ### Step 1: Determine Range
34
- 1. `git tag --sort=-version:refname` — list recent tags
35
- 2. Default: from latest tag to HEAD
36
- 3. Between tags or since date if specified
37
-
38
- ### Step 2: Collect Commits
39
- ```bash
40
- git log <range> --pretty=format:"%H|%s|%an|%ad" --date=short
41
- ```
42
-
43
- ### Step 3: Parse & Classify
44
-
45
- | Prefix | Section |
46
- |--------|---------|
47
- | feat: | Features |
48
- | fix: | Bug Fixes |
49
- | perf: | Performance |
50
- | refactor: | Refactoring |
51
- | docs: | Documentation |
52
- | test: | Tests |
53
- | chore: | Maintenance |
54
- | BREAKING CHANGE | Breaking Changes |
55
-
56
- Extract scope, PR references `(#123)`, issue references `fixes #456`.
57
-
58
- ### Step 4: Enrich (optional)
59
- If `gh` CLI available: fetch PR titles for merge commits, get authors and labels.
60
-
61
- ### Step 5: Generate Output
62
-
63
- ```markdown
64
- # Changelog
65
-
66
- ## [v1.3.0] - 2024-03-15
67
-
68
- ### Breaking Changes
69
- - **auth**: Remove deprecated OAuth1 support (#234)
70
-
71
- ### Features
72
- - **api**: Add batch processing endpoint (#220)
73
-
74
- ### Bug Fixes
75
- - **db**: Fix connection pool leak under load (#228)
76
- ```
77
-
78
- ## Rules
79
-
80
- - Deduplicate identical commit messages
81
- - Skip merge commits (use PR title instead)
82
- - If no conventional commits found, fall back to plain list by date
83
- - Breaking changes always go first
84
- - One line per change