@the-bearded-bear/claude-craft 3.1.2 → 3.3.1-next.f4f0d1e

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 (537) hide show
  1. package/Dev/i18n/de/Angular/CLAUDE.md.template +49 -0
  2. package/Dev/i18n/de/Angular/agents/angular-reviewer.md +213 -0
  3. package/Dev/i18n/de/Angular/checklists/new-feature.md +125 -0
  4. package/Dev/i18n/de/Angular/checklists/pre-commit.md +77 -0
  5. package/Dev/i18n/de/Angular/commands/check-architecture.md +261 -0
  6. package/Dev/i18n/de/Angular/commands/check-code-quality.md +238 -0
  7. package/Dev/i18n/de/Angular/commands/check-compliance.md +199 -0
  8. package/Dev/i18n/de/Angular/commands/check-security.md +263 -0
  9. package/Dev/i18n/de/Angular/commands/check-testing.md +292 -0
  10. package/Dev/i18n/de/Angular/commands/generate-component.md +220 -0
  11. package/Dev/i18n/de/Angular/rules/00-project-context.md.template +78 -0
  12. package/Dev/i18n/de/Angular/rules/02-architecture-angular.md +477 -0
  13. package/Dev/i18n/de/Angular/rules/03-coding-standards.md +640 -0
  14. package/Dev/i18n/de/Angular/rules/06-tooling.md +516 -0
  15. package/Dev/i18n/de/Angular/rules/07-testing-angular.md +739 -0
  16. package/Dev/i18n/de/Angular/rules/08-quality-tools.md +501 -0
  17. package/Dev/i18n/de/Angular/rules/11-security-angular.md +497 -0
  18. package/Dev/i18n/de/Angular/templates/component.template.ts +115 -0
  19. package/Dev/i18n/de/Angular/templates/service.template.ts +203 -0
  20. package/Dev/i18n/de/CSharp/CLAUDE.md.template +65 -0
  21. package/Dev/i18n/de/CSharp/agents/csharp-reviewer.md +166 -0
  22. package/Dev/i18n/de/CSharp/checklists/new-feature.md +178 -0
  23. package/Dev/i18n/de/CSharp/checklists/pre-commit.md +126 -0
  24. package/Dev/i18n/de/CSharp/commands/check-architecture.md +294 -0
  25. package/Dev/i18n/de/CSharp/commands/check-code-quality.md +355 -0
  26. package/Dev/i18n/de/CSharp/commands/check-compliance.md +178 -0
  27. package/Dev/i18n/de/CSharp/commands/check-security.md +369 -0
  28. package/Dev/i18n/de/CSharp/commands/check-testing.md +295 -0
  29. package/Dev/i18n/de/CSharp/commands/generate-feature.md +481 -0
  30. package/Dev/i18n/de/CSharp/rules/00-project-context.md.template +100 -0
  31. package/Dev/i18n/de/CSharp/rules/02-architecture-csharp.md +536 -0
  32. package/Dev/i18n/de/CSharp/rules/03-coding-standards.md +494 -0
  33. package/Dev/i18n/de/CSharp/rules/06-tooling.md +493 -0
  34. package/Dev/i18n/de/CSharp/rules/07-testing-csharp.md +566 -0
  35. package/Dev/i18n/de/CSharp/rules/08-quality-tools.md +497 -0
  36. package/Dev/i18n/de/CSharp/rules/11-security-csharp.md +568 -0
  37. package/Dev/i18n/de/CSharp/rules/12-aspire-cloud-native.md +514 -0
  38. package/Dev/i18n/de/CSharp/templates/command-handler.template.cs +100 -0
  39. package/Dev/i18n/de/CSharp/templates/entity.template.cs +159 -0
  40. package/Dev/i18n/de/Common/commands/add-technology.md +195 -0
  41. package/Dev/i18n/de/Laravel/CLAUDE.md.template +104 -0
  42. package/Dev/i18n/de/Laravel/agents/laravel-reviewer.md +200 -0
  43. package/Dev/i18n/de/Laravel/checklists/new-feature.md +277 -0
  44. package/Dev/i18n/de/Laravel/checklists/pre-commit.md +156 -0
  45. package/Dev/i18n/de/Laravel/commands/check-architecture.md +306 -0
  46. package/Dev/i18n/de/Laravel/commands/check-code-quality.md +302 -0
  47. package/Dev/i18n/de/Laravel/commands/check-compliance.md +141 -0
  48. package/Dev/i18n/de/Laravel/commands/check-security.md +372 -0
  49. package/Dev/i18n/de/Laravel/commands/check-testing.md +397 -0
  50. package/Dev/i18n/de/Laravel/commands/generate-controller.md +388 -0
  51. package/Dev/i18n/de/Laravel/rules/00-project-context.md.template +140 -0
  52. package/Dev/i18n/de/Laravel/rules/02-architecture-laravel.md +644 -0
  53. package/Dev/i18n/de/Laravel/rules/03-coding-standards.md +573 -0
  54. package/Dev/i18n/de/Laravel/rules/06-tooling.md +580 -0
  55. package/Dev/i18n/de/Laravel/rules/07-testing-laravel.md +525 -0
  56. package/Dev/i18n/de/Laravel/rules/08-quality-tools.md +591 -0
  57. package/Dev/i18n/de/Laravel/rules/11-security-laravel.md +787 -0
  58. package/Dev/i18n/de/Laravel/templates/action.template.php +79 -0
  59. package/Dev/i18n/de/Laravel/templates/controller.template.php +99 -0
  60. package/Dev/i18n/de/Laravel/templates/model.template.php +206 -0
  61. package/Dev/i18n/de/Laravel/templates/test.template.php +263 -0
  62. package/Dev/i18n/de/PHP/CLAUDE.md.template +460 -0
  63. package/Dev/i18n/de/PHP/agents/php-reviewer.md +345 -0
  64. package/Dev/i18n/de/PHP/checklists/new-feature.md +132 -0
  65. package/Dev/i18n/de/PHP/checklists/pre-commit.md +231 -0
  66. package/Dev/i18n/de/PHP/commands/check-architecture.md +557 -0
  67. package/Dev/i18n/de/PHP/commands/check-code-quality.md +448 -0
  68. package/Dev/i18n/de/PHP/commands/check-compliance.md +477 -0
  69. package/Dev/i18n/de/PHP/commands/check-security.md +420 -0
  70. package/Dev/i18n/de/PHP/commands/check-testing.md +486 -0
  71. package/Dev/i18n/de/PHP/rules/00-project-context.md.template +266 -0
  72. package/Dev/i18n/de/PHP/rules/02-architecture-php.md +696 -0
  73. package/Dev/i18n/de/PHP/rules/03-coding-standards.md +641 -0
  74. package/Dev/i18n/de/PHP/rules/06-tooling.md +543 -0
  75. package/Dev/i18n/de/PHP/rules/07-testing-php.md +636 -0
  76. package/Dev/i18n/de/PHP/rules/08-quality-tools.md +533 -0
  77. package/Dev/i18n/de/PHP/rules/11-security-php.md +759 -0
  78. package/Dev/i18n/de/PHP/templates/entity.md +435 -0
  79. package/Dev/i18n/de/PHP/templates/use-case.md +512 -0
  80. package/Dev/i18n/de/PHP/templates/value-object.md +555 -0
  81. package/Dev/i18n/de/VueJS/CLAUDE.md.template +102 -0
  82. package/Dev/i18n/de/VueJS/agents/vuejs-reviewer.md +206 -0
  83. package/Dev/i18n/de/VueJS/checklists/new-feature.md +131 -0
  84. package/Dev/i18n/de/VueJS/checklists/pre-commit.md +68 -0
  85. package/Dev/i18n/de/VueJS/commands/check-architecture.md +137 -0
  86. package/Dev/i18n/de/VueJS/commands/check-code-quality.md +152 -0
  87. package/Dev/i18n/de/VueJS/commands/check-compliance.md +124 -0
  88. package/Dev/i18n/de/VueJS/commands/check-security.md +186 -0
  89. package/Dev/i18n/de/VueJS/commands/check-testing.md +185 -0
  90. package/Dev/i18n/de/VueJS/commands/generate-component.md +233 -0
  91. package/Dev/i18n/de/VueJS/rules/00-project-context.md.template +125 -0
  92. package/Dev/i18n/de/VueJS/rules/02-architecture-vuejs.md +375 -0
  93. package/Dev/i18n/de/VueJS/rules/03-coding-standards.md +502 -0
  94. package/Dev/i18n/de/VueJS/rules/06-tooling.md +422 -0
  95. package/Dev/i18n/de/VueJS/rules/07-testing-vuejs.md +606 -0
  96. package/Dev/i18n/de/VueJS/rules/08-quality-tools.md +441 -0
  97. package/Dev/i18n/de/VueJS/rules/11-security-vuejs.md +465 -0
  98. package/Dev/i18n/de/VueJS/templates/component.template.vue +133 -0
  99. package/Dev/i18n/de/VueJS/templates/composable.template.ts +162 -0
  100. package/Dev/i18n/de/VueJS/templates/store.template.ts +282 -0
  101. package/Dev/i18n/de/VueJS/templates/test.template.ts +233 -0
  102. package/Dev/i18n/en/Angular/CLAUDE.md.template +49 -0
  103. package/Dev/i18n/en/Angular/agents/angular-reviewer.md +213 -0
  104. package/Dev/i18n/en/Angular/checklists/new-feature.md +125 -0
  105. package/Dev/i18n/en/Angular/checklists/pre-commit.md +77 -0
  106. package/Dev/i18n/en/Angular/commands/check-architecture.md +261 -0
  107. package/Dev/i18n/en/Angular/commands/check-code-quality.md +238 -0
  108. package/Dev/i18n/en/Angular/commands/check-compliance.md +199 -0
  109. package/Dev/i18n/en/Angular/commands/check-security.md +263 -0
  110. package/Dev/i18n/en/Angular/commands/check-testing.md +292 -0
  111. package/Dev/i18n/en/Angular/commands/generate-component.md +220 -0
  112. package/Dev/i18n/en/Angular/rules/00-project-context.md.template +78 -0
  113. package/Dev/i18n/en/Angular/rules/02-architecture-angular.md +477 -0
  114. package/Dev/i18n/en/Angular/rules/03-coding-standards.md +640 -0
  115. package/Dev/i18n/en/Angular/rules/06-tooling.md +516 -0
  116. package/Dev/i18n/en/Angular/rules/07-testing-angular.md +739 -0
  117. package/Dev/i18n/en/Angular/rules/08-quality-tools.md +501 -0
  118. package/Dev/i18n/en/Angular/rules/11-security-angular.md +497 -0
  119. package/Dev/i18n/en/Angular/templates/component.template.ts +115 -0
  120. package/Dev/i18n/en/Angular/templates/service.template.ts +203 -0
  121. package/Dev/i18n/en/CSharp/CLAUDE.md.template +65 -0
  122. package/Dev/i18n/en/CSharp/agents/csharp-reviewer.md +166 -0
  123. package/Dev/i18n/en/CSharp/checklists/new-feature.md +178 -0
  124. package/Dev/i18n/en/CSharp/checklists/pre-commit.md +126 -0
  125. package/Dev/i18n/en/CSharp/commands/check-architecture.md +294 -0
  126. package/Dev/i18n/en/CSharp/commands/check-code-quality.md +355 -0
  127. package/Dev/i18n/en/CSharp/commands/check-compliance.md +178 -0
  128. package/Dev/i18n/en/CSharp/commands/check-security.md +369 -0
  129. package/Dev/i18n/en/CSharp/commands/check-testing.md +295 -0
  130. package/Dev/i18n/en/CSharp/commands/generate-feature.md +481 -0
  131. package/Dev/i18n/en/CSharp/rules/00-project-context.md.template +100 -0
  132. package/Dev/i18n/en/CSharp/rules/02-architecture-csharp.md +536 -0
  133. package/Dev/i18n/en/CSharp/rules/03-coding-standards.md +494 -0
  134. package/Dev/i18n/en/CSharp/rules/06-tooling.md +493 -0
  135. package/Dev/i18n/en/CSharp/rules/07-testing-csharp.md +566 -0
  136. package/Dev/i18n/en/CSharp/rules/08-quality-tools.md +497 -0
  137. package/Dev/i18n/en/CSharp/rules/11-security-csharp.md +568 -0
  138. package/Dev/i18n/en/CSharp/rules/12-aspire-cloud-native.md +514 -0
  139. package/Dev/i18n/en/CSharp/templates/command-handler.template.cs +100 -0
  140. package/Dev/i18n/en/CSharp/templates/entity.template.cs +159 -0
  141. package/Dev/i18n/en/Common/commands/add-technology.md +293 -0
  142. package/Dev/i18n/en/Laravel/CLAUDE.md.template +104 -0
  143. package/Dev/i18n/en/Laravel/agents/laravel-reviewer.md +200 -0
  144. package/Dev/i18n/en/Laravel/checklists/new-feature.md +277 -0
  145. package/Dev/i18n/en/Laravel/checklists/pre-commit.md +156 -0
  146. package/Dev/i18n/en/Laravel/commands/check-architecture.md +306 -0
  147. package/Dev/i18n/en/Laravel/commands/check-code-quality.md +302 -0
  148. package/Dev/i18n/en/Laravel/commands/check-compliance.md +141 -0
  149. package/Dev/i18n/en/Laravel/commands/check-security.md +372 -0
  150. package/Dev/i18n/en/Laravel/commands/check-testing.md +397 -0
  151. package/Dev/i18n/en/Laravel/commands/generate-controller.md +388 -0
  152. package/Dev/i18n/en/Laravel/rules/00-project-context.md.template +140 -0
  153. package/Dev/i18n/en/Laravel/rules/02-architecture-laravel.md +644 -0
  154. package/Dev/i18n/en/Laravel/rules/03-coding-standards.md +573 -0
  155. package/Dev/i18n/en/Laravel/rules/06-tooling.md +580 -0
  156. package/Dev/i18n/en/Laravel/rules/07-testing-laravel.md +525 -0
  157. package/Dev/i18n/en/Laravel/rules/08-quality-tools.md +591 -0
  158. package/Dev/i18n/en/Laravel/rules/11-security-laravel.md +787 -0
  159. package/Dev/i18n/en/Laravel/templates/action.template.php +79 -0
  160. package/Dev/i18n/en/Laravel/templates/controller.template.php +99 -0
  161. package/Dev/i18n/en/Laravel/templates/model.template.php +206 -0
  162. package/Dev/i18n/en/Laravel/templates/test.template.php +263 -0
  163. package/Dev/i18n/en/PHP/CLAUDE.md.template +460 -0
  164. package/Dev/i18n/en/PHP/agents/php-reviewer.md +345 -0
  165. package/Dev/i18n/en/PHP/checklists/new-feature.md +132 -0
  166. package/Dev/i18n/en/PHP/checklists/pre-commit.md +231 -0
  167. package/Dev/i18n/en/PHP/commands/check-architecture.md +557 -0
  168. package/Dev/i18n/en/PHP/commands/check-code-quality.md +448 -0
  169. package/Dev/i18n/en/PHP/commands/check-compliance.md +477 -0
  170. package/Dev/i18n/en/PHP/commands/check-security.md +420 -0
  171. package/Dev/i18n/en/PHP/commands/check-testing.md +486 -0
  172. package/Dev/i18n/en/PHP/rules/00-project-context.md.template +266 -0
  173. package/Dev/i18n/en/PHP/rules/02-architecture-php.md +696 -0
  174. package/Dev/i18n/en/PHP/rules/03-coding-standards.md +641 -0
  175. package/Dev/i18n/en/PHP/rules/06-tooling.md +543 -0
  176. package/Dev/i18n/en/PHP/rules/07-testing-php.md +636 -0
  177. package/Dev/i18n/en/PHP/rules/08-quality-tools.md +533 -0
  178. package/Dev/i18n/en/PHP/rules/11-security-php.md +759 -0
  179. package/Dev/i18n/en/PHP/templates/entity.md +435 -0
  180. package/Dev/i18n/en/PHP/templates/use-case.md +512 -0
  181. package/Dev/i18n/en/PHP/templates/value-object.md +555 -0
  182. package/Dev/i18n/en/VueJS/CLAUDE.md.template +102 -0
  183. package/Dev/i18n/en/VueJS/agents/vuejs-reviewer.md +206 -0
  184. package/Dev/i18n/en/VueJS/checklists/new-feature.md +131 -0
  185. package/Dev/i18n/en/VueJS/checklists/pre-commit.md +68 -0
  186. package/Dev/i18n/en/VueJS/commands/check-architecture.md +137 -0
  187. package/Dev/i18n/en/VueJS/commands/check-code-quality.md +152 -0
  188. package/Dev/i18n/en/VueJS/commands/check-compliance.md +124 -0
  189. package/Dev/i18n/en/VueJS/commands/check-security.md +186 -0
  190. package/Dev/i18n/en/VueJS/commands/check-testing.md +185 -0
  191. package/Dev/i18n/en/VueJS/commands/generate-component.md +233 -0
  192. package/Dev/i18n/en/VueJS/rules/00-project-context.md.template +125 -0
  193. package/Dev/i18n/en/VueJS/rules/02-architecture-vuejs.md +375 -0
  194. package/Dev/i18n/en/VueJS/rules/03-coding-standards.md +502 -0
  195. package/Dev/i18n/en/VueJS/rules/06-tooling.md +422 -0
  196. package/Dev/i18n/en/VueJS/rules/07-testing-vuejs.md +606 -0
  197. package/Dev/i18n/en/VueJS/rules/08-quality-tools.md +441 -0
  198. package/Dev/i18n/en/VueJS/rules/11-security-vuejs.md +465 -0
  199. package/Dev/i18n/en/VueJS/templates/component.template.vue +133 -0
  200. package/Dev/i18n/en/VueJS/templates/composable.template.ts +162 -0
  201. package/Dev/i18n/en/VueJS/templates/store.template.ts +282 -0
  202. package/Dev/i18n/en/VueJS/templates/test.template.ts +233 -0
  203. package/Dev/i18n/es/Angular/CLAUDE.md.template +49 -0
  204. package/Dev/i18n/es/Angular/agents/angular-reviewer.md +213 -0
  205. package/Dev/i18n/es/Angular/checklists/new-feature.md +125 -0
  206. package/Dev/i18n/es/Angular/checklists/pre-commit.md +77 -0
  207. package/Dev/i18n/es/Angular/commands/check-architecture.md +261 -0
  208. package/Dev/i18n/es/Angular/commands/check-code-quality.md +238 -0
  209. package/Dev/i18n/es/Angular/commands/check-compliance.md +199 -0
  210. package/Dev/i18n/es/Angular/commands/check-security.md +263 -0
  211. package/Dev/i18n/es/Angular/commands/check-testing.md +292 -0
  212. package/Dev/i18n/es/Angular/commands/generate-component.md +220 -0
  213. package/Dev/i18n/es/Angular/rules/00-project-context.md.template +78 -0
  214. package/Dev/i18n/es/Angular/rules/02-architecture-angular.md +477 -0
  215. package/Dev/i18n/es/Angular/rules/03-coding-standards.md +640 -0
  216. package/Dev/i18n/es/Angular/rules/06-tooling.md +516 -0
  217. package/Dev/i18n/es/Angular/rules/07-testing-angular.md +739 -0
  218. package/Dev/i18n/es/Angular/rules/08-quality-tools.md +501 -0
  219. package/Dev/i18n/es/Angular/rules/11-security-angular.md +497 -0
  220. package/Dev/i18n/es/Angular/templates/component.template.ts +115 -0
  221. package/Dev/i18n/es/Angular/templates/service.template.ts +203 -0
  222. package/Dev/i18n/es/CSharp/CLAUDE.md.template +65 -0
  223. package/Dev/i18n/es/CSharp/agents/csharp-reviewer.md +166 -0
  224. package/Dev/i18n/es/CSharp/checklists/new-feature.md +178 -0
  225. package/Dev/i18n/es/CSharp/checklists/pre-commit.md +126 -0
  226. package/Dev/i18n/es/CSharp/commands/check-architecture.md +294 -0
  227. package/Dev/i18n/es/CSharp/commands/check-code-quality.md +355 -0
  228. package/Dev/i18n/es/CSharp/commands/check-compliance.md +178 -0
  229. package/Dev/i18n/es/CSharp/commands/check-security.md +369 -0
  230. package/Dev/i18n/es/CSharp/commands/check-testing.md +295 -0
  231. package/Dev/i18n/es/CSharp/commands/generate-feature.md +481 -0
  232. package/Dev/i18n/es/CSharp/rules/00-project-context.md.template +100 -0
  233. package/Dev/i18n/es/CSharp/rules/02-architecture-csharp.md +536 -0
  234. package/Dev/i18n/es/CSharp/rules/03-coding-standards.md +494 -0
  235. package/Dev/i18n/es/CSharp/rules/06-tooling.md +493 -0
  236. package/Dev/i18n/es/CSharp/rules/07-testing-csharp.md +566 -0
  237. package/Dev/i18n/es/CSharp/rules/08-quality-tools.md +497 -0
  238. package/Dev/i18n/es/CSharp/rules/11-security-csharp.md +568 -0
  239. package/Dev/i18n/es/CSharp/rules/12-aspire-cloud-native.md +514 -0
  240. package/Dev/i18n/es/CSharp/templates/command-handler.template.cs +100 -0
  241. package/Dev/i18n/es/CSharp/templates/entity.template.cs +159 -0
  242. package/Dev/i18n/es/Common/commands/add-technology.md +195 -0
  243. package/Dev/i18n/es/Laravel/CLAUDE.md.template +104 -0
  244. package/Dev/i18n/es/Laravel/agents/laravel-reviewer.md +200 -0
  245. package/Dev/i18n/es/Laravel/checklists/new-feature.md +277 -0
  246. package/Dev/i18n/es/Laravel/checklists/pre-commit.md +156 -0
  247. package/Dev/i18n/es/Laravel/commands/check-architecture.md +306 -0
  248. package/Dev/i18n/es/Laravel/commands/check-code-quality.md +302 -0
  249. package/Dev/i18n/es/Laravel/commands/check-compliance.md +141 -0
  250. package/Dev/i18n/es/Laravel/commands/check-security.md +372 -0
  251. package/Dev/i18n/es/Laravel/commands/check-testing.md +397 -0
  252. package/Dev/i18n/es/Laravel/commands/generate-controller.md +388 -0
  253. package/Dev/i18n/es/Laravel/rules/00-project-context.md.template +140 -0
  254. package/Dev/i18n/es/Laravel/rules/02-architecture-laravel.md +644 -0
  255. package/Dev/i18n/es/Laravel/rules/03-coding-standards.md +573 -0
  256. package/Dev/i18n/es/Laravel/rules/06-tooling.md +580 -0
  257. package/Dev/i18n/es/Laravel/rules/07-testing-laravel.md +525 -0
  258. package/Dev/i18n/es/Laravel/rules/08-quality-tools.md +591 -0
  259. package/Dev/i18n/es/Laravel/rules/11-security-laravel.md +787 -0
  260. package/Dev/i18n/es/Laravel/templates/action.template.php +79 -0
  261. package/Dev/i18n/es/Laravel/templates/controller.template.php +99 -0
  262. package/Dev/i18n/es/Laravel/templates/model.template.php +206 -0
  263. package/Dev/i18n/es/Laravel/templates/test.template.php +263 -0
  264. package/Dev/i18n/es/PHP/CLAUDE.md.template +460 -0
  265. package/Dev/i18n/es/PHP/agents/php-reviewer.md +345 -0
  266. package/Dev/i18n/es/PHP/checklists/new-feature.md +132 -0
  267. package/Dev/i18n/es/PHP/checklists/pre-commit.md +231 -0
  268. package/Dev/i18n/es/PHP/commands/check-architecture.md +557 -0
  269. package/Dev/i18n/es/PHP/commands/check-code-quality.md +448 -0
  270. package/Dev/i18n/es/PHP/commands/check-compliance.md +477 -0
  271. package/Dev/i18n/es/PHP/commands/check-security.md +420 -0
  272. package/Dev/i18n/es/PHP/commands/check-testing.md +486 -0
  273. package/Dev/i18n/es/PHP/rules/00-project-context.md.template +266 -0
  274. package/Dev/i18n/es/PHP/rules/02-architecture-php.md +696 -0
  275. package/Dev/i18n/es/PHP/rules/03-coding-standards.md +641 -0
  276. package/Dev/i18n/es/PHP/rules/06-tooling.md +543 -0
  277. package/Dev/i18n/es/PHP/rules/07-testing-php.md +636 -0
  278. package/Dev/i18n/es/PHP/rules/08-quality-tools.md +533 -0
  279. package/Dev/i18n/es/PHP/rules/11-security-php.md +759 -0
  280. package/Dev/i18n/es/PHP/templates/entity.md +435 -0
  281. package/Dev/i18n/es/PHP/templates/use-case.md +512 -0
  282. package/Dev/i18n/es/PHP/templates/value-object.md +555 -0
  283. package/Dev/i18n/es/VueJS/CLAUDE.md.template +102 -0
  284. package/Dev/i18n/es/VueJS/agents/vuejs-reviewer.md +206 -0
  285. package/Dev/i18n/es/VueJS/checklists/new-feature.md +131 -0
  286. package/Dev/i18n/es/VueJS/checklists/pre-commit.md +68 -0
  287. package/Dev/i18n/es/VueJS/commands/check-architecture.md +137 -0
  288. package/Dev/i18n/es/VueJS/commands/check-code-quality.md +152 -0
  289. package/Dev/i18n/es/VueJS/commands/check-compliance.md +124 -0
  290. package/Dev/i18n/es/VueJS/commands/check-security.md +186 -0
  291. package/Dev/i18n/es/VueJS/commands/check-testing.md +185 -0
  292. package/Dev/i18n/es/VueJS/commands/generate-component.md +233 -0
  293. package/Dev/i18n/es/VueJS/rules/00-project-context.md.template +125 -0
  294. package/Dev/i18n/es/VueJS/rules/02-architecture-vuejs.md +375 -0
  295. package/Dev/i18n/es/VueJS/rules/03-coding-standards.md +502 -0
  296. package/Dev/i18n/es/VueJS/rules/06-tooling.md +422 -0
  297. package/Dev/i18n/es/VueJS/rules/07-testing-vuejs.md +606 -0
  298. package/Dev/i18n/es/VueJS/rules/08-quality-tools.md +441 -0
  299. package/Dev/i18n/es/VueJS/rules/11-security-vuejs.md +465 -0
  300. package/Dev/i18n/es/VueJS/templates/component.template.vue +133 -0
  301. package/Dev/i18n/es/VueJS/templates/composable.template.ts +162 -0
  302. package/Dev/i18n/es/VueJS/templates/store.template.ts +282 -0
  303. package/Dev/i18n/es/VueJS/templates/test.template.ts +233 -0
  304. package/Dev/i18n/fr/Angular/CLAUDE.md.template +49 -0
  305. package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +213 -0
  306. package/Dev/i18n/fr/Angular/checklists/new-feature.md +125 -0
  307. package/Dev/i18n/fr/Angular/checklists/pre-commit.md +77 -0
  308. package/Dev/i18n/fr/Angular/commands/check-architecture.md +261 -0
  309. package/Dev/i18n/fr/Angular/commands/check-code-quality.md +238 -0
  310. package/Dev/i18n/fr/Angular/commands/check-compliance.md +199 -0
  311. package/Dev/i18n/fr/Angular/commands/check-security.md +263 -0
  312. package/Dev/i18n/fr/Angular/commands/check-testing.md +292 -0
  313. package/Dev/i18n/fr/Angular/commands/generate-component.md +220 -0
  314. package/Dev/i18n/fr/Angular/rules/00-project-context.md.template +78 -0
  315. package/Dev/i18n/fr/Angular/rules/02-architecture-angular.md +477 -0
  316. package/Dev/i18n/fr/Angular/rules/03-coding-standards.md +640 -0
  317. package/Dev/i18n/fr/Angular/rules/06-tooling.md +516 -0
  318. package/Dev/i18n/fr/Angular/rules/07-testing-angular.md +739 -0
  319. package/Dev/i18n/fr/Angular/rules/08-quality-tools.md +501 -0
  320. package/Dev/i18n/fr/Angular/rules/11-security-angular.md +497 -0
  321. package/Dev/i18n/fr/Angular/templates/component.template.ts +115 -0
  322. package/Dev/i18n/fr/Angular/templates/service.template.ts +203 -0
  323. package/Dev/i18n/fr/CSharp/CLAUDE.md.template +65 -0
  324. package/Dev/i18n/fr/CSharp/agents/csharp-reviewer.md +166 -0
  325. package/Dev/i18n/fr/CSharp/checklists/new-feature.md +178 -0
  326. package/Dev/i18n/fr/CSharp/checklists/pre-commit.md +126 -0
  327. package/Dev/i18n/fr/CSharp/commands/check-architecture.md +294 -0
  328. package/Dev/i18n/fr/CSharp/commands/check-code-quality.md +355 -0
  329. package/Dev/i18n/fr/CSharp/commands/check-compliance.md +178 -0
  330. package/Dev/i18n/fr/CSharp/commands/check-security.md +369 -0
  331. package/Dev/i18n/fr/CSharp/commands/check-testing.md +295 -0
  332. package/Dev/i18n/fr/CSharp/commands/generate-feature.md +481 -0
  333. package/Dev/i18n/fr/CSharp/rules/00-project-context.md.template +100 -0
  334. package/Dev/i18n/fr/CSharp/rules/02-architecture-csharp.md +536 -0
  335. package/Dev/i18n/fr/CSharp/rules/03-coding-standards.md +494 -0
  336. package/Dev/i18n/fr/CSharp/rules/06-tooling.md +493 -0
  337. package/Dev/i18n/fr/CSharp/rules/07-testing-csharp.md +566 -0
  338. package/Dev/i18n/fr/CSharp/rules/08-quality-tools.md +497 -0
  339. package/Dev/i18n/fr/CSharp/rules/11-security-csharp.md +568 -0
  340. package/Dev/i18n/fr/CSharp/rules/12-aspire-cloud-native.md +514 -0
  341. package/Dev/i18n/fr/CSharp/templates/command-handler.template.cs +100 -0
  342. package/Dev/i18n/fr/CSharp/templates/entity.template.cs +159 -0
  343. package/Dev/i18n/fr/Common/commands/add-technology.md +293 -0
  344. package/Dev/i18n/fr/Laravel/CLAUDE.md.template +104 -0
  345. package/Dev/i18n/fr/Laravel/agents/laravel-reviewer.md +200 -0
  346. package/Dev/i18n/fr/Laravel/checklists/new-feature.md +277 -0
  347. package/Dev/i18n/fr/Laravel/checklists/pre-commit.md +156 -0
  348. package/Dev/i18n/fr/Laravel/commands/check-architecture.md +306 -0
  349. package/Dev/i18n/fr/Laravel/commands/check-code-quality.md +302 -0
  350. package/Dev/i18n/fr/Laravel/commands/check-compliance.md +141 -0
  351. package/Dev/i18n/fr/Laravel/commands/check-security.md +372 -0
  352. package/Dev/i18n/fr/Laravel/commands/check-testing.md +397 -0
  353. package/Dev/i18n/fr/Laravel/commands/generate-controller.md +388 -0
  354. package/Dev/i18n/fr/Laravel/rules/00-project-context.md.template +140 -0
  355. package/Dev/i18n/fr/Laravel/rules/02-architecture-laravel.md +644 -0
  356. package/Dev/i18n/fr/Laravel/rules/03-coding-standards.md +573 -0
  357. package/Dev/i18n/fr/Laravel/rules/06-tooling.md +580 -0
  358. package/Dev/i18n/fr/Laravel/rules/07-testing-laravel.md +525 -0
  359. package/Dev/i18n/fr/Laravel/rules/08-quality-tools.md +591 -0
  360. package/Dev/i18n/fr/Laravel/rules/11-security-laravel.md +787 -0
  361. package/Dev/i18n/fr/Laravel/templates/action.template.php +79 -0
  362. package/Dev/i18n/fr/Laravel/templates/controller.template.php +99 -0
  363. package/Dev/i18n/fr/Laravel/templates/model.template.php +206 -0
  364. package/Dev/i18n/fr/Laravel/templates/test.template.php +263 -0
  365. package/Dev/i18n/fr/PHP/CLAUDE.md.template +460 -0
  366. package/Dev/i18n/fr/PHP/agents/php-reviewer.md +345 -0
  367. package/Dev/i18n/fr/PHP/checklists/new-feature.md +132 -0
  368. package/Dev/i18n/fr/PHP/checklists/pre-commit.md +231 -0
  369. package/Dev/i18n/fr/PHP/commands/check-architecture.md +557 -0
  370. package/Dev/i18n/fr/PHP/commands/check-code-quality.md +448 -0
  371. package/Dev/i18n/fr/PHP/commands/check-compliance.md +477 -0
  372. package/Dev/i18n/fr/PHP/commands/check-security.md +420 -0
  373. package/Dev/i18n/fr/PHP/commands/check-testing.md +486 -0
  374. package/Dev/i18n/fr/PHP/rules/00-project-context.md.template +266 -0
  375. package/Dev/i18n/fr/PHP/rules/02-architecture-php.md +506 -0
  376. package/Dev/i18n/fr/PHP/rules/03-coding-standards.md +585 -0
  377. package/Dev/i18n/fr/PHP/rules/06-tooling.md +543 -0
  378. package/Dev/i18n/fr/PHP/rules/07-testing-php.md +636 -0
  379. package/Dev/i18n/fr/PHP/rules/08-quality-tools.md +533 -0
  380. package/Dev/i18n/fr/PHP/rules/11-security-php.md +642 -0
  381. package/Dev/i18n/fr/PHP/templates/entity.md +435 -0
  382. package/Dev/i18n/fr/PHP/templates/use-case.md +512 -0
  383. package/Dev/i18n/fr/PHP/templates/value-object.md +555 -0
  384. package/Dev/i18n/fr/VueJS/CLAUDE.md.template +102 -0
  385. package/Dev/i18n/fr/VueJS/agents/vuejs-reviewer.md +206 -0
  386. package/Dev/i18n/fr/VueJS/checklists/new-feature.md +131 -0
  387. package/Dev/i18n/fr/VueJS/checklists/pre-commit.md +68 -0
  388. package/Dev/i18n/fr/VueJS/commands/check-architecture.md +137 -0
  389. package/Dev/i18n/fr/VueJS/commands/check-code-quality.md +152 -0
  390. package/Dev/i18n/fr/VueJS/commands/check-compliance.md +124 -0
  391. package/Dev/i18n/fr/VueJS/commands/check-security.md +186 -0
  392. package/Dev/i18n/fr/VueJS/commands/check-testing.md +185 -0
  393. package/Dev/i18n/fr/VueJS/commands/generate-component.md +233 -0
  394. package/Dev/i18n/fr/VueJS/rules/00-project-context.md.template +125 -0
  395. package/Dev/i18n/fr/VueJS/rules/02-architecture-vuejs.md +375 -0
  396. package/Dev/i18n/fr/VueJS/rules/03-coding-standards.md +502 -0
  397. package/Dev/i18n/fr/VueJS/rules/06-tooling.md +422 -0
  398. package/Dev/i18n/fr/VueJS/rules/07-testing-vuejs.md +606 -0
  399. package/Dev/i18n/fr/VueJS/rules/08-quality-tools.md +441 -0
  400. package/Dev/i18n/fr/VueJS/rules/11-security-vuejs.md +465 -0
  401. package/Dev/i18n/fr/VueJS/templates/component.template.vue +133 -0
  402. package/Dev/i18n/fr/VueJS/templates/composable.template.ts +162 -0
  403. package/Dev/i18n/fr/VueJS/templates/store.template.ts +282 -0
  404. package/Dev/i18n/fr/VueJS/templates/test.template.ts +233 -0
  405. package/Dev/i18n/pt/Angular/CLAUDE.md.template +49 -0
  406. package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +213 -0
  407. package/Dev/i18n/pt/Angular/checklists/new-feature.md +125 -0
  408. package/Dev/i18n/pt/Angular/checklists/pre-commit.md +77 -0
  409. package/Dev/i18n/pt/Angular/commands/check-architecture.md +261 -0
  410. package/Dev/i18n/pt/Angular/commands/check-code-quality.md +238 -0
  411. package/Dev/i18n/pt/Angular/commands/check-compliance.md +199 -0
  412. package/Dev/i18n/pt/Angular/commands/check-security.md +263 -0
  413. package/Dev/i18n/pt/Angular/commands/check-testing.md +292 -0
  414. package/Dev/i18n/pt/Angular/commands/generate-component.md +220 -0
  415. package/Dev/i18n/pt/Angular/rules/00-project-context.md.template +78 -0
  416. package/Dev/i18n/pt/Angular/rules/02-architecture-angular.md +477 -0
  417. package/Dev/i18n/pt/Angular/rules/03-coding-standards.md +640 -0
  418. package/Dev/i18n/pt/Angular/rules/06-tooling.md +516 -0
  419. package/Dev/i18n/pt/Angular/rules/07-testing-angular.md +739 -0
  420. package/Dev/i18n/pt/Angular/rules/08-quality-tools.md +501 -0
  421. package/Dev/i18n/pt/Angular/rules/11-security-angular.md +497 -0
  422. package/Dev/i18n/pt/Angular/templates/component.template.ts +115 -0
  423. package/Dev/i18n/pt/Angular/templates/service.template.ts +203 -0
  424. package/Dev/i18n/pt/CSharp/CLAUDE.md.template +65 -0
  425. package/Dev/i18n/pt/CSharp/agents/csharp-reviewer.md +166 -0
  426. package/Dev/i18n/pt/CSharp/checklists/new-feature.md +178 -0
  427. package/Dev/i18n/pt/CSharp/checklists/pre-commit.md +126 -0
  428. package/Dev/i18n/pt/CSharp/commands/check-architecture.md +294 -0
  429. package/Dev/i18n/pt/CSharp/commands/check-code-quality.md +355 -0
  430. package/Dev/i18n/pt/CSharp/commands/check-compliance.md +178 -0
  431. package/Dev/i18n/pt/CSharp/commands/check-security.md +369 -0
  432. package/Dev/i18n/pt/CSharp/commands/check-testing.md +295 -0
  433. package/Dev/i18n/pt/CSharp/commands/generate-feature.md +481 -0
  434. package/Dev/i18n/pt/CSharp/rules/00-project-context.md.template +100 -0
  435. package/Dev/i18n/pt/CSharp/rules/02-architecture-csharp.md +536 -0
  436. package/Dev/i18n/pt/CSharp/rules/03-coding-standards.md +494 -0
  437. package/Dev/i18n/pt/CSharp/rules/06-tooling.md +493 -0
  438. package/Dev/i18n/pt/CSharp/rules/07-testing-csharp.md +566 -0
  439. package/Dev/i18n/pt/CSharp/rules/08-quality-tools.md +497 -0
  440. package/Dev/i18n/pt/CSharp/rules/11-security-csharp.md +568 -0
  441. package/Dev/i18n/pt/CSharp/rules/12-aspire-cloud-native.md +514 -0
  442. package/Dev/i18n/pt/CSharp/templates/command-handler.template.cs +100 -0
  443. package/Dev/i18n/pt/CSharp/templates/entity.template.cs +159 -0
  444. package/Dev/i18n/pt/Common/commands/add-technology.md +195 -0
  445. package/Dev/i18n/pt/Laravel/CLAUDE.md.template +104 -0
  446. package/Dev/i18n/pt/Laravel/agents/laravel-reviewer.md +200 -0
  447. package/Dev/i18n/pt/Laravel/checklists/new-feature.md +277 -0
  448. package/Dev/i18n/pt/Laravel/checklists/pre-commit.md +156 -0
  449. package/Dev/i18n/pt/Laravel/commands/check-architecture.md +306 -0
  450. package/Dev/i18n/pt/Laravel/commands/check-code-quality.md +302 -0
  451. package/Dev/i18n/pt/Laravel/commands/check-compliance.md +141 -0
  452. package/Dev/i18n/pt/Laravel/commands/check-security.md +372 -0
  453. package/Dev/i18n/pt/Laravel/commands/check-testing.md +397 -0
  454. package/Dev/i18n/pt/Laravel/commands/generate-controller.md +388 -0
  455. package/Dev/i18n/pt/Laravel/rules/00-project-context.md.template +140 -0
  456. package/Dev/i18n/pt/Laravel/rules/02-architecture-laravel.md +644 -0
  457. package/Dev/i18n/pt/Laravel/rules/03-coding-standards.md +573 -0
  458. package/Dev/i18n/pt/Laravel/rules/06-tooling.md +580 -0
  459. package/Dev/i18n/pt/Laravel/rules/07-testing-laravel.md +525 -0
  460. package/Dev/i18n/pt/Laravel/rules/08-quality-tools.md +591 -0
  461. package/Dev/i18n/pt/Laravel/rules/11-security-laravel.md +787 -0
  462. package/Dev/i18n/pt/Laravel/templates/action.template.php +79 -0
  463. package/Dev/i18n/pt/Laravel/templates/controller.template.php +99 -0
  464. package/Dev/i18n/pt/Laravel/templates/model.template.php +206 -0
  465. package/Dev/i18n/pt/Laravel/templates/test.template.php +263 -0
  466. package/Dev/i18n/pt/PHP/CLAUDE.md.template +460 -0
  467. package/Dev/i18n/pt/PHP/agents/php-reviewer.md +345 -0
  468. package/Dev/i18n/pt/PHP/checklists/new-feature.md +132 -0
  469. package/Dev/i18n/pt/PHP/checklists/pre-commit.md +231 -0
  470. package/Dev/i18n/pt/PHP/commands/check-architecture.md +557 -0
  471. package/Dev/i18n/pt/PHP/commands/check-code-quality.md +448 -0
  472. package/Dev/i18n/pt/PHP/commands/check-compliance.md +477 -0
  473. package/Dev/i18n/pt/PHP/commands/check-security.md +420 -0
  474. package/Dev/i18n/pt/PHP/commands/check-testing.md +486 -0
  475. package/Dev/i18n/pt/PHP/rules/00-project-context.md.template +266 -0
  476. package/Dev/i18n/pt/PHP/rules/02-architecture-php.md +696 -0
  477. package/Dev/i18n/pt/PHP/rules/03-coding-standards.md +641 -0
  478. package/Dev/i18n/pt/PHP/rules/06-tooling.md +543 -0
  479. package/Dev/i18n/pt/PHP/rules/07-testing-php.md +636 -0
  480. package/Dev/i18n/pt/PHP/rules/08-quality-tools.md +533 -0
  481. package/Dev/i18n/pt/PHP/rules/11-security-php.md +759 -0
  482. package/Dev/i18n/pt/PHP/templates/entity.md +435 -0
  483. package/Dev/i18n/pt/PHP/templates/use-case.md +512 -0
  484. package/Dev/i18n/pt/PHP/templates/value-object.md +555 -0
  485. package/Dev/i18n/pt/VueJS/CLAUDE.md.template +102 -0
  486. package/Dev/i18n/pt/VueJS/agents/vuejs-reviewer.md +206 -0
  487. package/Dev/i18n/pt/VueJS/checklists/new-feature.md +131 -0
  488. package/Dev/i18n/pt/VueJS/checklists/pre-commit.md +68 -0
  489. package/Dev/i18n/pt/VueJS/commands/check-architecture.md +137 -0
  490. package/Dev/i18n/pt/VueJS/commands/check-code-quality.md +152 -0
  491. package/Dev/i18n/pt/VueJS/commands/check-compliance.md +124 -0
  492. package/Dev/i18n/pt/VueJS/commands/check-security.md +186 -0
  493. package/Dev/i18n/pt/VueJS/commands/check-testing.md +185 -0
  494. package/Dev/i18n/pt/VueJS/commands/generate-component.md +233 -0
  495. package/Dev/i18n/pt/VueJS/rules/00-project-context.md.template +125 -0
  496. package/Dev/i18n/pt/VueJS/rules/02-architecture-vuejs.md +375 -0
  497. package/Dev/i18n/pt/VueJS/rules/03-coding-standards.md +502 -0
  498. package/Dev/i18n/pt/VueJS/rules/06-tooling.md +422 -0
  499. package/Dev/i18n/pt/VueJS/rules/07-testing-vuejs.md +606 -0
  500. package/Dev/i18n/pt/VueJS/rules/08-quality-tools.md +441 -0
  501. package/Dev/i18n/pt/VueJS/rules/11-security-vuejs.md +465 -0
  502. package/Dev/i18n/pt/VueJS/templates/component.template.vue +133 -0
  503. package/Dev/i18n/pt/VueJS/templates/composable.template.ts +162 -0
  504. package/Dev/i18n/pt/VueJS/templates/store.template.ts +282 -0
  505. package/Dev/i18n/pt/VueJS/templates/test.template.ts +233 -0
  506. package/Dev/scripts/install-angular-rules.sh +543 -0
  507. package/Dev/scripts/install-common-rules.sh +13 -1
  508. package/Dev/scripts/install-csharp-rules.sh +544 -0
  509. package/Dev/scripts/install-flutter-rules.sh +17 -4
  510. package/Dev/scripts/install-from-config.sh +61 -23
  511. package/Dev/scripts/install-laravel-rules.sh +552 -0
  512. package/Dev/scripts/install-php-rules.sh +537 -0
  513. package/Dev/scripts/install-python-rules.sh +17 -4
  514. package/Dev/scripts/install-react-rules.sh +17 -4
  515. package/Dev/scripts/install-reactnative-rules.sh +17 -4
  516. package/Dev/scripts/install-symfony-rules.sh +22 -4
  517. package/Dev/scripts/install-vuejs-rules.sh +588 -0
  518. package/README.md +68 -2
  519. package/Tools/Ralph/README.md +106 -10
  520. package/Tools/Ralph/lib/checkpoint.sh +15 -9
  521. package/Tools/Ralph/lib/circuit-breaker.sh +16 -7
  522. package/Tools/Ralph/lib/context-manager.sh +473 -0
  523. package/Tools/Ralph/lib/context-reconstruction.sh +329 -0
  524. package/Tools/Ralph/lib/dod-validator.sh +17 -4
  525. package/Tools/Ralph/lib/loop.sh +33 -10
  526. package/Tools/Ralph/lib/session.sh +88 -33
  527. package/Tools/Ralph/lib/sprint-progress.sh +832 -0
  528. package/Tools/Ralph/lib/utils.sh +362 -0
  529. package/Tools/Ralph/ralph.sh +172 -14
  530. package/Tools/Ralph/templates/ralph.yml.template +87 -0
  531. package/Tools/Ralph/templates/sprint-progress.md.template +72 -0
  532. package/Tools/i18n/ralph/de.sh +31 -0
  533. package/Tools/i18n/ralph/en.sh +31 -0
  534. package/Tools/i18n/ralph/es.sh +31 -0
  535. package/Tools/i18n/ralph/fr.sh +31 -0
  536. package/Tools/i18n/ralph/pt.sh +31 -0
  537. package/package.json +1 -1
