@the-bearded-bear/claude-craft 8.22.0 → 8.23.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 (468) hide show
  1. package/Dev/i18n/base/Angular/rules/00-project-context.md.template +1 -1
  2. package/Dev/i18n/base/CSharp/rules/06-tooling.md +0 -2
  3. package/Dev/i18n/base/CSharp/rules/11-security-csharp.md +184 -160
  4. package/Dev/i18n/base/Common/commands/aliases.md +3 -0
  5. package/Dev/i18n/base/Common/commands/audit-claude-alignment.md +201 -0
  6. package/Dev/i18n/base/Common/commands/init.md +1 -1
  7. package/Dev/i18n/base/Common/commands/search.md +2 -1
  8. package/Dev/i18n/base/Common/skills/dynamic-workflows/SKILL.md +1 -1
  9. package/Dev/i18n/base/Common/skills/ecosystem-tools/SKILL.md +2 -1
  10. package/Dev/i18n/base/Laravel/rules/06-tooling.md +0 -2
  11. package/Dev/i18n/base/PHP/checklists/new-feature.md +1 -1
  12. package/Dev/i18n/base/PHP/commands/check-code-quality.md +3 -3
  13. package/Dev/i18n/base/Vercel/checklists/pre-commit.md +1 -1
  14. package/Dev/i18n/base/Vercel/commands/check-security.md +12 -12
  15. package/Dev/i18n/base/Vercel/rules/00-project-context.md.template +1 -1
  16. package/Dev/i18n/base/Vercel/rules/02-architecture-vercel.md +2 -2
  17. package/Dev/i18n/base/Vercel/rules/03-coding-standards.md +1 -1
  18. package/Dev/i18n/base/Vercel/rules/06-tooling.md +12 -0
  19. package/Dev/i18n/base/Vercel/rules/07-testing-vercel.md +1 -1
  20. package/Dev/i18n/base/Vercel/rules/08-quality-tools.md +1 -1
  21. package/Dev/i18n/base/Vercel/rules/11-security-vercel.md +1 -1
  22. package/Dev/i18n/base/Vercel/templates/function-handler.template.ts +1 -1
  23. package/Dev/i18n/base/Vite/checklists/new-feature.md +2 -2
  24. package/Dev/i18n/base/Vite/checklists/pre-commit.md +2 -2
  25. package/Dev/i18n/base/Vite/commands/check-architecture.md +5 -5
  26. package/Dev/i18n/base/Vite/commands/check-library-build.md +3 -3
  27. package/Dev/i18n/base/Vite/commands/scaffold-project.md +2 -2
  28. package/Dev/i18n/base/Vite/rules/02-architecture-vite.md +5 -5
  29. package/Dev/i18n/base/Vite/rules/03-coding-standards.md +1 -1
  30. package/Dev/i18n/base/Vite/rules/06-tooling.md +2 -2
  31. package/Dev/i18n/base/Vite/rules/07-testing-vite.md +1 -1
  32. package/Dev/i18n/base/Vite/rules/11-security-vite.md +4 -4
  33. package/Dev/i18n/base/Vite/templates/library-entry.template.ts +2 -2
  34. package/Dev/i18n/base/Vite/templates/vite.config.template.ts +2 -2
  35. package/Dev/i18n/base/VueJS/rules/06-tooling.md +3 -2
  36. package/Dev/i18n/de/Angular/agents/angular-reviewer.md +3 -3
  37. package/Dev/i18n/de/Common/agents/devops-engineer.md +15 -1
  38. package/Dev/i18n/de/Common/agents/ralph-conductor.md +12 -1
  39. package/Dev/i18n/de/Common/agents/refactoring-specialist.md +9 -0
  40. package/Dev/i18n/de/Common/agents/security-auditor.md +10 -7
  41. package/Dev/i18n/de/Common/agents/tdd-coach.md +9 -0
  42. package/Dev/i18n/de/Common/agents/uiux-orchestrator.md +10 -1
  43. package/Dev/i18n/de/Common/commands/getting-started.md +2 -2
  44. package/Dev/i18n/de/Common/commands/setup-rtk.md +2 -2
  45. package/Dev/i18n/de/Common/rules/04-solid-principles.md +1 -1
  46. package/Dev/i18n/de/Common/rules/05-kiss-dry-yagni.md +5 -2
  47. package/Dev/i18n/de/Common/rules/10-documentation.md +1 -1
  48. package/Dev/i18n/de/Common/rules/11-security.md +76 -73
  49. package/Dev/i18n/de/Common/rules/12-context-management.md +29 -19
  50. package/Dev/i18n/de/Common/templates/settings.json.template +6 -6
  51. package/Dev/i18n/de/Flutter/agents/flutter-reviewer.md +4 -4
  52. package/Dev/i18n/de/Flutter/rules/06-tooling.md +30 -24
  53. package/Dev/i18n/de/Flutter/rules/07-testing-flutter.md +0 -0
  54. package/Dev/i18n/de/Flutter/rules/08-quality-tools.md +1 -1
  55. package/Dev/i18n/de/Flutter/rules/12-performance.md +17 -17
  56. package/Dev/i18n/de/Flutter/rules/13-state-management.md +0 -0
  57. package/Dev/i18n/de/PHP/agents/php-reviewer.md +6 -6
  58. package/Dev/i18n/de/PHP/commands/check-compliance.md +3 -3
  59. package/Dev/i18n/de/PHP/rules/03-coding-standards.md +4 -2
  60. package/Dev/i18n/de/PHP/rules/06-tooling.md +4 -7
  61. package/Dev/i18n/de/PHP/rules/08-quality-tools.md +2 -2
  62. package/Dev/i18n/de/Paperclip/CLAUDE.md.template +2 -2
  63. package/Dev/i18n/de/Paperclip/README.md +1 -1
  64. package/Dev/i18n/de/Paperclip/commands/setup-company.md +1 -1
  65. package/Dev/i18n/de/Paperclip/rules/06-tooling.md +3 -3
  66. package/Dev/i18n/de/Paperclip/rules/11-security-paperclip.md +9 -0
  67. package/Dev/i18n/de/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
  68. package/Dev/i18n/de/Python/commands/generate-model.md +3 -1
  69. package/Dev/i18n/de/Python/rules/06-tooling.md +1 -1
  70. package/Dev/i18n/de/Python/rules/08-quality-tools.md +1 -1
  71. package/Dev/i18n/de/Python/rules/11-security-python.md +2 -2
  72. package/Dev/i18n/de/React/agents/react-reviewer.md +9 -5
  73. package/Dev/i18n/de/React/rules/06-tooling.md +0 -2
  74. package/Dev/i18n/de/React/rules/11-security-react.md +9 -0
  75. package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +4 -4
  76. package/Dev/i18n/de/ReactNative/rules/06-tooling.md +19 -3
  77. package/Dev/i18n/de/Symfony/agents/symfony-reviewer.md +5 -5
  78. package/Dev/i18n/de/Symfony/checklists/README.md +1 -1
  79. package/Dev/i18n/de/Symfony/checklists/new-feature.md +2 -2
  80. package/Dev/i18n/de/Symfony/checklists/pre-commit.md +4 -4
  81. package/Dev/i18n/de/Symfony/checklists/refactoring.md +1 -1
  82. package/Dev/i18n/de/Symfony/commands/check-architecture.md +4 -4
  83. package/Dev/i18n/de/Symfony/commands/check-code-quality.md +15 -15
  84. package/Dev/i18n/de/Symfony/commands/check-security.md +32 -32
  85. package/Dev/i18n/de/Symfony/commands/check-testing.md +16 -16
  86. package/Dev/i18n/de/Symfony/rules/03-coding-standards.md +4 -4
  87. package/Dev/i18n/de/Symfony/rules/06-docker-hadolint.md +0 -4
  88. package/Dev/i18n/de/Symfony/rules/08-quality-tools.md +1 -1
  89. package/Dev/i18n/de/Symfony/rules/16-i18n.md +2 -0
  90. package/Dev/i18n/de/Symfony/rules/17-async.md +1 -0
  91. package/Dev/i18n/de/Symfony/rules/19-aggregates.md +1 -0
  92. package/Dev/i18n/de/Symfony/rules/20-domain-events.md +1 -0
  93. package/Dev/i18n/de/Team/commands/delivery.md +1 -1
  94. package/Dev/i18n/de/Vercel/CLAUDE.md.template +2 -2
  95. package/Dev/i18n/de/Vercel/agents/vercel-reviewer.md +8 -8
  96. package/Dev/i18n/de/Vite/CLAUDE.md.template +2 -2
  97. package/Dev/i18n/de/Vite/agents/vite-reviewer.md +19 -17
  98. package/Dev/i18n/de/Vite/commands/check-compliance.md +2 -2
  99. package/Dev/i18n/en/Angular/agents/angular-reviewer.md +3 -3
  100. package/Dev/i18n/en/Common/agents/devops-engineer.md +15 -1
  101. package/Dev/i18n/en/Common/agents/ralph-conductor.md +11 -0
  102. package/Dev/i18n/en/Common/agents/refactoring-specialist.md +9 -0
  103. package/Dev/i18n/en/Common/agents/security-auditor.md +10 -7
  104. package/Dev/i18n/en/Common/agents/tdd-coach.md +9 -0
  105. package/Dev/i18n/en/Common/agents/uiux-orchestrator.md +10 -1
  106. package/Dev/i18n/en/Common/commands/getting-started.md +2 -2
  107. package/Dev/i18n/en/Common/commands/setup-rtk.md +2 -2
  108. package/Dev/i18n/en/Common/rules/04-solid-principles.md +1 -1
  109. package/Dev/i18n/en/Common/rules/05-kiss-dry-yagni.md +5 -2
  110. package/Dev/i18n/en/Common/rules/10-documentation.md +1 -1
  111. package/Dev/i18n/en/Common/rules/11-security.md +76 -73
  112. package/Dev/i18n/en/Common/rules/12-context-management.md +31 -21
  113. package/Dev/i18n/en/Common/templates/settings.json.template +6 -6
  114. package/Dev/i18n/en/Flutter/agents/flutter-reviewer.md +4 -4
  115. package/Dev/i18n/en/Flutter/rules/06-tooling.md +29 -23
  116. package/Dev/i18n/en/Flutter/rules/07-testing-flutter.md +0 -0
  117. package/Dev/i18n/en/Flutter/rules/08-quality-tools.md +1 -1
  118. package/Dev/i18n/en/Flutter/rules/12-performance.md +17 -17
  119. package/Dev/i18n/en/Flutter/rules/13-state-management.md +0 -0
  120. package/Dev/i18n/en/PHP/CLAUDE.md.template +1 -1
  121. package/Dev/i18n/en/PHP/agents/php-reviewer.md +6 -6
  122. package/Dev/i18n/en/PHP/commands/check-compliance.md +1 -1
  123. package/Dev/i18n/en/PHP/rules/03-coding-standards.md +4 -2
  124. package/Dev/i18n/en/PHP/rules/06-tooling.md +4 -7
  125. package/Dev/i18n/en/PHP/rules/08-quality-tools.md +2 -2
  126. package/Dev/i18n/en/Paperclip/CLAUDE.md.template +2 -2
  127. package/Dev/i18n/en/Paperclip/README.md +1 -1
  128. package/Dev/i18n/en/Paperclip/commands/setup-company.md +1 -1
  129. package/Dev/i18n/en/Paperclip/rules/06-tooling.md +3 -3
  130. package/Dev/i18n/en/Paperclip/rules/11-security-paperclip.md +9 -0
  131. package/Dev/i18n/en/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
  132. package/Dev/i18n/en/Python/commands/generate-model.md +3 -1
  133. package/Dev/i18n/en/Python/rules/06-tooling.md +1 -1
  134. package/Dev/i18n/en/Python/rules/08-quality-tools.md +1 -1
  135. package/Dev/i18n/en/Python/rules/11-security-python.md +11 -11
  136. package/Dev/i18n/en/React/agents/react-reviewer.md +9 -5
  137. package/Dev/i18n/en/React/rules/06-tooling.md +0 -2
  138. package/Dev/i18n/en/React/rules/11-security-react.md +9 -0
  139. package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +4 -4
  140. package/Dev/i18n/en/ReactNative/rules/02-architecture.md +1 -1
  141. package/Dev/i18n/en/ReactNative/rules/06-tooling.md +19 -3
  142. package/Dev/i18n/en/Symfony/agents/symfony-reviewer.md +5 -5
  143. package/Dev/i18n/en/Symfony/checklists/README.md +1 -1
  144. package/Dev/i18n/en/Symfony/checklists/new-feature.md +2 -2
  145. package/Dev/i18n/en/Symfony/checklists/pre-commit.md +4 -4
  146. package/Dev/i18n/en/Symfony/checklists/refactoring.md +1 -1
  147. package/Dev/i18n/en/Symfony/commands/check-architecture.md +4 -4
  148. package/Dev/i18n/en/Symfony/commands/check-code-quality.md +15 -15
  149. package/Dev/i18n/en/Symfony/commands/check-security.md +32 -32
  150. package/Dev/i18n/en/Symfony/commands/check-testing.md +16 -16
  151. package/Dev/i18n/en/Symfony/rules/03-coding-standards.md +4 -4
  152. package/Dev/i18n/en/Symfony/rules/06-docker-hadolint.md +0 -4
  153. package/Dev/i18n/en/Symfony/rules/08-quality-tools.md +1 -1
  154. package/Dev/i18n/en/Symfony/rules/16-i18n.md +2 -0
  155. package/Dev/i18n/en/Symfony/rules/17-async.md +1 -0
  156. package/Dev/i18n/en/Symfony/rules/19-aggregates.md +1 -0
  157. package/Dev/i18n/en/Symfony/rules/20-domain-events.md +1 -0
  158. package/Dev/i18n/en/Team/commands/delivery.md +1 -1
  159. package/Dev/i18n/en/Vercel/CLAUDE.md.template +2 -2
  160. package/Dev/i18n/en/Vercel/agents/vercel-reviewer.md +8 -8
  161. package/Dev/i18n/en/Vite/CLAUDE.md.template +2 -2
  162. package/Dev/i18n/en/Vite/agents/vite-reviewer.md +19 -17
  163. package/Dev/i18n/en/Vite/commands/check-compliance.md +2 -2
  164. package/Dev/i18n/en/Workflow/commands/review.md +0 -0
  165. package/Dev/i18n/en/Workflow/commands/start.md +0 -0
  166. package/Dev/i18n/es/Angular/agents/angular-reviewer.md +3 -3
  167. package/Dev/i18n/es/Common/agents/devops-engineer.md +15 -1
  168. package/Dev/i18n/es/Common/agents/ralph-conductor.md +11 -0
  169. package/Dev/i18n/es/Common/agents/refactoring-specialist.md +9 -0
  170. package/Dev/i18n/es/Common/agents/security-auditor.md +10 -7
  171. package/Dev/i18n/es/Common/agents/tdd-coach.md +9 -0
  172. package/Dev/i18n/es/Common/agents/uiux-orchestrator.md +10 -1
  173. package/Dev/i18n/es/Common/commands/getting-started.md +2 -2
  174. package/Dev/i18n/es/Common/commands/setup-rtk.md +2 -2
  175. package/Dev/i18n/es/Common/rules/04-solid-principles.md +1 -1
  176. package/Dev/i18n/es/Common/rules/05-kiss-dry-yagni.md +5 -2
  177. package/Dev/i18n/es/Common/rules/10-documentation.md +1 -1
  178. package/Dev/i18n/es/Common/rules/11-security.md +76 -73
  179. package/Dev/i18n/es/Common/rules/12-context-management.md +29 -19
  180. package/Dev/i18n/es/Common/templates/settings.json.template +6 -6
  181. package/Dev/i18n/es/Flutter/agents/flutter-reviewer.md +4 -4
  182. package/Dev/i18n/es/Flutter/rules/06-tooling.md +31 -25
  183. package/Dev/i18n/es/Flutter/rules/07-testing-flutter.md +0 -0
  184. package/Dev/i18n/es/Flutter/rules/08-quality-tools.md +1 -1
  185. package/Dev/i18n/es/Flutter/rules/12-performance.md +17 -17
  186. package/Dev/i18n/es/Flutter/rules/13-state-management.md +0 -0
  187. package/Dev/i18n/es/PHP/agents/php-reviewer.md +6 -6
  188. package/Dev/i18n/es/PHP/commands/check-compliance.md +3 -3
  189. package/Dev/i18n/es/PHP/rules/03-coding-standards.md +4 -2
  190. package/Dev/i18n/es/PHP/rules/06-tooling.md +4 -7
  191. package/Dev/i18n/es/PHP/rules/08-quality-tools.md +2 -2
  192. package/Dev/i18n/es/Paperclip/CLAUDE.md.template +2 -2
  193. package/Dev/i18n/es/Paperclip/README.md +1 -1
  194. package/Dev/i18n/es/Paperclip/commands/setup-company.md +1 -1
  195. package/Dev/i18n/es/Paperclip/rules/06-tooling.md +3 -3
  196. package/Dev/i18n/es/Paperclip/rules/11-security-paperclip.md +9 -0
  197. package/Dev/i18n/es/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
  198. package/Dev/i18n/es/Python/commands/generate-model.md +3 -1
  199. package/Dev/i18n/es/Python/rules/06-tooling.md +1 -1
  200. package/Dev/i18n/es/Python/rules/08-quality-tools.md +1 -1
  201. package/Dev/i18n/es/Python/rules/11-security-python.md +2 -2
  202. package/Dev/i18n/es/React/agents/react-reviewer.md +9 -5
  203. package/Dev/i18n/es/React/rules/06-tooling.md +0 -2
  204. package/Dev/i18n/es/React/rules/11-security-react.md +9 -0
  205. package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +4 -4
  206. package/Dev/i18n/es/ReactNative/rules/06-tooling.md +19 -3
  207. package/Dev/i18n/es/Symfony/agents/symfony-reviewer.md +5 -5
  208. package/Dev/i18n/es/Symfony/checklists/README.md +1 -1
  209. package/Dev/i18n/es/Symfony/checklists/new-feature.md +2 -2
  210. package/Dev/i18n/es/Symfony/checklists/pre-commit.md +4 -4
  211. package/Dev/i18n/es/Symfony/checklists/refactoring.md +1 -1
  212. package/Dev/i18n/es/Symfony/commands/check-architecture.md +4 -4
  213. package/Dev/i18n/es/Symfony/commands/check-code-quality.md +15 -15
  214. package/Dev/i18n/es/Symfony/commands/check-security.md +32 -32
  215. package/Dev/i18n/es/Symfony/commands/check-testing.md +16 -16
  216. package/Dev/i18n/es/Symfony/rules/03-coding-standards.md +4 -4
  217. package/Dev/i18n/es/Symfony/rules/06-docker-hadolint.md +0 -4
  218. package/Dev/i18n/es/Symfony/rules/08-quality-tools.md +1 -1
  219. package/Dev/i18n/es/Symfony/rules/16-i18n.md +2 -0
  220. package/Dev/i18n/es/Symfony/rules/17-async.md +1 -0
  221. package/Dev/i18n/es/Symfony/rules/19-aggregates.md +1 -0
  222. package/Dev/i18n/es/Symfony/rules/20-domain-events.md +1 -0
  223. package/Dev/i18n/es/Team/commands/delivery.md +1 -1
  224. package/Dev/i18n/es/Vercel/CLAUDE.md.template +2 -2
  225. package/Dev/i18n/es/Vercel/agents/vercel-reviewer.md +7 -7
  226. package/Dev/i18n/es/Vite/CLAUDE.md.template +2 -2
  227. package/Dev/i18n/es/Vite/agents/vite-reviewer.md +19 -17
  228. package/Dev/i18n/es/Vite/commands/check-compliance.md +2 -2
  229. package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +3 -3
  230. package/Dev/i18n/fr/Common/agents/devops-engineer.md +15 -1
  231. package/Dev/i18n/fr/Common/agents/ralph-conductor.md +12 -1
  232. package/Dev/i18n/fr/Common/agents/refactoring-specialist.md +9 -0
  233. package/Dev/i18n/fr/Common/agents/security-auditor.md +10 -7
  234. package/Dev/i18n/fr/Common/agents/tdd-coach.md +9 -0
  235. package/Dev/i18n/fr/Common/agents/uiux-orchestrator.md +10 -1
  236. package/Dev/i18n/fr/Common/commands/getting-started.md +2 -2
  237. package/Dev/i18n/fr/Common/commands/setup-rtk.md +2 -2
  238. package/Dev/i18n/fr/Common/rules/04-solid-principles.md +1 -1
  239. package/Dev/i18n/fr/Common/rules/05-kiss-dry-yagni.md +5 -2
  240. package/Dev/i18n/fr/Common/rules/10-documentation.md +1 -1
  241. package/Dev/i18n/fr/Common/rules/11-security.md +76 -73
  242. package/Dev/i18n/fr/Common/rules/12-context-management.md +30 -20
  243. package/Dev/i18n/fr/Common/templates/settings.json.template +6 -6
  244. package/Dev/i18n/fr/Flutter/agents/flutter-reviewer.md +4 -4
  245. package/Dev/i18n/fr/Flutter/rules/06-tooling.md +10 -4
  246. package/Dev/i18n/fr/Flutter/rules/08-quality-tools.md +1 -1
  247. package/Dev/i18n/fr/PHP/agents/php-reviewer.md +6 -6
  248. package/Dev/i18n/fr/PHP/commands/check-compliance.md +3 -3
  249. package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +4 -2
  250. package/Dev/i18n/fr/PHP/rules/06-tooling.md +4 -7
  251. package/Dev/i18n/fr/PHP/rules/08-quality-tools.md +2 -2
  252. package/Dev/i18n/fr/Paperclip/CLAUDE.md.template +2 -2
  253. package/Dev/i18n/fr/Paperclip/README.md +1 -1
  254. package/Dev/i18n/fr/Paperclip/commands/setup-company.md +1 -1
  255. package/Dev/i18n/fr/Paperclip/rules/06-tooling.md +3 -3
  256. package/Dev/i18n/fr/Paperclip/rules/11-security-paperclip.md +9 -0
  257. package/Dev/i18n/fr/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
  258. package/Dev/i18n/fr/Python/commands/generate-model.md +3 -1
  259. package/Dev/i18n/fr/Python/rules/06-tooling.md +1 -3
  260. package/Dev/i18n/fr/Python/rules/08-quality-tools.md +1 -1
  261. package/Dev/i18n/fr/Python/rules/11-security-python.md +2 -2
  262. package/Dev/i18n/fr/React/agents/react-reviewer.md +9 -5
  263. package/Dev/i18n/fr/React/rules/06-tooling.md +0 -2
  264. package/Dev/i18n/fr/React/rules/11-security-react.md +9 -0
  265. package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +4 -4
  266. package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +19 -3
  267. package/Dev/i18n/fr/Symfony/agents/symfony-reviewer.md +5 -5
  268. package/Dev/i18n/fr/Symfony/checklists/README.md +1 -1
  269. package/Dev/i18n/fr/Symfony/checklists/new-feature.md +2 -2
  270. package/Dev/i18n/fr/Symfony/checklists/pre-commit.md +4 -4
  271. package/Dev/i18n/fr/Symfony/checklists/refactoring.md +1 -1
  272. package/Dev/i18n/fr/Symfony/commands/check-architecture.md +4 -4
  273. package/Dev/i18n/fr/Symfony/commands/check-code-quality.md +15 -15
  274. package/Dev/i18n/fr/Symfony/commands/check-security.md +32 -32
  275. package/Dev/i18n/fr/Symfony/commands/check-testing.md +16 -16
  276. package/Dev/i18n/fr/Symfony/rules/03-coding-standards.md +4 -4
  277. package/Dev/i18n/fr/Symfony/rules/06-docker-hadolint.md +0 -4
  278. package/Dev/i18n/fr/Symfony/rules/08-quality-tools.md +1 -1
  279. package/Dev/i18n/fr/Symfony/rules/16-i18n.md +2 -0
  280. package/Dev/i18n/fr/Symfony/rules/17-async.md +1 -0
  281. package/Dev/i18n/fr/Symfony/rules/19-aggregates.md +1 -0
  282. package/Dev/i18n/fr/Symfony/rules/20-domain-events.md +1 -0
  283. package/Dev/i18n/fr/Team/commands/delivery.md +1 -1
  284. package/Dev/i18n/fr/Vercel/CLAUDE.md.template +2 -2
  285. package/Dev/i18n/fr/Vercel/agents/vercel-reviewer.md +8 -8
  286. package/Dev/i18n/fr/Vite/CLAUDE.md.template +2 -2
  287. package/Dev/i18n/fr/Vite/agents/vite-reviewer.md +19 -17
  288. package/Dev/i18n/fr/Vite/commands/check-compliance.md +2 -2
  289. package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +3 -3
  290. package/Dev/i18n/pt/Common/agents/devops-engineer.md +15 -1
  291. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +11 -0
  292. package/Dev/i18n/pt/Common/agents/refactoring-specialist.md +9 -0
  293. package/Dev/i18n/pt/Common/agents/security-auditor.md +10 -7
  294. package/Dev/i18n/pt/Common/agents/tdd-coach.md +9 -0
  295. package/Dev/i18n/pt/Common/agents/uiux-orchestrator.md +10 -1
  296. package/Dev/i18n/pt/Common/commands/getting-started.md +2 -2
  297. package/Dev/i18n/pt/Common/commands/setup-rtk.md +2 -2
  298. package/Dev/i18n/pt/Common/rules/04-solid-principles.md +1 -1
  299. package/Dev/i18n/pt/Common/rules/05-kiss-dry-yagni.md +5 -2
  300. package/Dev/i18n/pt/Common/rules/10-documentation.md +1 -1
  301. package/Dev/i18n/pt/Common/rules/11-security.md +76 -73
  302. package/Dev/i18n/pt/Common/rules/12-context-management.md +29 -19
  303. package/Dev/i18n/pt/Common/templates/settings.json.template +6 -6
  304. package/Dev/i18n/pt/Flutter/agents/flutter-reviewer.md +4 -4
  305. package/Dev/i18n/pt/Flutter/rules/06-tooling.md +12 -6
  306. package/Dev/i18n/pt/Flutter/rules/08-quality-tools.md +1 -1
  307. package/Dev/i18n/pt/PHP/agents/php-reviewer.md +6 -6
  308. package/Dev/i18n/pt/PHP/commands/check-compliance.md +3 -3
  309. package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +4 -2
  310. package/Dev/i18n/pt/PHP/rules/06-tooling.md +4 -7
  311. package/Dev/i18n/pt/PHP/rules/08-quality-tools.md +2 -2
  312. package/Dev/i18n/pt/Paperclip/CLAUDE.md.template +2 -2
  313. package/Dev/i18n/pt/Paperclip/README.md +1 -1
  314. package/Dev/i18n/pt/Paperclip/commands/setup-company.md +1 -1
  315. package/Dev/i18n/pt/Paperclip/rules/06-tooling.md +3 -3
  316. package/Dev/i18n/pt/Paperclip/rules/11-security-paperclip.md +9 -0
  317. package/Dev/i18n/pt/Paperclip/skills/coding-standards-ts/SKILL.md +1 -1
  318. package/Dev/i18n/pt/Python/commands/generate-model.md +3 -1
  319. package/Dev/i18n/pt/Python/rules/06-tooling.md +1 -1
  320. package/Dev/i18n/pt/Python/rules/08-quality-tools.md +1 -1
  321. package/Dev/i18n/pt/Python/rules/11-security-python.md +2 -2
  322. package/Dev/i18n/pt/React/agents/react-reviewer.md +9 -5
  323. package/Dev/i18n/pt/React/rules/06-tooling.md +0 -2
  324. package/Dev/i18n/pt/React/rules/11-security-react.md +9 -0
  325. package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +4 -4
  326. package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +19 -3
  327. package/Dev/i18n/pt/Symfony/agents/symfony-reviewer.md +5 -5
  328. package/Dev/i18n/pt/Symfony/checklists/README.md +1 -1
  329. package/Dev/i18n/pt/Symfony/checklists/new-feature.md +2 -2
  330. package/Dev/i18n/pt/Symfony/checklists/pre-commit.md +4 -4
  331. package/Dev/i18n/pt/Symfony/checklists/refactoring.md +1 -1
  332. package/Dev/i18n/pt/Symfony/commands/check-architecture.md +4 -4
  333. package/Dev/i18n/pt/Symfony/commands/check-code-quality.md +15 -15
  334. package/Dev/i18n/pt/Symfony/commands/check-security.md +32 -32
  335. package/Dev/i18n/pt/Symfony/commands/check-testing.md +16 -16
  336. package/Dev/i18n/pt/Symfony/rules/03-coding-standards.md +4 -4
  337. package/Dev/i18n/pt/Symfony/rules/06-docker-hadolint.md +0 -4
  338. package/Dev/i18n/pt/Symfony/rules/08-quality-tools.md +1 -1
  339. package/Dev/i18n/pt/Symfony/rules/16-i18n.md +2 -0
  340. package/Dev/i18n/pt/Symfony/rules/17-async.md +1 -0
  341. package/Dev/i18n/pt/Symfony/rules/19-aggregates.md +1 -0
  342. package/Dev/i18n/pt/Symfony/rules/20-domain-events.md +1 -0
  343. package/Dev/i18n/pt/Team/commands/delivery.md +1 -1
  344. package/Dev/i18n/pt/Vercel/CLAUDE.md.template +2 -2
  345. package/Dev/i18n/pt/Vercel/agents/vercel-reviewer.md +8 -8
  346. package/Dev/i18n/pt/Vite/CLAUDE.md.template +2 -2
  347. package/Dev/i18n/pt/Vite/agents/vite-reviewer.md +19 -17
  348. package/Dev/i18n/pt/Vite/commands/check-compliance.md +2 -2
  349. package/Dev/scripts/install-paperclip-rules.sh +5 -5
  350. package/Dev/scripts/install-vite-rules.sh +4 -4
  351. package/Infra/i18n/de/Ansible/agents/ansible-architect.md +2 -0
  352. package/Infra/i18n/de/Docker/commands/docker-architecture.md +0 -2
  353. package/Infra/i18n/de/Docker/commands/docker-compose-setup.md +0 -2
  354. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-architect.md +4 -1
  355. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  356. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-security.md +1 -1
  357. package/Infra/i18n/de/FrankenPHP/commands/deploy-setup.md +1 -1
  358. package/Infra/i18n/de/Hcloud/agents/hcloud-architect.md +14 -4
  359. package/Infra/i18n/de/Hcloud/agents/hcloud-cost.md +1 -1
  360. package/Infra/i18n/de/Hcloud/agents/hcloud-debug.md +1 -1
  361. package/Infra/i18n/de/Hcloud/agents/hcloud-deployment.md +2 -2
  362. package/Infra/i18n/de/Hcloud/agents/hcloud-security.md +1 -1
  363. package/Infra/i18n/de/Hcloud/commands/architecture.md +3 -3
  364. package/Infra/i18n/de/Hcloud/commands/debug.md +1 -1
  365. package/Infra/i18n/de/Kubernetes/agents/kubernetes-architect.md +3 -3
  366. package/Infra/i18n/de/Kubernetes/commands/architecture.md +1 -1
  367. package/Infra/i18n/de/OpenTofu/agents/opentofu-architect.md +1 -1
  368. package/Infra/i18n/de/OpenTofu/agents/opentofu-deployment.md +2 -2
  369. package/Infra/i18n/de/PgBouncer/agents/pgbouncer-architect.md +11 -2
  370. package/Infra/i18n/de/PgBouncer/agents/pgbouncer-debug.md +1 -0
  371. package/Infra/i18n/de/PgBouncer/agents/pgbouncer-deployment.md +38 -30
  372. package/Infra/i18n/de/PgBouncer/commands/deploy-setup.md +1 -1
  373. package/Infra/i18n/en/Ansible/agents/ansible-architect.md +2 -0
  374. package/Infra/i18n/en/Docker/commands/docker-architecture.md +0 -2
  375. package/Infra/i18n/en/Docker/commands/docker-compose-setup.md +0 -2
  376. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-architect.md +4 -1
  377. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  378. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-security.md +1 -1
  379. package/Infra/i18n/en/FrankenPHP/commands/deploy-setup.md +1 -1
  380. package/Infra/i18n/en/Hcloud/agents/hcloud-architect.md +14 -4
  381. package/Infra/i18n/en/Hcloud/agents/hcloud-cost.md +1 -1
  382. package/Infra/i18n/en/Hcloud/agents/hcloud-debug.md +1 -1
  383. package/Infra/i18n/en/Hcloud/agents/hcloud-deployment.md +2 -2
  384. package/Infra/i18n/en/Hcloud/agents/hcloud-security.md +1 -1
  385. package/Infra/i18n/en/Hcloud/commands/architecture.md +3 -3
  386. package/Infra/i18n/en/Hcloud/commands/debug.md +1 -1
  387. package/Infra/i18n/en/Kubernetes/agents/kubernetes-architect.md +3 -3
  388. package/Infra/i18n/en/Kubernetes/commands/architecture.md +1 -1
  389. package/Infra/i18n/en/OpenTofu/agents/opentofu-architect.md +1 -1
  390. package/Infra/i18n/en/OpenTofu/agents/opentofu-deployment.md +2 -2
  391. package/Infra/i18n/en/PgBouncer/agents/pgbouncer-architect.md +11 -2
  392. package/Infra/i18n/en/PgBouncer/agents/pgbouncer-debug.md +1 -0
  393. package/Infra/i18n/en/PgBouncer/agents/pgbouncer-deployment.md +38 -30
  394. package/Infra/i18n/en/PgBouncer/commands/deploy-setup.md +1 -1
  395. package/Infra/i18n/es/Ansible/agents/ansible-architect.md +2 -0
  396. package/Infra/i18n/es/Docker/commands/docker-architecture.md +0 -2
  397. package/Infra/i18n/es/Docker/commands/docker-compose-setup.md +0 -2
  398. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-architect.md +4 -1
  399. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  400. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-security.md +1 -1
  401. package/Infra/i18n/es/FrankenPHP/commands/deploy-setup.md +1 -1
  402. package/Infra/i18n/es/Hcloud/agents/hcloud-architect.md +14 -4
  403. package/Infra/i18n/es/Hcloud/agents/hcloud-cost.md +1 -1
  404. package/Infra/i18n/es/Hcloud/agents/hcloud-debug.md +1 -1
  405. package/Infra/i18n/es/Hcloud/agents/hcloud-deployment.md +2 -2
  406. package/Infra/i18n/es/Hcloud/agents/hcloud-security.md +1 -1
  407. package/Infra/i18n/es/Hcloud/commands/architecture.md +3 -3
  408. package/Infra/i18n/es/Hcloud/commands/debug.md +1 -1
  409. package/Infra/i18n/es/Kubernetes/agents/kubernetes-architect.md +3 -3
  410. package/Infra/i18n/es/Kubernetes/commands/architecture.md +1 -1
  411. package/Infra/i18n/es/OpenTofu/agents/opentofu-architect.md +1 -1
  412. package/Infra/i18n/es/OpenTofu/agents/opentofu-deployment.md +2 -2
  413. package/Infra/i18n/es/PgBouncer/agents/pgbouncer-architect.md +11 -2
  414. package/Infra/i18n/es/PgBouncer/agents/pgbouncer-debug.md +1 -0
  415. package/Infra/i18n/es/PgBouncer/agents/pgbouncer-deployment.md +38 -30
  416. package/Infra/i18n/es/PgBouncer/commands/deploy-setup.md +1 -1
  417. package/Infra/i18n/fr/Ansible/agents/ansible-architect.md +2 -0
  418. package/Infra/i18n/fr/Docker/commands/docker-architecture.md +0 -2
  419. package/Infra/i18n/fr/Docker/commands/docker-compose-setup.md +0 -2
  420. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-architect.md +4 -1
  421. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  422. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-security.md +1 -1
  423. package/Infra/i18n/fr/FrankenPHP/commands/deploy-setup.md +1 -1
  424. package/Infra/i18n/fr/Hcloud/agents/hcloud-architect.md +14 -4
  425. package/Infra/i18n/fr/Hcloud/agents/hcloud-cost.md +1 -1
  426. package/Infra/i18n/fr/Hcloud/agents/hcloud-debug.md +1 -1
  427. package/Infra/i18n/fr/Hcloud/agents/hcloud-deployment.md +2 -2
  428. package/Infra/i18n/fr/Hcloud/agents/hcloud-security.md +1 -1
  429. package/Infra/i18n/fr/Hcloud/commands/architecture.md +3 -3
  430. package/Infra/i18n/fr/Hcloud/commands/debug.md +1 -1
  431. package/Infra/i18n/fr/Kubernetes/agents/kubernetes-architect.md +3 -3
  432. package/Infra/i18n/fr/Kubernetes/commands/architecture.md +1 -1
  433. package/Infra/i18n/fr/OpenTofu/agents/opentofu-architect.md +1 -1
  434. package/Infra/i18n/fr/OpenTofu/agents/opentofu-deployment.md +2 -2
  435. package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-architect.md +11 -2
  436. package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-debug.md +1 -0
  437. package/Infra/i18n/fr/PgBouncer/agents/pgbouncer-deployment.md +38 -30
  438. package/Infra/i18n/fr/PgBouncer/commands/deploy-setup.md +1 -1
  439. package/Infra/i18n/pt/Ansible/agents/ansible-architect.md +2 -0
  440. package/Infra/i18n/pt/Docker/commands/docker-architecture.md +0 -2
  441. package/Infra/i18n/pt/Docker/commands/docker-compose-setup.md +0 -2
  442. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-architect.md +4 -1
  443. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  444. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-security.md +1 -1
  445. package/Infra/i18n/pt/FrankenPHP/commands/deploy-setup.md +1 -1
  446. package/Infra/i18n/pt/Hcloud/agents/hcloud-architect.md +14 -4
  447. package/Infra/i18n/pt/Hcloud/agents/hcloud-cost.md +1 -1
  448. package/Infra/i18n/pt/Hcloud/agents/hcloud-debug.md +1 -1
  449. package/Infra/i18n/pt/Hcloud/agents/hcloud-deployment.md +2 -2
  450. package/Infra/i18n/pt/Hcloud/agents/hcloud-security.md +1 -1
  451. package/Infra/i18n/pt/Hcloud/commands/architecture.md +3 -3
  452. package/Infra/i18n/pt/Hcloud/commands/debug.md +1 -1
  453. package/Infra/i18n/pt/Kubernetes/agents/kubernetes-architect.md +3 -3
  454. package/Infra/i18n/pt/Kubernetes/commands/architecture.md +1 -1
  455. package/Infra/i18n/pt/OpenTofu/agents/opentofu-architect.md +1 -1
  456. package/Infra/i18n/pt/OpenTofu/agents/opentofu-deployment.md +2 -2
  457. package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-architect.md +11 -2
  458. package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-debug.md +1 -0
  459. package/Infra/i18n/pt/PgBouncer/agents/pgbouncer-deployment.md +38 -30
  460. package/Infra/i18n/pt/PgBouncer/commands/deploy-setup.md +1 -1
  461. package/README.md +30 -22
  462. package/Tools/Ralph/.ralph/hooks/pre-tool-context.sh +2 -2
  463. package/Tools/StatusLine/README.md +1 -1
  464. package/bundles/cursor/.cursorrules +32 -32
  465. package/bundles/windsurf/.windsurfrules +32 -32
  466. package/cli/lib/doctor.js +15 -15
  467. package/cli/lib/tech-registry.js +10 -10
  468. package/package.json +2 -1
