claude-code-arcane 2.9.9 → 2.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +29 -0
- package/README.md +45 -43
- package/dist/cli.js +79 -33
- package/docs/SKILLS-CATALOG.md +4 -2
- package/docs/USER-GUIDE.md +24 -22
- package/docs/templates/skill-test-spec.md +0 -1
- package/package.json +1 -1
- package/profiles/ai.yaml +3 -0
- package/profiles/android-native.yaml +2 -0
- package/profiles/backend-dotnet.yaml +2 -0
- package/profiles/backend-go.yaml +2 -8
- package/profiles/backend-nestjs.yaml +2 -0
- package/profiles/backend-nextjs.yaml +2 -0
- package/profiles/backend-ts.yaml +4 -8
- package/profiles/backend-typescript.yaml +53 -0
- package/profiles/blender.yaml +1 -0
- package/profiles/flutter.yaml +2 -0
- package/profiles/frontend-react-vite.yaml +39 -0
- package/profiles/frontend.yaml +2 -0
- package/profiles/infra.yaml +2 -0
- package/profiles/integrations.yaml +6 -1
- package/profiles/ios-native.yaml +2 -0
- package/profiles/meshy.yaml +1 -0
- package/profiles/mobile-android-kotlin.yaml +36 -0
- package/profiles/mobile-flutter.yaml +37 -0
- package/profiles/mobile-ios-swift.yaml +37 -0
- package/profiles/mobile-react-native.yaml +39 -0
- package/profiles/mobile.yaml +2 -0
- package/rules/blender-files.md +72 -0
- package/rules/blender-pipeline.md +1 -63
- package/rules/gamedev/narrative.md +1 -1
- package/rules/meshy-assets.md +9 -78
- package/rules/meshy-files.md +83 -0
- package/skills/agent-protocol/SKILL.md +1 -1
- package/skills/agent-protocol/references/communication-standard.md +2 -2
- package/skills/ai-security/SKILL.md +4 -0
- package/skills/arcane-add/SKILL.md +1 -1
- package/skills/arcane-list/SKILL.md +3 -3
- package/skills/arcane-status/SKILL.md +1 -1
- package/skills/audit-dev/SKILL.md +1 -1
- package/skills/blender-animation/SKILL.md +1 -1
- package/skills/blender-export/SKILL.md +1 -1
- package/skills/blender-materials/SKILL.md +1 -1
- package/skills/blender-modeling/SKILL.md +1 -1
- package/skills/check/SKILL.md +1 -1
- package/skills/chief-of-staff/SKILL.md +1 -1
- package/skills/cloud-security/SKILL.md +4 -0
- package/skills/freelance-kickoff/SKILL.md +1 -1
- package/skills/isms-audit-expert/SKILL.md +2 -0
- package/skills/meshy-derive/SKILL.md +1 -1
- package/skills/meshy-generate/SKILL.md +1 -1
- package/skills/meshy-setup/SKILL.md +1 -1
- package/skills/owasp-top10-check/SKILL.md +1 -1
- package/skills/qms-audit-expert/SKILL.md +2 -0
- package/skills/security-pen-testing/SKILL.md +1 -1
- package/skills/seo-audit/SKILL.md +1 -1
- package/skills/skill-auditor/SKILL.md +0 -1
- package/skills/skill-improve/SKILL.md +6 -7
- package/skills/skill-test/SKILL.md +3 -3
- package/skills/skill-test/references/static-checks.md +13 -8
- package/skills/standup-report/SKILL.md +1 -1
- package/skills/vn-gdd/SKILL.md +2 -0
- package/skills/web-security/SKILL.md +4 -0
- package/skills/worktree-isolation/README.md +6 -6
- package/skills/worktree-isolation/SKILL.md +5 -2
- package/skills/worktree-isolation-setup/README.md +7 -11
- package/skills/worktree-isolation-setup/SKILL.md +15 -6
- package/skills/worktree-isolation-setup/scripts/apply.py +0 -178
- package/skills/worktree-isolation-setup/scripts/install_hook.py +0 -118
- package/skills/worktree-isolation-setup/scripts/lib.py +0 -371
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
# [2.11.0](https://github.com/SebastianLuser/claude-code-arcane/compare/v2.10.0...v2.11.0) (2026-10-11)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **global:** refuse to rewrite a malformed settings.json ([fa1a15b](https://github.com/SebastianLuser/claude-code-arcane/commit/fa1a15be969fe56fd865319df30b4e3bd985285e))
|
|
7
|
+
* **rules:** align the narrative dialogue limit with the VN rule at 200 ([3cc5f60](https://github.com/SebastianLuser/claude-code-arcane/commit/3cc5f60b0836c6a817018ca8af3b9ebf981499dc))
|
|
8
|
+
* **skill-test:** drop the ask-before-write static check ([28e504f](https://github.com/SebastianLuser/claude-code-arcane/commit/28e504f29ab2114d8f27f732d3fd148ccd3dc2be))
|
|
9
|
+
* **skills:** complete the skill catalog and the frontmatter it relies on ([5665fdf](https://github.com/SebastianLuser/claude-code-arcane/commit/5665fdfd60766ce663c26060d8f042d873f12ac1))
|
|
10
|
+
* **skills:** make the five-bullet limit a guide that never drops a critical finding ([466bf55](https://github.com/SebastianLuser/claude-code-arcane/commit/466bf554d862d55350c0d1cfb86caea4520779e6))
|
|
11
|
+
* **worktree:** ship the isolation skills with the profiles that run Docker ([f0a1589](https://github.com/SebastianLuser/claude-code-arcane/commit/f0a15894c6c064088c1fe55150f7145e04f5848a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **skills:** give the ten evaluator skills that lacked one a verdict ([26e9682](https://github.com/SebastianLuser/claude-code-arcane/commit/26e968235dbaf4babd7c93aa15c348639f7e6b8d))
|
|
17
|
+
|
|
18
|
+
# [2.10.0](https://github.com/SebastianLuser/claude-code-arcane/compare/v2.9.9...v2.10.0) (2026-10-10)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Bug Fixes
|
|
22
|
+
|
|
23
|
+
* **profiles:** keep bridge files under the old names for pre-rename CLIs ([921c351](https://github.com/SebastianLuser/claude-code-arcane/commit/921c35119ea3b4bf5a25bbdabe369bc922e71a3f))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* **profiles:** name stack profiles by platform and technology ([ce89d4a](https://github.com/SebastianLuser/claude-code-arcane/commit/ce89d4a25b1f6ba28d6efe7e84a27343b1e734f5))
|
|
29
|
+
|
|
1
30
|
## [2.9.9](https://github.com/SebastianLuser/claude-code-arcane/compare/v2.9.8...v2.9.9) (2026-10-10)
|
|
2
31
|
|
|
3
32
|
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Claude Code Arcane
|
|
2
2
|
|
|
3
|
-
> **437 skills, 115 agents, 17 hooks and
|
|
3
|
+
> **437 skills, 115 agents, 17 hooks and 33 rules for Claude Code — selective deploy by profile.**
|
|
4
4
|
|
|
5
5
|
A configuration harness installable via `npx`. Pick a **profile** that matches your stack and only the relevant tools get installed into your project's `.claude/` directory.
|
|
6
6
|
|
|
@@ -20,7 +20,7 @@ A configuration harness installable via `npx`. Pick a **profile** that matches y
|
|
|
20
20
|
cd ~/projects/my-app
|
|
21
21
|
|
|
22
22
|
# Install a profile (no clone needed)
|
|
23
|
-
npx claude-code-arcane install backend-
|
|
23
|
+
npx claude-code-arcane install backend-typescript+agile
|
|
24
24
|
|
|
25
25
|
# Open Claude Code
|
|
26
26
|
claude
|
|
@@ -38,7 +38,7 @@ explicitly first:
|
|
|
38
38
|
|
|
39
39
|
```bash
|
|
40
40
|
npm install -g claude-code-arcane
|
|
41
|
-
arcane install backend-
|
|
41
|
+
arcane install backend-typescript+agile # same as the npx line above
|
|
42
42
|
```
|
|
43
43
|
|
|
44
44
|
---
|
|
@@ -50,8 +50,8 @@ arcane install backend-ts+agile # same as the npx line above
|
|
|
50
50
|
Each profile is a YAML file that bundles skills, agents, rules, and permissions:
|
|
51
51
|
|
|
52
52
|
```yaml
|
|
53
|
-
# profiles/backend-
|
|
54
|
-
name: backend-
|
|
53
|
+
# profiles/backend-typescript.yaml
|
|
54
|
+
name: backend-typescript
|
|
55
55
|
category: backend
|
|
56
56
|
skills: [api-design, auth-strategy, jwt-strategy, ...]
|
|
57
57
|
rules:
|
|
@@ -66,7 +66,7 @@ permissions:
|
|
|
66
66
|
All profiles are equal — there is no "base vs addon" distinction. Combine as many as you need:
|
|
67
67
|
|
|
68
68
|
```bash
|
|
69
|
-
npx claude-code-arcane install backend-
|
|
69
|
+
npx claude-code-arcane install backend-typescript+agile+testing
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
The installer merges all profiles, deduplicates skills, and installs only what's needed.
|
|
@@ -104,7 +104,7 @@ my-project/.claude/
|
|
|
104
104
|
### Install a profile
|
|
105
105
|
|
|
106
106
|
```bash
|
|
107
|
-
npx claude-code-arcane install backend-
|
|
107
|
+
npx claude-code-arcane install backend-typescript+agile # Install profile combination
|
|
108
108
|
npx claude-code-arcane install # Show available profiles (interactive)
|
|
109
109
|
npx claude-code-arcane install unity-dev --dry-run # Preview without installing
|
|
110
110
|
```
|
|
@@ -184,62 +184,64 @@ Once installed, manage the installation from within a Claude Code session:
|
|
|
184
184
|
|
|
185
185
|
All profiles combine freely with `+` — there is no required "base". Grouped by category:
|
|
186
186
|
|
|
187
|
+
Older names still install and update: `backend-ts`, `frontend`, `mobile`, `flutter`, `ios-native` and `android-native` resolve to `backend-typescript`, `frontend-react-vite`, `mobile-react-native`, `mobile-flutter`, `mobile-ios-swift` and `mobile-android-kotlin`.
|
|
188
|
+
|
|
187
189
|
### Backend
|
|
188
190
|
|
|
189
191
|
| Profile | Stack | Skills | Agents |
|
|
190
192
|
|---------|-------|--------|--------|
|
|
191
|
-
| `backend-
|
|
192
|
-
| `backend-go` | Backend Go — Clean Arch, DB, auth, API, CI |
|
|
193
|
-
| `backend-dotnet` | Backend .NET — ASP.NET Core, Vertical Slice/Clean, EF Core, JWT |
|
|
194
|
-
| `backend-nestjs` | Backend NestJS — feature modules, DI, Prisma, JWT, microservices |
|
|
195
|
-
| `backend-nextjs` | Next.js full-stack — App Router, RSC, Server Actions, SEO, AI SDK |
|
|
193
|
+
| `backend-typescript` | Backend TypeScript — Fastify, Prisma, Zod, API design | 27 | engineering |
|
|
194
|
+
| `backend-go` | Backend Go — Clean Arch, DB, auth, API, CI | 26 | engineering |
|
|
195
|
+
| `backend-dotnet` | Backend .NET — ASP.NET Core, Vertical Slice/Clean, EF Core, JWT | 27 | engineering |
|
|
196
|
+
| `backend-nestjs` | Backend NestJS — feature modules, DI, Prisma, JWT, microservices | 27 | engineering |
|
|
197
|
+
| `backend-nextjs` | Next.js full-stack — App Router, RSC, Server Actions, SEO, AI SDK | 24 | engineering |
|
|
196
198
|
|
|
197
199
|
### Frontend & Design
|
|
198
200
|
|
|
199
201
|
| Profile | Stack | Skills | Agents |
|
|
200
202
|
|---------|-------|--------|--------|
|
|
201
|
-
| `frontend` | React + Vite + TypeScript |
|
|
202
|
-
| `design` | Figma, UX review, design system, handoff |
|
|
203
|
+
| `frontend-react-vite` | React + Vite + TypeScript | 17 | engineering |
|
|
204
|
+
| `design` | Figma, UX review, design system, handoff | 10 | product |
|
|
203
205
|
|
|
204
206
|
### Mobile
|
|
205
207
|
|
|
206
208
|
| Profile | Stack | Skills | Agents |
|
|
207
209
|
|---------|-------|--------|--------|
|
|
208
|
-
| `mobile` | React Native + Expo + TypeScript |
|
|
209
|
-
| `flutter` | Flutter + Dart cross-platform |
|
|
210
|
-
| `android-
|
|
211
|
-
| `ios-
|
|
210
|
+
| `mobile-react-native` | React Native + Expo + TypeScript | 17 | engineering |
|
|
211
|
+
| `mobile-flutter` | Flutter + Dart cross-platform | 15 | engineering |
|
|
212
|
+
| `mobile-android-kotlin` | Kotlin + Jetpack Compose + Material Design 3 | 14 | engineering |
|
|
213
|
+
| `mobile-ios-swift` | Swift + UIKit/SwiftUI + Apple HIG | 14 | engineering |
|
|
212
214
|
|
|
213
215
|
### Gamedev
|
|
214
216
|
|
|
215
217
|
| Profile | Stack | Skills | Agents |
|
|
216
218
|
|---------|-------|--------|--------|
|
|
217
|
-
| `unity-dev` | Unity programmer — C#, architecture, performance, builds |
|
|
218
|
-
| `unity-design` | Game designer — GDDs, balance, art bible, playtesting |
|
|
219
|
+
| `unity-dev` | Unity programmer — C#, architecture, performance, builds | 21 | game |
|
|
220
|
+
| `unity-design` | Game designer — GDDs, balance, art bible, playtesting | 18 | game |
|
|
219
221
|
| `meshy` | 3D asset production with Meshy AI — credit-gated generation, single master + cheap derivatives, printability | 5 | — |
|
|
220
222
|
| `blender` | Blender for game assets — tri budget and topology, materials with bake and color space, baked animation, validated export | 6 | — |
|
|
221
|
-
| `unreal-dev` | Unreal Engine 5 programmer — C++, Blueprints, GAS, replication, rendering, packaging |
|
|
222
|
-
| `visual-novel` | Visual novel developer — Ren'Py, narrative, branching |
|
|
223
|
+
| `unreal-dev` | Unreal Engine 5 programmer — C++, Blueprints, GAS, replication, rendering, packaging | 50 | game |
|
|
224
|
+
| `visual-novel` | Visual novel developer — Ren'Py, narrative, branching | 18 | visualnovel, game |
|
|
223
225
|
| `audio` | Game audio — direction, composition, sound design, middleware, VO, QA | 13 | audio |
|
|
224
226
|
|
|
225
227
|
### Platform & Quality
|
|
226
228
|
|
|
227
229
|
| Profile | Adds | Skills | Agents |
|
|
228
230
|
|---------|------|--------|--------|
|
|
229
|
-
| `infra` | Terraform, observability, secrets, rollback, K8s |
|
|
231
|
+
| `infra` | Terraform, observability, secrets, rollback, K8s | 26 | devops |
|
|
230
232
|
| `database` | Indexing, migrations, seeding, replicas, optimization | 8 | — |
|
|
231
|
-
| `security` | Audits, OWASP, secrets, backups |
|
|
233
|
+
| `security` | Audits, OWASP, secrets, backups | 10 | — |
|
|
232
234
|
| `testing` | Contract, performance, regression, flakiness | 11 | quality |
|
|
233
|
-
| `ai` | LLM cost optimization, RAG, ML, data engineering |
|
|
235
|
+
| `ai` | LLM cost optimization, RAG, ML, data engineering, agent and MCP design | 10 | ai |
|
|
234
236
|
|
|
235
237
|
### Project Management
|
|
236
238
|
|
|
237
239
|
| Profile | Adds | Skills | Agents |
|
|
238
240
|
|---------|------|--------|--------|
|
|
239
|
-
| `agile` | Sprints, standups, retros, estimates |
|
|
240
|
-
| `jira` | Jira via REST API — issues, sprints, boards |
|
|
241
|
-
| `clickup` | ClickUp via MCP — tasks, docs, time tracking |
|
|
242
|
-
| `integrations` | GitHub Projects, Slack, Postman |
|
|
241
|
+
| `agile` | Sprints, standups, retros, estimates | 39 | management, product |
|
|
242
|
+
| `jira` | Jira via REST API — issues, sprints, boards | 1 | — |
|
|
243
|
+
| `clickup` | ClickUp via MCP — tasks, docs, time tracking | 1 | — |
|
|
244
|
+
| `integrations` | GitHub Projects, Slack, Postman, Stripe, email templates, Microsoft 365, Snowflake, stack evaluation | 8 | integrations |
|
|
243
245
|
|
|
244
246
|
### Business
|
|
245
247
|
|
|
@@ -249,7 +251,7 @@ All profiles combine freely with `+` — there is no required "base". Grouped by
|
|
|
249
251
|
| `clevel` | C-suite advisors, board prep, strategic ops | 28 | clevel |
|
|
250
252
|
| `finance` | Investment analysis, financial modeling, SaaS metrics | 3 | business |
|
|
251
253
|
| `marketing` | Content, growth, SEO/CRO, strategy, analytics | 44 | marketing |
|
|
252
|
-
| `ecommerce` | Commerce end-to-end agnóstico de lenguaje — data model, checkout, inventario, órdenes, pagos, promociones, shipping/tax, listings, analytics, feeds, storefront, suscripciones |
|
|
254
|
+
| `ecommerce` | Commerce end-to-end agnóstico de lenguaje — data model, checkout, inventario, órdenes, pagos, promociones, shipping/tax, listings, analytics, feeds, storefront, suscripciones | 21 | ecommerce |
|
|
253
255
|
| `regulatory` | ISO 13485, GDPR, FDA, SOC 2, ISMS, QMS, MDR | 13 | regulatory |
|
|
254
256
|
|
|
255
257
|
### Personal
|
|
@@ -264,7 +266,7 @@ All profiles combine freely with `+` — there is no required "base". Grouped by
|
|
|
264
266
|
|
|
265
267
|
| Profile | Adds | Skills | Agents |
|
|
266
268
|
|---------|------|--------|--------|
|
|
267
|
-
| `docs` | PDF, PPTX, XLSX, DOCX, architecture decisions |
|
|
269
|
+
| `docs` | PDF, PPTX, XLSX, DOCX, architecture decisions | 5 | — |
|
|
268
270
|
| `self-improving` | Agent self-improvement and skill extraction | 2 | — |
|
|
269
271
|
| `statusline` | Claude Code status bar (branch, division, session info) | 0 | — |
|
|
270
272
|
|
|
@@ -323,28 +325,28 @@ npx claude-code-arcane install unity-dev+unity-design+agile+clickup
|
|
|
323
325
|
npx claude-code-arcane install backend-go+infra+agile+jira
|
|
324
326
|
|
|
325
327
|
# Full-stack monorepo
|
|
326
|
-
npx claude-code-arcane install backend-
|
|
328
|
+
npx claude-code-arcane install backend-typescript+frontend-react-vite+testing+database
|
|
327
329
|
|
|
328
330
|
# Mobile app with CI/CD
|
|
329
|
-
npx claude-code-arcane install mobile+agile+clickup+testing
|
|
331
|
+
npx claude-code-arcane install mobile-react-native+agile+clickup+testing
|
|
330
332
|
|
|
331
333
|
# Secure backend with docs
|
|
332
|
-
npx claude-code-arcane install backend-
|
|
334
|
+
npx claude-code-arcane install backend-typescript+security+docs+database
|
|
333
335
|
|
|
334
336
|
# AI/ML project with data pipelines
|
|
335
337
|
npx claude-code-arcane install backend-go+ai+infra
|
|
336
338
|
|
|
337
339
|
# SaaS with full marketing stack
|
|
338
|
-
npx claude-code-arcane install backend-
|
|
340
|
+
npx claude-code-arcane install backend-typescript+marketing+business+finance
|
|
339
341
|
|
|
340
342
|
# Regulated medical device
|
|
341
|
-
npx claude-code-arcane install backend-
|
|
343
|
+
npx claude-code-arcane install backend-typescript+regulatory+security+testing
|
|
342
344
|
|
|
343
345
|
# Founder advisory setup
|
|
344
346
|
npx claude-code-arcane install clevel+business+finance+marketing
|
|
345
347
|
|
|
346
348
|
# With status bar
|
|
347
|
-
npx claude-code-arcane install backend-
|
|
349
|
+
npx claude-code-arcane install backend-typescript+agile+statusline
|
|
348
350
|
```
|
|
349
351
|
|
|
350
352
|
---
|
|
@@ -353,7 +355,7 @@ npx claude-code-arcane install backend-ts+agile+statusline
|
|
|
353
355
|
|
|
354
356
|
```bash
|
|
355
357
|
# Start with a profile
|
|
356
|
-
npx claude-code-arcane install backend-
|
|
358
|
+
npx claude-code-arcane install backend-typescript
|
|
357
359
|
|
|
358
360
|
# Later, add testing and security
|
|
359
361
|
npx claude-code-arcane add +testing +security
|
|
@@ -372,7 +374,7 @@ npx claude-code-arcane status
|
|
|
372
374
|
|
|
373
375
|
# Start over
|
|
374
376
|
npx claude-code-arcane clean --force
|
|
375
|
-
npx claude-code-arcane install backend-
|
|
377
|
+
npx claude-code-arcane install backend-typescript+agile
|
|
376
378
|
```
|
|
377
379
|
|
|
378
380
|
---
|
|
@@ -385,7 +387,7 @@ Work on multiple features in parallel using git worktrees, each with its own Arc
|
|
|
385
387
|
|
|
386
388
|
```bash
|
|
387
389
|
# Create worktree + install Arcane in one step
|
|
388
|
-
npx claude-code-arcane worktree feat/new-api --profile backend-
|
|
390
|
+
npx claude-code-arcane worktree feat/new-api --profile backend-typescript+agile
|
|
389
391
|
|
|
390
392
|
# Inherits profile from current installation
|
|
391
393
|
npx claude-code-arcane worktree feat/new-api
|
|
@@ -410,7 +412,7 @@ When you run `npx claude-code-arcane install` inside a git worktree, Arcane auto
|
|
|
410
412
|
|
|
411
413
|
```bash
|
|
412
414
|
# Manual: share from a specific installation
|
|
413
|
-
npx claude-code-arcane install backend-
|
|
415
|
+
npx claude-code-arcane install backend-typescript --share-from /path/to/main/worktree
|
|
414
416
|
|
|
415
417
|
# Disable sharing
|
|
416
418
|
npx claude-code-arcane worktree feat/api --no-share
|
|
@@ -433,7 +435,7 @@ npx claude-code-arcane worktree feat/api --no-share
|
|
|
433
435
|
```bash
|
|
434
436
|
npx claude-code-arcane status
|
|
435
437
|
# === Arcane Status ===
|
|
436
|
-
# Profiles: backend-
|
|
438
|
+
# Profiles: backend-typescript + agile
|
|
437
439
|
# Worktree: yes (main: /path/to/main/checkout)
|
|
438
440
|
# Shared: hooks, docs (symlinked)
|
|
439
441
|
# ...
|
|
@@ -459,7 +461,7 @@ claude-code-arcane/
|
|
|
459
461
|
├── profiles/ # 38 profiles (YAML)
|
|
460
462
|
├── agents/ # 17 dirs, 109 agents (Markdown)
|
|
461
463
|
├── hooks/ # 17 lifecycle hooks (Bash)
|
|
462
|
-
├── rules/ #
|
|
464
|
+
├── rules/ # 33 rules (Markdown)
|
|
463
465
|
├── templates/ # Gamedev templates
|
|
464
466
|
├── docs/ # Documentation
|
|
465
467
|
└── skills-selftest/ # QA framework
|
package/dist/cli.js
CHANGED
|
@@ -19,6 +19,7 @@ function parseProfile(filePath) {
|
|
|
19
19
|
const perms = raw.permissions ?? {};
|
|
20
20
|
return {
|
|
21
21
|
name: String(raw.name ?? path.basename(filePath, ".yaml")),
|
|
22
|
+
...raw.renamed_to ? { renamed_to: String(raw.renamed_to) } : {},
|
|
22
23
|
description: String(raw.description ?? ""),
|
|
23
24
|
category: String(raw.category ?? "other"),
|
|
24
25
|
skills: raw.skills ?? [],
|
|
@@ -58,9 +59,32 @@ function groupByCategory(profiles) {
|
|
|
58
59
|
}
|
|
59
60
|
return groups.filter((g) => g.profiles.length > 0);
|
|
60
61
|
}
|
|
62
|
+
var PROFILE_RENAMES = {
|
|
63
|
+
"backend-ts": "backend-typescript",
|
|
64
|
+
frontend: "frontend-react-vite",
|
|
65
|
+
mobile: "mobile-react-native",
|
|
66
|
+
flutter: "mobile-flutter",
|
|
67
|
+
"ios-native": "mobile-ios-swift",
|
|
68
|
+
"android-native": "mobile-android-kotlin"
|
|
69
|
+
};
|
|
70
|
+
function canonicalProfileName(name) {
|
|
71
|
+
return PROFILE_RENAMES[name] ?? name;
|
|
72
|
+
}
|
|
73
|
+
function sameProfile(a, b) {
|
|
74
|
+
return canonicalProfileName(a) === canonicalProfileName(b);
|
|
75
|
+
}
|
|
76
|
+
function resolveProfile(profilesDir, name) {
|
|
77
|
+
const canonical = canonicalProfileName(name);
|
|
78
|
+
const oldNames = Object.keys(PROFILE_RENAMES).filter((o) => PROFILE_RENAMES[o] === canonical);
|
|
79
|
+
for (const candidate of [canonical, name, ...oldNames]) {
|
|
80
|
+
const file = path.join(profilesDir, `${candidate}.yaml`);
|
|
81
|
+
if (fs.existsSync(file)) return { name: candidate, file };
|
|
82
|
+
}
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
61
85
|
function listProfiles(profilesDir) {
|
|
62
86
|
if (!fs.existsSync(profilesDir)) return [];
|
|
63
|
-
return fs.readdirSync(profilesDir).filter((f) => f.endsWith(".yaml") && f !== "core.yaml").map((f) => parseProfile(path.join(profilesDir, f))).sort((a, b) => a.name.localeCompare(b.name));
|
|
87
|
+
return fs.readdirSync(profilesDir).filter((f) => f.endsWith(".yaml") && f !== "core.yaml").map((f) => parseProfile(path.join(profilesDir, f))).filter((p3) => !p3.renamed_to).sort((a, b) => a.name.localeCompare(b.name));
|
|
64
88
|
}
|
|
65
89
|
function mergeProfiles(profilesDir, profileNames) {
|
|
66
90
|
const namesToLoad = ["core", ...profileNames];
|
|
@@ -80,13 +104,17 @@ function mergeProfiles(profilesDir, profileNames) {
|
|
|
80
104
|
const hooks = [];
|
|
81
105
|
const outputStyles = [];
|
|
82
106
|
for (const name of namesToLoad) {
|
|
83
|
-
const
|
|
84
|
-
if (!
|
|
107
|
+
const resolved = resolveProfile(profilesDir, name);
|
|
108
|
+
if (!resolved) {
|
|
85
109
|
console.warn(` WARN: Profile '${name}.yaml' not found, skipping`);
|
|
86
110
|
continue;
|
|
87
111
|
}
|
|
88
|
-
|
|
89
|
-
|
|
112
|
+
if (resolved.name !== name && resolved.name === canonicalProfileName(name)) {
|
|
113
|
+
console.warn(` NOTE: Profile '${name}' is now '${resolved.name}'`);
|
|
114
|
+
}
|
|
115
|
+
if (loaded.includes(resolved.name)) continue;
|
|
116
|
+
const profile = parseProfile(resolved.file);
|
|
117
|
+
loaded.push(resolved.name);
|
|
90
118
|
for (const s of profile.skills) {
|
|
91
119
|
if (!seenSkills.has(s)) {
|
|
92
120
|
seenSkills.add(s);
|
|
@@ -178,7 +206,7 @@ function detectStack(dir) {
|
|
|
178
206
|
}
|
|
179
207
|
const isFlutter = hasFile(dir, "pubspec.yaml");
|
|
180
208
|
if (isFlutter) {
|
|
181
|
-
out.push({ profile: "flutter", reason: "pubspec.yaml" });
|
|
209
|
+
out.push({ profile: "mobile-flutter", reason: "pubspec.yaml" });
|
|
182
210
|
}
|
|
183
211
|
if (hasFile(dir, "go.mod")) {
|
|
184
212
|
out.push({ profile: "backend-go", reason: "go.mod" });
|
|
@@ -192,13 +220,13 @@ function detectStack(dir) {
|
|
|
192
220
|
out.push({ profile: "backend-nextjs", reason: "package.json: next" });
|
|
193
221
|
} else if (deps["react-native"] || deps["expo"]) {
|
|
194
222
|
isReactNative = true;
|
|
195
|
-
out.push({ profile: "mobile", reason: "package.json: react-native/expo" });
|
|
223
|
+
out.push({ profile: "mobile-react-native", reason: "package.json: react-native/expo" });
|
|
196
224
|
} else if (deps["react"] || deps["vue"] || deps["svelte"]) {
|
|
197
|
-
out.push({ profile: "frontend", reason: "package.json: react/vue/svelte" });
|
|
225
|
+
out.push({ profile: "frontend-react-vite", reason: "package.json: react/vue/svelte" });
|
|
198
226
|
} else if (deps["fastify"] || deps["express"] || deps["koa"] || deps["hono"]) {
|
|
199
|
-
out.push({ profile: "backend-
|
|
227
|
+
out.push({ profile: "backend-typescript", reason: "package.json: server framework" });
|
|
200
228
|
} else if (deps["typescript"]) {
|
|
201
|
-
out.push({ profile: "backend-
|
|
229
|
+
out.push({ profile: "backend-typescript", reason: "package.json: typescript" });
|
|
202
230
|
}
|
|
203
231
|
}
|
|
204
232
|
if (!isUnity) {
|
|
@@ -209,11 +237,11 @@ function detectStack(dir) {
|
|
|
209
237
|
}
|
|
210
238
|
if (!isFlutter && !isReactNative) {
|
|
211
239
|
if ((hasFile(dir, "settings.gradle") || hasFile(dir, "settings.gradle.kts")) && hasFile(dir, "app")) {
|
|
212
|
-
out.push({ profile: "android-
|
|
240
|
+
out.push({ profile: "mobile-android-kotlin", reason: "settings.gradle + app/" });
|
|
213
241
|
}
|
|
214
242
|
const ios = topLevelMatch(dir, ".xcodeproj") ?? topLevelMatch(dir, ".xcworkspace") ?? (hasFile(dir, "Podfile") ? "Podfile" : void 0);
|
|
215
243
|
if (ios) {
|
|
216
|
-
out.push({ profile: "ios-
|
|
244
|
+
out.push({ profile: "mobile-ios-swift", reason: ios });
|
|
217
245
|
}
|
|
218
246
|
}
|
|
219
247
|
return out;
|
|
@@ -259,7 +287,7 @@ async function runInstallWizard(profiles, detections) {
|
|
|
259
287
|
if (names.length === 0) {
|
|
260
288
|
p.outro(
|
|
261
289
|
chalk.dim(
|
|
262
|
-
"Nothing selected. Run again, or install directly: npx claude-code-arcane install backend-
|
|
290
|
+
"Nothing selected. Run again, or install directly: npx claude-code-arcane install backend-typescript+testing"
|
|
263
291
|
)
|
|
264
292
|
);
|
|
265
293
|
return null;
|
|
@@ -1747,7 +1775,7 @@ async function installCommand(profileExpr, opts) {
|
|
|
1747
1775
|
console.log();
|
|
1748
1776
|
}
|
|
1749
1777
|
console.log(
|
|
1750
|
-
chalk2.dim(" Usage: npx claude-code-arcane install backend-
|
|
1778
|
+
chalk2.dim(" Usage: npx claude-code-arcane install backend-typescript+agile+testing\n")
|
|
1751
1779
|
);
|
|
1752
1780
|
return;
|
|
1753
1781
|
}
|
|
@@ -1859,14 +1887,15 @@ async function addCommand(items = []) {
|
|
|
1859
1887
|
process.exit(1);
|
|
1860
1888
|
}
|
|
1861
1889
|
if (items.length === 0) {
|
|
1890
|
+
const installedProfiles = manifest.profiles.map(canonicalProfileName);
|
|
1862
1891
|
if (!(process.stdin.isTTY && process.stdout.isTTY)) {
|
|
1863
|
-
printCatalog(root,
|
|
1892
|
+
printCatalog(root, installedProfiles, manifest.installed_skills);
|
|
1864
1893
|
return;
|
|
1865
1894
|
}
|
|
1866
1895
|
const selected = await runAddWizard({
|
|
1867
1896
|
profiles: listProfiles(path14.join(root, "profiles")),
|
|
1868
1897
|
skills: listSkills(path14.join(root, "skills")),
|
|
1869
|
-
installedProfiles
|
|
1898
|
+
installedProfiles,
|
|
1870
1899
|
installedSkills: manifest.installed_skills
|
|
1871
1900
|
});
|
|
1872
1901
|
if (!selected) return;
|
|
@@ -1881,13 +1910,14 @@ async function addCommand(items = []) {
|
|
|
1881
1910
|
let statuslineAdded = false;
|
|
1882
1911
|
for (const item of items) {
|
|
1883
1912
|
if (item.startsWith("+")) {
|
|
1884
|
-
const
|
|
1885
|
-
const
|
|
1886
|
-
if (!
|
|
1887
|
-
console.error(chalk3.red(` Profile '${
|
|
1913
|
+
const requested = item.slice(1);
|
|
1914
|
+
const resolved = resolveProfile(path14.join(root, "profiles"), requested);
|
|
1915
|
+
if (!resolved) {
|
|
1916
|
+
console.error(chalk3.red(` Profile '${requested}' not found`));
|
|
1888
1917
|
continue;
|
|
1889
1918
|
}
|
|
1890
|
-
const
|
|
1919
|
+
const profileName = resolved.name;
|
|
1920
|
+
const profile = parseProfile(resolved.file);
|
|
1891
1921
|
for (const skill of profile.skills) {
|
|
1892
1922
|
const result = addSkill(root, target, skill, manifest.installed_skills);
|
|
1893
1923
|
if (result === "added") added.push(skill);
|
|
@@ -1935,7 +1965,7 @@ async function addCommand(items = []) {
|
|
|
1935
1965
|
if (profile.permissions.allow.length > 0 || profile.permissions.deny.length > 0) {
|
|
1936
1966
|
mergePermissions(claudeDir, profile.permissions);
|
|
1937
1967
|
}
|
|
1938
|
-
if (!manifest.profiles.
|
|
1968
|
+
if (!manifest.profiles.some((p3) => sameProfile(p3, profileName))) {
|
|
1939
1969
|
manifest.profiles.push(profileName);
|
|
1940
1970
|
manifest.profile_command = manifest.profiles.filter((p3) => p3 !== "core").join("+");
|
|
1941
1971
|
}
|
|
@@ -2175,30 +2205,31 @@ function removeProfile(root, target, profileName, manifest) {
|
|
|
2175
2205
|
);
|
|
2176
2206
|
return { removed: false, skills: [], agents: [] };
|
|
2177
2207
|
}
|
|
2178
|
-
|
|
2208
|
+
const installedName = manifest.profiles.find((p3) => sameProfile(p3, profileName));
|
|
2209
|
+
if (!installedName) {
|
|
2179
2210
|
console.warn(
|
|
2180
2211
|
chalk4.yellow(` WARNING: Profile '${profileName}' is not installed.`)
|
|
2181
2212
|
);
|
|
2182
2213
|
return { removed: false, skills: [], agents: [] };
|
|
2183
2214
|
}
|
|
2184
|
-
const
|
|
2185
|
-
if (!
|
|
2215
|
+
const resolved = resolveProfile(path15.join(root, "profiles"), installedName);
|
|
2216
|
+
if (!resolved) {
|
|
2186
2217
|
console.warn(
|
|
2187
|
-
chalk4.yellow(` WARNING: Profile '${
|
|
2218
|
+
chalk4.yellow(` WARNING: Profile '${installedName}.yaml' not found.`)
|
|
2188
2219
|
);
|
|
2189
2220
|
return { removed: false, skills: [], agents: [] };
|
|
2190
2221
|
}
|
|
2191
|
-
const profile = parseProfile(
|
|
2222
|
+
const profile = parseProfile(resolved.file);
|
|
2192
2223
|
const remainingProfiles = manifest.profiles.filter(
|
|
2193
|
-
(p3) => p3 !==
|
|
2224
|
+
(p3) => p3 !== installedName
|
|
2194
2225
|
);
|
|
2195
2226
|
const sharedSkills = /* @__PURE__ */ new Set();
|
|
2196
2227
|
const sharedAgents = /* @__PURE__ */ new Set();
|
|
2197
2228
|
const sharedRules = /* @__PURE__ */ new Set();
|
|
2198
2229
|
for (const rp of remainingProfiles) {
|
|
2199
|
-
const
|
|
2200
|
-
if (!
|
|
2201
|
-
const rpDef = parseProfile(
|
|
2230
|
+
const rpResolved = resolveProfile(path15.join(root, "profiles"), rp);
|
|
2231
|
+
if (!rpResolved) continue;
|
|
2232
|
+
const rpDef = parseProfile(rpResolved.file);
|
|
2202
2233
|
rpDef.skills.forEach((s) => sharedSkills.add(s));
|
|
2203
2234
|
rpDef.agents.forEach((a) => sharedAgents.add(a));
|
|
2204
2235
|
rpDef.rules.universal.forEach((r) => sharedRules.add(r));
|
|
@@ -3059,7 +3090,7 @@ async function worktreeCommand(branch, opts) {
|
|
|
3059
3090
|
if (!profileExpr) {
|
|
3060
3091
|
console.error(
|
|
3061
3092
|
chalk9.red(
|
|
3062
|
-
"No profile specified and no existing installation to inherit from.\nUse --profile to specify one: npx claude-code-arcane worktree feat/api --profile backend-
|
|
3093
|
+
"No profile specified and no existing installation to inherit from.\nUse --profile to specify one: npx claude-code-arcane worktree feat/api --profile backend-typescript+agile"
|
|
3063
3094
|
)
|
|
3064
3095
|
);
|
|
3065
3096
|
process.exit(1);
|
|
@@ -3174,12 +3205,27 @@ async function globalCommand(opts) {
|
|
|
3174
3205
|
showStatus();
|
|
3175
3206
|
return;
|
|
3176
3207
|
}
|
|
3208
|
+
if (!settingsParseable()) {
|
|
3209
|
+
console.error(
|
|
3210
|
+
chalk10.red(` Refusing to modify malformed ${SETTINGS_PATH}. Fix it and re-run.`)
|
|
3211
|
+
);
|
|
3212
|
+
process.exit(1);
|
|
3213
|
+
}
|
|
3177
3214
|
if (opts.remove) {
|
|
3178
3215
|
removeGlobal();
|
|
3179
3216
|
return;
|
|
3180
3217
|
}
|
|
3181
3218
|
installGlobal();
|
|
3182
3219
|
}
|
|
3220
|
+
function settingsParseable() {
|
|
3221
|
+
if (!fs17.existsSync(SETTINGS_PATH)) return true;
|
|
3222
|
+
try {
|
|
3223
|
+
JSON.parse(fs17.readFileSync(SETTINGS_PATH, "utf-8"));
|
|
3224
|
+
return true;
|
|
3225
|
+
} catch {
|
|
3226
|
+
return false;
|
|
3227
|
+
}
|
|
3228
|
+
}
|
|
3183
3229
|
function showStatus() {
|
|
3184
3230
|
console.log(chalk10.bold("\n=== Arcane Global Status ===\n"));
|
|
3185
3231
|
const hasScripts = fs17.existsSync(
|
|
@@ -3488,7 +3534,7 @@ program.name("arcane").description(
|
|
|
3488
3534
|
"Claude Code Arcane \u2014 Skills, agents, hooks and rules for Claude Code"
|
|
3489
3535
|
).version(getPackageVersion());
|
|
3490
3536
|
program.command("install [profile]").description(
|
|
3491
|
-
"Install profiles (e.g., backend-
|
|
3537
|
+
"Install profiles (e.g., backend-typescript+agile). Without args, opens an interactive picker."
|
|
3492
3538
|
).option("-t, --target <dir>", "Target project directory", process.cwd()).option("-n, --dry-run", "Show what would be installed without changing files").option("-f, --force", "Overwrite without backup prompt").option(
|
|
3493
3539
|
"-s, --share-from <dir>",
|
|
3494
3540
|
"Share hooks/docs from an existing Arcane installation (e.g., main worktree)"
|
package/docs/SKILLS-CATALOG.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Los 437 skills disponibles para proyectos consumidores, organizados por division.
|
|
4
4
|
|
|
5
|
-
La tabla cubre
|
|
5
|
+
La tabla cubre 397: hay 40 skills instalables que todavia no estan catalogados aca. Un test de CI (`src/__tests__/doc-counts.test.ts`) verifica que estos numeros coincidan con el filesystem y que el header de cada seccion coincida con sus filas.
|
|
6
6
|
|
|
7
7
|
## Como ejecutar un skill
|
|
8
8
|
|
|
@@ -376,7 +376,7 @@ Instalables con el perfil `unreal-dev`. Procedencia y licencias en `ATTRIBUTION.
|
|
|
376
376
|
|
|
377
377
|
---
|
|
378
378
|
|
|
379
|
-
## DevOps (
|
|
379
|
+
## DevOps (8 skills)
|
|
380
380
|
|
|
381
381
|
| Skill | Descripcion | Uso |
|
|
382
382
|
|-------|-------------|-----|
|
|
@@ -386,6 +386,8 @@ Instalables con el perfil `unreal-dev`. Procedencia y licencias en `ATTRIBUTION.
|
|
|
386
386
|
| `/helm-chart-builder` | Build production-grade Helm charts: scaffolding, values design, template patterns, dependency management, and security hardening | `[scaffold\|lint\|test]` |
|
|
387
387
|
| `/incident-commander` | Manage technology incidents end-to-end: severity classification, timeline reconstruction, stakeholder communication, and RCA | `[classify\|timeline\|communicate]` |
|
|
388
388
|
| `/incident-response` | Classify and triage security incidents through the full NIST SP 800-61 lifecycle: SEV1-4 scoring and forensic evidence collection | `[classify\|triage\|forensics]` |
|
|
389
|
+
| `/worktree-isolation` | Regenera o muestra los puertos de Docker de este worktree para que varios worktrees corran en paralelo sin chocar | `[apply\|status]` |
|
|
390
|
+
| `/worktree-isolation-setup` | Prepara el repo una vez: parametriza puertos y container_name del docker-compose, `.gitignore`, CLAUDE.md y el hook global | |
|
|
389
391
|
|
|
390
392
|
---
|
|
391
393
|
|