@the-bearded-bear/claude-craft 8.8.1 → 8.8.2

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 (79) hide show
  1. package/Dev/i18n/de/Angular/commands/check-compliance.md +218 -168
  2. package/Dev/i18n/de/Common/agents/refactoring-specialist.md +146 -69
  3. package/Dev/i18n/de/Common/commands/add-technology.md +166 -68
  4. package/Dev/i18n/de/Common/commands/setup-ci.md +216 -33
  5. package/Dev/i18n/de/Laravel/commands/check-compliance.md +223 -115
  6. package/Dev/i18n/de/Python/checklists/new-feature.md +319 -44
  7. package/Dev/i18n/de/React/rules/02-architecture.md +483 -322
  8. package/Dev/i18n/de/React/rules/03-coding-standards.md +584 -368
  9. package/Dev/i18n/de/Symfony/commands/check-compliance.md +186 -114
  10. package/Dev/i18n/de/Symfony/rules/07-testing-symfony.md +679 -10
  11. package/Dev/i18n/de/UIUX/commands/a11y-component.md +284 -26
  12. package/Dev/i18n/de/UIUX/commands/design-tokens.md +199 -35
  13. package/Dev/i18n/de/UIUX/commands/user-flow.md +179 -16
  14. package/Dev/i18n/de/VueJS/commands/check-compliance.md +227 -102
  15. package/Dev/i18n/es/Angular/commands/check-compliance.md +217 -167
  16. package/Dev/i18n/es/Common/commands/add-technology.md +158 -60
  17. package/Dev/i18n/es/Laravel/commands/check-compliance.md +223 -115
  18. package/Dev/i18n/es/React/commands/check-testing.md +263 -169
  19. package/Dev/i18n/es/ReactNative/commands/check-testing.md +256 -198
  20. package/Dev/i18n/es/Symfony/commands/check-compliance.md +189 -117
  21. package/Dev/i18n/es/Symfony/commands/check-testing.md +301 -102
  22. package/Dev/i18n/es/Symfony/commands/migration-plan.md +267 -34
  23. package/Dev/i18n/es/UIUX/commands/a11y-component.md +274 -16
  24. package/Dev/i18n/es/UIUX/commands/design-tokens.md +186 -22
  25. package/Dev/i18n/es/UIUX/commands/user-flow.md +173 -10
  26. package/Dev/i18n/es/VueJS/commands/check-compliance.md +227 -102
  27. package/Dev/i18n/fr/Angular/commands/check-compliance.md +217 -167
  28. package/Dev/i18n/fr/Common/commands/ralph-run.md +138 -60
  29. package/Dev/i18n/fr/Laravel/commands/check-compliance.md +223 -115
  30. package/Dev/i18n/fr/React/commands/check-architecture.md +370 -53
  31. package/Dev/i18n/fr/React/commands/check-code-quality.md +454 -64
  32. package/Dev/i18n/fr/React/commands/check-testing.md +476 -102
  33. package/Dev/i18n/fr/Symfony/commands/check-compliance.md +188 -116
  34. package/Dev/i18n/fr/VueJS/commands/check-compliance.md +227 -102
  35. package/Dev/i18n/pt/Angular/commands/check-compliance.md +225 -175
  36. package/Dev/i18n/pt/Common/agents/ralph-conductor.md +211 -30
  37. package/Dev/i18n/pt/Common/commands/add-technology.md +149 -51
  38. package/Dev/i18n/pt/Common/commands/ralph-run.md +239 -35
  39. package/Dev/i18n/pt/Flutter/commands/analyze-performance.md +331 -46
  40. package/Dev/i18n/pt/Flutter/commands/check-compliance.md +234 -29
  41. package/Dev/i18n/pt/Flutter/commands/generate-feature.md +526 -51
  42. package/Dev/i18n/pt/Flutter/commands/generate-widget.md +515 -27
  43. package/Dev/i18n/pt/Flutter/commands/golden-update.md +322 -46
  44. package/Dev/i18n/pt/Flutter/commands/localization-check.md +278 -37
  45. package/Dev/i18n/pt/Laravel/commands/check-compliance.md +212 -104
  46. package/Dev/i18n/pt/React/commands/accessibility-check.md +151 -42
  47. package/Dev/i18n/pt/React/commands/bundle-analyze.md +300 -25
  48. package/Dev/i18n/pt/React/commands/check-architecture.md +369 -34
  49. package/Dev/i18n/pt/React/commands/check-code-quality.md +440 -34
  50. package/Dev/i18n/pt/React/commands/check-compliance.md +232 -62
  51. package/Dev/i18n/pt/React/commands/check-security.md +370 -31
  52. package/Dev/i18n/pt/React/commands/check-testing.md +473 -43
  53. package/Dev/i18n/pt/React/commands/generate-component.md +454 -19
  54. package/Dev/i18n/pt/React/commands/generate-hook.md +425 -24
  55. package/Dev/i18n/pt/React/commands/storybook-story.md +520 -35
  56. package/Dev/i18n/pt/ReactNative/commands/app-size.md +358 -387
  57. package/Dev/i18n/pt/ReactNative/commands/check-code-quality.md +246 -75
  58. package/Dev/i18n/pt/ReactNative/commands/check-compliance.md +191 -85
  59. package/Dev/i18n/pt/ReactNative/commands/check-security.md +363 -115
  60. package/Dev/i18n/pt/ReactNative/commands/check-testing.md +269 -79
  61. package/Dev/i18n/pt/ReactNative/commands/generate-screen.md +491 -324
  62. package/Dev/i18n/pt/ReactNative/commands/native-module.md +539 -82
  63. package/Dev/i18n/pt/ReactNative/commands/store-prepare.md +429 -185
  64. package/Dev/i18n/pt/ReactNative/rules/02-architecture.md +1084 -31
  65. package/Dev/i18n/pt/Symfony/commands/check-compliance.md +195 -123
  66. package/Dev/i18n/pt/UIUX/commands/a11y-audit.md +208 -24
  67. package/Dev/i18n/pt/UIUX/commands/a11y-component.md +281 -23
  68. package/Dev/i18n/pt/UIUX/commands/design-tokens.md +197 -33
  69. package/Dev/i18n/pt/UIUX/commands/user-flow.md +183 -20
  70. package/Dev/i18n/pt/VueJS/commands/check-compliance.md +228 -103
  71. package/Dev/i18n/pt/Workflow/commands/analyze.md +147 -146
  72. package/Dev/i18n/pt/Workflow/commands/design.md +205 -204
  73. package/Dev/i18n/pt/Workflow/commands/implement.md +184 -184
  74. package/Project/i18n/de/Sprint/commands/dev.md +339 -86
  75. package/Project/i18n/es/Sprint/commands/dev.md +342 -91
  76. package/Project/i18n/pt/Sprint/commands/dev.md +343 -92
  77. package/bundles/cursor/.cursorrules +1 -1
  78. package/bundles/windsurf/.windsurfrules +1 -1
  79. package/package.json +1 -1
