@qazuor/claude-code-config 0.1.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.
- package/LICENSE +21 -0
- package/README.md +1248 -0
- package/dist/bin.cjs +11886 -0
- package/dist/bin.cjs.map +1 -0
- package/dist/bin.d.cts +1 -0
- package/dist/bin.d.ts +1 -0
- package/dist/bin.js +11869 -0
- package/dist/bin.js.map +1 -0
- package/dist/index.cjs +3887 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1325 -0
- package/dist/index.d.ts +1325 -0
- package/dist/index.js +3835 -0
- package/dist/index.js.map +1 -0
- package/package.json +86 -0
- package/templates/.log/notifications.log +1775 -0
- package/templates/agents/README.md +164 -0
- package/templates/agents/_registry.json +443 -0
- package/templates/agents/design/content-writer.md +353 -0
- package/templates/agents/design/ux-ui-designer.md +382 -0
- package/templates/agents/engineering/astro-engineer.md +293 -0
- package/templates/agents/engineering/db-drizzle-engineer.md +360 -0
- package/templates/agents/engineering/express-engineer.md +316 -0
- package/templates/agents/engineering/fastify-engineer.md +399 -0
- package/templates/agents/engineering/hono-engineer.md +263 -0
- package/templates/agents/engineering/mongoose-engineer.md +473 -0
- package/templates/agents/engineering/nestjs-engineer.md +429 -0
- package/templates/agents/engineering/nextjs-engineer.md +451 -0
- package/templates/agents/engineering/node-typescript-engineer.md +347 -0
- package/templates/agents/engineering/prisma-engineer.md +432 -0
- package/templates/agents/engineering/react-senior-dev.md +394 -0
- package/templates/agents/engineering/tanstack-start-engineer.md +447 -0
- package/templates/agents/engineering/tech-lead.md +269 -0
- package/templates/agents/product/product-functional.md +329 -0
- package/templates/agents/product/product-technical.md +578 -0
- package/templates/agents/quality/debugger.md +514 -0
- package/templates/agents/quality/qa-engineer.md +390 -0
- package/templates/agents/specialized/enrichment-agent.md +277 -0
- package/templates/agents/specialized/i18n-specialist.md +322 -0
- package/templates/agents/specialized/seo-ai-specialist.md +387 -0
- package/templates/agents/specialized/tech-writer.md +300 -0
- package/templates/code-style/.editorconfig +27 -0
- package/templates/code-style/.prettierignore +25 -0
- package/templates/code-style/.prettierrc +12 -0
- package/templates/code-style/biome.json +78 -0
- package/templates/code-style/commitlint.config.js +44 -0
- package/templates/commands/README.md +175 -0
- package/templates/commands/_registry.json +420 -0
- package/templates/commands/add-new-entity.md +211 -0
- package/templates/commands/audit/accessibility-audit.md +360 -0
- package/templates/commands/audit/performance-audit.md +290 -0
- package/templates/commands/audit/security-audit.md +231 -0
- package/templates/commands/code-check.md +127 -0
- package/templates/commands/five-why.md +225 -0
- package/templates/commands/formatting/format-markdown.md +197 -0
- package/templates/commands/git/commit.md +247 -0
- package/templates/commands/meta/create-agent.md +257 -0
- package/templates/commands/meta/create-command.md +312 -0
- package/templates/commands/meta/create-skill.md +321 -0
- package/templates/commands/meta/help.md +318 -0
- package/templates/commands/planning/check-completed-tasks.md +224 -0
- package/templates/commands/planning/cleanup-issues.md +248 -0
- package/templates/commands/planning/planning-cleanup.md +251 -0
- package/templates/commands/planning/sync-planning-github.md +133 -0
- package/templates/commands/planning/sync-todos-github.md +203 -0
- package/templates/commands/quality-check.md +211 -0
- package/templates/commands/run-tests.md +159 -0
- package/templates/commands/start-feature-plan.md +232 -0
- package/templates/commands/start-refactor-plan.md +244 -0
- package/templates/commands/sync-planning.md +176 -0
- package/templates/commands/update-docs.md +242 -0
- package/templates/docs/CHECKPOINT-SYSTEM.md +504 -0
- package/templates/docs/INDEX.md +677 -0
- package/templates/docs/RECOMMENDED-HOOKS.md +415 -0
- package/templates/docs/_registry.json +329 -0
- package/templates/docs/diagrams/README.md +220 -0
- package/templates/docs/diagrams/agent-hierarchy.mmd +55 -0
- package/templates/docs/diagrams/documentation-map.mmd +61 -0
- package/templates/docs/diagrams/tools-relationship.mmd +55 -0
- package/templates/docs/diagrams/workflow-decision-tree.mmd +38 -0
- package/templates/docs/doc-sync.md +533 -0
- package/templates/docs/examples/end-to-end-workflow.md +1505 -0
- package/templates/docs/glossary.md +495 -0
- package/templates/docs/guides/mockup-prompt-engineering.md +644 -0
- package/templates/docs/guides/mockup-setup.md +737 -0
- package/templates/docs/learnings/README.md +250 -0
- package/templates/docs/learnings/common-architectural-patterns.md +123 -0
- package/templates/docs/learnings/common-mistakes-to-avoid.md +149 -0
- package/templates/docs/learnings/markdown-formatting-standards.md +104 -0
- package/templates/docs/learnings/monorepo-command-execution.md +64 -0
- package/templates/docs/learnings/optimization-tips.md +146 -0
- package/templates/docs/learnings/planning-linear-sync-workflow.md +70 -0
- package/templates/docs/learnings/shell-compatibility-fish.md +46 -0
- package/templates/docs/learnings/test-organization-structure.md +68 -0
- package/templates/docs/mcp-installation.md +613 -0
- package/templates/docs/mcp-servers.md +989 -0
- package/templates/docs/notification-installation.md +570 -0
- package/templates/docs/quick-start.md +354 -0
- package/templates/docs/standards/architecture-patterns.md +1064 -0
- package/templates/docs/standards/atomic-commits.md +513 -0
- package/templates/docs/standards/code-standards.md +993 -0
- package/templates/docs/standards/design-standards.md +656 -0
- package/templates/docs/standards/documentation-standards.md +1160 -0
- package/templates/docs/standards/testing-standards.md +969 -0
- package/templates/docs/system-maintenance.md +604 -0
- package/templates/docs/templates/PDR-template.md +561 -0
- package/templates/docs/templates/TODOs-template.md +534 -0
- package/templates/docs/templates/tech-analysis-template.md +800 -0
- package/templates/docs/workflows/README.md +519 -0
- package/templates/docs/workflows/atomic-task-protocol.md +955 -0
- package/templates/docs/workflows/decision-tree.md +482 -0
- package/templates/docs/workflows/edge-cases.md +856 -0
- package/templates/docs/workflows/phase-1-planning.md +957 -0
- package/templates/docs/workflows/phase-2-implementation.md +896 -0
- package/templates/docs/workflows/phase-3-validation.md +792 -0
- package/templates/docs/workflows/phase-4-finalization.md +927 -0
- package/templates/docs/workflows/quick-fix-protocol.md +505 -0
- package/templates/docs/workflows/task-atomization.md +537 -0
- package/templates/docs/workflows/task-completion-protocol.md +448 -0
- package/templates/hooks/on-notification.sh +28 -0
- package/templates/schemas/checkpoint.schema.json +97 -0
- package/templates/schemas/code-registry.schema.json +84 -0
- package/templates/schemas/pdr.schema.json +314 -0
- package/templates/schemas/problems.schema.json +55 -0
- package/templates/schemas/tech-analysis.schema.json +404 -0
- package/templates/schemas/telemetry.schema.json +298 -0
- package/templates/schemas/todos.schema.json +234 -0
- package/templates/schemas/workflows.schema.json +69 -0
- package/templates/scripts/add-changelogs.sh +105 -0
- package/templates/scripts/generate-code-registry.ts +270 -0
- package/templates/scripts/health-check.sh +343 -0
- package/templates/scripts/sync-registry.sh +40 -0
- package/templates/scripts/telemetry-report.ts +36 -0
- package/templates/scripts/validate-docs.sh +224 -0
- package/templates/scripts/validate-registry.sh +225 -0
- package/templates/scripts/validate-schemas.ts +283 -0
- package/templates/scripts/validate-structure.sh +165 -0
- package/templates/scripts/worktree-cleanup.sh +81 -0
- package/templates/scripts/worktree-create.sh +63 -0
- package/templates/sessions/planning/.gitkeep +0 -0
- package/templates/sessions/planning/archived/.gitkeep +0 -0
- package/templates/settings.json +202 -0
- package/templates/settings.local.json +138 -0
- package/templates/skills/README.md +197 -0
- package/templates/skills/_registry.json +473 -0
- package/templates/skills/audit/accessibility-audit.md +309 -0
- package/templates/skills/audit/performance-audit.md +257 -0
- package/templates/skills/audit/security-audit.md +217 -0
- package/templates/skills/auth/nextauth-patterns.md +308 -0
- package/templates/skills/brand-guidelines.md +240 -0
- package/templates/skills/documentation/markdown-formatter.md +302 -0
- package/templates/skills/git/git-commit-helper.md +321 -0
- package/templates/skills/i18n/i18n-patterns.md +251 -0
- package/templates/skills/patterns/error-handling-patterns.md +242 -0
- package/templates/skills/patterns/tdd-methodology.md +342 -0
- package/templates/skills/qa/qa-criteria-validator.md +383 -0
- package/templates/skills/qa/web-app-testing.md +398 -0
- package/templates/skills/react/react-hook-form-patterns.md +359 -0
- package/templates/skills/state/redux-toolkit-patterns.md +272 -0
- package/templates/skills/state/tanstack-query-patterns.md +299 -0
- package/templates/skills/state/zustand-patterns.md +301 -0
- package/templates/skills/tech/mermaid-diagram-specialist.md +195 -0
- package/templates/skills/tech/shadcn-specialist.md +252 -0
- package/templates/skills/tech/vercel-specialist.md +297 -0
- package/templates/skills/testing/api-app-testing.md +254 -0
- package/templates/skills/testing/performance-testing.md +275 -0
- package/templates/skills/testing/security-testing.md +348 -0
- package/templates/skills/utils/add-memory.md +295 -0
- package/templates/skills/utils/json-data-auditor.md +283 -0
- package/templates/skills/utils/pdf-creator-editor.md +342 -0
- package/templates/tools/format-markdown.sh +185 -0
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://example.com/schemas/pdr.schema.json",
|
|
4
|
+
"title": "Product Design Requirements (PDR)",
|
|
5
|
+
"description": "JSON Schema for validating Product Design Requirements documents",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["metadata", "overview", "userStories", "businessRules", "acceptanceCriteria"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"metadata": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["code", "title", "version", "createdAt", "status"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"code": {
|
|
14
|
+
"type": "string",
|
|
15
|
+
"pattern": "^P(F|R|B)?-\\d{3,4}$",
|
|
16
|
+
"description": "Planning code with mandatory dash (e.g., P-001, PF-004, PR-002, PB-042)"
|
|
17
|
+
},
|
|
18
|
+
"title": {
|
|
19
|
+
"type": "string",
|
|
20
|
+
"minLength": 10,
|
|
21
|
+
"maxLength": 200,
|
|
22
|
+
"description": "Title of the product design requirements"
|
|
23
|
+
},
|
|
24
|
+
"version": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"pattern": "^\\d+\\.\\d+(\\.\\d+)?$",
|
|
27
|
+
"description": "Version following semantic versioning (e.g., 1.0, 1.0.0)"
|
|
28
|
+
},
|
|
29
|
+
"createdAt": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"format": "date-time",
|
|
32
|
+
"description": "ISO 8601 date-time of creation"
|
|
33
|
+
},
|
|
34
|
+
"updatedAt": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"format": "date-time",
|
|
37
|
+
"description": "ISO 8601 date-time of last update"
|
|
38
|
+
},
|
|
39
|
+
"status": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"enum": ["draft", "review", "approved", "in-progress", "completed", "archived"],
|
|
42
|
+
"description": "Current status of the PDR"
|
|
43
|
+
},
|
|
44
|
+
"author": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"description": "Primary author of the PDR"
|
|
47
|
+
},
|
|
48
|
+
"reviewers": {
|
|
49
|
+
"type": "array",
|
|
50
|
+
"items": {
|
|
51
|
+
"type": "string"
|
|
52
|
+
},
|
|
53
|
+
"description": "List of reviewers"
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
"overview": {
|
|
58
|
+
"type": "object",
|
|
59
|
+
"required": ["description", "context", "businessValue"],
|
|
60
|
+
"properties": {
|
|
61
|
+
"description": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"minLength": 50,
|
|
64
|
+
"description": "Detailed description of what is being built"
|
|
65
|
+
},
|
|
66
|
+
"context": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"minLength": 30,
|
|
69
|
+
"description": "Context and background information"
|
|
70
|
+
},
|
|
71
|
+
"businessValue": {
|
|
72
|
+
"type": "string",
|
|
73
|
+
"minLength": 30,
|
|
74
|
+
"description": "Business value and impact"
|
|
75
|
+
},
|
|
76
|
+
"goals": {
|
|
77
|
+
"type": "array",
|
|
78
|
+
"items": {
|
|
79
|
+
"type": "string",
|
|
80
|
+
"minLength": 10
|
|
81
|
+
},
|
|
82
|
+
"minItems": 1,
|
|
83
|
+
"description": "List of goals to achieve"
|
|
84
|
+
},
|
|
85
|
+
"nonGoals": {
|
|
86
|
+
"type": "array",
|
|
87
|
+
"items": {
|
|
88
|
+
"type": "string"
|
|
89
|
+
},
|
|
90
|
+
"description": "Explicitly out of scope items"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
"userStories": {
|
|
95
|
+
"type": "array",
|
|
96
|
+
"minItems": 1,
|
|
97
|
+
"items": {
|
|
98
|
+
"type": "object",
|
|
99
|
+
"required": ["id", "role", "want", "so"],
|
|
100
|
+
"properties": {
|
|
101
|
+
"id": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"pattern": "^US-\\d{3,4}$",
|
|
104
|
+
"description": "User story ID (e.g., US-001)"
|
|
105
|
+
},
|
|
106
|
+
"role": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"minLength": 3,
|
|
109
|
+
"description": "User role (e.g., 'developer', 'admin', 'user')"
|
|
110
|
+
},
|
|
111
|
+
"want": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"minLength": 10,
|
|
114
|
+
"description": "What the user wants to do"
|
|
115
|
+
},
|
|
116
|
+
"so": {
|
|
117
|
+
"type": "string",
|
|
118
|
+
"minLength": 10,
|
|
119
|
+
"description": "Why the user wants it (benefit/value)"
|
|
120
|
+
},
|
|
121
|
+
"priority": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"enum": ["P0", "P1", "P2", "P3"],
|
|
124
|
+
"description": "Priority level (P0=critical, P3=nice-to-have)"
|
|
125
|
+
},
|
|
126
|
+
"acceptanceCriteria": {
|
|
127
|
+
"type": "array",
|
|
128
|
+
"items": {
|
|
129
|
+
"type": "string",
|
|
130
|
+
"minLength": 10
|
|
131
|
+
},
|
|
132
|
+
"description": "Specific acceptance criteria for this user story"
|
|
133
|
+
},
|
|
134
|
+
"notes": {
|
|
135
|
+
"type": "string",
|
|
136
|
+
"description": "Additional notes or considerations"
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
"businessRules": {
|
|
142
|
+
"type": "array",
|
|
143
|
+
"minItems": 1,
|
|
144
|
+
"items": {
|
|
145
|
+
"type": "object",
|
|
146
|
+
"required": ["id", "rule", "rationale"],
|
|
147
|
+
"properties": {
|
|
148
|
+
"id": {
|
|
149
|
+
"type": "string",
|
|
150
|
+
"pattern": "^BR-\\d{1,3}$",
|
|
151
|
+
"description": "Business rule ID (e.g., BR-1)"
|
|
152
|
+
},
|
|
153
|
+
"rule": {
|
|
154
|
+
"type": "string",
|
|
155
|
+
"minLength": 10,
|
|
156
|
+
"description": "The business rule statement"
|
|
157
|
+
},
|
|
158
|
+
"rationale": {
|
|
159
|
+
"type": "string",
|
|
160
|
+
"minLength": 10,
|
|
161
|
+
"description": "Why this rule exists"
|
|
162
|
+
},
|
|
163
|
+
"category": {
|
|
164
|
+
"type": "string",
|
|
165
|
+
"enum": ["validation", "security", "business-logic", "compliance", "performance", "ux"],
|
|
166
|
+
"description": "Category of the business rule"
|
|
167
|
+
},
|
|
168
|
+
"impact": {
|
|
169
|
+
"type": "string",
|
|
170
|
+
"enum": ["high", "medium", "low"],
|
|
171
|
+
"description": "Impact level if rule is violated"
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
"acceptanceCriteria": {
|
|
177
|
+
"type": "array",
|
|
178
|
+
"minItems": 1,
|
|
179
|
+
"items": {
|
|
180
|
+
"type": "object",
|
|
181
|
+
"required": ["id", "criterion", "testable"],
|
|
182
|
+
"properties": {
|
|
183
|
+
"id": {
|
|
184
|
+
"type": "string",
|
|
185
|
+
"pattern": "^AC-\\d{3,4}$",
|
|
186
|
+
"description": "Acceptance criterion ID (e.g., AC-001)"
|
|
187
|
+
},
|
|
188
|
+
"criterion": {
|
|
189
|
+
"type": "string",
|
|
190
|
+
"minLength": 10,
|
|
191
|
+
"description": "The acceptance criterion"
|
|
192
|
+
},
|
|
193
|
+
"testable": {
|
|
194
|
+
"type": "boolean",
|
|
195
|
+
"description": "Whether this criterion can be automatically tested"
|
|
196
|
+
},
|
|
197
|
+
"testType": {
|
|
198
|
+
"type": "string",
|
|
199
|
+
"enum": ["unit", "integration", "e2e", "manual"],
|
|
200
|
+
"description": "Type of test required"
|
|
201
|
+
},
|
|
202
|
+
"priority": {
|
|
203
|
+
"type": "string",
|
|
204
|
+
"enum": ["P0", "P1", "P2", "P3"]
|
|
205
|
+
},
|
|
206
|
+
"relatedUserStories": {
|
|
207
|
+
"type": "array",
|
|
208
|
+
"items": {
|
|
209
|
+
"type": "string",
|
|
210
|
+
"pattern": "^US-\\d{3,4}$"
|
|
211
|
+
},
|
|
212
|
+
"description": "Related user story IDs"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"technicalConsiderations": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"properties": {
|
|
220
|
+
"dependencies": {
|
|
221
|
+
"type": "array",
|
|
222
|
+
"items": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"description": "Technical dependencies"
|
|
226
|
+
},
|
|
227
|
+
"constraints": {
|
|
228
|
+
"type": "array",
|
|
229
|
+
"items": {
|
|
230
|
+
"type": "string"
|
|
231
|
+
},
|
|
232
|
+
"description": "Technical constraints"
|
|
233
|
+
},
|
|
234
|
+
"risks": {
|
|
235
|
+
"type": "array",
|
|
236
|
+
"items": {
|
|
237
|
+
"type": "object",
|
|
238
|
+
"required": ["risk", "impact", "mitigation"],
|
|
239
|
+
"properties": {
|
|
240
|
+
"risk": {
|
|
241
|
+
"type": "string"
|
|
242
|
+
},
|
|
243
|
+
"impact": {
|
|
244
|
+
"type": "string",
|
|
245
|
+
"enum": ["high", "medium", "low"]
|
|
246
|
+
},
|
|
247
|
+
"probability": {
|
|
248
|
+
"type": "string",
|
|
249
|
+
"enum": ["high", "medium", "low"]
|
|
250
|
+
},
|
|
251
|
+
"mitigation": {
|
|
252
|
+
"type": "string"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
"outOfScope": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"type": "string"
|
|
263
|
+
},
|
|
264
|
+
"description": "Items explicitly excluded from this PDR"
|
|
265
|
+
},
|
|
266
|
+
"openQuestions": {
|
|
267
|
+
"type": "array",
|
|
268
|
+
"items": {
|
|
269
|
+
"type": "object",
|
|
270
|
+
"required": ["question"],
|
|
271
|
+
"properties": {
|
|
272
|
+
"question": {
|
|
273
|
+
"type": "string"
|
|
274
|
+
},
|
|
275
|
+
"answer": {
|
|
276
|
+
"type": "string"
|
|
277
|
+
},
|
|
278
|
+
"status": {
|
|
279
|
+
"type": "string",
|
|
280
|
+
"enum": ["open", "answered", "blocked"]
|
|
281
|
+
},
|
|
282
|
+
"assignedTo": {
|
|
283
|
+
"type": "string"
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
},
|
|
288
|
+
"mockups": {
|
|
289
|
+
"type": "array",
|
|
290
|
+
"items": {
|
|
291
|
+
"type": "object",
|
|
292
|
+
"required": ["id", "name", "path"],
|
|
293
|
+
"properties": {
|
|
294
|
+
"id": {
|
|
295
|
+
"type": "string"
|
|
296
|
+
},
|
|
297
|
+
"name": {
|
|
298
|
+
"type": "string"
|
|
299
|
+
},
|
|
300
|
+
"path": {
|
|
301
|
+
"type": "string"
|
|
302
|
+
},
|
|
303
|
+
"description": {
|
|
304
|
+
"type": "string"
|
|
305
|
+
},
|
|
306
|
+
"type": {
|
|
307
|
+
"type": "string",
|
|
308
|
+
"enum": ["wireframe", "mockup", "prototype", "screenshot"]
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "https://example.com/schemas/problems.schema.json",
|
|
4
|
+
"title": "Problems and Improvements",
|
|
5
|
+
"description": "JSON Schema for Problems and Improvements analysis documents",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"required": ["metadata", "problems", "improvements"],
|
|
8
|
+
"properties": {
|
|
9
|
+
"metadata": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"required": ["planningCode", "version"],
|
|
12
|
+
"properties": {
|
|
13
|
+
"planningCode": {"type": "string", "pattern": "^P(F|R|B)?-\\d{3,4}$"},
|
|
14
|
+
"version": {"type": "string", "pattern": "^\\d+\\.\\d+(\\.\\d+)?$"},
|
|
15
|
+
"createdAt": {"type": "string", "format": "date-time"}
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"problems": {
|
|
19
|
+
"type": "array",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"required": ["id", "title", "description", "impact", "mitigation"],
|
|
23
|
+
"properties": {
|
|
24
|
+
"id": {"type": "string", "pattern": "^PROB-\\d{3}$"},
|
|
25
|
+
"title": {"type": "string", "minLength": 5},
|
|
26
|
+
"description": {"type": "string", "minLength": 20},
|
|
27
|
+
"impact": {"type": "string", "enum": ["high", "medium", "low"]},
|
|
28
|
+
"category": {"type": "string", "enum": ["technical", "process", "documentation", "performance", "security", "ux"]},
|
|
29
|
+
"mitigation": {"type": "string", "minLength": 20},
|
|
30
|
+
"userDecision": {"type": "string", "description": "User's decision on this problem"},
|
|
31
|
+
"status": {"type": "string", "enum": ["identified", "mitigated", "resolved", "accepted"]},
|
|
32
|
+
"relatedTasks": {"type": "array", "items": {"type": "string"}}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"improvements": {
|
|
37
|
+
"type": "array",
|
|
38
|
+
"items": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"required": ["id", "title", "description", "benefit"],
|
|
41
|
+
"properties": {
|
|
42
|
+
"id": {"type": "string", "pattern": "^IMP-\\d{3}$"},
|
|
43
|
+
"title": {"type": "string", "minLength": 5},
|
|
44
|
+
"description": {"type": "string", "minLength": 20},
|
|
45
|
+
"benefit": {"type": "string", "minLength": 20},
|
|
46
|
+
"effort": {"type": "string", "enum": ["low", "medium", "high"]},
|
|
47
|
+
"priority": {"type": "string", "enum": ["P0", "P1", "P2", "P3"]},
|
|
48
|
+
"userDecision": {"type": "string"},
|
|
49
|
+
"status": {"type": "string", "enum": ["proposed", "approved", "in-progress", "completed", "rejected"]},
|
|
50
|
+
"relatedTasks": {"type": "array", "items": {"type": "string"}}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|