@the-bearded-bear/claude-craft 8.19.1 → 8.19.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.
- package/Dev/i18n/base/Common/skills/documentation/SKILL.md +0 -19
- package/Dev/i18n/base/Common/skills/ecosystem-tools/SKILL.md +0 -12
- package/Dev/i18n/base/Common/skills/git-workflow/SKILL.md +0 -17
- package/Dev/i18n/base/Common/skills/kiss-dry-yagni/SKILL.md +0 -11
- package/Dev/i18n/base/Common/skills/parallel-worktrees/SKILL.md +0 -11
- package/Dev/i18n/base/Common/skills/security/SKILL.md +0 -20
- package/Dev/i18n/base/Common/skills/solid-principles/SKILL.md +0 -18
- package/Dev/i18n/base/Common/skills/testing/SKILL.md +0 -25
- package/Dev/i18n/base/Common/skills/workflow-analysis/SKILL.md +0 -10
- package/Dev/i18n/de/Common/agents/tdd-coach.md +1 -1
- package/Dev/i18n/de/Common/commands/getting-started.md +6 -8
- package/Dev/i18n/de/Common/templates/settings.json.template +4 -4
- package/Dev/i18n/de/QA/commands/fix.md +1 -1
- package/Dev/i18n/de/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/de/ReactNative/rules/06-tooling.md +6 -6
- package/Dev/i18n/en/Common/agents/tdd-coach.md +1 -1
- package/Dev/i18n/en/Common/commands/getting-started.md +6 -8
- package/Dev/i18n/en/Common/templates/settings.json.template +4 -4
- package/Dev/i18n/en/QA/commands/fix.md +1 -1
- package/Dev/i18n/en/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/en/ReactNative/rules/06-tooling.md +4 -4
- package/Dev/i18n/es/Common/agents/tdd-coach.md +1 -1
- package/Dev/i18n/es/Common/commands/getting-started.md +6 -8
- package/Dev/i18n/es/Common/templates/settings.json.template +4 -4
- package/Dev/i18n/es/QA/commands/fix.md +1 -1
- package/Dev/i18n/es/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/es/ReactNative/rules/06-tooling.md +6 -6
- package/Dev/i18n/fr/Common/agents/tdd-coach.md +1 -1
- package/Dev/i18n/fr/Common/commands/getting-started.md +6 -8
- package/Dev/i18n/fr/Common/templates/settings.json.template +4 -4
- package/Dev/i18n/fr/QA/commands/fix.md +1 -1
- package/Dev/i18n/fr/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/fr/ReactNative/rules/06-tooling.md +6 -6
- package/Dev/i18n/pt/Common/agents/tdd-coach.md +1 -1
- package/Dev/i18n/pt/Common/commands/getting-started.md +6 -8
- package/Dev/i18n/pt/Common/templates/settings.json.template +4 -4
- package/Dev/i18n/pt/QA/commands/fix.md +1 -1
- package/Dev/i18n/pt/ReactNative/agents/reactnative-reviewer.md +4 -4
- package/Dev/i18n/pt/ReactNative/rules/06-tooling.md +6 -6
- package/Project/i18n/de/scaffold/CLAUDE.md +208 -0
- package/Project/i18n/de/scaffold/project-management__README.md +40 -0
- package/Project/i18n/de/scaffold/project-management__backlog__index.md +58 -0
- package/Project/i18n/en/scaffold/CLAUDE.md +208 -0
- package/Project/i18n/en/scaffold/project-management__README.md +40 -0
- package/Project/i18n/en/scaffold/project-management__backlog__index.md +58 -0
- package/Project/i18n/es/scaffold/CLAUDE.md +208 -0
- package/Project/i18n/es/scaffold/project-management__README.md +40 -0
- package/Project/i18n/es/scaffold/project-management__backlog__index.md +58 -0
- package/Project/i18n/fr/scaffold/CLAUDE.md +208 -0
- package/Project/i18n/fr/scaffold/project-management__README.md +40 -0
- package/Project/i18n/fr/scaffold/project-management__backlog__index.md +58 -0
- package/Project/i18n/pt/scaffold/CLAUDE.md +208 -0
- package/Project/i18n/pt/scaffold/project-management__README.md +40 -0
- package/Project/i18n/pt/scaffold/project-management__backlog__index.md +58 -0
- package/Project/install-project-commands.sh +85 -312
- package/README.md +4 -4
- package/bundles/cursor/.cursorrules +3 -3
- package/bundles/windsurf/.windsurfrules +3 -3
- package/cli/lib/tech-registry.js +2 -2
- package/package.json +2 -2
|
@@ -8,25 +8,6 @@ allowed-tools:
|
|
|
8
8
|
- Edit
|
|
9
9
|
- Write
|
|
10
10
|
model: haiku
|
|
11
|
-
triggers:
|
|
12
|
-
files:
|
|
13
|
-
- "*.md"
|
|
14
|
-
- "README*"
|
|
15
|
-
- "CHANGELOG*"
|
|
16
|
-
- "CONTRIBUTING*"
|
|
17
|
-
- "**/docs/**"
|
|
18
|
-
- "**/*.yaml"
|
|
19
|
-
- "**/*.yml"
|
|
20
|
-
keywords:
|
|
21
|
-
- documentation
|
|
22
|
-
- readme
|
|
23
|
-
- changelog
|
|
24
|
-
- api docs
|
|
25
|
-
- swagger
|
|
26
|
-
- openapi
|
|
27
|
-
- jsdoc
|
|
28
|
-
- phpdoc
|
|
29
|
-
- docstring
|
|
30
11
|
---
|
|
31
12
|
|
|
32
13
|
# Documentation
|
|
@@ -7,18 +7,6 @@ allowed-tools:
|
|
|
7
7
|
- Grep
|
|
8
8
|
- WebFetch
|
|
9
9
|
model: haiku
|
|
10
|
-
triggers:
|
|
11
|
-
keywords:
|
|
12
|
-
- token optimization
|
|
13
|
-
- reduce tokens
|
|
14
|
-
- context management
|
|
15
|
-
- code review tool
|
|
16
|
-
- caveman
|
|
17
|
-
- code-review-graph
|
|
18
|
-
- token-savior
|
|
19
|
-
- context-mode
|
|
20
|
-
- claude-context
|
|
21
|
-
- RTK alternative
|
|
22
10
|
---
|
|
23
11
|
|
|
24
12
|
# Ecosystem Tools
|
|
@@ -7,23 +7,6 @@ allowed-tools:
|
|
|
7
7
|
- Grep
|
|
8
8
|
- Bash
|
|
9
9
|
model: haiku
|
|
10
|
-
triggers:
|
|
11
|
-
files:
|
|
12
|
-
- ".git/**"
|
|
13
|
-
- ".gitignore"
|
|
14
|
-
- ".gitattributes"
|
|
15
|
-
- "CHANGELOG.md"
|
|
16
|
-
keywords:
|
|
17
|
-
- git
|
|
18
|
-
- commit
|
|
19
|
-
- branch
|
|
20
|
-
- merge
|
|
21
|
-
- rebase
|
|
22
|
-
- pull request
|
|
23
|
-
- PR
|
|
24
|
-
- gitflow
|
|
25
|
-
- trunk-based
|
|
26
|
-
- conventional commits
|
|
27
10
|
---
|
|
28
11
|
|
|
29
12
|
# Git Workflow
|
|
@@ -6,17 +6,6 @@ allowed-tools:
|
|
|
6
6
|
- Glob
|
|
7
7
|
- Grep
|
|
8
8
|
model: haiku
|
|
9
|
-
triggers:
|
|
10
|
-
keywords:
|
|
11
|
-
- KISS
|
|
12
|
-
- DRY
|
|
13
|
-
- YAGNI
|
|
14
|
-
- simplify
|
|
15
|
-
- duplication
|
|
16
|
-
- over-engineering
|
|
17
|
-
- premature optimization
|
|
18
|
-
- code smell
|
|
19
|
-
- complexity
|
|
20
9
|
---
|
|
21
10
|
|
|
22
11
|
# Principes KISS, DRY, YAGNI
|
|
@@ -7,26 +7,6 @@ allowed-tools:
|
|
|
7
7
|
- Grep
|
|
8
8
|
- WebSearch
|
|
9
9
|
model: opus
|
|
10
|
-
triggers:
|
|
11
|
-
files:
|
|
12
|
-
- "**/auth/**"
|
|
13
|
-
- "**/security/**"
|
|
14
|
-
- "**/*Auth*"
|
|
15
|
-
- "**/*Security*"
|
|
16
|
-
- "**/.env*"
|
|
17
|
-
keywords:
|
|
18
|
-
- security
|
|
19
|
-
- authentication
|
|
20
|
-
- authorization
|
|
21
|
-
- OWASP
|
|
22
|
-
- injection
|
|
23
|
-
- XSS
|
|
24
|
-
- CSRF
|
|
25
|
-
- encryption
|
|
26
|
-
- password
|
|
27
|
-
- token
|
|
28
|
-
- JWT
|
|
29
|
-
- OAuth
|
|
30
10
|
---
|
|
31
11
|
|
|
32
12
|
# Sécurité
|
|
@@ -6,24 +6,6 @@ allowed-tools:
|
|
|
6
6
|
- Glob
|
|
7
7
|
- Grep
|
|
8
8
|
model: haiku
|
|
9
|
-
triggers:
|
|
10
|
-
files:
|
|
11
|
-
- "*.php"
|
|
12
|
-
- "*.ts"
|
|
13
|
-
- "*.tsx"
|
|
14
|
-
- "*.cs"
|
|
15
|
-
- "*.py"
|
|
16
|
-
- "*.dart"
|
|
17
|
-
- "*.java"
|
|
18
|
-
keywords:
|
|
19
|
-
- SOLID
|
|
20
|
-
- Single Responsibility
|
|
21
|
-
- Open Closed
|
|
22
|
-
- Liskov
|
|
23
|
-
- Interface Segregation
|
|
24
|
-
- Dependency Inversion
|
|
25
|
-
- refactor
|
|
26
|
-
- clean code
|
|
27
9
|
---
|
|
28
10
|
|
|
29
11
|
# Principes SOLID
|
|
@@ -7,31 +7,6 @@ allowed-tools:
|
|
|
7
7
|
- Grep
|
|
8
8
|
- Bash
|
|
9
9
|
model: opus
|
|
10
|
-
triggers:
|
|
11
|
-
files:
|
|
12
|
-
- "*Test.php"
|
|
13
|
-
- "*_test.py"
|
|
14
|
-
- "*.spec.ts"
|
|
15
|
-
- "*.spec.tsx"
|
|
16
|
-
- "*.test.ts"
|
|
17
|
-
- "*.test.tsx"
|
|
18
|
-
- "*_test.dart"
|
|
19
|
-
- "*_test.go"
|
|
20
|
-
- "**/__tests__/**"
|
|
21
|
-
- "**/tests/**"
|
|
22
|
-
keywords:
|
|
23
|
-
- test
|
|
24
|
-
- TDD
|
|
25
|
-
- BDD
|
|
26
|
-
- coverage
|
|
27
|
-
- mock
|
|
28
|
-
- stub
|
|
29
|
-
- fixture
|
|
30
|
-
- assertion
|
|
31
|
-
- PHPUnit
|
|
32
|
-
- Jest
|
|
33
|
-
- pytest
|
|
34
|
-
- xUnit
|
|
35
10
|
---
|
|
36
11
|
|
|
37
12
|
# Testing - Principes TDD/BDD
|
|
@@ -8,7 +8,7 @@ allowed-tools: Read, Glob, Bash, Grep
|
|
|
8
8
|
|
|
9
9
|
Welcome! This wizard helps you discover Claude Craft's value in under 10 minutes.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
220 commands can feel overwhelming — let's find the 3 that matter most for YOUR project right now.
|
|
12
12
|
|
|
13
13
|
## Step 1: Detect Your Project Stack (30 seconds)
|
|
14
14
|
|
|
@@ -21,9 +21,7 @@ Scanning your project to identify the technology stack...
|
|
|
21
21
|
- `pyproject.toml` or `requirements.txt` → Python
|
|
22
22
|
- `pubspec.yaml` → Flutter/Dart
|
|
23
23
|
- `*.csproj` or `*.sln` → C# / .NET
|
|
24
|
-
-
|
|
25
|
-
- `go.mod` → Go
|
|
26
|
-
- `mix.exs` → Elixir
|
|
24
|
+
- Paperclip is Node.js/TypeScript — not auto-detected; install explicitly with `--tech=paperclip`
|
|
27
25
|
|
|
28
26
|
2. For JavaScript/TypeScript projects, check dependencies to determine framework:
|
|
29
27
|
- Look for `react`, `@angular/core`, `vue`, `react-native` in package.json dependencies
|
|
@@ -117,7 +115,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
117
115
|
3. ✓ /[command-3] — [2-sentence explanation of value]
|
|
118
116
|
Why now? [1 sentence on TTFV benefit]
|
|
119
117
|
|
|
120
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
118
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
121
119
|
```
|
|
122
120
|
|
|
123
121
|
## Step 3: Execute with Pedagogical Commentary (5 minutes)
|
|
@@ -185,7 +183,7 @@ C. Join the community
|
|
|
185
183
|
|
|
186
184
|
📚 Resources:
|
|
187
185
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
188
|
-
- All
|
|
186
|
+
- All 220 commands: /help
|
|
189
187
|
- Technology-specific guides: @.claude/references/[your-tech]/
|
|
190
188
|
|
|
191
189
|
✓ You've completed your first 10 minutes with Claude Craft!
|
|
@@ -221,7 +219,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
221
219
|
3. ✓ /react:bundle-analyze — Identify large dependencies bloating your bundle
|
|
222
220
|
Why now? Every 100KB costs users money and slows load time — quick wins here.
|
|
223
221
|
|
|
224
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
222
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
225
223
|
```
|
|
226
224
|
|
|
227
225
|
**User Types: 1**
|
|
@@ -276,7 +274,7 @@ C. Join the community
|
|
|
276
274
|
|
|
277
275
|
📚 Resources:
|
|
278
276
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
279
|
-
- All
|
|
277
|
+
- All 220 commands: /help
|
|
280
278
|
- React-specific guides: @.claude/references/react/
|
|
281
279
|
|
|
282
280
|
✓ You've completed your first 10 minutes with Claude Craft!
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"hooks": [
|
|
82
82
|
{
|
|
83
83
|
"type": "command",
|
|
84
|
-
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env|\\.
|
|
84
|
+
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env(\\.|$)|\\.envrc|credentials|secrets?|private.*key|id_(rsa|dsa|ecdsa|ed25519)|\\.pem$|\\.p(fx|12)$|\\.key$|\\.npmrc$|\\.netrc$|kubeconfig)'; then echo \"BLOCKED: Cannot edit sensitive file: $FILEPATH\" >&2 && exit 2; fi; exit 0"
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"hooks": [
|
|
91
91
|
{
|
|
92
92
|
"type": "command",
|
|
93
|
-
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env|\\.
|
|
93
|
+
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env(\\.|$)|\\.envrc|credentials|secrets?|private.*key|id_(rsa|dsa|ecdsa|ed25519)|\\.pem$|\\.p(fx|12)$|\\.key$|\\.npmrc$|\\.netrc$|kubeconfig)'; then echo \"BLOCKED: Cannot write sensitive file: $FILEPATH\" >&2 && exit 2; fi; exit 0"
|
|
94
94
|
}
|
|
95
95
|
]
|
|
96
96
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"hooks": [
|
|
102
102
|
{
|
|
103
103
|
"type": "command",
|
|
104
|
-
"command": "OUTPUT_SIZE=$(jq -r '.
|
|
104
|
+
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Extract only the relevant information and summarize in under 20 lines.'; elif [ \"$OUTPUT_SIZE\" -gt 10000 ]; then echo 'NOTICE: Moderate output (>10KB). Focus on errors, warnings, and key results.'; fi; exit 0",
|
|
105
105
|
"timeout": 3000
|
|
106
106
|
}
|
|
107
107
|
]
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"hooks": [
|
|
112
112
|
{
|
|
113
113
|
"type": "command",
|
|
114
|
-
"command": "OUTPUT_SIZE=$(jq -r '.
|
|
114
|
+
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Summarize key findings in under 20 lines.'; fi; exit 0",
|
|
115
115
|
"timeout": 3000
|
|
116
116
|
}
|
|
117
117
|
]
|
|
@@ -279,7 +279,7 @@ resume_from:
|
|
|
279
279
|
|--------|---------|
|
|
280
280
|
| "Sitzung nicht gefunden" | Ueberpruefen Sie die Sitzungs-ID in `.recette/sessions/` |
|
|
281
281
|
| "Keine Fehler in der Sitzung" | Die Sitzung hat keine Fehler zu beheben |
|
|
282
|
-
| "sprint-status.yaml nicht gefunden" | BMAD mit `/
|
|
282
|
+
| "sprint-status.yaml nicht gefunden" | BMAD mit `/workflow:init` initialisieren |
|
|
283
283
|
| "RED-Test schlaegt nicht fehl" | Bug existiert moeglicherweise nicht mehr, manuell pruefen |
|
|
284
284
|
|
|
285
285
|
## Best Practices
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: reactnative-reviewer
|
|
3
|
-
description: Spezialist für React Native 0.
|
|
3
|
+
description: Spezialist für React Native 0.85 und Expo Code-Reviews — New Architecture, Navigation, Mobile Performance, Bundle-Analyse
|
|
4
4
|
model: haiku
|
|
5
5
|
effort: low
|
|
6
6
|
maxTurns: 6
|
|
@@ -10,11 +10,11 @@ permissionMode: default
|
|
|
10
10
|
skills: [solid-principles, testing-reactnative, security-reactnative, architecture, navigation]
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# Audit-Agent React Native 0.
|
|
13
|
+
# Audit-Agent React Native 0.85 / Expo
|
|
14
14
|
|
|
15
15
|
## Identität
|
|
16
16
|
|
|
17
|
-
Ich bin ein Spezialist für Code-Reviews von React Native 0.
|
|
17
|
+
Ich bin ein Spezialist für Code-Reviews von React Native 0.85 und Expo. Mein Ansatz konzentriert sich auf die mobil-spezifischen Probleme: die New Architecture (JSI, Fabric, TurboModules), die Navigation mit Expo Router, die Performance bei 60 FPS, die Verwaltung der Bundle-Größe und die an Mobile angepassten Kompositionsmuster. Ich führe kein generisches Audit durch -- ich erkenne, was eine moderne React Native-Anwendung zum Abstürzen bringt, verlangsamt oder unnötig verkompliziert, die standardmäßig die New Architecture verwendet.
|
|
18
18
|
|
|
19
19
|
## Bewertungssystem (100 Punkte)
|
|
20
20
|
|
|
@@ -411,7 +411,7 @@ import { format } from 'date-fns';
|
|
|
411
411
|
## Audit-Berichtsformat
|
|
412
412
|
|
|
413
413
|
```markdown
|
|
414
|
-
# Audit-Bericht React Native 0.
|
|
414
|
+
# Audit-Bericht React Native 0.85 / Expo
|
|
415
415
|
|
|
416
416
|
## Projekt: [Projektname]
|
|
417
417
|
**Datum:** [Datum]
|
|
@@ -8,9 +8,9 @@ Dieses Dokument behandelt die wesentlichen Werkzeuge für die React Native Entwi
|
|
|
8
8
|
|
|
9
9
|
## Systemvoraussetzungen
|
|
10
10
|
|
|
11
|
-
### Node.js >= 22 LTS (erforderlich für RN 0.
|
|
11
|
+
### Node.js >= 22 LTS (erforderlich für RN 0.85)
|
|
12
12
|
|
|
13
|
-
React Native 0.
|
|
13
|
+
React Native 0.85 erfordert **Node.js 22.x LTS** als Minimum (RN 0.85 benötigte Node 20). Die empfohlene Version ist **Node.js 22.x active LTS**.
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
# Version prüfen
|
|
@@ -22,11 +22,11 @@ nvm use 22
|
|
|
22
22
|
nvm alias default 22
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
> Node-Versionen < 22 werden mit RN 0.
|
|
25
|
+
> Node-Versionen < 22 werden mit RN 0.85 nicht mehr unterstützt. Vor der Migration aktualisieren.
|
|
26
26
|
|
|
27
27
|
### React Native Gesture Handler 3.0.0 — Breaking Changes
|
|
28
28
|
|
|
29
|
-
RNGH 3.0.0 führt Breaking Changes mit RN 0.
|
|
29
|
+
RNGH 3.0.0 führt Breaking Changes mit RN 0.85 ein:
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
// ✅ RNGH 3.0 — GestureHandlerRootView auf Root-Ebene erforderlich
|
|
@@ -230,7 +230,7 @@ rm -rf node_modules/.cache
|
|
|
230
230
|
|
|
231
231
|
---
|
|
232
232
|
|
|
233
|
-
## Metro TLS (0.85+ / 0.
|
|
233
|
+
## Metro TLS (0.85+ / 0.85+)
|
|
234
234
|
|
|
235
235
|
Seit RN 0.85 akzeptiert Metro ein `server.tls`-Objekt in `metro.config.js` und ermöglicht damit HTTPS und WSS (sicheres WebSocket für Fast Refresh) während der lokalen Entwicklung.
|
|
236
236
|
|
|
@@ -246,7 +246,7 @@ Seit RN 0.85 akzeptiert Metro ein `server.tls`-Objekt in `metro.config.js` und e
|
|
|
246
246
|
### Konfiguration
|
|
247
247
|
|
|
248
248
|
```javascript
|
|
249
|
-
// metro.config.js (bare RN 0.85+ / 0.
|
|
249
|
+
// metro.config.js (bare RN 0.85+ / 0.85+)
|
|
250
250
|
const { getDefaultConfig } = require('@react-native/metro-config');
|
|
251
251
|
const fs = require('fs');
|
|
252
252
|
|
|
@@ -8,7 +8,7 @@ allowed-tools: Read, Glob, Bash, Grep
|
|
|
8
8
|
|
|
9
9
|
Welcome! This wizard helps you discover Claude Craft's value in under 10 minutes.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
220 commands can feel overwhelming — let's find the 3 that matter most for YOUR project right now.
|
|
12
12
|
|
|
13
13
|
## Step 1: Detect Your Project Stack (30 seconds)
|
|
14
14
|
|
|
@@ -21,9 +21,7 @@ Scanning your project to identify the technology stack...
|
|
|
21
21
|
- `pyproject.toml` or `requirements.txt` → Python
|
|
22
22
|
- `pubspec.yaml` → Flutter/Dart
|
|
23
23
|
- `*.csproj` or `*.sln` → C# / .NET
|
|
24
|
-
-
|
|
25
|
-
- `go.mod` → Go
|
|
26
|
-
- `mix.exs` → Elixir
|
|
24
|
+
- Paperclip is Node.js/TypeScript — not auto-detected; install explicitly with `--tech=paperclip`
|
|
27
25
|
|
|
28
26
|
2. For JavaScript/TypeScript projects, check dependencies to determine framework:
|
|
29
27
|
- Look for `react`, `@angular/core`, `vue`, `react-native` in package.json dependencies
|
|
@@ -117,7 +115,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
117
115
|
3. ✓ /[command-3] — [2-sentence explanation of value]
|
|
118
116
|
Why now? [1 sentence on TTFV benefit]
|
|
119
117
|
|
|
120
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
118
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
121
119
|
```
|
|
122
120
|
|
|
123
121
|
## Step 3: Execute with Pedagogical Commentary (5 minutes)
|
|
@@ -185,7 +183,7 @@ C. Join the community
|
|
|
185
183
|
|
|
186
184
|
📚 Resources:
|
|
187
185
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
188
|
-
- All
|
|
186
|
+
- All 220 commands: /help
|
|
189
187
|
- Technology-specific guides: @.claude/references/[your-tech]/
|
|
190
188
|
|
|
191
189
|
✓ You've completed your first 10 minutes with Claude Craft!
|
|
@@ -221,7 +219,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
221
219
|
3. ✓ /react:bundle-analyze — Identify large dependencies bloating your bundle
|
|
222
220
|
Why now? Every 100KB costs users money and slows load time — quick wins here.
|
|
223
221
|
|
|
224
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
222
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
225
223
|
```
|
|
226
224
|
|
|
227
225
|
**User Types: 1**
|
|
@@ -276,7 +274,7 @@ C. Join the community
|
|
|
276
274
|
|
|
277
275
|
📚 Resources:
|
|
278
276
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
279
|
-
- All
|
|
277
|
+
- All 220 commands: /help
|
|
280
278
|
- React-specific guides: @.claude/references/react/
|
|
281
279
|
|
|
282
280
|
✓ You've completed your first 10 minutes with Claude Craft!
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"hooks": [
|
|
82
82
|
{
|
|
83
83
|
"type": "command",
|
|
84
|
-
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env|\\.
|
|
84
|
+
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env(\\.|$)|\\.envrc|credentials|secrets?|private.*key|id_(rsa|dsa|ecdsa|ed25519)|\\.pem$|\\.p(fx|12)$|\\.key$|\\.npmrc$|\\.netrc$|kubeconfig)'; then echo \"BLOCKED: Cannot edit sensitive file: $FILEPATH\" >&2 && exit 2; fi; exit 0"
|
|
85
85
|
}
|
|
86
86
|
]
|
|
87
87
|
},
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"hooks": [
|
|
91
91
|
{
|
|
92
92
|
"type": "command",
|
|
93
|
-
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env|\\.
|
|
93
|
+
"command": "FILEPATH=$(jq -r '.tool_input.file_path // empty'); if printf '%s' \"$FILEPATH\" | grep -qE '(\\.env(\\.|$)|\\.envrc|credentials|secrets?|private.*key|id_(rsa|dsa|ecdsa|ed25519)|\\.pem$|\\.p(fx|12)$|\\.key$|\\.npmrc$|\\.netrc$|kubeconfig)'; then echo \"BLOCKED: Cannot write sensitive file: $FILEPATH\" >&2 && exit 2; fi; exit 0"
|
|
94
94
|
}
|
|
95
95
|
]
|
|
96
96
|
}
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"hooks": [
|
|
102
102
|
{
|
|
103
103
|
"type": "command",
|
|
104
|
-
"command": "OUTPUT_SIZE=$(jq -r '.
|
|
104
|
+
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Extract only the relevant information and summarize in under 20 lines.'; elif [ \"$OUTPUT_SIZE\" -gt 10000 ]; then echo 'NOTICE: Moderate output (>10KB). Focus on errors, warnings, and key results.'; fi; exit 0",
|
|
105
105
|
"timeout": 3000
|
|
106
106
|
}
|
|
107
107
|
]
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
"hooks": [
|
|
112
112
|
{
|
|
113
113
|
"type": "command",
|
|
114
|
-
"command": "OUTPUT_SIZE=$(jq -r '.
|
|
114
|
+
"command": "OUTPUT_SIZE=$(jq -r '.tool_response.stdout? // .tool_response? // .tool_result? // empty' | wc -c); if [ \"$OUTPUT_SIZE\" -gt 50000 ]; then echo 'NOTICE: Large output (>50KB). Summarize key findings in under 20 lines.'; fi; exit 0",
|
|
115
115
|
"timeout": 3000
|
|
116
116
|
}
|
|
117
117
|
]
|
|
@@ -279,7 +279,7 @@ resume_from:
|
|
|
279
279
|
|-------|----------|
|
|
280
280
|
| "Session not found" | Verify session ID in `.recette/sessions/` |
|
|
281
281
|
| "No errors in session" | Session has no errors to fix |
|
|
282
|
-
| "sprint-status.yaml not found" | Initialize BMAD with `/
|
|
282
|
+
| "sprint-status.yaml not found" | Initialize BMAD with `/workflow:init` |
|
|
283
283
|
| "RED test does not fail" | Bug may no longer exist, check manually |
|
|
284
284
|
|
|
285
285
|
## Best Practices
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: reactnative-reviewer
|
|
3
|
-
description: React Native 0.
|
|
3
|
+
description: React Native 0.85 and Expo code review specialist — New Architecture, navigation, mobile performance, bundle analysis
|
|
4
4
|
model: haiku
|
|
5
5
|
effort: low
|
|
6
6
|
maxTurns: 6
|
|
@@ -10,11 +10,11 @@ permissionMode: default
|
|
|
10
10
|
skills: [solid-principles, testing-reactnative, security-reactnative, architecture, navigation]
|
|
11
11
|
---
|
|
12
12
|
|
|
13
|
-
# React Native 0.
|
|
13
|
+
# React Native 0.85 / Expo Audit Agent
|
|
14
14
|
|
|
15
15
|
## Identity
|
|
16
16
|
|
|
17
|
-
I am a specialist in React Native 0.
|
|
17
|
+
I am a specialist in React Native 0.85 and Expo code review. My approach focuses on mobile-specific issues: the New Architecture (JSI, Fabric, TurboModules), navigation with Expo Router, 60 FPS performance, bundle size management, and composition patterns adapted to mobile. I do not perform a generic audit -- I detect what breaks, slows down, or unnecessarily complicates a modern React Native application using the New Architecture by default.
|
|
18
18
|
|
|
19
19
|
## Scoring System (100 points)
|
|
20
20
|
|
|
@@ -411,7 +411,7 @@ import { format } from 'date-fns';
|
|
|
411
411
|
## Audit Report Format
|
|
412
412
|
|
|
413
413
|
```markdown
|
|
414
|
-
# React Native 0.
|
|
414
|
+
# React Native 0.85 / Expo Audit Report
|
|
415
415
|
|
|
416
416
|
## Project: [Project Name]
|
|
417
417
|
**Date:** [Date]
|
|
@@ -8,9 +8,9 @@ Ce document couvre les outils essentiels pour le développement React Native ave
|
|
|
8
8
|
|
|
9
9
|
## System Requirements
|
|
10
10
|
|
|
11
|
-
### Node.js >= 22 LTS (required for RN 0.
|
|
11
|
+
### Node.js >= 22 LTS (required for RN 0.85)
|
|
12
12
|
|
|
13
|
-
React Native 0.
|
|
13
|
+
React Native 0.85 requires **Node.js 22.x LTS** minimum (RN 0.85 required Node 20). The recommended version is **Node.js 22.x active LTS**.
|
|
14
14
|
|
|
15
15
|
```bash
|
|
16
16
|
# Check version
|
|
@@ -22,11 +22,11 @@ nvm use 22
|
|
|
22
22
|
nvm alias default 22
|
|
23
23
|
```
|
|
24
24
|
|
|
25
|
-
> Node versions < 22 are no longer supported with RN 0.
|
|
25
|
+
> Node versions < 22 are no longer supported with RN 0.85. Upgrade before migrating.
|
|
26
26
|
|
|
27
27
|
### React Native Gesture Handler 3.0.0 — Breaking Changes
|
|
28
28
|
|
|
29
|
-
RNGH 3.0.0 introduces breaking changes with RN 0.
|
|
29
|
+
RNGH 3.0.0 introduces breaking changes with RN 0.85:
|
|
30
30
|
|
|
31
31
|
```typescript
|
|
32
32
|
// ✅ RNGH 3.0 — GestureHandlerRootView required at root level
|
|
@@ -8,7 +8,7 @@ allowed-tools: Read, Glob, Bash, Grep
|
|
|
8
8
|
|
|
9
9
|
Welcome! This wizard helps you discover Claude Craft's value in under 10 minutes.
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
220 commands can feel overwhelming — let's find the 3 that matter most for YOUR project right now.
|
|
12
12
|
|
|
13
13
|
## Step 1: Detect Your Project Stack (30 seconds)
|
|
14
14
|
|
|
@@ -21,9 +21,7 @@ Scanning your project to identify the technology stack...
|
|
|
21
21
|
- `pyproject.toml` or `requirements.txt` → Python
|
|
22
22
|
- `pubspec.yaml` → Flutter/Dart
|
|
23
23
|
- `*.csproj` or `*.sln` → C# / .NET
|
|
24
|
-
-
|
|
25
|
-
- `go.mod` → Go
|
|
26
|
-
- `mix.exs` → Elixir
|
|
24
|
+
- Paperclip is Node.js/TypeScript — not auto-detected; install explicitly with `--tech=paperclip`
|
|
27
25
|
|
|
28
26
|
2. For JavaScript/TypeScript projects, check dependencies to determine framework:
|
|
29
27
|
- Look for `react`, `@angular/core`, `vue`, `react-native` in package.json dependencies
|
|
@@ -117,7 +115,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
117
115
|
3. ✓ /[command-3] — [2-sentence explanation of value]
|
|
118
116
|
Why now? [1 sentence on TTFV benefit]
|
|
119
117
|
|
|
120
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
118
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
121
119
|
```
|
|
122
120
|
|
|
123
121
|
## Step 3: Execute with Pedagogical Commentary (5 minutes)
|
|
@@ -185,7 +183,7 @@ C. Join the community
|
|
|
185
183
|
|
|
186
184
|
📚 Resources:
|
|
187
185
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
188
|
-
- All
|
|
186
|
+
- All 220 commands: /help
|
|
189
187
|
- Technology-specific guides: @.claude/references/[your-tech]/
|
|
190
188
|
|
|
191
189
|
✓ You've completed your first 10 minutes with Claude Craft!
|
|
@@ -221,7 +219,7 @@ Based on your stack, these 3 commands will give you immediate insights:
|
|
|
221
219
|
3. ✓ /react:bundle-analyze — Identify large dependencies bloating your bundle
|
|
222
220
|
Why now? Every 100KB costs users money and slows load time — quick wins here.
|
|
223
221
|
|
|
224
|
-
Choose one to run (type the number 1-3), or skip to explore all
|
|
222
|
+
Choose one to run (type the number 1-3), or skip to explore all 220 commands with /help
|
|
225
223
|
```
|
|
226
224
|
|
|
227
225
|
**User Types: 1**
|
|
@@ -276,7 +274,7 @@ C. Join the community
|
|
|
276
274
|
|
|
277
275
|
📚 Resources:
|
|
278
276
|
- Full quickstart guide: @docs/QUICKSTART.md (section "First 10 Minutes")
|
|
279
|
-
- All
|
|
277
|
+
- All 220 commands: /help
|
|
280
278
|
- React-specific guides: @.claude/references/react/
|
|
281
279
|
|
|
282
280
|
✓ You've completed your first 10 minutes with Claude Craft!
|