@@ -1,128 +1,253 @@
1
1
  ---
2
- description: Audit Vue.js project compliance with coding standards and best practices
2
+ description: Vérification Complète de la Conformité Vue.js
3
+ argument-hint: [arguments]
3
4
  ---
4
5
 
5
- # Vue.js Compliance Audit
6
+ # Vérification Complète de la Conformité Vue.js
6
7
 
7
- You are an expert Vue.js auditor. Perform a comprehensive compliance check on this project.
8
+ ## Arguments
8
9
 
9
- ## MISSION
10
-
11
- Audit the project for compliance with Vue.js 3 best practices, Composition API standards, and TypeScript conventions.
10
+ $ARGUMENTS (optionnel : chemin du projet à analyser)
12
11
 
13
12
  ## Mode Plan
14
13
 
15
14
  > Le mode plan est activé automatiquement lorsque le périmètre couvre plusieurs modules ou nécessite une investigation transversale.
16
15
 
17
- ## AUDIT CHECKLIST
16
+ ## MISSION
18
17
 
19
- ### 1. Project Structure (20 points)
18
+ Réaliser un audit complet de conformité du projet Vue.js en orchestrant les 4 grandes vérifications : Architecture, Qualité du Code, Tests et Sécurité. Produire un rapport consolidé avec un score global sur 100 points.
20
19
 
21
- ```
22
- [ ] src/components/ - Shared components organized
23
- [ ] src/composables/ - Composition functions present
24
- [ ] src/stores/ - Pinia stores properly structured
25
- [ ] src/router/ - Vue Router configuration
26
- [ ] src/types/ - TypeScript types defined
27
- [ ] src/services/ - API services separated
28
- ```
20
+ ### Étape 1 : Préparation de l'audit
29
21
 
30
- ### 2. Component Standards (25 points)
22
+ Préparer l'environnement d'audit :
23
+ - [ ] Identifier le chemin du projet à auditer
24
+ - [ ] Vérifier la présence des fichiers de configuration (package.json, tsconfig.json, vite.config.ts)
25
+ - [ ] Lister les répertoires principaux (src/, tests/, public/, etc.)
26
+ - [ ] Identifier la structure du projet et la version Vue.js
31
27
 
