@the-bearded-bear/claude-craft 8.9.0 → 8.10.0-next.d6b59c1

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 (173) hide show
  1. package/Dev/i18n/base/Angular/rules/06-tooling.md +1 -1
  2. package/Dev/i18n/base/Angular/rules/11-security-angular.md +5 -2
  3. package/Dev/i18n/base/CSharp/commands/check-security.md +4 -2
  4. package/Dev/i18n/base/CSharp/rules/11-security-csharp.md +3 -2
  5. package/Dev/i18n/base/Common/commands/aliases.md +237 -0
  6. package/Dev/i18n/base/Common/commands/audit-freshness.md +176 -0
  7. package/Dev/i18n/base/Common/commands/init.md +154 -0
  8. package/Dev/i18n/base/Common/commands/pack-repo.md +151 -0
  9. package/Dev/i18n/base/Common/commands/search.md +112 -0
  10. package/Dev/i18n/base/Laravel/rules/11-security-laravel.md +7 -4
  11. package/Dev/i18n/base/PHP/commands/check-security.md +5 -4
  12. package/Dev/i18n/base/VueJS/commands/check-security.md +6 -3
  13. package/Dev/i18n/base/VueJS/rules/06-tooling.md +5 -5
  14. package/Dev/i18n/base/VueJS/rules/07-testing-vuejs.md +99 -1
  15. package/Dev/i18n/base/VueJS/rules/11-security-vuejs.md +5 -2
  16. package/Dev/i18n/de/Angular/agents/angular-reviewer.md +66 -11
  17. package/Dev/i18n/de/Common/rules/11-security.md +195 -84
  18. package/Dev/i18n/de/Common/templates/settings.json.template +4 -4
  19. package/Dev/i18n/de/Flutter/agents/flutter-reviewer.md +4 -3
  20. package/Dev/i18n/de/PHP/rules/11-security-php.md +4 -2
  21. package/Dev/i18n/de/Paperclip/CLAUDE.md.template +2 -2
  22. package/Dev/i18n/de/Paperclip/README.md +3 -3
  23. package/Dev/i18n/de/Paperclip/commands/generate-agent-config.md +2 -2
  24. package/Dev/i18n/de/Paperclip/commands/setup-company.md +11 -3
  25. package/Dev/i18n/de/Paperclip/rules/02-architecture-paperclip.md +1 -1
  26. package/Dev/i18n/de/Paperclip/rules/03-coding-standards.md +1 -1
  27. package/Dev/i18n/de/Paperclip/rules/06-tooling.md +1 -1
  28. package/Dev/i18n/de/Paperclip/rules/12-adapter-protocol.md +1 -1
  29. package/Dev/i18n/de/Python/rules/11-security-python.md +6 -4
  30. package/Dev/i18n/de/React/commands/check-security.md +5 -2
  31. package/Dev/i18n/de/React/rules/06-tooling.md +2 -2
  32. package/Dev/i18n/de/React/rules/11-security-react.md +5 -2
  33. package/Dev/i18n/de/ReactNative/rules/06-tooling.md +156 -57
  34. package/Dev/i18n/de/ReactNative/rules/07-testing-reactnative.md +1 -1
  35. package/Dev/i18n/de/ReactNative/rules/12-performance.md +63 -17
  36. package/Dev/i18n/de/ReactNative/rules/13-state-management.md +1 -1
  37. package/Dev/i18n/de/ReactNative/rules/14-navigation.md +172 -12
  38. package/Dev/i18n/de/Symfony/commands/check-code-quality.md +15 -14
  39. package/Dev/i18n/de/Symfony/commands/check-security.md +6 -3
  40. package/Dev/i18n/de/VueJS/agents/vuejs-reviewer.md +2 -2
  41. package/Dev/i18n/en/Angular/agents/angular-reviewer.md +66 -11
  42. package/Dev/i18n/en/Common/rules/11-security.md +180 -70
  43. package/Dev/i18n/en/Common/templates/settings.json.template +4 -4
  44. package/Dev/i18n/en/Flutter/agents/flutter-reviewer.md +4 -3
  45. package/Dev/i18n/en/PHP/rules/11-security-php.md +4 -2
  46. package/Dev/i18n/en/Paperclip/CLAUDE.md.template +2 -2
  47. package/Dev/i18n/en/Paperclip/README.md +3 -3
  48. package/Dev/i18n/en/Paperclip/commands/generate-agent-config.md +4 -2
  49. package/Dev/i18n/en/Paperclip/commands/setup-company.md +11 -3
  50. package/Dev/i18n/en/Paperclip/rules/02-architecture-paperclip.md +2 -2
  51. package/Dev/i18n/en/Paperclip/rules/03-coding-standards.md +1 -1
  52. package/Dev/i18n/en/Paperclip/rules/06-tooling.md +1 -1
  53. package/Dev/i18n/en/Paperclip/rules/12-adapter-protocol.md +1 -1
  54. package/Dev/i18n/en/Python/rules/11-security-python.md +6 -4
  55. package/Dev/i18n/en/React/commands/check-security.md +5 -2
  56. package/Dev/i18n/en/React/rules/06-tooling.md +2 -2
  57. package/Dev/i18n/en/React/rules/11-security-react.md +5 -2
  58. package/Dev/i18n/en/ReactNative/rules/02-architecture.md +11 -0
  59. package/Dev/i18n/en/ReactNative/rules/06-tooling.md +111 -12
  60. package/Dev/i18n/en/ReactNative/rules/07-testing-reactnative.md +24 -6
  61. package/Dev/i18n/en/ReactNative/rules/12-performance.md +62 -16
  62. package/Dev/i18n/en/ReactNative/rules/13-state-management.md +1 -1
  63. package/Dev/i18n/en/ReactNative/rules/14-navigation.md +194 -9
  64. package/Dev/i18n/en/Symfony/CLAUDE.md.template +1 -1
  65. package/Dev/i18n/en/Symfony/agents/symfony-reviewer.md +2 -2
  66. package/Dev/i18n/en/Symfony/commands/check-code-quality.md +16 -15
  67. package/Dev/i18n/en/Symfony/commands/check-security.md +6 -3
  68. package/Dev/i18n/en/VueJS/agents/vuejs-reviewer.md +2 -2
  69. package/Dev/i18n/es/Angular/agents/angular-reviewer.md +67 -12
  70. package/Dev/i18n/es/Common/rules/11-security.md +179 -68
  71. package/Dev/i18n/es/Common/templates/settings.json.template +4 -4
  72. package/Dev/i18n/es/Flutter/agents/flutter-reviewer.md +4 -3
  73. package/Dev/i18n/es/PHP/rules/11-security-php.md +4 -2
  74. package/Dev/i18n/es/Paperclip/CLAUDE.md.template +2 -2
  75. package/Dev/i18n/es/Paperclip/README.md +3 -3
  76. package/Dev/i18n/es/Paperclip/commands/generate-agent-config.md +2 -2
  77. package/Dev/i18n/es/Paperclip/commands/setup-company.md +11 -3
  78. package/Dev/i18n/es/Paperclip/rules/02-architecture-paperclip.md +1 -1
  79. package/Dev/i18n/es/Paperclip/rules/03-coding-standards.md +1 -1
  80. package/Dev/i18n/es/Paperclip/rules/06-tooling.md +1 -1
  81. package/Dev/i18n/es/Paperclip/rules/12-adapter-protocol.md +1 -1
  82. package/Dev/i18n/es/Python/rules/11-security-python.md +6 -4
  83. package/Dev/i18n/es/React/commands/check-security.md +5 -2
  84. package/Dev/i18n/es/React/rules/06-tooling.md +2 -2
  85. package/Dev/i18n/es/React/rules/11-security-react.md +5 -2
  86. package/Dev/i18n/es/ReactNative/rules/06-tooling.md +108 -9
  87. package/Dev/i18n/es/ReactNative/rules/07-testing-reactnative.md +1 -1
  88. package/Dev/i18n/es/ReactNative/rules/12-performance.md +61 -15
  89. package/Dev/i18n/es/ReactNative/rules/13-state-management.md +1 -1
  90. package/Dev/i18n/es/ReactNative/rules/14-navigation.md +163 -3
  91. package/Dev/i18n/es/Symfony/agents/symfony-reviewer.md +2 -2
  92. package/Dev/i18n/es/Symfony/commands/check-code-quality.md +16 -15
  93. package/Dev/i18n/es/Symfony/commands/check-security.md +6 -3
  94. package/Dev/i18n/es/VueJS/agents/vuejs-reviewer.md +2 -2
  95. package/Dev/i18n/fr/Angular/agents/angular-reviewer.md +66 -11
  96. package/Dev/i18n/fr/Common/rules/11-security.md +197 -84
  97. package/Dev/i18n/fr/Common/templates/settings.json.template +4 -4
  98. package/Dev/i18n/fr/Flutter/agents/flutter-reviewer.md +4 -3
  99. package/Dev/i18n/fr/PHP/rules/11-security-php.md +2 -2
  100. package/Dev/i18n/fr/Paperclip/CLAUDE.md.template +2 -2
  101. package/Dev/i18n/fr/Paperclip/README.md +3 -3
  102. package/Dev/i18n/fr/Paperclip/commands/generate-agent-config.md +2 -2
  103. package/Dev/i18n/fr/Paperclip/commands/setup-company.md +11 -3
  104. package/Dev/i18n/fr/Paperclip/rules/02-architecture-paperclip.md +1 -1
  105. package/Dev/i18n/fr/Paperclip/rules/03-coding-standards.md +1 -1
  106. package/Dev/i18n/fr/Paperclip/rules/06-tooling.md +1 -1
  107. package/Dev/i18n/fr/Paperclip/rules/12-adapter-protocol.md +1 -1
  108. package/Dev/i18n/fr/Python/rules/11-security-python.md +6 -4
  109. package/Dev/i18n/fr/React/rules/06-tooling.md +2 -2
  110. package/Dev/i18n/fr/React/rules/11-security-react.md +5 -2
  111. package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +112 -13
  112. package/Dev/i18n/fr/ReactNative/rules/07-testing-reactnative.md +1 -1
  113. package/Dev/i18n/fr/ReactNative/rules/12-performance.md +61 -15
  114. package/Dev/i18n/fr/ReactNative/rules/13-state-management.md +1 -1
  115. package/Dev/i18n/fr/ReactNative/rules/14-navigation.md +188 -3
  116. package/Dev/i18n/fr/Symfony/agents/symfony-reviewer.md +2 -2
  117. package/Dev/i18n/fr/Symfony/commands/check-code-quality.md +16 -15
  118. package/Dev/i18n/fr/Symfony/commands/check-security.md +6 -3
  119. package/Dev/i18n/fr/VueJS/agents/vuejs-reviewer.md +2 -2
  120. package/Dev/i18n/pt/Angular/agents/angular-reviewer.md +66 -11
  121. package/Dev/i18n/pt/Common/rules/11-security.md +179 -68
  122. package/Dev/i18n/pt/Common/templates/settings.json.template +4 -4
  123. package/Dev/i18n/pt/Flutter/agents/flutter-reviewer.md +4 -3
  124. package/Dev/i18n/pt/PHP/rules/11-security-php.md +4 -2
  125. package/Dev/i18n/pt/Paperclip/CLAUDE.md.template +2 -2
  126. package/Dev/i18n/pt/Paperclip/README.md +3 -3
  127. package/Dev/i18n/pt/Paperclip/commands/generate-agent-config.md +2 -2
  128. package/Dev/i18n/pt/Paperclip/commands/setup-company.md +11 -3
  129. package/Dev/i18n/pt/Paperclip/rules/02-architecture-paperclip.md +1 -1
  130. package/Dev/i18n/pt/Paperclip/rules/03-coding-standards.md +1 -1
  131. package/Dev/i18n/pt/Paperclip/rules/06-tooling.md +1 -1
  132. package/Dev/i18n/pt/Paperclip/rules/12-adapter-protocol.md +1 -1
  133. package/Dev/i18n/pt/Python/rules/11-security-python.md +6 -4
  134. package/Dev/i18n/pt/React/commands/check-security.md +5 -2
  135. package/Dev/i18n/pt/React/rules/06-tooling.md +2 -2
  136. package/Dev/i18n/pt/React/rules/11-security-react.md +5 -2
  137. package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +108 -9
  138. package/Dev/i18n/pt/ReactNative/rules/07-testing-reactnative.md +1 -1
  139. package/Dev/i18n/pt/ReactNative/rules/12-performance.md +61 -15
  140. package/Dev/i18n/pt/ReactNative/rules/13-state-management.md +1 -1
  141. package/Dev/i18n/pt/ReactNative/rules/14-navigation.md +163 -3
  142. package/Dev/i18n/pt/Symfony/agents/symfony-reviewer.md +2 -2
  143. package/Dev/i18n/pt/Symfony/commands/check-code-quality.md +16 -15
  144. package/Dev/i18n/pt/Symfony/commands/check-security.md +6 -3
  145. package/Dev/i18n/pt/VueJS/agents/vuejs-reviewer.md +2 -2
  146. package/Dev/scripts/install-paperclip-rules.sh +1 -1
  147. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-architect.md +1 -1
  148. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  149. package/Infra/i18n/de/FrankenPHP/agents/frankenphp-security.md +1 -1
  150. package/Infra/i18n/de/FrankenPHP/commands/deploy-setup.md +1 -1
  151. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-architect.md +1 -1
  152. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  153. package/Infra/i18n/en/FrankenPHP/agents/frankenphp-security.md +1 -1
  154. package/Infra/i18n/en/FrankenPHP/commands/deploy-setup.md +1 -1
  155. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-architect.md +1 -1
  156. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  157. package/Infra/i18n/es/FrankenPHP/agents/frankenphp-security.md +1 -1
  158. package/Infra/i18n/es/FrankenPHP/commands/deploy-setup.md +1 -1
  159. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-architect.md +1 -1
  160. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  161. package/Infra/i18n/fr/FrankenPHP/agents/frankenphp-security.md +1 -1
  162. package/Infra/i18n/fr/FrankenPHP/commands/deploy-setup.md +1 -1
  163. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-architect.md +1 -1
  164. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-deployment.md +2 -2
  165. package/Infra/i18n/pt/FrankenPHP/agents/frankenphp-security.md +1 -1
  166. package/Infra/i18n/pt/FrankenPHP/commands/deploy-setup.md +1 -1
  167. package/Project/install-project-commands.sh +1 -1
  168. package/README.md +12 -38
  169. package/bundles/cursor/.cursorrules +7 -7
  170. package/bundles/windsurf/.windsurfrules +7 -7
  171. package/cli/lib/install-from-url.js +16 -0
  172. package/cli/lib/tech-registry.js +17 -7
  173. package/package.json +6 -5
