@dedesfr/prompter 0.9.0 → 1.0.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 (216) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/README.md +105 -77
  3. package/dist/cli/index.js +25 -1
  4. package/dist/cli/index.js.map +1 -1
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/init.js +32 -9
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/commands/login.d.ts +4 -0
  9. package/dist/commands/login.d.ts.map +1 -0
  10. package/dist/commands/login.js +56 -0
  11. package/dist/commands/login.js.map +1 -0
  12. package/dist/commands/logout.d.ts +4 -0
  13. package/dist/commands/logout.d.ts.map +1 -0
  14. package/dist/commands/logout.js +14 -0
  15. package/dist/commands/logout.js.map +1 -0
  16. package/dist/commands/update.d.ts.map +1 -1
  17. package/dist/commands/update.js +18 -5
  18. package/dist/commands/update.js.map +1 -1
  19. package/dist/commands/whoami.d.ts +4 -0
  20. package/dist/commands/whoami.d.ts.map +1 -0
  21. package/dist/commands/whoami.js +42 -0
  22. package/dist/commands/whoami.js.map +1 -0
  23. package/dist/core/auth-store.d.ts +10 -0
  24. package/dist/core/auth-store.d.ts.map +1 -0
  25. package/dist/core/auth-store.js +39 -0
  26. package/dist/core/auth-store.js.map +1 -0
  27. package/dist/core/registry.d.ts +18 -0
  28. package/dist/core/registry.d.ts.map +1 -0
  29. package/dist/core/registry.js +94 -0
  30. package/dist/core/registry.js.map +1 -0
  31. package/package.json +7 -1
  32. package/AGENTS.md +0 -123
  33. package/CLAUDE.md +0 -17
  34. package/build.js +0 -20
  35. package/convex-setup.md +0 -403
  36. package/prompt/ai-humanizer.md +0 -45
  37. package/prompt/api-contract-generator.md +0 -234
  38. package/prompt/apply.md +0 -17
  39. package/prompt/archive.md +0 -21
  40. package/prompt/design-system.md +0 -210
  41. package/prompt/document-explainer.md +0 -149
  42. package/prompt/epic-generator.md +0 -198
  43. package/prompt/epic-single.md +0 -47
  44. package/prompt/erd-generator.md +0 -130
  45. package/prompt/fsd-generator.md +0 -157
  46. package/prompt/prd-agent-generator.md +0 -147
  47. package/prompt/prd-generator.md +0 -195
  48. package/prompt/product-brief.md +0 -289
  49. package/prompt/proposal.md +0 -22
  50. package/prompt/qa-test-scenario.md +0 -133
  51. package/prompt/skill-creator.md +0 -350
  52. package/prompt/story-generator.md +0 -278
  53. package/prompt/story-single.md +0 -70
  54. package/prompt/tdd-generator.md +0 -294
  55. package/prompt/tdd-lite-generator.md +0 -224
  56. package/prompt/wireframe-generator.md +0 -219
  57. package/skills/ai-context-generator/SKILL.md +0 -54
  58. package/skills/ai-context-generator/references/AGENTS.template.md +0 -83
  59. package/skills/ai-context-generator/references/CLAUDE.template.md +0 -39
  60. package/skills/ai-context-generator/references/behavioral-guidelines.md +0 -71
  61. package/skills/ai-context-generator/references/discovery-checklist.md +0 -40
  62. package/skills/ai-context-generator/references/examples/AGENTS.good.md +0 -103
  63. package/skills/ai-context-generator/references/extraction-checklist.md +0 -23
  64. package/skills/ai-context-generator/references/overlays/laravel.md +0 -44
  65. package/skills/ai-humanizer/SKILL.md +0 -50
  66. package/skills/api-contract-generator/SKILL.md +0 -243
  67. package/skills/apply/SKILL.md +0 -23
  68. package/skills/archive/SKILL.md +0 -27
  69. package/skills/cerebro/SKILL.md +0 -187
  70. package/skills/cerebro/references/agents.md +0 -213
  71. package/skills/code-review/SKILL.md +0 -373
  72. package/skills/code-review/assets/report-template-agent.md +0 -212
  73. package/skills/code-review/assets/report-template-compact.md +0 -81
  74. package/skills/code-review/assets/report-template-full.md +0 -264
  75. package/skills/code-review/assets/report-template-human.md +0 -168
  76. package/skills/code-review/references/universal-patterns.md +0 -495
  77. package/skills/design-md/README.md +0 -34
  78. package/skills/design-md/SKILL.md +0 -172
  79. package/skills/design-md/examples/DESIGN.md +0 -154
  80. package/skills/design-system/SKILL.md +0 -216
  81. package/skills/design-system-generator/SKILL.md +0 -324
  82. package/skills/design-system-generator/assets/design-system-template.md +0 -348
  83. package/skills/design-system-generator/references/extraction-patterns.md +0 -321
  84. package/skills/doc-builder/SKILL.md +0 -115
  85. package/skills/doc-builder/references/ui-patterns.md +0 -394
  86. package/skills/document-explainer/SKILL.md +0 -155
  87. package/skills/document-translator/SKILL.md +0 -58
  88. package/skills/enhance/SKILL.md +0 -47
  89. package/skills/enhance-prompt/README.md +0 -34
  90. package/skills/enhance-prompt/SKILL.md +0 -204
  91. package/skills/enhance-prompt/references/KEYWORDS.md +0 -114
  92. package/skills/epic-generator/SKILL.md +0 -204
  93. package/skills/epic-single/SKILL.md +0 -63
  94. package/skills/erd-generator/SKILL.md +0 -138
  95. package/skills/feature-planner/SKILL.md +0 -305
  96. package/skills/feature-planner/assets/implementation-plan-template.md +0 -85
  97. package/skills/frontend-design/LICENSE.txt +0 -177
  98. package/skills/frontend-design/SKILL.md +0 -42
  99. package/skills/fsd-generator/SKILL.md +0 -163
  100. package/skills/gamma-builder/SKILL.md +0 -134
  101. package/skills/laravel-code-review/SKILL.md +0 -383
  102. package/skills/laravel-code-review/assets/report-template-agent.md +0 -195
  103. package/skills/laravel-code-review/assets/report-template-compact.md +0 -79
  104. package/skills/laravel-code-review/assets/report-template-full.md +0 -253
  105. package/skills/laravel-code-review/assets/report-template-human.md +0 -159
  106. package/skills/laravel-code-review/references/laravel-patterns.md +0 -571
  107. package/skills/laravel-code-review/references/php84-features.md +0 -442
  108. package/skills/mcp-builder/LICENSE.txt +0 -202
  109. package/skills/mcp-builder/SKILL.md +0 -236
  110. package/skills/mcp-builder/reference/evaluation.md +0 -602
  111. package/skills/mcp-builder/reference/mcp_best_practices.md +0 -249
  112. package/skills/mcp-builder/reference/node_mcp_server.md +0 -970
  113. package/skills/mcp-builder/reference/python_mcp_server.md +0 -719
  114. package/skills/mcp-builder/scripts/connections.py +0 -151
  115. package/skills/mcp-builder/scripts/evaluation.py +0 -373
  116. package/skills/mcp-builder/scripts/example_evaluation.xml +0 -22
  117. package/skills/mcp-builder/scripts/requirements.txt +0 -2
  118. package/skills/meeting-notes/SKILL.md +0 -159
  119. package/skills/meeting-notes/evals/evals.json +0 -23
  120. package/skills/prd-agent-generator/SKILL.md +0 -132
  121. package/skills/prd-generator/SKILL.md +0 -211
  122. package/skills/product-brief/SKILL.md +0 -141
  123. package/skills/project-orchestrator/SKILL.md +0 -487
  124. package/skills/project-orchestrator/assets/caddy-vps-setup.md +0 -180
  125. package/skills/project-orchestrator/assets/plan-summary-template.md +0 -159
  126. package/skills/prompter-specs/SKILL.md +0 -115
  127. package/skills/prompter-workflow/SKILL.md +0 -166
  128. package/skills/prompter-workflow/evals/evals.json +0 -89
  129. package/skills/proposal/SKILL.md +0 -28
  130. package/skills/qa-test-scenario/SKILL.md +0 -149
  131. package/skills/skill-creator/SKILL.md +0 -173
  132. package/skills/sph-generator/SKILL.md +0 -488
  133. package/skills/story-generator/SKILL.md +0 -285
  134. package/skills/story-single/SKILL.md +0 -86
  135. package/skills/tdd-generator/SKILL.md +0 -300
  136. package/skills/tdd-lite-generator/SKILL.md +0 -230
  137. package/skills/ui-ux-pro/SKILL.md +0 -199
  138. package/skills/ui-ux-pro/assets/design-spec-template.md +0 -173
  139. package/skills/ui-ux-pro/references/component-patterns.md +0 -255
  140. package/skills/ui-ux-pro/references/design-principles.md +0 -167
  141. package/skills/wireframe-generator/SKILL.md +0 -227
  142. package/src/cli/index.ts +0 -223
  143. package/src/commands/archive.ts +0 -302
  144. package/src/commands/change.ts +0 -292
  145. package/src/commands/config.ts +0 -233
  146. package/src/commands/guide.ts +0 -50
  147. package/src/commands/init.ts +0 -597
  148. package/src/commands/list.ts +0 -194
  149. package/src/commands/show.ts +0 -138
  150. package/src/commands/spec.ts +0 -251
  151. package/src/commands/update.ts +0 -129
  152. package/src/commands/upgrade.ts +0 -30
  153. package/src/commands/validate.ts +0 -326
  154. package/src/core/artifact-graph/graph.ts +0 -167
  155. package/src/core/artifact-graph/index.ts +0 -44
  156. package/src/core/artifact-graph/instruction-loader.ts +0 -302
  157. package/src/core/artifact-graph/resolver.ts +0 -226
  158. package/src/core/artifact-graph/schema.ts +0 -124
  159. package/src/core/artifact-graph/state.ts +0 -64
  160. package/src/core/artifact-graph/types.ts +0 -65
  161. package/src/core/completions/command-registry.ts +0 -382
  162. package/src/core/completions/completion-provider.ts +0 -128
  163. package/src/core/completions/generators/bash-generator.ts +0 -191
  164. package/src/core/completions/generators/fish-generator.ts +0 -188
  165. package/src/core/completions/generators/powershell-generator.ts +0 -223
  166. package/src/core/completions/generators/zsh-generator.ts +0 -281
  167. package/src/core/completions/templates/bash-templates.ts +0 -24
  168. package/src/core/completions/templates/fish-templates.ts +0 -40
  169. package/src/core/completions/templates/powershell-templates.ts +0 -25
  170. package/src/core/completions/templates/zsh-templates.ts +0 -36
  171. package/src/core/completions/types.ts +0 -90
  172. package/src/core/config-schema.ts +0 -230
  173. package/src/core/config.ts +0 -181
  174. package/src/core/configurators/slash/antigravity.ts +0 -10
  175. package/src/core/configurators/slash/base.ts +0 -109
  176. package/src/core/configurators/slash/claude.ts +0 -10
  177. package/src/core/configurators/slash/codex.ts +0 -10
  178. package/src/core/configurators/slash/droid.ts +0 -10
  179. package/src/core/configurators/slash/forge.ts +0 -10
  180. package/src/core/configurators/slash/github-copilot.ts +0 -10
  181. package/src/core/configurators/slash/index.ts +0 -10
  182. package/src/core/configurators/slash/kilocode.ts +0 -10
  183. package/src/core/configurators/slash/opencode.ts +0 -10
  184. package/src/core/configurators/slash/registry.ts +0 -51
  185. package/src/core/converters/json-converter.ts +0 -62
  186. package/src/core/global-config.ts +0 -136
  187. package/src/core/parsers/change-parser.ts +0 -234
  188. package/src/core/parsers/markdown-parser.ts +0 -237
  189. package/src/core/parsers/requirement-blocks.ts +0 -234
  190. package/src/core/prompt-templates.ts +0 -3504
  191. package/src/core/schemas/base.schema.ts +0 -20
  192. package/src/core/schemas/change.schema.ts +0 -42
  193. package/src/core/schemas/index.ts +0 -20
  194. package/src/core/schemas/spec.schema.ts +0 -17
  195. package/src/core/skill-discovery.ts +0 -68
  196. package/src/core/specs-apply.ts +0 -483
  197. package/src/core/styles/palette.ts +0 -8
  198. package/src/core/templates/agents-template.ts +0 -459
  199. package/src/core/templates/claude-template.ts +0 -2
  200. package/src/core/templates/index.ts +0 -3
  201. package/src/core/templates/project-template.ts +0 -32
  202. package/src/core/validation/constants.ts +0 -48
  203. package/src/core/validation/types.ts +0 -19
  204. package/src/core/validation/validator.ts +0 -449
  205. package/src/core/view.ts +0 -219
  206. package/src/index.ts +0 -1
  207. package/src/utils/change-metadata.ts +0 -171
  208. package/src/utils/change-utils.ts +0 -131
  209. package/src/utils/file-system.ts +0 -252
  210. package/src/utils/index.ts +0 -12
  211. package/src/utils/interactive.ts +0 -29
  212. package/src/utils/item-discovery.ts +0 -66
  213. package/src/utils/match.ts +0 -26
  214. package/src/utils/shell-detection.ts +0 -62
  215. package/src/utils/task-progress.ts +0 -43
  216. package/tsconfig.json +0 -28