@@ -240,7 +240,7 @@ $finder = Finder::create()
240
240
  return (new Config())
241
241
  ->setRules([
242
242
  '@Symfony' => true,
243
- '@PSR12' => true,
243
+ '@PER-CS3x0' => true,
244
244
 
245
245
  // ✅ Règles strictes supplémentaires
246
246
  'array_syntax' => ['syntax' => 'short'],
@@ -175,6 +175,8 @@ Usage :
175
175
  $this->translator->trans('client.created', [], 'messages', $locale);
176
176
  ```
177
177
 
178
+ Messages pluriels/genrés : ICU MessageFormat (MF1 via le domaine `+intl-icu` de Symfony) ; **MessageFormat 2.0** est stable dans CLDR 47 (mars 2025) — vérifier le support de la bibliothèque avant de migrer.
179
+
178
180
  ## Checklist i18n
179
181
 
180
182
  - [ ] Country enum utilisé partout
@@ -188,3 +188,4 @@ final class MessengerEventSubscriber implements EventSubscriberInterface
188
188
  - [ ] Workers supervisord en prod
189
189
  - [ ] Monitoring des failed messages
190
190
  - [ ] Tests avec `messenger:consume --limit=1`
191
+ - [ ] Messages exposés à d'autres systèmes documentés avec AsyncAPI 3.x (3.1.0)
@@ -23,6 +23,7 @@ namespace App\Commercial\Domain\Client;
23
23
  use App\Shared\Domain\AggregateRoot;
24
24
  use Doctrine\Common\Collections\ArrayCollection;
25
25
  use Doctrine\Common\Collections\Collection;
26
+ use DateTimeImmutable;
26
27
 
27
28
  class Client extends AggregateRoot
28
29
  {
@@ -15,6 +15,7 @@ namespace App\Commercial\Domain\Client\Event;
15
15
 
16
16
  use App\Shared\Domain\DomainEvent;
17
17
  use DateTimeImmutable;
18
+ use DateTimeInterface;
18
19
 
19
20
  final readonly class ClientCreated implements DomainEvent
20
21
  {
@@ -517,7 +517,7 @@ Pour 1 EPIC, 5 US, ~25 tâches :
517
517
  | **Temps total** | **~120 min** | **~55 min** | **~2.2x** |
518
518
  | Coût total* | ~$28 | ~$17 | **-38%** |
519
519
 
520
- *Économies de coût car Sonnet ($3/$15/M) gère la majorité du travail vs Opus ($15/$75/M) en mode séquentiel.
520
+ *Économies de coût car Sonnet 5.5 ($2/$10/M) gère la majorité du travail vs Opus 5.5 ($4/$20/M) en mode séquentiel.
521
521
 
522
522
  ## Attentes de performance
523
523
 
@@ -8,7 +8,7 @@
8
8
 
9
9
  **Périmètre** : uniquement les fonctionnalités de plateforme indépendantes de tout framework — vercel.json, Functions, ISR, Cron, Storage. Explicitement hors périmètre : Next.js, ainsi que tout adaptateur de déploiement propre à un framework.
10
10
 
11
- > **Note :** Vercel (ce stack) couvre uniquement la **surface de la plateforme de déploiement indépendante de tout framework** : la configuration `vercel.json` (rewrites, redirects, headers, regions), les Serverless Functions sur le runtime Node.js / Fluid Compute, les primitives de cache ISR, les Cron Jobs, le Vercel Storage (Blob natif ; Postgres/KV via le Marketplace — Neon/Upstash), Analytics/Speed Insights, et le workflow variables d'environnement/Preview Deployment. Ce n'est **pas** un stack Next.js — Next.js lui-même est hors périmètre et n'est pas une technologie claude-craft supportée (aucun namespace `/nextjs:*` n'existe). Le routage, le rendu ou les patterns de récupération de données propres à un framework relèvent du stack propre à ce framework (`/react:*`, `/vuejs:*`, `/angular:*`) — consulter le `tooling.md` de ce stack pour savoir comment il s'intègre avec la sortie de build de Vercel. Par ailleurs, l'Edge Runtime (`export const runtime = 'edge'`) est **déprécié par Vercel** depuis 2026 au profit du Fluid Compute sur le runtime Node.js ; ce stack documente l'Edge Runtime uniquement pour aider à identifier et migrer du code legacy, pas comme un pattern recommandé pour du nouveau code.
11
+ > **Note :** Vercel (ce stack) couvre uniquement la **surface de la plateforme de déploiement indépendante de tout framework** : la configuration `vercel.json` (rewrites, redirects, headers, regions), les Serverless Functions sur le runtime Node.js / Fluid Compute, les primitives de cache ISR, les Cron Jobs, le Vercel Storage (Blob natif ; Postgres/KV via le Marketplace — Neon/Upstash), Analytics/Speed Insights, et le workflow variables d'environnement/Preview Deployment. Ce n'est **pas** un stack Next.js — Next.js lui-même est hors périmètre et n'est pas une technologie claude-craft supportée (aucun namespace `/nextjs:*` n'existe). Le routage, le rendu ou les patterns de récupération de données propres à un framework relèvent du stack propre à ce framework (`/react:*`, `/vuejs:*`, `/angular:*`) — consulter le `tooling.md` de ce stack pour savoir comment il s'intègre avec la sortie de build de Vercel. Par ailleurs, l'Edge Runtime (`export const runtime = 'edge'`) est **déconseillé par Vercel**, qui privilégie le Fluid Compute sur le runtime Node.js ; ce stack documente l'Edge Runtime uniquement pour aider à identifier et migrer du code legacy, pas comme un pattern recommandé pour du nouveau code.
12
12
 
13
13
  ### Structure du projet
14
14
  ```
@@ -38,7 +38,7 @@ Voir `rules/02-architecture.md` pour les patterns complets.
38
38
  | Règle | Raison |
39
39
  |------|--------|
40
40
  | vercel.json validé contre `$schema` | Détecte les globs/clés mal orthographiés avant qu'ils échouent silencieusement au déploiement |
41
- | Node.js/Fluid Compute est le runtime par défaut | L'Edge Runtime (`runtime: 'edge'`) est déprécié — cible de migration legacy uniquement |
41
+ | Node.js/Fluid Compute est le runtime par défaut | L'Edge Runtime (`runtime: 'edge'`) est déconseillé — cible de migration legacy uniquement |
42
42
  | Variables d'environnement jamais en dur ni commitées | Les secrets appartiennent au store de variables d'environnement de Vercel, scopés par environnement |
43
43
  | Les endpoints Cron vérifient l'en-tête secret | Un chemin cron non protégé peut être déclenché par quiconque le trouve |
44
44
  | Couverture 80%+ sur la logique des handlers | Assurance qualité pour la logique métier des Functions et du middleware |
@@ -221,10 +221,10 @@ Une Function déclare-t-elle export const config = { runtime: 'edge' } (ou
221
221
  "runtime": "edge" dans le bloc functions de vercel.json) ?
222
222
  OUI --> Cette Function est-elle nouvellement ajoutée ou récemment modifiée
223
223
  (pas du code purement legacy, non touché) ?
224
- OUI --> MAJEUR : l'Edge Runtime est déprécié par Vercel — migrer vers le
224
+ OUI --> MAJEUR : l'Edge Runtime n'est pas recommandé par Vercel — migrer vers le
225
225
  Fluid Compute sur le runtime Node.js (par défaut) pour un accès
226
226
  complet aux API Node, des cold starts avec cache de bytecode
227
- (Node 20+), et une tarification Active CPU
227
+ (Node 22+), et une tarification Active CPU
228
228
  NON --> MINEUR : marquer comme dette de migration legacy, ne pas bloquer
229
229
  du code non modifié
230
230
  NON --> La Function s'exécute sur le défaut Node.js/Fluid Compute --> passer à la
@@ -237,7 +237,7 @@ Une Function déclare-t-elle export const config = { runtime: 'edge' } (ou
237
237
  La version Node.js est-elle épinglée (package.json "engines.node", ou le réglage
238
238
  Node.js Version du projet Vercel) sur 20.x ou plus récent ?
239
239
  NON --> MINEUR : une version Node non épinglée/ancienne renonce à l'amélioration
240
- de cold-start du cache de bytecode de Fluid Compute (spécifique à Node 20+)
240
+ de cold-start du cache de bytecode de Fluid Compute (spécifique à Node 22+)
241
241
  et risque une dérive silencieuse de runtime entre les redéploiements
242
242
  OUI --> OK
243
243
  ```
@@ -260,7 +260,7 @@ avant de l'utiliser ?
260
260
 
261
261
  **Edge Runtime sur du code nouveau/modifié :**
262
262
  ```typescript
263
- // INTERDIT — Edge Runtime déclaré sur une Function nouvellement ajoutée : pattern déprécié
263
+ // INTERDIT — Edge Runtime déclaré sur une Function nouvellement ajoutée : pattern déconseillé
264
264
  export const config = { runtime: 'edge' };
265
265
 
266
266
  export default function handler(req: Request) {
@@ -269,7 +269,7 @@ export default function handler(req: Request) {
269
269
  }
270
270
 
271
271
  // CORRECT — défaut Node.js/Fluid Compute, accès complet aux API Node, cold starts
272
- // plus rapides sur Node 20+ via le cache de bytecode
272
+ // plus rapides sur Node 22+ via le cache de bytecode
273
273
  export const config = { maxDuration: 10 };
274
274
 
275
275
  export default function handler(req: VercelRequest, res: VercelResponse) {
@@ -297,7 +297,7 @@ export default function handler(req: VercelRequest, res: VercelResponse) {
297
297
  ```
298
298
  ```typescript
299
299
  // api/legacy.ts
300
- // TODO(JIRA-1234): migrer hors de l'Edge Runtime — déprécié par Vercel, voir Fluid Compute
300
+ // TODO(JIRA-1234): migrer hors de l'Edge Runtime — déconseillé par Vercel, voir Fluid Compute
301
301
  export const config = { runtime: 'edge' };
302
302
  ```
303
303
 
@@ -350,7 +350,7 @@ export default async function handler(req: VercelRequest, res: VercelResponse) {
350
350
  |---------|----------|--------------|
351
351
  | Runtime | Défaut Node.js/Fluid Compute | `runtime: 'edge'` sur du code nouveau/modifié |
352
352
  | Edge Runtime legacy | Marqueur de migration ticketé (TODO + référence d'issue) | Edge Runtime silencieux, non signalé, laissé en place |
353
- | Version Node | Épinglée sur 20+ (`engines.node` ou réglage du projet) | Non épinglée, dérive du défaut |
353
+ | Version Node | Épinglée sur 22.x ou 24.x (Node 20 est déprécié sur Vercel depuis le 2026-10-01) (`engines.node` ou réglage du projet) | Non épinglée, dérive du défaut |
354
354
  | Input du handler | Validé/parsé (zod, garde manuelle) avant utilisation | `req.body`/`req.query` brut utilisé sans vérification |
355
355
  | Sortie du handler | Status explicite + body typé sur chaque chemin | 200 implicite, forme d'erreur incohérente |
356
356
  | Vigilance cold-start | Imports lourds chargés paresseusement/différés quand non toujours nécessaires | Chaque dépendance importée avec empressement en haut du module |
@@ -836,7 +836,7 @@ describe('api/cron/daily', () => {
836
836
  | Sujet | À vérifier |
837
837
  |-------|---------------|
838
838
  | **Fluid Compute** | Confirmer que les Functions passent par défaut en Fluid Compute (tarification Active CPU), pas l'ancienne facturation Serverless Functions à concurrence fixe |
839
- | **Dépréciation de l'Edge Runtime** | Tout `runtime: 'edge'` trouvé doit porter une référence de ticket de migration, jamais être présenté comme le pattern recommandé pour du nouveau code |
839
+ | **Edge Runtime déconseillé** | Tout `runtime: 'edge'` trouvé doit porter une référence de ticket de migration, jamais être présenté comme le pattern recommandé pour du nouveau code |
840
840
  | **Packages Storage dépréciés** | Les imports `@vercel/kv`/`@vercel/postgres` sont un constat MAJEUR quelle que soit la date d'ajout — signaler pour migration Marketplace (Neon/Upstash) |
841
841
  | **Primitive de cache ISR vs headers de vercel.json** | La revalidation native du framework et les `headers` de vercel.json ne doivent jamais cibler la même route pour `Cache-Control` |
842
842
  | **Limites de plan Cron** | Le plan Hobby plafonne les Cron Jobs à 1/jour — vérifier que la planification déclarée correspond au palier de plan réellement utilisé |
@@ -6,7 +6,7 @@
6
6
 
7
7
  **Stack** : Vite {{VITE_VERSION}}, TypeScript {{TS_VERSION}}
8
8
 
9
- **Périmètre** : usage de Vite indépendant de tout framework uniquement — applications vanilla JS/TS, création de librairies (build.lib), applications multi-pages (rollupOptions.input), points d'entrée Workers/WASM. Ne couvre pas la configuration du serveur de développement React/Vue/Angular/Svelte — voir le tooling.md propre à ce stack.
9
+ **Périmètre** : usage de Vite indépendant de tout framework uniquement — applications vanilla JS/TS, création de librairies (build.lib), applications multi-pages (rolldownOptions.input), points d'entrée Workers/WASM. Ne couvre pas la configuration du serveur de développement React/Vue/Angular/Svelte — voir le tooling.md propre à ce stack.
10
10
 
11
11
  ### Structure du projet
12
12
  ```
@@ -32,7 +32,7 @@ project-root/
32
32
  ### Architecture : {{ARCHITECTURE_PATTERN}}
33
33
  - **Point d'entrée** : `index.html` à la racine du projet (ou `root`), jamais dans `public/`
34
34
  - **Mode librairie** : `build.lib` + `vite-plugin-dts` pour les packages publiés sur npm
35
- - **Multi-pages** : `build.rollupOptions.input` nommant explicitement chaque entrée HTML
35
+ - **Multi-pages** : top-level `input` nommant explicitement chaque entrée HTML
36
36
  - **Workers/WASM** : `new Worker(new URL(...), { type: 'module' })`, suffixes `?init`/`?url`
37
37
 
38
38
  Voir `rules/02-architecture.md` pour les patterns complets.
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: vite-reviewer
3
- description: Spécialiste de revue de code Vite 8.x indépendant de tout framework — applications vanilla JS/TS, création de librairies (build.lib), applications multi-pages (rollupOptions.input), points d'entrée Workers/WASM, configuration de plugins
3
+ description: Spécialiste de revue de code Vite 8.x indépendant de tout framework — applications vanilla JS/TS, création de librairies (build.lib), applications multi-pages (rolldownOptions.input), points d'entrée Workers/WASM, configuration de plugins
4
4
  model: haiku
5
5
  effort: low
6
6
  maxTurns: 6
@@ -14,13 +14,13 @@ skills: [solid-principles, testing, security]
14
14
 
15
15
  ## Identité
16
16
 
17
- Je suis un spécialiste de la revue de code Vite 8.x, **indépendant de tout framework** par conception. Mon périmètre couvre l'usage pur de Vite : applications vanilla JS/TS (index.html comme point d'entrée source, jamais dans public/), création de librairies via build.lib et vite-plugin-dts, applications multi-pages via build.rollupOptions.input, et points d'entrée Workers/WASM. Je ne couvre PAS les intégrations Vite spécifiques à React, Vue, Angular ou Svelte — ces stacks documentent déjà leur propre intégration de serveur de développement dans leur fichier tooling.md respectif. Je ne réalise pas un audit générique — je détecte ce qui casse le graphe de modules, alourdit le bundle, ou complique inutilement une configuration Vite.
17
+ Je suis un spécialiste de la revue de code Vite 8.x, **indépendant de tout framework** par conception. Mon périmètre couvre l'usage pur de Vite : applications vanilla JS/TS (index.html comme point d'entrée source, jamais dans public/), création de librairies via build.lib et vite-plugin-dts, applications multi-pages via build.rolldownOptions.input, et points d'entrée Workers/WASM. Je ne couvre PAS les intégrations Vite spécifiques à React, Vue, Angular ou Svelte — ces stacks documentent déjà leur propre intégration de serveur de développement dans leur fichier tooling.md respectif. Je ne réalise pas un audit générique — je détecte ce qui casse le graphe de modules, alourdit le bundle, ou complique inutilement une configuration Vite.
18
18
 
19
19
  ## Système de notation (100 points)
20
20
 
21
21
  | Catégorie | Points | Focus |
22
22
  |----------|--------|-------|
23
- | Config et Architecture Vite | 30 | vite.config.ts, index.html, build.lib, rollupOptions.input, plugins |
23
+ | Config et Architecture Vite | 30 | vite.config.ts, index.html, build.lib, rolldownOptions.input, plugins |
24
24
  | TypeScript et Qualité | 20 | tsconfig strict, moduleResolution bundler, vite-plugin-dts |
25
25
  | Tests | 25 | Config/couverture Vitest, tests sur le build publié |
26
26
  | Sortie de build et Performance | 25 | Taille du bundle, tree-shaking, externalisation, code-splitting |
@@ -49,7 +49,7 @@ Le package est-il consommé par d'autres packages/apps (publié sur npm) ?
49
49
  OUI --> build.lib est-il configuré ?
50
50
  NON --> CRITIQUE : sans build.lib, Vite produit un bundle d'application
51
51
  (index.html requis, pas de formats ESM/CJS multiples, pas d'externalisation des peer deps)
52
- OUI --> rollupOptions.external couvre-t-il toutes les peerDependencies ?
52
+ OUI --> rolldownOptions.external couvre-t-il toutes les peerDependencies ?
53
53
  NON --> MAJEUR : le runtime du framework hôte sera dupliqué chez le consommateur
54
54
  OUI --> vite-plugin-dts est-il configuré ?
55
55
  NON --> MAJEUR : pas de typages publiés, package inutilisable en TypeScript strict
@@ -62,7 +62,7 @@ Le package est-il consommé par d'autres packages/apps (publié sur npm) ?
62
62
  ```
63
63
  Le projet a-t-il plusieurs pages HTML distinctes (pas seulement des routes côté client) ?
64
64
  NON --> SPA classique : un seul index.html, routage côté client
65
- OUI --> build.rollupOptions.input est-il un objet nommant chaque page ?
65
+ OUI --> build.rolldownOptions.input est-il un objet nommant chaque page ?
66
66
  NON --> MAJEUR : les pages secondaires ne sont pas buildées ou dépendent d'un
67
67
  chemin de chargement manuel, non optimisé
68
68
  OUI --> Les pages partagent-elles des dépendances lourdes ?
@@ -133,7 +133,7 @@ export default defineConfig({
133
133
  formats: ['es', 'cjs'],
134
134
  fileName: (format) => `my-lib.${format}.js`,
135
135
  },
136
- rollupOptions: {
136
+ rolldownOptions: {
137
137
  // Ne jamais bundler les peer dependencies
138
138
  external: ['react', 'react-dom'],
139
139
  output: {
@@ -144,7 +144,7 @@ export default defineConfig({
144
144
  });
145
145
  ```
146
146
 
147
- **rollupOptions.input pour les applications multi-pages :**
147
+ **rolldownOptions.input pour les applications multi-pages :**
148
148
  ```typescript
149
149
  // MAUVAIS : pages secondaires non déclarées dans la config
150
150
  export default defineConfig({});
@@ -155,7 +155,7 @@ import { defineConfig } from 'vite';
155
155
 
156
156
  export default defineConfig({
157
157
  build: {
158
- rollupOptions: {
158
+ rolldownOptions: {
159
159
  input: {
160
160
  main: resolve(__dirname, 'index.html'),
161
161
  about: resolve(__dirname, 'pages/about.html'),
@@ -225,8 +225,10 @@ export function vitePluginMyTransform(): Plugin {
225
225
  | index.html | À la racine de `root`, transformé comme entrée source | Copié dans public/ |
226
226
  | public/ | Assets statiques uniquement (favicon, robots.txt) | HTML/JS source importé depuis public/ |
227
227
  | build.lib | Configuré pour chaque package publié | Bundle d'application publié comme librairie |
228
- | rollupOptions.external | Peer deps externalisées | Framework hôte bundlé dans la librairie |
229
- | rollupOptions.input | Objet nommant chaque page HTML (multi-pages) | Chargement manuel, non optimisé |
228
+ | rolldownOptions.external | Peer deps externalisées | Framework hôte bundlé dans la librairie |
229
+ | rolldownOptions.input | Objet nommant chaque page HTML (multi-pages) | Chargement manuel, non optimisé |
230
+ | rollupOptions / worker.rollupOptions / optimizeDeps.esbuildOptions | Équivalents rolldownOptions (dépréciés depuis Vite 8) | Alias dépréciés conservés dans la config |
231
+ | Node.js | `^20.19.0` ou `>=22.12.0` (prérequis Vite 8) | Node 18 ou 20 < 20.19 |
230
232
  | Plugins custom | Préfixe vite-plugin-*, propriété `name` explicite | Plugin anonyme sans nom |
231
233
  | Variables d'environnement | Préfixe VITE_ pour l'exposition client | Secrets non préfixés référencés côté client |
232
234
 
@@ -237,7 +239,7 @@ export function vitePluginMyTransform(): Plugin {
237
239
  | vite.config.ts correct (defineConfig, alias synchronisés avec tsconfig) | 8 |
238
240
  | index.html à la racine du bon dossier, jamais dans public/ | 6 |
239
241
  | build.lib correctement configuré (entry, formats, external, vite-plugin-dts) | 8 |
240
- | rollupOptions.input pour le multi-pages, plugins nommés selon la convention vite-plugin-* | 8 |
242
+ | rolldownOptions.input pour le multi-pages, plugins nommés selon la convention vite-plugin-* | 8 |
241
243
 
242
244
  ---
243
245
 
@@ -441,7 +443,7 @@ package.json déclare-t-il "sideEffects": false ?
441
443
  ### Arbre de décision : Code-splitting multi-pages
442
444
 
443
445
  ```
444
- L'application a-t-elle plusieurs pages (rollupOptions.input) ?
446
+ L'application a-t-elle plusieurs pages (rolldownOptions.input) ?
445
447
  OUI --> manualChunks isole-t-il un chunk vendor partagé ?
446
448
  NON --> MAJEUR : chaque page duplique les mêmes dépendances lourdes
447
449
  OUI --> Le plus gros chunk lazy dépasse-t-il 80KB gzip ?
@@ -486,14 +488,14 @@ export { formatDate, parseDate } from './utils';
486
488
  // MAUVAIS : le framework hôte est bundlé dans la librairie publiée
487
489
  export default defineConfig({
488
490
  build: { lib: { entry: 'src/index.ts', formats: ['es'] } },
489
- // pas de rollupOptions.external
491
+ // pas de rolldownOptions.external
490
492
  });
491
493
 
492
494
  // BON : peer deps explicitement externalisées
493
495
  export default defineConfig({
494
496
  build: {
495
497
  lib: { entry: 'src/index.ts', formats: ['es', 'cjs'] },
496
- rollupOptions: {
498
+ rolldownOptions: {
497
499
  external: (id) => /^(react|react-dom|vue)/.test(id),
498
500
  },
499
501
  },
@@ -507,7 +509,7 @@ export default defineConfig({
507
509
 
508
510
  // BON : chunk vendor partagé entre toutes les pages
509
511
  build: {
510
- rollupOptions: {
512
+ rolldownOptions: {
511
513
  output: {
512
514
  manualChunks(id) {
513
515
  if (id.includes('node_modules')) return 'vendor';
@@ -564,8 +566,8 @@ build: {
564
566
 
565
567
  ### Phase 2 : Configuration spécifique Vite (15 min)
566
568
 
567
- 1. Si librairie : vérifier build.lib, formats, rollupOptions.external, vite-plugin-dts
568
- 2. Si multi-pages : vérifier rollupOptions.input, manualChunks
569
+ 1. Si librairie : vérifier build.lib, formats, rolldownOptions.external, vite-plugin-dts
570
+ 2. Si multi-pages : vérifier rolldownOptions.input, manualChunks
569
571
  3. Si Workers/WASM : vérifier new URL(...import.meta.url), suffixes ?init/?url
570
572
  4. Vérifier la convention de nommage des plugins custom (vite-plugin-*, propriété name)
571
573
  5. Vérifier les variables d'environnement (préfixe VITE_, aucun secret exposé côté client)
@@ -36,7 +36,7 @@ Exécuter la vérification complète de configuration et d'architecture :
36
36
  - Correction de vite.config.ts (defineConfig, alias synchronisés avec tsconfig) (8 pts)
37
37
  - Emplacement d'index.html à la racine du projet, jamais dans public/ (6 pts)
38
38
  - Configuration build.lib pour les librairies (entry, formats, external, vite-plugin-dts) (8 pts)
39
- - rollupOptions.input pour les applications multi-pages, convention de nommage des plugins (vite-plugin-*) (8 pts)
39
+ - rolldownOptions.input pour les applications multi-pages, convention de nommage des plugins (vite-plugin-*) (8 pts)
40
40
 
41
41
  **Référence** : `.claude/agents/vite-reviewer.md` (section 1)
42
42
 
@@ -151,7 +151,7 @@ Sous-scores :
151
151
  • Correction de vite.config.ts : XX/8
152
152
  • Emplacement d'index.html : XX/6
153
153
  • Configuration build.lib : XX/8
154
- • rollupOptions.input / plugins : XX/8
154
+ • rolldownOptions.input / plugins : XX/8
155
155
 
156
156
  Points forts :
157
157
  - [Points forts architecture]
@@ -46,8 +46,8 @@ O estado e sincrono e usado para renderizacao?
46
46
 
47
47
  **Zoneless por padrao (estavel) :**
48
48
  - Economia de ~33 KB de bundle (Zone.js opcional)
49
- - +30-40% de melhoria de performance de renderizacao segundo Angular DevRel
50
- - API estavel: `provideZonelessChangeDetection()` de `@angular/core` (nao mais `Experimental`)
49
+ - Ganhos de performance variam conforme a aplicacao (o numero "+30-40%" vem de uma fonte de 2024): medir, nao assumir
50
+ - Nenhum provider necessario na v21+/v22: `provideZonelessChangeDetection()` so e necessario na v20 (https://angular.dev/guide/zoneless)
51
51
 
52
52
  **Signal Forms (estavel v22) :**
53
53
  - Alternativa nativa baseada em signals aos Reactive Forms, **pronto para producao**
@@ -421,7 +421,7 @@ A aplicacao utiliza deteccao de mudancas zoneless?
421
421
  SIM --> Os event listeners disparam corretamente o CD?
422
422
  NAO --> Zone.js e utilizado?
423
423
  SIM --> MENOR em v22+: migracao para zoneless recomendada (economiza ~33 KB)
424
- NAO --> Verificar que provideZonelessChangeDetection() esta configurado (estavel desde v20.2)
424
+ NAO --> Verificar que nenhum provideZoneChangeDetection() reativa o Zone.js (zoneless por padrao desde a v21)
425
425
 
426
426
  httpResource() e usado para requisicoes HTTP repetitivas?
427
427
  NAO --> Os componentes usam signal + effect + HttpClient?
@@ -7,6 +7,20 @@ maxTurns: 8
7
7
  tools: [Read, Glob, Grep, Edit, Write, Bash, WebFetch, WebSearch]
8
8
  permissionMode: default
9
9
  skills: [security, git-workflow]
10
+ disallowedTools:
11
+ - "Bash(rm -rf:*)"
12
+ - "Bash(dd:*)"
13
+ - "Bash(mkfs:*)"
14
+ - "Bash(kubectl delete:*)"
15
+ - "Bash(helm uninstall:*)"
16
+ - "Bash(terraform destroy:*)"
17
+ - "Bash(tofu destroy:*)"
18
+ - "Bash(docker system prune -a*)"
19
+ - "Bash(docker volume rm:*)"
20
+ - "Bash(curl * | sh*)"
21
+ - "Bash(wget * | sh*)"
22
+ - "Bash(git push --force*)"
23
+ - "Bash(git push -f*)"
10
24
  ---
11
25
 
12
26
  # Agente Engenheiro DevOps
@@ -31,7 +45,7 @@ Você é um **Engenheiro DevOps Sênior** com mais de 10 anos de experiência em
31
45
  | Docker | Multi-stage builds, otimização de imagem, security scanning |
32
46
  | Docker Compose | Orquestração local, profiles, extensions |
33
47
  | Kubernetes | Deployments, Services, Ingress, ConfigMaps, Secrets |
34
- | Helm | Charts, values, templating | 4.2.0 (MAJOR — server-side apply, plugins WASM, API v4 ; Helm 3 EOL segurança nov. 2026) |
48
+ | Helm | Charts, values, templating | 4.2.2 (Helm 4 = MAJOR — server-side apply, plugins WASM, API v4 ; Helm 3 EOL segurança nov. 2026) |
35
49
 
36
50
  ### Provedores de Nuvem
37
51
  | Provedor | Serviços |
@@ -5,6 +5,17 @@ model: opus
5
5
  effort: xhigh
6
6
  maxTurns: 10
7
7
  memory: user
8
+ disallowedTools:
9
+ - "Bash(rm -rf:*)"
10
+ - "Bash(dd:*)"
11
+ - "Bash(mkfs:*)"
12
+ - "Bash(:(){:|:&};:*)"
13
+ - "Bash(sudo:*)"
14
+ - "Bash(chmod 777:*)"
15
+ - "Bash(curl * | sh*)"
16
+ - "Bash(wget * | sh*)"
17
+ - "Bash(git push --force*)"
18
+ - "Bash(git push -f*)"
8
19
  ---
9
20
 
10
21
  # Agente Ralph Conductor v2.0
@@ -7,6 +7,15 @@ maxTurns: 8
7
7
  tools: [Read, Glob, Grep, Edit, Write, Bash, WebFetch, WebSearch]
8
8
  permissionMode: default
9
9
  skills: [solid-principles, testing, kiss-dry-yagni]
10
+ disallowedTools:
11
+ - "Bash(rm -rf:*)"
12
+ - "Bash(dd:*)"
13
+ - "Bash(mkfs:*)"
14
+ - "Bash(:(){:|:&};:*)"
15
+ - "Bash(sudo:*)"
16
+ - "Bash(chmod 777:*)"
17
+ - "Bash(curl * | sh*)"
18
+ - "Bash(wget * | sh*)"
10
19
  ---
11
20
 
12
21
  # Agente Especialista em Refatoração
@@ -22,13 +22,16 @@ Você é um **Auditor de Segurança Sênior** com mais de 15 anos de experiênci
22
22
 
23
23
  | # | Ameaça | Foco da auditoria |
24
24
  |---|--------|-------------------|
25
- | 1 | Broken Access Control (inclui SSRF) | Verificar permissões por requisição, negar por padrão |
26
- | 2 | Cryptographic Failures | TLS 1.3, Argon2id, sem MD5/SHA1 em código novo |
27
- | 3 | Injection | Consultas parametrizadas, validação, sanitização |
28
- | 4 | Insecure Design | Modelagem de ameaças, rate limiting |
29
- | 5 | Security Misconfiguration | Hardening, mensagens de erro genéricas em produção |
30
- | 6 | Software Supply Chain Failures | SLSA, SBOM, Sigstore keyless |
31
- | 7 | Mishandling of Exceptional Conditions | Registrar erros, nunca expor stack traces |
25
+ | A01 | Broken Access Control (inclui SSRF) | Verificar permissões por requisição, negar por padrão |
26
+ | A02 | Security Misconfiguration | Hardening, mensagens de erro genéricas em produção |
27
+ | A03 | Software Supply Chain Failures | SLSA, SBOM, Sigstore keyless, Dependabot/Renovate, Trivy/Grype, `npm audit --audit-level=moderate` |
28
+ | A04 | Cryptographic Failures | TLS 1.3, Argon2id, sem MD5/SHA1 em código novo |
29
+ | A05 | Injection | Consultas parametrizadas, validação, sanitização |
30
+ | A06 | Insecure Design | Modelagem de ameaças, rate limiting |
31
+ | A07 | Authentication Failures | MFA, protecao contra forca bruta, JWT EdDSA, sessoes invalidadas no logout |
32
+ | A08 | Software or Data Integrity Failures | Verificacao de assinaturas/checksums, CI/CD seguro, atualizacoes assinadas |
33
+ | A09 | Security Logging and Alerting Failures | Centralizar logs, alertas em anomalias, retencao >= 1 ano, nunca registrar credenciais/tokens |
34
+ | A10 | Mishandling of Exceptional Conditions | Registrar erros, nunca expor stack traces |
32
35
 
33
36
  ### Domínios de auditoria
34
37
 
@@ -7,6 +7,15 @@ maxTurns: 8
7
7
  tools: [Read, Glob, Grep, Edit, Write, Bash, WebFetch, WebSearch]
8
8
  permissionMode: default
9
9
  skills: [testing, solid-principles]
10
+ disallowedTools:
11
+ - "Bash(rm -rf:*)"
12
+ - "Bash(dd:*)"
13
+ - "Bash(mkfs:*)"
14
+ - "Bash(:(){:|:&};:*)"
15
+ - "Bash(sudo:*)"
16
+ - "Bash(chmod 777:*)"
17
+ - "Bash(curl * | sh*)"
18
+ - "Bash(wget * | sh*)"
10
19
  ---
11
20
 
12
21
  # Agente Coach TDD/BDD
@@ -4,8 +4,17 @@ description: UI-UX coordination and orchestration
4
4
  model: sonnet
5
5
  effort: medium
6
6
  maxTurns: 10
7
- tools: [Read, Glob, Grep, Edit, Write, Bash, Task, WebFetch, WebSearch]
7
+ tools: [Read, Glob, Grep, Edit, Write, Bash, Agent, WebFetch, WebSearch]
8
8
  permissionMode: default
9
+ disallowedTools:
10
+ - "Bash(rm -rf:*)"
11
+ - "Bash(dd:*)"
12
+ - "Bash(mkfs:*)"
13
+ - "Bash(:(){:|:&};:*)"
14
+ - "Bash(sudo:*)"
15
+ - "Bash(chmod 777:*)"
16
+ - "Bash(curl * | sh*)"
17
+ - "Bash(wget * | sh*)"
9
18
  ---
10
19
 
11
20
  # Agente Orquestrador UI/UX
@@ -70,7 +70,7 @@ Based on the detected stack, recommend 3 contextualized commands that provide im
70
70
  - `/vuejs:check-security` — XSS, CSP, OWASP audit
71
71
 
72
72
  **Laravel:**
73
- - `/laravel:check-code-quality` — PSR-12, Pest 4, coding standards
73
+ - `/laravel:check-code-quality` — PER-CS 3.0, Pest 4/5, coding standards
74
74
  - `/laravel:check-testing` — Test coverage with Pest
75
75
  - `/laravel:check-security` — OWASP audit, Sanctum config
76
76
 
@@ -91,7 +91,7 @@ Based on the detected stack, recommend 3 contextualized commands that provide im
91
91
 
92
92
  **PHP (standalone):**
93
93
  - `/php:check-code-quality` — PSR-12, PHPStan Level 10
94
- - `/php:check-testing` — Pest 4 test coverage
94
+ - `/php:check-testing` — Pest 5 test coverage
95
95
  - `/php:check-security` — Security best practices
96
96
 
97
97
  **Unknown/Multi-stack:**
@@ -75,9 +75,9 @@ echo "CLAUDE_CODE_FORK_SUBAGENT=${CLAUDE_CODE_FORK_SUBAGENT:-NÃO DEFINIDO}"
75
75
  Se não estiverem definidas, recomendar adicionar a `~/.bashrc` (ou `~/.zshrc`):
76
76
 
77
77
  ```bash
78
- # Usar Sonnet 4.6 para sub-agents (exploração, grep, leitura de ficheiros) em vez de Opus
78
+ # Usar Sonnet 5.5 para sub-agents (exploração, grep, leitura de ficheiros) em vez de Opus
79
79
  # → 40-60% de redução de custo nas invocações de sub-agents
80
- export CLAUDE_CODE_SUBAGENT_MODEL="sonnet"
80
+ export CLAUDE_CODE_SUBAGENT_MODEL="claude-sonnet-5-5"
81
81
 
82
82
  # Executar sub-agents em contextos isolados (Claude Code 2.1.117+, ver COMPATIBILITY.md)
83
83
  # → Evita poluir a janela de contexto principal com o estado intermédio dos sub-agents
@@ -357,7 +357,7 @@ A logica de negocio e isolada dos detalhes tecnicos
357
357
 
358
358
  #### SRP
359
359
  - [ ] Cada classe tem uma unica responsabilidade claramente definida
360
- - [ ] Os metodos fazem uma unica coisa (< 20 linhas)
360
+ - [ ] Os metodos fazem uma unica coisa (meta < 10, max 20 linhas)
361
361
  - [ ] Sem metodos com "e" ou "ou" no nome
362
362
 
363
363
  #### OCP
@@ -29,7 +29,7 @@ O codigo mais simples e frequentemente o melhor codigo.
29
29
 
30
30
  ### Regras KISS
31
31
 
32
- 1. **Metodos curtos:** Maximo 20 linhas por metodo
32
+ 1. **Metodos curtos:** Meta < 10 linhas, limite maximo 20 linhas por metodo
33
33
  2. **Complexidade ciclomatica:** Maximo 10 por metodo
34
34
  3. **Profundidade de indentacao:** Maximo 3 niveis
35
35
  4. **Parametros:** Maximo 4 parametros por metodo
@@ -369,7 +369,7 @@ class ConcreteRepository // Infrastructure
369
369
  ### Antes de cada commit
370
370
 
371
371
  #### KISS
372
- - [ ] Metodos < 20 linhas
372
+ - [ ] Metodos < 10 linhas (limite 20)
373
373
  - [ ] Complexidade ciclomatica < 10
374
374
  - [ ] Indentacao max 3 niveis
375
375
  - [ ] Parametros max 4 por metodo
@@ -395,11 +395,14 @@ class ConcreteRepository // Infrastructure
395
395
  |---------|------|--------|
396
396
  | Linhas por metodo | < 10 | < 20 |
397
397
  | Complexidade ciclomatica | < 5 | < 10 |
398
+ | Complexidade cognitiva | < 7 | < 10 |
398
399
  | Linhas por classe | < 150 | < 200 |
399
400
  | Duplicacao | 0% | < 3% |
400
401
  | Cobertura de testes | > 80% | > 70% |
401
402
  | Dependencias por classe | < 5 | < 7 |
402
403
 
404
+ > Os limites de Cognitive Complexity (SonarQube S3776) < 7 / < 10 sao uma escolha interna, deliberadamente mais estrita que o padrao do Sonar (15 por funcao); relaxe-os se o contexto da equipe exigir.
405
+
403
406
  ---
404
407
 
405
408
  ## Recursos
@@ -289,7 +289,7 @@ docs/
289
289
  ### OpenAPI (Swagger)
290
290
 
291
291
  ```yaml
292
- openapi: 3.1.1
292
+ openapi: 3.2.1 # current (3.1.x remains valid if your tooling lags)
293
293
  info:
294
294
  title: User API
295
295
  version: 1.0.0