@@ -203,7 +203,7 @@ npm install -D stylelint stylelint-config-standard-scss stylelint-order
203
203
 
204
204
  ## Testing Tools
205
205
 
206
- ### Vitest (Recommended for Angular 21+)
206
+ ### Vitest (Recommended for Angular 22+)
207
207
 
208
208
  ```bash
209
209
  npm install -D vitest @analogjs/vitest-angular jsdom
@@ -308,12 +308,15 @@ Content-Security-Policy:
308
308
  ### Server Configuration
309
309
 
310
310
  ```nginx
311
- # nginx.conf
311
+ # nginx.conf — X-XSS-Protection est déprécié ; s'appuyer sur CSP Level 3
312
+ add_header Content-Security-Policy "default-src 'self'; script-src 'self'; style-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests;" always;
312
313
  add_header X-Content-Type-Options "nosniff" always;
313
314
  add_header X-Frame-Options "DENY" always;
314
- add_header X-XSS-Protection "1; mode=block" always;
315
315
  add_header Referrer-Policy "strict-origin-when-cross-origin" always;
316
316
  add_header Permissions-Policy "geolocation=(), microphone=(), camera=()" always;
317
+ add_header Cross-Origin-Opener-Policy "same-origin" always;
318
+ add_header Cross-Origin-Embedder-Policy "require-corp" always;
319
+ add_header Cross-Origin-Resource-Policy "same-origin" always;
317
320
  ```
318
321
 
319
322
  ## Sensitive Data Protection
@@ -150,12 +150,14 @@ else
150
150
  app.UseHsts();
151
151
  }
152
152
 
153
- // ✅ Security headers
153
+ // ✅ Security headers — X-XSS-Protection est déprécié, s'appuyer sur CSP Level 3
154
154
  app.Use(async (context, next) =>
155
155
  {
156
156
  context.Response.Headers.Append("X-Content-Type-Options", "nosniff");
157
157
  context.Response.Headers.Append("X-Frame-Options", "DENY");
158
- context.Response.Headers.Append("X-XSS-Protection", "1; mode=block");
158
+ context.Response.Headers.Append("Content-Security-Policy",
159
+ "default-src 'self'; script-src 'self'; style-src 'self'; frame-ancestors 'none'; upgrade-insecure-requests");
160
+ context.Response.Headers.Append("Cross-Origin-Opener-Policy", "same-origin");
159
161
  await next();
160
162
  });
161
163
  ```