@@ -0,0 +1,355 @@
1
+ ---
2
+ description: Run comprehensive code quality analysis on C#/.NET project
3
+ ---
4
+
5
+ # C#/.NET Code Quality Check
6
+
7
+ You are a C#/.NET code quality expert. Analyze the codebase for code smells, anti-patterns, and quality issues.
8
+
9
+ ## Analysis Areas
10
+
11
+ ### 1. Async/Await Patterns
12
+
13
+ **Check for anti-patterns:**
14
+
15
+ ```csharp
16
+ // ❌ BAD: Blocking on async code
17
+ var result = GetDataAsync().Result; // Deadlock risk!
18
+ var data = GetDataAsync().GetAwaiter().GetResult(); // Also bad
19
+ task.Wait(); // Blocking
20
+
21
+ // ✅ GOOD: Proper async
22
+ var result = await GetDataAsync();
23
+ await task;
24
+
25
+ // ❌ BAD: async void (except event handlers)
26
+ public async void ProcessOrder(Guid id) { }
27
+
28
+ // ✅ GOOD: async Task
29
+ public async Task ProcessOrderAsync(Guid id) { }
30
+
31
+ // ❌ BAD: Missing CancellationToken
32
+ public async Task<Order> GetOrderAsync(Guid id) { }
33
+
34
+ // ✅ GOOD: CancellationToken propagated
35
+ public async Task<Order> GetOrderAsync(Guid id, CancellationToken ct = default) { }
36
+ ```
37
+
38
+ ### 2. LINQ Performance
39
+
40
+ **Inefficient patterns:**
41
+
42
+ ```csharp
43
+ // ❌ BAD: Multiple enumerations
44
+ var list = items.Where(x => x.Active);
45
+ var count = list.Count();
46
+ var first = list.First();
47
+
48
+ // ✅ GOOD: Single enumeration
49
+ var list = items.Where(x => x.Active).ToList();
50
+ var count = list.Count;
51
+ var first = list[0];
52
+
53
+ // ❌ BAD: N+1 query problem
54
+ var orders = await _context.Orders.ToListAsync();
55
+ foreach (var order in orders)
56
+ {
57
+ var items = await _context.OrderItems // N additional queries!
58
+ .Where(i => i.OrderId == order.Id)
59
+ .ToListAsync();
60
+ }
61
+
62
+ // ✅ GOOD: Eager loading
63
+ var orders = await _context.Orders
64
+ .Include(o => o.Items)
65
+ .ToListAsync();
66
+
67
+ // ❌ BAD: Loading all columns
68
+ var orders = await _context.Orders.ToListAsync();
69
+ return orders.Select(o => new { o.Id, o.Status });
70
+
71
+ // ✅ GOOD: Projection at database level
72
+ var orders = await _context.Orders
73
+ .Select(o => new OrderSummaryDto { Id = o.Id, Status = o.Status })
74
+ .ToListAsync();
75
+ ```
76
+
77
+ ### 3. Memory Management
78
+
79
+ **Memory issues:**
80
+
81
+ ```csharp
82
+ // ❌ BAD: String concatenation in loops
83
+ var result = "";
84
+ foreach (var item in items)
85
+ {
86
+ result += item.ToString() + ","; // Creates new string each iteration
87
+ }
88
+
89
+ // ✅ GOOD: StringBuilder
90
+ var sb = new StringBuilder();
91
+ foreach (var item in items)
92
+ {
93
+ sb.Append(item.ToString()).Append(',');
94
+ }
95
+
96
+ // ❌ BAD: Large object allocations
97
+ var hugeArray = new byte[100_000_000]; // Goes to LOH
98
+
99
+ // ✅ GOOD: ArrayPool for large arrays
100
+ var array = ArrayPool<byte>.Shared.Rent(100_000_000);
101
+ try { /* use array */ }
102
+ finally { ArrayPool<byte>.Shared.Return(array); }
103
+ ```
104
+
105
+ ### 4. Exception Handling
106
+
107
+ **Anti-patterns:**
108
+
109
+ ```csharp
110
+ // ❌ BAD: Empty catch
111
+ try { DoSomething(); }
112
+ catch { } // Swallowing exceptions!
113
+
114
+ // ❌ BAD: Catching Exception
115
+ try { DoSomething(); }
116
+ catch (Exception ex) { Log(ex); } // Too broad
117
+
118
+ // ✅ GOOD: Specific exceptions
119
+ try { DoSomething(); }
120
+ catch (OrderNotFoundException ex)
121
+ {
122
+ _logger.LogWarning(ex, "Order not found");
123
+ throw; // Re-throw domain exceptions
124
+ }
125
+ catch (DbUpdateException ex)
126
+ {
127
+ _logger.LogError(ex, "Database error");
128
+ throw new InfrastructureException("Failed to save", ex);
129
+ }
130
+
131
+ // ❌ BAD: throw ex (loses stack trace)
132
+ catch (Exception ex)
133
+ {
134
+ Log(ex);
135
+ throw ex; // Stack trace lost!
136
+ }
137
+
138
+ // ✅ GOOD: throw (preserves stack trace)
139
+ catch (Exception ex)
140
+ {
141
+ Log(ex);
142
+ throw; // Stack trace preserved
143
+ }
144
+ ```
145
+
146
+ ### 5. Null Safety
147
+
148
+ **Check nullable reference types:**
149
+
150
+ ```csharp
151
+ // ❌ BAD: Nullable warnings ignored
152
+ public Order GetOrder(Guid id)
153
+ {
154
+ return _orders.FirstOrDefault(o => o.Id == id); // May return null!
155
+ }
156
+
157
+ // ✅ GOOD: Explicit nullability
158
+ public Order? GetOrder(Guid id)
159
+ {
160
+ return _orders.FirstOrDefault(o => o.Id == id);
161
+ }
162
+
163
+ // ✅ GOOD: Throw on null
164
+ public Order GetRequiredOrder(Guid id)
165
+ {
166
+ return _orders.FirstOrDefault(o => o.Id == id)
167
+ ?? throw new OrderNotFoundException(id);
168
+ }
169
+
170
+ // ❌ BAD: Null reference potential
171
+ var name = customer.Address.City; // Address could be null!
172
+
173
+ // ✅ GOOD: Null-conditional
174
+ var name = customer.Address?.City ?? "Unknown";
175
+ ```
176
+
177
+ ### 6. Disposable Resources
178
+
179
+ ```csharp
180
+ // ❌ BAD: Not disposing
181
+ var client = new HttpClient();
182
+ var result = await client.GetAsync(url);
183
+ // HttpClient never disposed!
184
+
185
+ // ✅ GOOD: Using statement
186
+ using var client = new HttpClient();
187
+ var result = await client.GetAsync(url);
188
+
189
+ // ✅ BETTER: IHttpClientFactory (for HttpClient)
190
+ public class OrderService
191
+ {
192
+ private readonly HttpClient _httpClient;
193
+
194
+ public OrderService(IHttpClientFactory factory)
195
+ {
196
+ _httpClient = factory.CreateClient("OrderApi");
197
+ }
198
+ }
199
+ ```
200
+
201
+ ### 7. Thread Safety
202
+
203
+ ```csharp
204
+ // ❌ BAD: Shared mutable state
205
+ public class OrderCounter
206
+ {
207
+ private int _count;
208
+
209
+ public void Increment() => _count++; // Not thread-safe!
210
+ }
211
+
212
+ // ✅ GOOD: Interlocked
213
+ public class OrderCounter
214
+ {
215
+ private int _count;
216
+
217
+ public void Increment() => Interlocked.Increment(ref _count);
218
+ }
219
+
220
+ // ❌ BAD: Non-thread-safe collection
221
+ private List<Order> _orders = new();
222
+
223
+ public void Add(Order order) => _orders.Add(order); // Not thread-safe!
224
+
225
+ // ✅ GOOD: Concurrent collection
226
+ private ConcurrentBag<Order> _orders = new();
227
+
228
+ public void Add(Order order) => _orders.Add(order);
229
+ ```
230
+
231
+ ## Output Format
232
+
233
+ ```
234
+ ══════════════════════════════════════════════════════════════
235
+ CODE QUALITY ANALYSIS REPORT
236
+ ══════════════════════════════════════════════════════════════
237
+
238
+ Project: {ProjectName}
239
+ Files Analyzed: {Count}
240
+ Analysis Date: {Date}
241
+
242
+ ──────────────────────────────────────────────────────────────
243
+ ASYNC/AWAIT PATTERNS
244
+ ──────────────────────────────────────────────────────────────
245
+
246
+ Issues Found: 3
247
+
248
+ [CRITICAL] Blocking call detected
249
+ File: OrderService.cs:45
250
+ Code: var result = GetOrderAsync().Result;
251
+ Fix: Replace with 'await GetOrderAsync()'
252
+
253
+ [HIGH] Missing CancellationToken
254
+ File: OrderRepository.cs:23
255
+ Fix: Add CancellationToken parameter
256
+
257
+ [MEDIUM] async void method
258
+ File: EventHandler.cs:12
259
+ Fix: Change to async Task (unless event handler)
260
+
261
+ ──────────────────────────────────────────────────────────────
262
+ LINQ PERFORMANCE
263
+ ──────────────────────────────────────────────────────────────
264
+
265
+ Issues Found: 2
266
+
267
+ [HIGH] N+1 Query detected
268
+ File: OrderController.cs:34-42
269
+ Fix: Use Include() for eager loading
270
+
271
+ [MEDIUM] Multiple enumeration
272
+ File: ReportService.cs:56
273
+ Fix: Materialize with ToList() before reuse
274
+
275
+ ──────────────────────────────────────────────────────────────
276
+ MEMORY MANAGEMENT
277
+ ──────────────────────────────────────────────────────────────
278
+
279
+ Issues Found: 1
280
+
281
+ [MEDIUM] String concatenation in loop
282
+ File: ExportService.cs:78
283
+ Fix: Use StringBuilder instead
284
+
285
+ ──────────────────────────────────────────────────────────────
286
+ EXCEPTION HANDLING
287
+ ──────────────────────────────────────────────────────────────
288
+
289
+ Issues Found: 2
290
+
291
+ [CRITICAL] Empty catch block
292
+ File: PaymentService.cs:92
293
+ Fix: Log exception and handle appropriately
294
+
295
+ [HIGH] Catching generic Exception
296
+ File: OrderProcessor.cs:67
297
+ Fix: Catch specific exception types
298
+
299
+ ──────────────────────────────────────────────────────────────
300
+ NULL SAFETY
301
+ ──────────────────────────────────────────────────────────────
302
+
303
+ Issues Found: 4
304
+
305
+ [HIGH] Possible null reference
306
+ File: CustomerService.cs:34
307
+ Fix: Add null check or use null-conditional operator
308
+
309
+ ──────────────────────────────────────────────────────────────
310
+ DISPOSABLE RESOURCES
311
+ ──────────────────────────────────────────────────────────────
312
+
313
+ Issues Found: 1
314
+
315
+ [MEDIUM] HttpClient not disposed
316
+ File: ExternalApiClient.cs:23
317
+ Fix: Use IHttpClientFactory or using statement
318
+
319
+ ──────────────────────────────────────────────────────────────
320
+ THREAD SAFETY
321
+ ──────────────────────────────────────────────────────────────
322
+
323
+ Issues Found: 0
324
+
325
+ [✓] No thread safety issues detected
326
+
327
+ ══════════════════════════════════════════════════════════════
328
+ SUMMARY
329
+ ══════════════════════════════════════════════════════════════
330
+
331
+ Total Issues: 13
332
+ Critical: 2
333
+ High: 5
334
+ Medium: 6
335
+ Low: 0
336
+
337
+ Code Quality Score: 72/100
338
+
339
+ Priority Actions:
340
+ 1. Fix blocking calls in OrderService.cs
341
+ 2. Remove empty catch in PaymentService.cs
342
+ 3. Fix N+1 query in OrderController.cs
343
+ 4. Add null checks in CustomerService.cs
344
+ ```
345
+
346
+ ## Scoring Criteria
347
+
348
+ | Severity | Weight | Impact |
349
+ |----------|--------|--------|
350
+ | Critical | -15 pts | Deadlocks, data loss risk |
351
+ | High | -10 pts | Performance, reliability |
352
+ | Medium | -5 pts | Maintainability |
353
+ | Low | -2 pts | Code style |
354
+
355
+ Base score: 100, deduct per issue found.
@@ -0,0 +1,178 @@
1
+ ---
2
+ description: Verify C#/.NET project compliance with Clean Architecture and coding standards
3
+ ---
4
+
5
+ # C#/.NET Compliance Check
6
+
7
+ You are a C#/.NET compliance expert. Analyze the project to verify adherence to Clean Architecture principles and modern .NET best practices.
8
+
9
+ ## Analysis Scope
10
+
11
+ ### 1. Architecture Compliance
12
+
13
+ Check layer separation and dependencies:
14
+
15
+ ```
16
+ Expected Structure:
17
+ src/
18
+ ├── Domain/ → NO external dependencies
19
+ ├── Application/ → Only depends on Domain
20
+ ├── Infrastructure/ → Implements Domain/Application interfaces
21
+ └── WebAPI/ → Presentation layer
22
+
23
+ Dependency Rule: Dependencies MUST flow inward only
24
+ ```
25
+
26
+ **Verify:**
27
+ - [ ] Domain has no references to Infrastructure or Application
28
+ - [ ] Application only references Domain
29
+ - [ ] Infrastructure implements interfaces from Domain/Application
30
+ - [ ] No circular dependencies between projects
31
+
32
+ ### 2. Clean Architecture Patterns
33
+
34
+ **Domain Layer:**
35
+ - [ ] Entities have private setters
36
+ - [ ] Value Objects are immutable
37
+ - [ ] Aggregate roots are identified
38
+ - [ ] Domain events are used for side effects
39
+ - [ ] Repository interfaces defined in Domain
40
+
41
+ **Application Layer:**
42
+ - [ ] CQRS pattern implemented (Commands/Queries)
43
+ - [ ] MediatR used for decoupling
44
+ - [ ] FluentValidation for input validation
45
+ - [ ] DTOs used for data transfer
46
+ - [ ] No direct entity exposure to API
47
+
48
+ **Infrastructure Layer:**
49
+ - [ ] EF Core configurations in separate files
50
+ - [ ] Repository pattern implementations
51
+ - [ ] External service implementations
52
+
53
+ ### 3. Modern C# Features
54
+
55
+ **Check usage of:**
56
+ - [ ] File-scoped namespaces
57
+ - [ ] Primary constructors (where appropriate)
58
+ - [ ] Records for DTOs
59
+ - [ ] Pattern matching
60
+ - [ ] Nullable reference types enabled
61
+ - [ ] Collection expressions (C# 12)
62
+
63
+ ### 4. Coding Standards
64
+
65
+ **Naming Conventions:**
66
+ - [ ] PascalCase for public members
67
+ - [ ] _camelCase for private fields
68
+ - [ ] Async suffix on async methods
69
+ - [ ] I prefix for interfaces
70
+
71
+ **Code Quality:**
72
+ - [ ] No unused using directives
73
+ - [ ] No empty catch blocks
74
+ - [ ] Proper async/await usage (no .Result or .Wait())
75
+ - [ ] CancellationToken passed to async methods
76
+
77
+ ## Output Format
78
+
79
+ ```
80
+ ══════════════════════════════════════════════════════════════
81
+ C#/.NET COMPLIANCE REPORT
82
+ ══════════════════════════════════════════════════════════════
83
+
84
+ Project: {ProjectName}
85
+ Framework: .NET {Version}
86
+ Analysis Date: {Date}
87
+
88
+ ──────────────────────────────────────────────────────────────
89
+ ARCHITECTURE COMPLIANCE
90
+ ──────────────────────────────────────────────────────────────
91
+
92
+ Layer Separation:
93
+ [✓] Domain has no external dependencies
94
+ [✓] Application only references Domain
95
+ [✗] Infrastructure references Application directly
96
+ → Issue: OrderRepository.cs:15 - direct DbContext usage
97
+
98
+ Dependency Flow:
99
+ [✓] No circular dependencies detected
100
+
101
+ Score: 75/100
102
+
103
+ ──────────────────────────────────────────────────────────────
104
+ CLEAN ARCHITECTURE PATTERNS
105
+ ──────────────────────────────────────────────────────────────
106
+
107
+ Domain Layer:
108
+ [✓] Entities use private setters
109
+ [✓] Value Objects are immutable
110
+ [✗] Missing aggregate root markers
111
+ → Order.cs should implement IAggregateRoot
112
+
113
+ Application Layer:
114
+ [✓] CQRS pattern implemented
115
+ [✓] MediatR configured
116
+ [✗] Validation missing on CreateOrderCommand
117
+ → Add CreateOrderCommandValidator
118
+
119
+ Score: 80/100
120
+
121
+ ──────────────────────────────────────────────────────────────
122
+ MODERN C# FEATURES
123
+ ──────────────────────────────────────────────────────────────
124
+
125
+ [✓] File-scoped namespaces used
126
+ [✓] Nullable reference types enabled
127
+ [✗] Records not used for DTOs
128
+ → OrderDto.cs - consider converting to record
129
+ [✗] Pattern matching underutilized
130
+ → OrderService.cs:45 - use switch expression
131
+
132
+ Score: 70/100
133
+
134
+ ──────────────────────────────────────────────────────────────
135
+ CODING STANDARDS
136
+ ──────────────────────────────────────────────────────────────
137
+
138
+ Naming:
139
+ [✓] PascalCase for public members
140
+ [✓] Private fields use _camelCase prefix
141
+ [✗] Async method missing Async suffix
142
+ → OrderService.cs: GetOrder → GetOrderAsync
143
+
144
+ Code Quality:
145
+ [✓] No empty catch blocks
146
+ [✗] Blocking call detected
147
+ → Program.cs:23 - Replace .Result with await
148
+
149
+ Score: 85/100
150
+
151
+ ══════════════════════════════════════════════════════════════
152
+ OVERALL COMPLIANCE SCORE: 77/100
153
+ ══════════════════════════════════════════════════════════════
154
+
155
+ Priority Fixes:
156
+ 1. [HIGH] Remove blocking calls (.Result/.Wait())
157
+ 2. [HIGH] Add missing validators
158
+ 3. [MEDIUM] Convert DTOs to records
159
+ 4. [MEDIUM] Mark aggregate roots with IAggregateRoot
160
+ 5. [LOW] Rename async methods with Async suffix
161
+ ```
162
+
163
+ ## Scoring Criteria
164
+
165
+ | Category | Weight | Criteria |
166
+ |----------|--------|----------|
167
+ | Architecture | 30% | Layer separation, dependency flow |
168
+ | Clean Architecture | 25% | CQRS, DDD patterns, validation |
169
+ | Modern C# | 20% | Latest language features |
170
+ | Coding Standards | 25% | Naming, async patterns, quality |
171
+
172
+ ## Actions
173
+
174
+ After analysis:
175
+ 1. List all compliance issues found
176
+ 2. Prioritize by severity (HIGH/MEDIUM/LOW)
177
+ 3. Provide specific fix recommendations with code examples
178
+ 4. Calculate overall compliance score