32
- ```
33
- [ ] Using <script setup> syntax
34
- [ ] TypeScript with lang="ts"
35
- [ ] Props defined with defineProps<T>()
36
- [ ] Emits defined with defineEmits<T>()
37
- [ ] Components are multi-word named
38
- [ ] Base components use Base prefix
39
- ```
28
+ **Note** : Si $ARGUMENTS est fourni, l'utiliser comme chemin du projet, sinon utiliser le répertoire courant.
40
29
 
41
- ### 3. Composition API (20 points)
30
+ ### Étape 2 : Audit Architecture (25 points)
42
31
 
43
- ```
44
- [ ] No Options API in new components
45
- [ ] Composables follow use* naming
46
- [ ] Reactive state properly typed
47
- [ ] Computed properties used correctly
48
- [ ] Watchers cleaned up
49
- ```
32
+ Exécuter la vérification complète de l'architecture :
50
33
 
51
- ### 4. Pinia Stores (15 points)
34
+ **Commande** : Utiliser la commande slash `/vuejs:check-architecture` ou suivre manuellement les étapes dans `check-architecture.md`
52
35
 
53
- ```
54
- [ ] Setup syntax stores (composition style)
55
- [ ] Proper TypeScript typing
56
- [ ] Actions are async when needed
57
- [ ] Getters use computed
58
- [ ] No direct state mutation from components
59
- ```
36
+ **Critères évalués** :
37
+ - Organisation des composants et des fonctionnalités (6 pts)
38
+ - Structure et réutilisation des composables (6 pts)
39
+ - Architecture du store Pinia (4 pts)
40
+ - Configuration du routeur et lazy loading (4 pts)
41
+ - Séparation des modules partagés/communs (3 pts)
42
+ - Règles de dépendances et exports barrel (2 pts)
60
43
 
61
- ### 5. TypeScript Integration (20 points)
44
+ **Référence** : `check-architecture.md`
62
45
 
63
- ```
64
- [ ] Strict mode enabled
65
- [ ] No implicit any
66
- [ ] Props and emits fully typed
67
- [ ] Interfaces for complex types
68
- [ ] Type-only imports used
69
- ```
46
+ ### Étape 3 : Audit Qualité du Code (25 points)
47
+
48
+ Exécuter la vérification de la qualité du code :
49
+
50
+ **Commande** : Utiliser la commande slash `/vuejs:check-code-quality` ou suivre manuellement les étapes dans `check-code-quality.md`
51
+
52
+ **Critères évalués** :
53
+ - Mode strict TypeScript et sûreté des types (5 pts)
54
+ - Conformité ESLint et Prettier (5 pts)
55
+ - Utilisation de la Composition API et de script setup (4 pts)
56
+ - Principes KISS/DRY/YAGNI (4 pts)
57
+ - Conventions de nommage (4 pts)
58
+ - Gestion des erreurs (3 pts)
59
+
60
+ **Référence** : `check-code-quality.md`
61
+
62
+ ### Étape 4 : Audit Tests (25 points)
70
63
 
71
- ## OUTPUT FORMAT
64
+ Exécuter la vérification des tests :
65
+
66
+ **Commande** : Utiliser la commande slash `/vuejs:check-testing` ou suivre manuellement les étapes dans `check-testing.md`
67
+
68
+ **Critères évalués** :
69
+ - Couverture du code (7 pts)
70
+ - Tests unitaires pour les composables et les stores (6 pts)
71
+ - Tests de composants avec Vue Test Utils (4 pts)
72
+ - Tests d'intégration (3 pts)
73
+ - Qualité des tests et pattern AAA (3 pts)
74
+ - Organisation des mocks et des fixtures (2 pts)
75
+
76
+ **Référence** : `check-testing.md`
77
+
78
+ ### Étape 5 : Audit Sécurité (25 points)
79
+
80
+ Exécuter la vérification de sécurité :
81
+
82
+ **Commande** : Utiliser la commande slash `/vuejs:check-security` ou suivre manuellement les étapes dans `check-security.md`
83
+
84
+ **Critères évalués** :
85
+ - Prévention XSS (utilisation de v-html) (6 pts)
86
+ - Gestion des secrets et des identifiants (5 pts)
87
+ - Validation et assainissement des entrées (4 pts)
88
+ - Vulnérabilités des dépendances (4 pts)
89
+ - Authentification et route guards (3 pts)
90
+ - Communication API sécurisée (2 pts)
91
+ - Protection CSRF (1 pt)
92
+
93
+ **Référence** : `check-security.md`
94
+
95
+ ### Étape 6 : Consolidation et Score Global
96
+
97
+ Calculer le score global et produire le rapport consolidé :
98
+ - [ ] Additionner les 4 scores (max 100 points)
99
+ - [ ] Identifier les catégories critiques (<50%)
100
+ - [ ] Lister tous les problèmes transversaux critiques
101
+ - [ ] Prioriser les actions par impact/effort
102
+ - [ ] Produire le rapport final consolidé
103
+
104
+ **Échelle de notation** :
105
+ - 90-100 : Excellent - Projet de référence
106
+ - 75-89 : Très bien - Quelques améliorations mineures
107
+ - 60-74 : Acceptable - Des améliorations sont nécessaires
108
+ - 40-59 : Insuffisant - Refactoring majeur requis
109
+ - 0-39 : Critique - Refonte complète nécessaire
110
+
111
+ ### Étape 7 : Recommandations et Plan d'Action
112
+
113
+ Produire les recommandations finales :
114
+ - [ ] Identifier les 3 actions prioritaires dans toutes les catégories
115
+ - [ ] Estimer l'effort (Faible/Moyen/Élevé) pour chaque action
116
+ - [ ] Estimer l'impact (Faible/Moyen/Élevé) pour chaque action
117
+ - [ ] Proposer un ordre d'implémentation
118
+ - [ ] Suggérer des gains rapides (ratio impact/effort élevé)
119
+
120
+ ## FORMAT DE SORTIE
72
121
 