@@ -213,11 +213,12 @@ app.Use(async (context, next) =>
213
213
  {
214
214
  context.Response.Headers.Append("X-Content-Type-Options", "nosniff");
215
215
  context.Response.Headers.Append("X-Frame-Options", "DENY");
216
- context.Response.Headers.Append("X-XSS-Protection", "1; mode=block");
216
+ // X-XSS-Protection est déprécié — s'appuyer sur CSP Level 3
217
217
  context.Response.Headers.Append("Referrer-Policy", "strict-origin-when-cross-origin");
218
218
  context.Response.Headers.Append(
219
219
  "Content-Security-Policy",
220
- "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'");
220
+ "default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; frame-ancestors 'none'; upgrade-insecure-requests");
221
+ context.Response.Headers.Append("Cross-Origin-Opener-Policy", "same-origin");
221
222
 
222
223
  await next();
223
224
  });
@@ -0,0 +1,237 @@
1
+ ---
2
+ name: aliases
3
+ description: CLI aliases for frequently used commands
4
+ tags: [shortcuts, aliases, productivity, quick-access]
5
+ ---
6
+
7
+ # Claude Craft CLI Aliases
8
+
9
+ Quick shortcuts for the most frequently used Claude Craft commands.
10
+
11
+ ## Overview
12
+
13
+ These aliases reduce typing and improve productivity by providing short mnemonics for common operations.
14
+
15
+ ## Command Aliases
16
+
17
+ ### Common Namespace
18
+
19
+ | Alias | Full Command | Description |
20
+ |-------|-------------|-------------|
21
+ | `/ca` | `/common:audit-freshness` | Audit documentation freshness |
22
+ | `/ci` | `/common:init` | Initialize Claude Craft |
23
+ | `/cr` | `/common:release-checklist` | Pre-release verification checklist |
24
+ | `/cs` | `/common:setup-project-context` | Setup project context for Claude |
25
+
26
+ ### Technology Check Compliance
27
+
28
+ | Alias | Full Command | Description |
29
+ |-------|-------------|-------------|
30
+ | `/sc` | `/symfony:check-compliance` | Check Symfony compliance |
31
+ | `/rc` | `/react:check-compliance` | Check React compliance |
32
+ | `/fc` | `/flutter:check-compliance` | Check Flutter compliance |
33
+ | `/pc` | `/python:check-compliance` | Check Python compliance |
34
+ | `/ac` | `/angular:check-compliance` | Check Angular compliance |
35
+ | `/vc` | `/vuejs:check-compliance` | Check Vue.js compliance |
36
+ | `/lc` | `/laravel:check-compliance` | Check Laravel compliance |
37
+ | `/cc` | `/csharp:check-compliance` | Check C# compliance |
38
+
39
+ ### Team Namespace
40
+
41
+ | Alias | Full Command | Description |
42
+ |-------|-------------|-------------|
43
+ | `/ta` | `/team:audit` | Run team audit (sequential) |
44
+ | `/ts` | `/team:sprint` | Sprint planning and management |
45
+ | `/td` | `/team:delivery` | Delivery workflow |
46
+
47
+ ### Workflow Namespace
48
+
49
+ | Alias | Full Command | Description |
50
+ |-------|-------------|-------------|
51
+ | `/wi` | `/workflow:init` | Initialize workflow |
52
+ | `/wp` | `/workflow:plan` | Planning phase |
53
+
54
+ ### QA Namespace
55
+
56
+ | Alias | Full Command | Description |
57
+ |-------|-------------|-------------|
58
+ | `/qr` | `/qa:recette` | Run acceptance testing (recette) |
59
+ | `/qs` | `/qa:status` | QA status report |
60
+
61
+ ### Ralph (Continuous Loop)
62
+
63
+ | Alias | Full Command | Description |
64
+ |-------|-------------|-------------|
65
+ | `/rr` | `/common:ralph-run` | Run Ralph continuous AI loop |
66
+
67
+ ## Usage Examples
68
+
69
+ ### Quick Project Setup
70
+ ```bash
71
+ # Instead of: /common:init
72
+ /ci
73
+
74
+ # Instead of: /common:setup-project-context
75
+ /cs
76
+ ```
77
+
78
+ ### Quick Compliance Checks
79
+ ```bash
80
+ # Instead of: /symfony:check-compliance
81
+ /sc
82
+
83
+ # Instead of: /react:check-compliance
84
+ /rc
85
+ ```
86
+
87
+ ### Quick Team Operations
88
+ ```bash
89
+ # Instead of: /team:audit --sequential
90
+ /ta --sequential
91
+
92
+ # Instead of: /team:sprint --id=Sprint-3
93
+ /ts --id=Sprint-3
94
+ ```
95
+
96
+ ### Quick QA
97
+ ```bash
98
+ # Instead of: /qa:recette --scope=story --id=US-001
99
+ /qr --scope=story --id=US-001
100
+
101
+ # Instead of: /qa:status
102
+ /qs
103
+ ```
104
+
105
+ ### Quick Ralph Loop
106
+ ```bash
107
+ # Instead of: /common:ralph-run "fix all failing tests"
108
+ /rr "fix all failing tests"
109
+ ```
110
+
111
+ ## Implementation
112
+
113
+ These aliases are **virtual** — they exist as documentation shortcuts. Users can:
114
+
115
+ 1. **Use them directly in Claude Code** (Claude recognizes them via this file)
116
+ 2. **Create shell aliases** (for CLI usage)
117
+ 3. **Add to shell config** (~/.bashrc, ~/.zshrc, ~/.config/fish/config.fish)
118
+
119
+ ### Bash/Zsh Setup
120
+
121
+ Add to `~/.bashrc` or `~/.zshrc`:
122
+
123
+ ```bash
124
+ # Claude Craft Aliases
125
+ alias ca='claude-code -p /common:audit-freshness'
126
+ alias ci='claude-code -p /common:init'
127
+ alias cr='claude-code -p /common:release-checklist'
128
+ alias cs='claude-code -p /common:setup-project-context'
129
+
130
+ alias sc='claude-code -p /symfony:check-compliance'
131
+ alias rc='claude-code -p /react:check-compliance'
132
+ alias fc='claude-code -p /flutter:check-compliance'
133
+ alias pc='claude-code -p /python:check-compliance'
134
+ alias ac='claude-code -p /angular:check-compliance'
135
+ alias vc='claude-code -p /vuejs:check-compliance'
136
+ alias lc='claude-code -p /laravel:check-compliance'
137
+ alias cc='claude-code -p /csharp:check-compliance'
138
+
139
+ alias ta='claude-code -p /team:audit'
140
+ alias ts='claude-code -p /team:sprint'
141
+ alias td='claude-code -p /team:delivery'
142
+
143
+ alias wi='claude-code -p /workflow:init'
144
+ alias wp='claude-code -p /workflow:plan'
145
+
146
+ alias qr='claude-code -p /qa:recette'
147
+ alias qs='claude-code -p /qa:status'
148
+
149
+ alias rr='claude-code -p /common:ralph-run'
150
+ ```
151
+
152
+ ### Fish Setup
153
+
154
+ Add to `~/.config/fish/config.fish`:
155
+
156
+ ```fish
157
+ # Claude Craft Aliases
158
+ alias ca 'claude-code -p /common:audit-freshness'
159
+ alias ci 'claude-code -p /common:init'
160
+ alias cr 'claude-code -p /common:release-checklist'
161
+ alias cs 'claude-code -p /common:setup-project-context'
162
+
163
+ alias sc 'claude-code -p /symfony:check-compliance'
164
+ alias rc 'claude-code -p /react:check-compliance'
165
+ alias fc 'claude-code -p /flutter:check-compliance'
166
+ alias pc 'claude-code -p /python:check-compliance'
167
+ alias ac 'claude-code -p /angular:check-compliance'
168
+ alias vc 'claude-code -p /vuejs:check-compliance'
169
+ alias lc 'claude-code -p /laravel:check-compliance'
170
+ alias cc 'claude-code -p /csharp:check-compliance'
171
+
172
+ alias ta 'claude-code -p /team:audit'
173
+ alias ts 'claude-code -p /team:sprint'
174
+ alias td 'claude-code -p /team:delivery'
175
+
176
+ alias wi 'claude-code -p /workflow:init'
177
+ alias wp 'claude-code -p /workflow:plan'
178
+
179
+ alias qr 'claude-code -p /qa:recette'
180
+ alias qs 'claude-code -p /qa:status'
181
+
182
+ alias rr 'claude-code -p /common:ralph-run'
183
+ ```
184
+
185
+ ## Mnemonic Logic
186
+
187
+ | Pattern | Examples | Logic |
188
+ |---------|----------|-------|
189
+ | **First letter + c** (check) | `/sc`, `/rc`, `/fc` | Technology + check-compliance |
190
+ | **First letter + first letter** | `/ca`, `/ci`, `/cr` | Namespace + command |
191
+ | **Namespace abbreviation** | `/ta`, `/ts`, `/qr` | Team/QA + command initial |
192
+ | **Double letter** | `/rr`, `/cc` | Memorable repetition |
193
+
194
+ ## Discover More
195
+
196
+ Use `/common:search` to discover commands by keyword:
197
+
198
+ ```bash
199
+ /common:search testing
200
+ /common:search security
201
+ /common:search workflow
202
+ ```
203
+
204
+ ## Best Practices
205
+
206
+ 1. **Learn 5 aliases first** — Start with `/ci`, `/sc`, `/ta`, `/qr`, `/rr`
207
+ 2. **Use shell aliases for CLI** — Add to shell config for terminal usage
208
+ 3. **Use virtual aliases in Claude Code** — Just type the alias in conversation
209
+ 4. **Combine with arguments** — All aliases support the same arguments as full commands
210
+
211
+ ## Future Expansion
212
+
213
+ Additional aliases can be proposed via:
214
+ - GitHub issues
215
+ - Pull requests
216
+ - Community suggestions
217
+
218
+ The goal: **20-30 aliases max** (avoid cognitive overload).
219
+
220
+ ---
221
+
222
+ ## Troubleshooting
223
+
224
+ **Q: Alias not recognized in Claude Code?**
225
+ A: Mention this file explicitly: "Use `/ca` as defined in `/common:aliases`"
226
+
227
+ **Q: Alias not working in terminal?**
228
+ A: Reload shell config: `source ~/.bashrc` or `source ~/.zshrc`
229
+
230
+ **Q: Want to add custom aliases?**
231
+ A: Add to `~/.claude/commands/custom/aliases.md` (project-specific)
232
+
233
+ ---
234
+
235
+ **Version:** 1.0.0
236
+ **Author:** The Bearded CTO
237
+ **Date:** 2026-04-17
@@ -0,0 +1,176 @@
1
+ ---
2
+ description: Audit de fraîcheur multi-stack (versions + best practices) via équipe d'agents parallèles Context7 + Web
3
+ argument-hint: [--wave=1|2|3|all] [--stack=<nom>]
4
+ ---
5
+
6
+ # Audit de Fraîcheur claude-craft
7
+
8
+ Orchestre une **équipe de 17 agents parallèles** pour vérifier que l'ensemble des skills, commands, agents, references et rules du projet sont alignés avec les dernières versions stables et best practices 2026 des frameworks/outils déclarés. Utilise le **MCP Context7** (`mcp__context7__resolve-library-id` + `query-docs`) et **WebSearch** pour les release notes officielles.
9
+
10
+ **Résultat :** rapport consolidé `docs/audit/freshness-YYYY-MM-DD.md` — aucune modification automatique des skills/commands/refs.
11
+
12
+ ## Arguments
13
+
14
+ $ARGUMENTS
15
+
16
+ - `--wave=1|2|3|all` (défaut `all`) : exécuter uniquement une vague donnée
17
+ - `--stack=<nom>` : limiter la vague 1 à un stack (symfony, react, flutter, python, angular, laravel, vuejs, reactnative, csharp, php)
18
+
19
+ ## MISSION
20
+
21
+ ### Étape 1 — Préparer le rapport cible
22
+
23
+ 1. Déterminer la date du jour (format YYYY-MM-DD)
24
+ 2. Créer `docs/audit/freshness-<date>.md` avec un en-tête (version claude-craft, date, nombre d'agents lancés, légende écarts : critique/majeur/mineur/aucun)
25
+ 3. Relire `.claude/CLAUDE.md` (table versions) et `.claude/COMPATIBILITY.md` pour la source de vérité des versions déclarées
26
+
27
+ ### Étape 2 — Vague 1 : Stacks techniques (10 agents EN PARALLÈLE)
28
+
29
+ **Lancer les 10 agents dans UN SEUL message** (10 tool_use Task/Agent). Chaque agent reçoit ce prompt (adapter `<STACK>`) :
30
+
31
+ ```
32
+ Tu audites la fraîcheur du stack <STACK> dans le dépôt claude-craft.
33
+
34
+ ÉTAPES :
35
+ 1. Lire la version déclarée du framework/langage <STACK> dans :
36
+ - .claude/CLAUDE.md (table Supported Technologies)
37
+ - .claude/references/<stack>/CLAUDE.md et project-context.md
38
+ - .claude/agents/<stack>-reviewer.md (frontmatter + body)
39
+ - Skills .claude/skills/<stack>-*/SKILL.md
40
+ - Commandes .claude/commands/<stack>/*.md
41
+
42
+ 2. Via mcp__context7__resolve-library-id puis mcp__context7__query-docs,
43
+ récupérer la version stable actuelle + patterns recommandés 2026.
44
+
45
+ 3. Via WebSearch, vérifier les release notes officielles (site officiel,
46
+ GitHub releases) — confirmer version stable, breaking changes, nouvelles
47
+ best practices (ex: signals Angular, async Symfony Messenger, etc.).
48
+
49
+ 4. Identifier :
50
+ - Écart de version (déclarée vs stable)
51
+ - Best practices obsolètes dans les skills/refs/commands
52
+ - Patterns nouveaux absents du repo (ex: React Compiler, Flutter Impeller)
53
+
54
+ 5. Retourner EXACTEMENT ce format Markdown (<300 mots) :
55
+
56
+ ## <STACK>
57
+ - **Version déclarée** : X.Y (source: <path>:<line>)
58
+ - **Version stable actuelle** : X.Y (source: <context7-lib-id> ou <URL>)
59
+ - **Écart** : aucun | mineur | majeur | critique
60
+ - **Best practices à revoir** :
61
+ - <finding> — source: <URL ou context7 ID>
62
+ - **Patterns manquants** :
63
+ - <pattern> — source: <URL>
64
+ - **Fichiers claude-craft impactés** : <path1>, <path2>, ...
65
+ - **Sources consultées** : context7=<ids> / web=<urls>
66
+
67
+ CONTRAINTE : citer systématiquement les sources. Ne rien inventer. Si une
68
+ info n'est pas trouvée, écrire "non trouvé" explicitement.
69
+ ```
70
+
71
+ **Stacks couverts :** symfony, react, flutter, python, angular, laravel, vuejs, reactnative, csharp, php
72
+
73
+ ### Étape 3 — Vague 2 : Transverse (4 agents EN PARALLÈLE)
74
+
75
+ Lancer les 4 agents dans un seul message. Chaque agent audite une famille :
76
+
77
+ | Agent | Cibles |
78
+ |-------|--------|
79
+ | **Principes** | `.claude/rules/04-solid-principles.md`, `05-kiss-dry-yagni.md`, `01-workflow-analysis.md`, skills `solid-principles`, `kiss-dry-yagni`, `workflow-analysis`. Vérifier : Clean Architecture 2026, Hexagonal evolutions, DDD maturité. |
80
+ | **Testing** | `.claude/rules/07-testing.md`, skills `testing`, `testing-{react,reactnative,python,symfony,flutter}`. Vérifier versions Pest 4, Vitest 2+, Jest 29+, pytest 8+, PHPUnit 11+, patterns AAA/BDD Gherkin. |
81
+ | **Security** | `.claude/rules/11-security.md`, skills `security`, `security-{react,reactnative,flutter,symfony}`. Vérifier OWASP Top 10 2025, headers CSP Level 3, CVE récentes frameworks, JWT bonnes pratiques 2026. |
82
+ | **Git/Docs/DDD** | `.claude/rules/09-git-workflow.md`, `10-documentation.md`, skills `git-workflow`, `documentation`, `ddd-patterns`, `value-objects`, `aggregates`, `domain-events`, `cqrs`, `multitenant`, `i18n`, `async`. Vérifier Conventional Commits v1, OpenAPI 3.1, patterns DDD tactiques. |
83
+
84
+ Prompt type (adapter la famille) :
85
+
86
+ ```
87
+ Tu audites la famille "<FAMILLE>" de claude-craft.
88
+
89
+ 1. Lire tous les fichiers listés : <paths>
90
+ 2. Via mcp__context7__query-docs + WebSearch, identifier l'état de l'art
91
+ 2026 sur ces sujets (versions d'outils, patterns, standards).
92
+ 3. Lister les obsolescences, références à des versions anciennes, patterns
93
+ dépréciés.
94
+ 4. Retourner le même format Markdown que la vague 1 (<300 mots, sources citées).
95
+ ```
96
+
97
+ ### Étape 4 — Vague 3 : Infrastructure (3 agents EN PARALLÈLE)
98
+
99
+ | Agent | Cibles |
100
+ |-------|--------|
101
+ | **Conteneurs** | Commandes `/docker:*`, `/kubernetes:*`, `/coolify:*` — Docker Compose spec actuelle, K8s API stable, Coolify version. |
102
+ | **IaC** | Commandes `/opentofu:*`, `/ansible:*`, `/hcloud:*` — OpenTofu stable, Ansible core, Hetzner Cloud provider. |
103
+ | **Runtime/DB** | Commandes `/frankenphp:*`, `/pgbouncer:*` — FrankenPHP stable, PgBouncer release. |
104
+
105
+ Même pattern de prompt que vague 2.
106
+
107
+ ### Étape 5 — Agrégation
108
+
109
+ 1. Récupérer les 17 rapports
110
+ 2. Construire dans `docs/audit/freshness-<date>.md` :
111
+
112
+ ```markdown
113
+ # Audit de Fraîcheur claude-craft — <date>
114
+
115
+ **Version claude-craft** : 8.0.0
116
+ **Agents lancés** : 17 (10 stacks + 4 transverse + 3 infra)
117
+ **MCP utilisé** : context7
118
+ **Sources web** : release notes officielles + CHANGELOG
119
+
120
+ ## Résumé exécutif
121
+
122
+ | Sévérité | Nombre |
123
+ |----------|--------|
124
+ | 🔴 Critique | N |
125
+ | 🟠 Majeur | N |
126
+ | 🟡 Mineur | N |
127
+ | ✅ Aucun | N |
128
+
129
+ ## Tableau global — Versions
130
+
131
+ | Stack | Déclarée | Stable actuelle | Écart |
132
+ |-------|----------|-----------------|-------|
133
+ | Symfony | ... | ... | ... |
134
+ | ... | ... | ... | ... |
135
+
136
+ ## Findings détaillés
137
+
138
+ ### Vague 1 — Stacks techniques
139
+ <coller chaque rapport>
140
+
141
+ ### Vague 2 — Transverse
142
+ <coller chaque rapport>
143
+
144
+ ### Vague 3 — Infrastructure
145
+ <coller chaque rapport>
146
+
147
+ ## Top 10 actions prioritaires
148
+
149
+ 1. [Critique] ...
150
+ 2. [Majeur] ...
151
+ ...
152
+
153
+ ## Méthodologie
154
+
155
+ - Outils : MCP context7 (`resolve-library-id`, `query-docs`), WebSearch
156
+ - Sources de vérité pour versions déclarées : `.claude/CLAUDE.md`,
157
+ `.claude/references/*/`, `.claude/agents/*-reviewer.md`
158
+ - Aucune modification du dépôt hors `docs/audit/`
159
+ ```
160
+
161
+ 3. Vérifier que seuls `docs/audit/freshness-<date>.md` (et éventuellement `docs/audit/` créé) apparaissent dans `git status`.
162
+
163
+ ## Règles strictes
164
+
165
+ - **NE JAMAIS modifier** skills/commands/agents/references/rules/CLAUDE.md existants
166
+ - **Toutes les affirmations de version doivent citer une source** (context7 ID ou URL)
167
+ - **En cas d'échec d'un sous-agent**, laisser la section correspondante avec `⚠️ audit incomplet : <raison>`
168
+ - **Parallélisme obligatoire** au sein de chaque vague (un seul message = N Task calls)
169
+ - **Langue du rapport** : français, avec accents
170
+
171
+ ## Exemple
172
+
173
+ ```
174
+ /common:audit-freshness
175
+ /common:audit-freshness --wave=1 --stack=symfony
176
+ ```
@@ -0,0 +1,154 @@
1
+ # /init - Bootstrap Claude-Craft Structure
2
+
3
+ Initialise la structure Claude-Craft pour un nouveau projet.
4
+
5
+ ## Étapes
6
+
7
+ ### 1. Identifier la Technologie
8
+
9
+ Demander à l'utilisateur quelle technologie utiliser:
10
+ - **C# / .NET** - Clean Architecture, CQRS, MediatR
11
+ - **Symfony / PHP** - Clean Architecture, DDD, Hexagonal
12
+ - **Flutter / Dart** - Clean Architecture, BLoC/Riverpod
13
+
14
+ ### 2. Créer la Structure
15
+
16
+ Selon la technologie choisie, créer:
17
+
18
+ ```
19
+ .claude/
20
+ ├── CLAUDE.md # Quick reference (copie depuis template)
21
+ ├── INDEX.md # Index complet
22
+ └── references/
23
+ └── [technology]/ # Références spécifiques
24
+ └── project-context.md # Personnalisé pour le projet
25
+ ```
26
+
27
+ ### 3. Personnaliser project-context.md
28
+
29
+ Demander les informations du projet:
30
+ - Nom du projet
31
+ - Description brève
32
+ - Entités principales
33
+ - Services externes
34
+ - Contraintes particulières
35
+
36
+ ### 4. Templates par Technologie
37
+
38
+ #### C# / .NET
39
+
40
+ ```markdown
41
+ # Claude-Craft - {{PROJECT_NAME}}
42
+
43
+ **Stack**: .NET 10 LTS, C# 14, Clean Architecture, CQRS, MediatR, EF Core, xUnit
44
+
45
+ ## Quick Reference
46
+
47
+ See `@.claude/INDEX.md` for condensed checklists and patterns.
48
+
49
+ ## Full Documentation
50
+
51
+ For detailed rules: `@.claude/references/csharp/`
52
+
53
+ ## Available Commands
54
+
55
+ - `/csharp:check-compliance` - Full compliance audit
56
+ - `/csharp:check-architecture` - Architecture validation
57
+ - `/csharp:check-code-quality` - Code quality analysis
58
+ - `/csharp:check-testing` - Test coverage analysis
59
+ - `/csharp:check-security` - Security audit (OWASP)
60
+ - `/csharp:generate-feature` - Generate CQRS feature
61
+
62
+ ## Docker Requirement
63
+
64
+ Always use Docker for commands to abstract from local environment.
65
+ ```
66
+
67
+ #### Symfony / PHP
68
+
69
+ ```markdown
70
+ # Claude-Craft - {{PROJECT_NAME}}
71
+
72
+ **Stack**: PHP 8.5, Symfony 8.1, Clean Architecture, DDD, Doctrine ORM
73
+
74
+ ## Quick Reference
75
+
76
+ See `@.claude/references/symfony/CLAUDE.md` for quick patterns.
77
+
78
+ ## Full Documentation
79
+
80
+ For detailed rules: `@.claude/references/symfony/`
81
+
82
+ ## Key Files
83
+
84
+ - `architecture.md` - Clean Architecture DDD
85
+ - `quality-tools.md` - PHPStan 2.x, Rector 2.x, Deptrac v4
86
+ - `json-streamer.md` - JSON Streamer Component
87
+ - `object-mapper.md` - ObjectMapper Component
88
+
89
+ ## Docker Requirement
90
+
91
+ Always use Docker for commands to abstract from local environment.
92
+ ```
93
+
94
+ #### Flutter / Dart
95
+
96
+ ```markdown
97
+ # Claude-Craft - {{PROJECT_NAME}}
98
+
99
+ **Stack**: Flutter 3.44+, Dart 3.12+, Clean Architecture, Riverpod/BLoC
100
+
101
+ ## Quick Reference
102
+
103
+ See `@.claude/references/flutter/CLAUDE.md` for quick patterns.
104
+
105
+ ## Full Documentation
106
+
107
+ For detailed rules: `@.claude/references/flutter/`
108
+
109
+ ## Key Files
110
+
111
+ - `wasm.md` - WebAssembly compilation
112
+ - `mcp-integration.md` - Model Context Protocol
113
+ - `web-performance-2026.md` - Web optimization
114
+
115
+ ## Docker Requirement
116
+
117
+ Use Docker for CI/CD. Local dev with flutter CLI.
118
+ ```
119
+
120
+ ### 5. Vérification
121
+
122
+ Après création, afficher:
123
+ - Fichiers créés
124
+ - Prochaines étapes recommandées
125
+ - Commandes disponibles
126
+
127
+ ## Exemple d'Utilisation
128
+
129
+ ```
130
+ User: /init
131
+
132
+ Claude: Quelle technologie souhaitez-vous configurer?
133
+ - C# / .NET (Clean Architecture, CQRS)
134
+ - Symfony / PHP (DDD, Hexagonal)
135
+ - Flutter / Dart (BLoC/Riverpod)
136
+
137
+ User: Symfony
138
+
139
+ Claude: Parfait! Quelques questions:
140
+ 1. Nom du projet?
141
+ 2. Description brève?
142
+ 3. Entités métier principales?
143
+
144
+ [... création des fichiers ...]
145
+
146
+ Structure créée avec succès!
147
+ - .claude/CLAUDE.md
148
+ - .claude/references/symfony/project-context.md
149
+
150
+ Prochaines étapes:
151
+ 1. Personnaliser project-context.md avec vos entités
152
+ 2. Consulter symfony/CLAUDE.md pour les patterns
153
+ 3. Utiliser make quality pour vérifier le code
154
+ ```