@@ -1,253 +0,0 @@
1
- # Laravel Code Review Report
2
-
3
- **Generated:** {{TIMESTAMP}}
4
- **Review Style:** {{REVIEW_STYLE_EMOJI}} {{REVIEW_STYLE}}
5
- **Laravel Version:** 12.x
6
- **PHP Version:** 8.4
7
- **Reviewed Files:** {{FILE_COUNT}}
8
- **Total Issues:** {{ISSUE_COUNT}}
9
-
10
- ---
11
-
12
- ## Review Configuration
13
-
14
- ### Style Settings
15
-
16
- | Setting | Value |
17
- | ---------------------- | ------------------------------------------- |
18
- | **Review Style** | {{REVIEW_STYLE_EMOJI}} **{{REVIEW_STYLE}}** |
19
- | **Severity Threshold** | {{SEVERITY_THRESHOLD}} |
20
- | **Tone** | {{REVIEW_TONE}} |
21
-
22
- ### Focus Areas Matrix
23
-
24
- | Focus Area | Status | Coverage Level | Description |
25
- | ---------------------------- | --------------------------- | --------------------------- | ---------------------------------------------------- |
26
- | **Security vulnerabilities** | {{FOCUS_SECURITY_EMOJI}} | {{FOCUS_SECURITY_LEVEL}} | SQL injection, XSS, mass assignment, exposed secrets |
27
- | **Performance issues** | {{FOCUS_PERFORMANCE_EMOJI}} | {{FOCUS_PERFORMANCE_LEVEL}} | N+1 queries, missing indexes, inefficient loops |
28
- | **Bug detection** | {{FOCUS_BUGS_EMOJI}} | {{FOCUS_BUGS_LEVEL}} | Logic errors, edge cases, runtime errors |
29
- | **Code style** | {{FOCUS_STYLE_EMOJI}} | {{FOCUS_STYLE_LEVEL}} | PSR-12, naming conventions, Laravel conventions |
30
- | **Test coverage** | {{FOCUS_TESTS_EMOJI}} | {{FOCUS_TESTS_LEVEL}} | Missing or inadequate tests |
31
- | **Documentation** | {{FOCUS_DOCS_EMOJI}} | {{FOCUS_DOCS_LEVEL}} | Missing PHPDoc, unclear APIs |
32
-
33
- ### What This Means
34
-
35
- {{#if_strict}}
36
- > **🔒 Strict Mode Active**
37
- > All potential issues are flagged across all focus areas. This is the most thorough review level, prioritizing quality and security. Expect detailed feedback on critical, warning, optimization, and quality issues.
38
- {{/if_strict}}
39
-
40
- {{#if_balanced}}
41
- > **⚖️ Balanced Mode Active**
42
- > High-confidence issues are flagged. Security, performance, and bugs are fully covered. Code style only flags major violations. Documentation issues are skipped for practicality.
43
- {{/if_balanced}}
44
-
45
- {{#if_lenient}}
46
- > **💚 Lenient Mode Active**
47
- > Only critical bugs and security vulnerabilities are flagged. This mode is encouraging and focuses on must-fix issues only. Great for quick reviews or junior developer feedback.
48
- {{/if_lenient}}
49
-
50
- ---
51
-
52
- ## Summary
53
-
54
- | Severity | Count | Included |
55
- | -------------- | ---------------------- | ------------------------- |
56
- | 🔴 Critical | {{CRITICAL_COUNT}} | ✅ Always |
57
- | 🟠 Warning | {{WARNING_COUNT}} | {{WARNING_INCLUDED}} |
58
- | 🟡 Optimization | {{OPTIMIZATION_COUNT}} | {{OPTIMIZATION_INCLUDED}} |
59
- | 🔵 Code Quality | {{QUALITY_COUNT}} | {{QUALITY_INCLUDED}} |
60
-
61
- ### Issue Categories
62
-
63
- | Category | Count |
64
- | ------------------- | --------------------- |
65
- | Security | {{SECURITY_COUNT}} |
66
- | Eloquent | {{ELOQUENT_COUNT}} |
67
- | PHP 8.4 | {{PHP84_COUNT}} |
68
- | Laravel Conventions | {{CONVENTIONS_COUNT}} |
69
-
70
- ---
71
-
72
- ## Files Reviewed
73
-
74
- ### By Component
75
-
76
- **Controllers:**
77
- {{#each controllers}}
78
- - `{{this}}`
79
- {{/each}}
80
-
81
- **Models:**
82
- {{#each models}}
83
- - `{{this}}`
84
- {{/each}}
85
-
86
- **Services:**
87
- {{#each services}}
88
- - `{{this}}`
89
- {{/each}}
90
-
91
- **Views:**
92
- {{#each views}}
93
- - `{{this}}`
94
- {{/each}}
95
-
96
- **Other:**
97
- {{#each others}}
98
- - `{{this}}`
99
- {{/each}}
100
-
101
- ---
102
-
103
- ## Issues by Component
104
-
105
- {{#each issues}}
106
-
107
- ### `{{component}}`
108
-
109
- #### `{{file}}`
110
-
111
- ##### Issue {{index}}: {{title}}
112
-
113
- | Attribute | Value |
114
- | -------------- | ------------------------------- |
115
- | **Severity** | {{severity_emoji}} {{severity}} |
116
- | **Line** | {{line}} |
117
- | **Type** | {{type}} |
118
- | **Category** | {{category}} |
119
- | **Focus Area** | {{focus_area}} |
120
-
121
- **Description:**
122
- {{description}}
123
-
124
- **Code:**
125
- ```php
126
- // Line {{line}}
127
- {{code_snippet}}
128
- ```
129
-
130
- **Recommendation:**
131
- {{recommendation}}
132
-
133
- {{#if suggested_fix}}
134
- **Suggested Fix:**
135
- ```php
136
- {{suggested_fix}}
137
- ```
138
- {{/if}}
139
-
140
- {{#if laravel_docs}}
141
- **Laravel Docs:** [{{laravel_docs_title}}](https://laravel.com/docs/12.x/{{laravel_docs}})
142
- {{/if}}
143
-
144
- ---
145
-
146
- <!-- MACHINE_READABLE_START
147
- {
148
- "file": "{{file}}",
149
- "line": {{line}},
150
- "severity": "{{severity_lower}}",
151
- "type": "{{type}}",
152
- "category": "{{category}}",
153
- "component": "{{component}}",
154
- "focus_area": "{{focus_area}}",
155
- "review_style": "{{REVIEW_STYLE}}",
156
- "description": "{{description_escaped}}",
157
- "recommendation": "{{recommendation_escaped}}",
158
- "laravel_version": "12.x",
159
- "php_version": "8.4",
160
- "solved": false
161
- }
162
- MACHINE_READABLE_END -->
163
-
164
- {{/each}}
165
-
166
- ---
167
-
168
- ## Quick Fixes by Priority
169
-
170
- ### 🔴 Critical (Must Fix)
171
-
172
- {{#each critical_issues}}
173
- - [ ] **{{file}}:{{line}}** - {{title}}
174
- {{/each}}
175
- {{#if_no_critical}}
176
- ✅ No critical issues!
177
- {{/if_no_critical}}
178
-
179
- {{#if_not_lenient}}
180
- ### 🟠 Warnings (Should Fix)
181
-
182
- {{#each warning_issues}}
183
- - [ ] **{{file}}:{{line}}** - {{title}}
184
- {{/each}}
185
- {{#if_no_warnings}}
186
- ✅ No warnings!
187
- {{/if_no_warnings}}
188
-
189
- ### 🟡 Optimization (Nice to Have)
190
-
191
- {{#each optimization_issues}}
192
- - [ ] **{{file}}:{{line}}** - {{title}}
193
- {{/each}}
194
- {{#if_no_optimization}}
195
- ✅ No optimization issues!
196
- {{/if_no_optimization}}
197
- {{/if_not_lenient}}
198
-
199
- {{#if_strict}}
200
- ### 🔵 Quality (Polish)
201
-
202
- {{#each quality_issues}}
203
- - [ ] **{{file}}:{{line}}** - {{title}}
204
- {{/each}}
205
- {{#if_no_quality}}
206
- ✅ No quality issues!
207
- {{/if_no_quality}}
208
- {{/if_strict}}
209
-
210
- ---
211
-
212
- ## Report Metadata
213
-
214
- ```json
215
- {
216
- "version": "2.0",
217
- "generated_at": "{{TIMESTAMP}}",
218
- "review_style": "{{REVIEW_STYLE}}",
219
- "review_config": {
220
- "severity_threshold": "{{SEVERITY_THRESHOLD}}",
221
- "tone": "{{REVIEW_TONE}}",
222
- "focus_areas": {
223
- "security": "{{FOCUS_SECURITY_LEVEL}}",
224
- "performance": "{{FOCUS_PERFORMANCE_LEVEL}}",
225
- "bugs": "{{FOCUS_BUGS_LEVEL}}",
226
- "code_style": "{{FOCUS_STYLE_LEVEL}}",
227
- "test_coverage": "{{FOCUS_TESTS_LEVEL}}",
228
- "documentation": "{{FOCUS_DOCS_LEVEL}}"
229
- }
230
- },
231
- "framework": "laravel",
232
- "framework_version": "12.x",
233
- "php_version": "8.4",
234
- "total_files": {{FILE_COUNT}},
235
- "total_issues": {{ISSUE_COUNT}},
236
- "severity_breakdown": {
237
- "critical": {{CRITICAL_COUNT}},
238
- "warning": {{WARNING_COUNT}},
239
- "optimization": {{OPTIMIZATION_COUNT}},
240
- "quality": {{QUALITY_COUNT}}
241
- },
242
- "category_breakdown": {
243
- "security": {{SECURITY_COUNT}},
244
- "eloquent": {{ELOQUENT_COUNT}},
245
- "php84": {{PHP84_COUNT}},
246
- "conventions": {{CONVENTIONS_COUNT}}
247
- }
248
- }
249
- ```
250
-
251
- ---
252
-
253
- *Generated by laravel-code-review skill • Full format • {{REVIEW_STYLE}} mode*
@@ -1,159 +0,0 @@
1
- # Laravel Code Review Report
2
-
3
- **Generated:** {{TIMESTAMP}}
4
- **Review Style:** {{REVIEW_STYLE_EMOJI}} {{REVIEW_STYLE}}
5
- **Files Reviewed:** {{FILE_COUNT}} | **Issues Found:** {{ISSUE_COUNT}}
6
-
7
- ---
8
-
9
- ## 🎯 Review Configuration
10
-
11
- | Setting | Value |
12
- | ---------------------- | ------------------------------------------- |
13
- | **Review Style** | {{REVIEW_STYLE_EMOJI}} **{{REVIEW_STYLE}}** |
14
- | **Severity Threshold** | {{SEVERITY_THRESHOLD}} |
15
- | **Tone** | {{REVIEW_TONE}} |
16
-
17
- ### Focus Areas
18
-
19
- | Focus Area | Status | Level |
20
- | ------------------------ | --------------------------- | --------------------------- |
21
- | Security vulnerabilities | {{FOCUS_SECURITY_EMOJI}} | {{FOCUS_SECURITY_LEVEL}} |
22
- | Performance issues | {{FOCUS_PERFORMANCE_EMOJI}} | {{FOCUS_PERFORMANCE_LEVEL}} |
23
- | Bug detection | {{FOCUS_BUGS_EMOJI}} | {{FOCUS_BUGS_LEVEL}} |
24
- | Code style | {{FOCUS_STYLE_EMOJI}} | {{FOCUS_STYLE_LEVEL}} |
25
- | Test coverage | {{FOCUS_TESTS_EMOJI}} | {{FOCUS_TESTS_LEVEL}} |
26
- | Documentation | {{FOCUS_DOCS_EMOJI}} | {{FOCUS_DOCS_LEVEL}} |
27
-
28
- ---
29
-
30
- ## 📊 Overview
31
-
32
- | 🔴 Critical | 🟠 Warning | 🟡 Optimize | 🔵 Quality |
33
- | :----------------: | :---------------: | :--------------------: | :---------------: |
34
- | {{CRITICAL_COUNT}} | {{WARNING_COUNT}} | {{OPTIMIZATION_COUNT}} | {{QUALITY_COUNT}} |
35
-
36
- **Categories:** {{SECURITY_COUNT}} security | {{ELOQUENT_COUNT}} eloquent | {{PHP84_COUNT}} PHP 8.4 | {{CONVENTIONS_COUNT}} conventions
37
-
38
- ---
39
-
40
- {{#if has_critical}}
41
- ## 🔴 Critical Issues (Fix Before Commit)
42
-
43
- {{#each critical_issues}}
44
- ### {{file_short}}
45
-
46
- **Line {{line}}** — {{title}}
47
-
48
- > {{description}}
49
-
50
- **Fix:** {{recommendation}}
51
-
52
- {{#if suggested_fix}}
53
- ```php
54
- {{suggested_fix}}
55
- ```
56
- {{/if}}
57
-
58
- ---
59
- {{/each}}
60
- {{/if}}
61
-
62
- {{#if has_warnings}}
63
- {{#if_not_lenient}}
64
- ## 🟠 Warnings (Should Address)
65
-
66
- {{#each warning_issues}}
67
- - **{{file_short}}:{{line}}** — {{title}}
68
- - {{description}}
69
- - 💡 {{recommendation}}
70
- {{/each}}
71
-
72
- ---
73
- {{/if_not_lenient}}
74
- {{/if}}
75
-
76
- {{#if has_optimization}}
77
- {{#if_not_lenient}}
78
- ## 🟡 Optimization Suggestions
79
-
80
- {{#each optimization_issues}}
81
- - **{{file_short}}:{{line}}** — {{title}}
82
- - {{recommendation}}
83
- {{/each}}
84
-
85
- ---
86
- {{/if_not_lenient}}
87
- {{/if}}
88
-
89
- {{#if has_quality}}
90
- {{#if_strict}}
91
- ## 🔵 Code Quality
92
-
93
- {{#each quality_issues}}
94
- - **{{file_short}}:{{line}}** — {{title}}
95
- {{/each}}
96
-
97
- ---
98
- {{/if_strict}}
99
- {{/if}}
100
-
101
- ## ✅ Quick Action Checklist
102
-
103
- ### Must Fix (Critical)
104
- {{#each critical_issues}}
105
- - [ ] `{{file_short}}:{{line}}` — {{title}}
106
- {{/each}}
107
- {{#if_no_critical}}
108
- - ✅ No critical issues found!
109
- {{/if_no_critical}}
110
-
111
- {{#if_not_lenient}}
112
- ### Should Fix (Warnings)
113
- {{#each warning_issues}}
114
- - [ ] `{{file_short}}:{{line}}` — {{title}}
115
- {{/each}}
116
- {{#if_no_warnings}}
117
- - ✅ No warnings found!
118
- {{/if_no_warnings}}
119
-
120
- ### Nice to Have (Optimization)
121
- {{#each optimization_issues}}
122
- - [ ] `{{file_short}}:{{line}}` — {{title}}
123
- {{/each}}
124
- {{/if_not_lenient}}
125
-
126
- {{#if_strict}}
127
- ### Polish (Quality)
128
- {{#each quality_issues}}
129
- - [ ] `{{file_short}}:{{line}}` — {{title}}
130
- {{/each}}
131
- {{/if_strict}}
132
-
133
- ---
134
-
135
- ## 💬 Review Summary
136
-
137
- {{#if_strict}}
138
- > **Strict Mode:** This review flagged all potential issues across all focus areas. Address critical and warning issues before committing. Quality issues are optional but recommended for production code.
139
- {{/if_strict}}
140
-
141
- {{#if_balanced}}
142
- > **Balanced Mode:** This review focused on high-confidence issues. Critical issues must be fixed. Warnings are strongly recommended. Lower severity items were filtered for practicality.
143
- {{/if_balanced}}
144
-
145
- {{#if_lenient}}
146
- > **Lenient Mode:** This review only flagged critical bugs and security issues. Great job on the code! 🎉 Only urgent items require attention before commit.
147
- {{/if_lenient}}
148
-
149
- ---
150
-
151
- ## 📚 Helpful Resources
152
-
153
- - [Laravel 12 Documentation](https://laravel.com/docs/12.x)
154
- - [Eloquent Relationships](https://laravel.com/docs/12.x/eloquent-relationships)
155
- - [PHP 8.4 New Features](https://www.php.net/releases/8.4/en.php)
156
-
157
- ---
158
-
159
- *Generated by laravel-code-review skill • Human-readable format • {{REVIEW_STYLE}} mode*