73
122
  ```
74
- ══════════════════════════════════════════════════════════════
75
- VUE.JS COMPLIANCE AUDIT
76
- ══════════════════════════════════════════════════════════════
77
-
78
- 📊 SUMMARY
79
- ──────────────────────────────────────────────────────────────
80
- Total Score: XX/100
81
- Status: ✅ COMPLIANT | ⚠️ NEEDS WORK | ❌ NON-COMPLIANT
82
-
83
- 📁 PROJECT STRUCTURE: XX/20
84
- ──────────────────────────────────────────────────────────────
85
- [] Organized component structure
86
- [] Missing composables directory
87
- Create src/composables/ for reusable logic
88
-
89
- 🧩 COMPONENT STANDARDS: XX/25
90
- ──────────────────────────────────────────────────────────────
91
- [✓] Using <script setup>
92
- [✗] Some components use Options API
93
- Files: src/components/OldComponent.vue
94
- Migrate to Composition API
95
-
96
- 🔧 COMPOSITION API: XX/20
97
- ──────────────────────────────────────────────────────────────
98
- [✓] Composables properly named
99
- [✗] Missing cleanup in watchers
100
- File: src/composables/useData.ts:45
101
-
102
- 🏪 PINIA STORES: XX/15
103
- ──────────────────────────────────────────────────────────────
104
- [✓] Setup syntax used
105
- [✓] Proper typing
106
-
107
- 📝 TYPESCRIPT: XX/20
108
- ──────────────────────────────────────────────────────────────
109
- [✓] Strict mode enabled
110
- [✗] Implicit any found
111
- File: src/utils/helpers.ts:12
112
-
113
- 📋 RECOMMENDATIONS
114
- ──────────────────────────────────────────────────────────────
115
- 1. [HIGH] Migrate remaining Options API components
116
- 2. [MEDIUM] Add missing type definitions
117
- 3. [LOW] Organize composables by feature
118
-
119
- ══════════════════════════════════════════════════════════════
123
+ AUDIT DE CONFORMITÉ VUE.JS - RAPPORT COMPLET
124
+ =============================================
125
+
126
+ SCORE GLOBAL : XX/100
127
+
128
+ NIVEAU DE CONFORMITÉ : [Excellent/Très bien/Acceptable/Insuffisant/Critique]
129
+
130
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
131
+
132
+ SCORES PAR CATÉGORIE :
133
+
134
+ ARCHITECTURE : XX/25 [██████████░░░░░░░░░░] XX%
135
+ QUALITÉ DU CODE : XX/25 [██████████░░░░░░░░░░] XX%
136
+ TESTS : XX/25 [██████████░░░░░░░░░░] XX%
137
+ SÉCURITÉ : XX/25 [██████████░░░░░░░░░░] XX%
138
+
139
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
140
+
141
+ POINTS FORTS GLOBAUX :
142
+ 1. [Point fort identifié dans plusieurs catégories]
143
+ 2. [Autre point fort majeur]
144
+ 3. [Troisième point fort]
145
+
146
+ AMÉLIORATIONS GLOBALES :
147
+ 1. [Amélioration transversale mineure]
148
+ 2. [Autre amélioration recommandée]
149
+ 3. [Troisième amélioration]
150
+
151
+ PROBLÈMES CRITIQUES :
152
+ 1. [Problème critique #1 - catégorie concernée]
153
+ 2. [Problème critique #2 - catégorie concernée]
154
+ 3. [Problème critique #3 - catégorie concernée]
155
+
156
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
157
+
158
+ DÉTAILS PAR CATÉGORIE :
159
+
160
+ ┌─────────────────────────────────────────────┐
161
+ │ ARCHITECTURE (XX/25) │
162
+ └─────────────────────────────────────────────┘
163
+
164
+ Sous-scores :
165
+ Organisation composants/fonctionnalités : XX/6
166
+ Structure des composables : XX/6
167
+ • Architecture store Pinia : XX/4
168
+ • Routeur et lazy loading : XX/4
169
+ • Séparation des modules partagés : XX/3
170
+ • Règles de dépendances : XX/2
171
+
172
+ Points forts :
173
+ - [Points forts d'architecture]
174
+
175
+ Problèmes :
176
+ - [Problèmes d'architecture]
177
+
178
+ [Sections similaires pour Qualité du Code, Tests et Sécurité...]
179
+
180
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
181
+
182
+ TOP 3 DES ACTIONS PRIORITAIRES (TOUTES CATÉGORIES) :
183
+
184
+ 1. CRITIQUE - [Action #1]
185
+ Catégorie : [Architecture/Qualité/Tests/Sécurité]
186
+ Impact : [Élevé/Moyen/Faible]
187
+ Effort : [Élevé/Moyen/Faible]
188
+ Priorité : IMMÉDIATE
189
+
190
+ Description détaillée :
191
+ [Explication du problème et solution proposée]
192
+
193
+ Fichiers concernés :
194
+ - [fichier:ligne]
195
+
196
+ Exemple de correction :
197
+ [Code ou commande de correction]
198
+
199
+ 2. IMPORTANT - [Action #2]
200
+ [Même format...]
201
+
202
+ 3. RECOMMANDÉ - [Action #3]
203
+ [Même format...]
204
+
205
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
206
+
207
+ GAINS RAPIDES (Impact Élevé / Effort Faible) :
208
+
209
+ - [Gain rapide #1] - Catégorie : [X] - Impact : [X] - Effort : [X]
210
+ - [Gain rapide #2] - Catégorie : [X] - Impact : [X] - Effort : [X]
211
+ - [Gain rapide #3] - Catégorie : [X] - Impact : [X] - Effort : [X]
212
+
213
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
214
+
215
+ PLAN D'ACTION RECOMMANDÉ :
216
+
217
+ SEMAINE 1 (Immédiat) :
218
+ - [ ] [Action critique #1]
219
+ - [ ] [Gain rapide prioritaire]
220
+
221
+ SEMAINES 2-4 (Court terme) :
222
+ - [ ] [Action importante #2]
223
+ - [ ] [Autres gains rapides]
224
+
225
+ MOIS 2-3 (Moyen terme) :
226
+ - [ ] [Action recommandée #3]
227
+ - [ ] [Améliorations progressives]
228
+
229
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
230
+
231
+ RÉSUMÉ EXÉCUTIF :
232
+
233
+ [Paragraphe de synthèse sur l'état global du projet, les principaux
234
+ points forts, les principales faiblesses et la trajectoire recommandée
235
+ pour améliorer la conformité. Mentionner si le projet est prêt pour
236
+ la production, nécessite des corrections ou un refactoring.]
237
+
238
+ Recommandation générale : [Prêt pour la production / Corrections mineures /
239
+ Refactoring majeur / Refonte nécessaire]
240
+
241
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
120
242
  ```
121
243
 
122
- ## PROCESS
244
+ ## NOTES IMPORTANTES
123
245
 
124
- 1. Scan project structure
125
- 2. Analyze component files for standards
126
- 3. Check composables and stores
127
- 4. Verify TypeScript configuration
128
- 5. Generate compliance report with score
246
+ - Cette commande orchestre les 4 audits spécialisés
247
+ - Utiliser Docker pour tous les outils d'analyse
248
+ - Fournir des exemples concrets avec fichier:ligne pour chaque problème
249
+ - Prioriser les actions selon la matrice Impact/Effort
250
+ - Les problèmes de sécurité sont TOUJOURS prioritaires
251
+ - Proposer des corrections automatisables (scripts, hooks pre-commit)
252
+ - Le rapport doit être actionnable, pas seulement descriptif
253
+ - Adapter les recommandations au contexte métier du projet