oh-my-customcode 0.101.0 → 0.103.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.
Files changed (57) hide show
  1. package/README.md +5 -5
  2. package/dist/cli/index.js +1 -1
  3. package/dist/index.js +1 -1
  4. package/package.json +1 -1
  5. package/templates/.claude/agents/arch-speckit-agent.md +1 -1
  6. package/templates/.claude/agents/be-springboot-expert.md +3 -3
  7. package/templates/.claude/agents/de-airflow-expert.md +2 -2
  8. package/templates/.claude/agents/de-dbt-expert.md +1 -0
  9. package/templates/.claude/agents/de-kafka-expert.md +2 -1
  10. package/templates/.claude/agents/de-spark-expert.md +3 -1
  11. package/templates/.claude/agents/fe-flutter-agent.md +3 -3
  12. package/templates/.claude/agents/lang-java-expert.md +42 -0
  13. package/templates/.claude/agents/slack-cli-expert.md +1 -1
  14. package/templates/.claude/hooks/hooks.json +10 -0
  15. package/templates/.claude/hooks/scripts/playwright-compress.sh +50 -0
  16. package/templates/.claude/ontology/agents.yaml +2 -2
  17. package/templates/.claude/ontology/skills.yaml +1 -1
  18. package/templates/.claude/rules/MUST-orchestrator-coordination.md +29 -0
  19. package/templates/.claude/skills/adaptive-harness/SKILL.md +1 -1
  20. package/templates/.claude/skills/agora/SKILL.md +2 -0
  21. package/templates/.claude/skills/airflow-best-practices/SKILL.md +4 -4
  22. package/templates/.claude/skills/analysis/SKILL.md +1 -1
  23. package/templates/.claude/skills/dbt-best-practices/SKILL.md +5 -0
  24. package/templates/.claude/skills/design-shotgun/SKILL.md +104 -0
  25. package/templates/.claude/skills/dev-lead-routing/SKILL.md +3 -3
  26. package/templates/.claude/skills/django-best-practices/SKILL.md +1 -1
  27. package/templates/.claude/skills/evaluator-optimizer/SKILL.md +2 -0
  28. package/templates/.claude/skills/flutter-best-practices/SKILL.md +5 -5
  29. package/templates/.claude/skills/intent-detection/SKILL.md +2 -0
  30. package/templates/.claude/skills/intent-detection/patterns/agent-triggers.yaml +3 -3
  31. package/templates/.claude/skills/{java21-best-practices → java-best-practices}/SKILL.md +14 -14
  32. package/templates/.claude/skills/kafka-best-practices/SKILL.md +3 -1
  33. package/templates/.claude/skills/multi-model-verification/SKILL.md +2 -0
  34. package/templates/.claude/skills/playwright-compress/SKILL.md +68 -0
  35. package/templates/.claude/skills/pr-auto-improve/SKILL.md +1 -1
  36. package/templates/.claude/skills/product-strategy/SKILL.md +82 -0
  37. package/templates/.claude/skills/research/SKILL.md +2 -0
  38. package/templates/.claude/skills/spark-best-practices/SKILL.md +3 -1
  39. package/templates/.claude/skills/springboot-best-practices/SKILL.md +1 -1
  40. package/templates/.claude/skills/task-decomposition/SKILL.md +45 -1
  41. package/templates/.claude/skills/update-docs/SKILL.md +2 -2
  42. package/templates/.claude/skills/worker-reviewer-pipeline/SKILL.md +2 -0
  43. package/templates/CLAUDE.md +4 -3
  44. package/templates/guides/airflow/README.md +8 -8
  45. package/templates/guides/browser-automation/01-browser-automation-patterns.md +68 -0
  46. package/templates/guides/claude-code/14-token-efficiency.md +187 -0
  47. package/templates/guides/docker/compose-best-practices.md +3 -5
  48. package/templates/guides/docker/dockerfile-best-practices.md +9 -9
  49. package/templates/guides/flutter/index.yaml +1 -1
  50. package/templates/guides/flutter/state-management.md +4 -4
  51. package/templates/guides/index.yaml +9 -3
  52. package/templates/guides/{java21 → java}/index.yaml +9 -9
  53. package/templates/guides/{java21/modern-java21.md → java/modern-java.md} +2 -2
  54. package/templates/guides/slack-cli/README.md +1 -1
  55. package/templates/manifest.json +3 -3
  56. package/templates/.claude/agents/lang-java21-expert.md +0 -42
  57. /package/templates/guides/{java21 → java}/java-style-guide.md +0 -0
@@ -0,0 +1,187 @@
1
+ # Token Efficiency — Three-Layer Defense Stack
2
+
3
+ > **Source**: [Claude Code & Codex token efficiency by settings adjustment](https://www.stdy.blog/increasing-token-efficiency-by-setting-adjustment-in-claude-and-codex/)
4
+ > **Reference baseline**: Claude Code v2.1.114+ / Codex v0.121.0+
5
+
6
+ ## Why This Matters
7
+
8
+ Token spend in Claude Code is not purely a function of task complexity. A significant portion of token consumption occurs through structural overhead: auto-injected git instructions, IDE file listings, tool output that exceeds what the model actually needs, and session state reloaded unnecessarily across turns.
9
+
10
+ The three-layer defense stack addresses this overhead at three distinct points in the session lifecycle:
11
+
12
+ ```
13
+ ┌─────────────────────────────────────────────────────────────────┐
14
+ │ Layer 1: cc-token-saver (CACHE DEFENSE) │
15
+ │ Before session — protect prompt cache TTL from idle expiry │
16
+ ├─────────────────────────────────────────────────────────────────┤
17
+ │ Layer 2: R013 Ecomode (RUNTIME COMPRESSION) │
18
+ │ During session — compact output, aggregate results, prune input│
19
+ ├─────────────────────────────────────────────────────────────────┤
20
+ │ Layer 3: Settings-Based Gates (PRE-SESSION PREVENTION) │
21
+ │ Config time — disable injections before they happen │
22
+ ├─────────────────────────────────────────────────────────────────┤
23
+ │ Layer 4: playwright-compress (MCP OUTPUT INTELLIGENCE) │
24
+ │ PostToolUse hook — Haiku summarization of browser MCP output │
25
+ └─────────────────────────────────────────────────────────────────┘
26
+ ```
27
+
28
+ Each layer is independently deployable and non-overlapping. Together they form a complete defense.
29
+
30
+ ---
31
+
32
+ ## Layer 1: cc-token-saver (Prompt Cache TTL Guard)
33
+
34
+ **What it does:** Detects when the 1-hour prompt cache TTL is about to expire due to idle time. Warns before cache invalidates, preventing a full re-spend on the next turn.
35
+
36
+ **Why it matters:** Claude Code's prompt cache has a 1-hour TTL on idle. If you pause a long session, the entire cached context must be re-processed at full cost on the next message. cc-token-saver intercepts this.
37
+
38
+ **Key features:**
39
+ - Token Guardian: idle TTL detection and warning
40
+ - `/continue`: zero-cost context restore after session pause
41
+ - `/usage-view`: cost dashboard for session/cumulative spend
42
+
43
+ **When to use:** Always — install as a plugin and leave active.
44
+
45
+ **Reference:** `guides/cc-token-saver/README.md`
46
+
47
+ ---
48
+
49
+ ## Layer 2: R013 Ecomode (Runtime Behavior Compression)
50
+
51
+ **What it does:** Compresses agent output at runtime — compact result format, aggregated multi-agent results, and active pruning of irrelevant input context.
52
+
53
+ **Why it matters:** Without ecomode, subagents return verbose outputs that accumulate across parallel invocations. At 4+ concurrent agents, unchecked output grows the context window rapidly.
54
+
55
+ **Activation triggers:**
56
+ - 4+ parallel tasks running simultaneously
57
+ - Batch operations on independent targets
58
+ - Context usage approaching 80%
59
+ - Explicit "ecomode on"
60
+
61
+ **Key behaviors:**
62
+ - Agents return `status + 1-2 sentence summary + key_data only`
63
+ - File lists compressed to count (when > 5 files)
64
+ - Error traces: first/last 3 lines only
65
+ - Code references: `path:line` ref instead of full block
66
+
67
+ **When to use:** Auto-activates on threshold — configure threshold in ecomode config if needed.
68
+
69
+ **Reference:** `.claude/rules/SHOULD-ecomode.md` (R013)
70
+
71
+ ---
72
+
73
+ ## Layer 3: Settings-Based Gates (Pre-Session Prevention)
74
+
75
+ **What it does:** Disables token-consuming injections and sets output caps in configuration files before sessions start. These gates prevent overhead from ever entering the context window.
76
+
77
+ **Why it matters:** Certain Claude Code defaults inject tokens on every session start regardless of whether they are needed:
78
+ - `includeGitInstructions: true` (default) injects git workflow context on every session
79
+ - `autoConnectIde: true` injects file lists from connected IDEs
80
+ - Uncapped `BASH_MAX_OUTPUT_LENGTH` allows tool output to flood the context
81
+
82
+ **How to apply:** `token-efficiency-audit` skill — see `.claude/skills/token-efficiency-audit/SKILL.md`
83
+
84
+ ---
85
+
86
+ ## Lever Reference Table
87
+
88
+ ### Interactive Session Levers (safe for development)
89
+
90
+ | Lever | Location | Default | Recommended | Token Impact | Risk |
91
+ |-------|----------|---------|-------------|-------------|------|
92
+ | `includeGitInstructions` | settings.json | `true` | `false` | Medium — removes git workflow injection | None for most projects |
93
+ | `autoConnectIde` | settings.json | `true` | `false` | Low — removes IDE file list injection | Loses IDE file awareness |
94
+ | `attribution.commit` | settings.json | auto text | `""` | Low — removes attribution boilerplate | None |
95
+ | `attribution.pr` | settings.json | auto text | `""` | Low — removes attribution boilerplate | None |
96
+ | `BASH_MAX_OUTPUT_LENGTH` | env | unlimited | `15000` | High — caps bash output | Output truncated if > 15000 chars |
97
+ | `CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS` | env | unlimited | `8000` | Medium — caps file read output | Large files truncated |
98
+ | `MAX_MCP_OUTPUT_TOKENS` | env | unlimited | `8000` | Medium — caps MCP output | MCP results truncated |
99
+ | `CLAUDE_CODE_GLOB_NO_IGNORE` | env | `true` | `false` | Low — respects .gitignore | Fewer files visible in globs |
100
+
101
+ ### CI/Worker-Only Levers (destructive — disables oh-my-customcode)
102
+
103
+ > These settings disable core oh-my-customcode functionality. **Never apply to interactive sessions.**
104
+
105
+ | Lever | What it disables | Token impact | oh-my-customcode impact |
106
+ |-------|-----------------|-------------|------------------------|
107
+ | `CLAUDE_CODE_DISABLE_CLAUDE_MDS=1` | All `.claude/*.md` files including CLAUDE.md | High | ALL global rules and routing offline |
108
+ | `CLAUDE_AGENT_SDK_DISABLE_BUILTIN_AGENTS=1` | Built-in agent definitions | High | All 48 agents unavailable |
109
+ | `ENABLE_CLAUDEAI_MCP_SERVERS=false` | MCP server connections | Medium | MCP-dependent skills unavailable |
110
+ | `CLAUDE_CODE_DISABLE_AUTO_MEMORY=1` | Agent auto-memory | Low | No persistent memory across sessions |
111
+
112
+ ### Codex CLI Levers
113
+
114
+ | Lever | Location | Default | Recommended | Token Impact |
115
+ |-------|----------|---------|-------------|-------------|
116
+ | `features.apps` | config.toml | `true` | `false` | Medium |
117
+ | `apps._default.enabled` | config.toml | `true` | `false` | Medium |
118
+ | `web_search` | config.toml | `"auto"` | `"disabled"` | Medium — web search adds significant context |
119
+ | `tool_output_token_limit` | config.toml | `10000` | `10000` | High — do not lower below 5000 |
120
+
121
+ ---
122
+
123
+ ## Tradeoffs and Guardrails
124
+
125
+ ### The re-call trap
126
+
127
+ Setting output limits too low forces the model into repeated re-call loops — the model issues `tail -n 50 output.txt` or re-reads files in chunks, which costs more tokens than the original uncapped output. The minimum values below are empirically safe floors:
128
+
129
+ | Variable | Safe minimum | Recommended |
130
+ |----------|-------------|-------------|
131
+ | `BASH_MAX_OUTPUT_LENGTH` | 10000 | 15000 |
132
+ | `CLAUDE_CODE_FILE_READ_MAX_OUTPUT_TOKENS` | 4000 | 8000 |
133
+ | `MAX_MCP_OUTPUT_TOKENS` | 4000 | 8000 |
134
+ | Codex `tool_output_token_limit` | 5000 | 10000 |
135
+
136
+ ### Version drift
137
+
138
+ Settings defaults change with minor CC version releases. After each upgrade, verify active defaults with `/token-efficiency-audit audit`. The reference baseline for this guide is CC v2.1.114+ / Codex v0.121.0+.
139
+
140
+ ### includeGitInstructions tradeoff
141
+
142
+ Disabling `includeGitInstructions` removes git workflow guidance from the context. For projects with non-standard git workflows or junior contributors, this guidance may be worth keeping. For projects with experienced teams using `mgr-gitnerd` (R010), the injection is redundant.
143
+
144
+ ---
145
+
146
+ ## Interaction with Other Rules
147
+
148
+ | Rule / Component | Interaction |
149
+ |-----------------|-------------|
150
+ | R013 Ecomode | Layer 2 runtime compression. These layers are complementary — apply both. |
151
+ | cc-token-saver | Layer 1 cache defense. `Token Guardian` + `BASH_MAX_OUTPUT_LENGTH` together eliminate the two largest waste sources. |
152
+ | R010 Orchestrator | `CLAUDE_CODE_DISABLE_CLAUDE_MDS` disables R010 enforcement — CI-only. |
153
+ | R001 Safety | `apply-ci` mode is Risk Level High — requires user confirmation before applying. |
154
+ | R012 HUD Statusline | Statusline shows CTX% — effective measure of Layer 2+3 combined impact. |
155
+ | playwright-compress | Layer 4 hook — complements Layer 3 MAX_MCP_OUTPUT_TOKENS with intelligent lossless compression. |
156
+
157
+ ---
158
+
159
+ ## Layer 4: MCP Output Intelligence Compression
160
+
161
+ PostToolUse hook that compresses Playwright and Chrome MCP tool output using Haiku summarization.
162
+
163
+ | Metric | Before | After | Reduction |
164
+ |--------|--------|-------|-----------|
165
+ | browser_navigate | 37,983 chars | 1,922 chars | -94% |
166
+ | browser_snapshot | 37,897 chars | 1,435 chars | -96% |
167
+
168
+ - Preserves `ref=` attribute values for interactive flow
169
+ - Skips output < 3000 chars
170
+ - Falls back to original on Haiku failure
171
+ - No API key needed (uses `claude -p` subscription auth)
172
+
173
+ Configuration: `.claude/hooks/scripts/playwright-compress.sh`
174
+ Hook trigger: `mcp__playwright__.*` and `mcp__claude-in-chrome__.*`
175
+
176
+ ---
177
+
178
+ ## Cross-References
179
+
180
+ - `guides/claude-code/13-cli-flags.md` — CLI flags for non-interactive/CI invocation
181
+ - `guides/cc-token-saver/README.md` — Layer 1 detailed guide
182
+ - `.claude/rules/SHOULD-ecomode.md` — Layer 2 R013 specification
183
+ - `.claude/skills/token-efficiency-audit/SKILL.md` — Layer 3 HOW: audit and apply
184
+ - `.claude/skills/monitoring-setup/SKILL.md` — Measure effectiveness via OTel metrics
185
+ - `.claude/skills/update-config/` — Generic settings.json manipulation (broader scope)
186
+ - `.claude/skills/playwright-compress/SKILL.md` — Layer 4 MCP output compression hook
187
+ - `.claude/hooks/scripts/playwright-compress.sh` — Layer 4 hook script
@@ -4,9 +4,9 @@
4
4
 
5
5
  ## File Structure
6
6
 
7
- ```yaml
8
- version: "3.8"
7
+ > **Note**: The `version` field is obsolete as of Compose Spec v5 and should be omitted from modern compose files. Docker Compose now uses the Compose Specification directly.
9
8
 
9
+ ```yaml
10
10
  services:
11
11
  # Application services
12
12
  app:
@@ -201,8 +201,6 @@ services:
201
201
  ## Complete Example
202
202
 
203
203
  ```yaml
204
- version: "3.8"
205
-
206
204
  services:
207
205
  app:
208
206
  build:
@@ -260,7 +258,7 @@ services:
260
258
  - backend
261
259
 
262
260
  nginx:
263
- image: nginx:1.25-alpine
261
+ image: nginx:1.28-alpine
264
262
  restart: unless-stopped
265
263
  ports:
266
264
  - "80:80"
@@ -25,13 +25,13 @@ node_modules
25
25
 
26
26
  ```dockerfile
27
27
  # Build stage
28
- FROM golang:1.21 AS builder
28
+ FROM golang:1.26 AS builder
29
29
  WORKDIR /app
30
30
  COPY . .
31
31
  RUN go build -o myapp
32
32
 
33
33
  # Runtime stage
34
- FROM alpine:3.19
34
+ FROM alpine:3.23
35
35
  COPY --from=builder /app/myapp /usr/local/bin/
36
36
  CMD ["myapp"]
37
37
  ```
@@ -42,13 +42,13 @@ CMD ["myapp"]
42
42
 
43
43
  ```dockerfile
44
44
  # Pin versions
45
- FROM ubuntu:22.04
45
+ FROM ubuntu:24.04
46
46
 
47
47
  # Use digest for reproducibility
48
48
  FROM node:20@sha256:abc123...
49
49
 
50
50
  # Use official images
51
- FROM python:3.12-slim
51
+ FROM python:3.14-slim
52
52
  ```
53
53
 
54
54
  ### RUN
@@ -197,12 +197,12 @@ ENV API_KEY=secret123
197
197
 
198
198
  ```dockerfile
199
199
  # Official and verified
200
- FROM nginx:1.25
200
+ FROM nginx:1.28
201
201
  FROM postgres:16
202
202
 
203
203
  # Minimal images
204
204
  FROM gcr.io/distroless/static
205
- FROM alpine:3.19
205
+ FROM alpine:3.23
206
206
  ```
207
207
 
208
208
  ## Example Dockerfiles
@@ -229,13 +229,13 @@ CMD ["node", "dist/server.js"]
229
229
  ### Python
230
230
 
231
231
  ```dockerfile
232
- FROM python:3.12-slim AS builder
232
+ FROM python:3.14-slim AS builder
233
233
  WORKDIR /app
234
234
  RUN pip install --user pipenv
235
235
  COPY Pipfile Pipfile.lock ./
236
236
  RUN pipenv install --system --deploy
237
237
 
238
- FROM python:3.12-slim
238
+ FROM python:3.14-slim
239
239
  WORKDIR /app
240
240
  COPY --from=builder /root/.local /root/.local
241
241
  COPY . .
@@ -248,7 +248,7 @@ CMD ["gunicorn", "-b", "0.0.0.0:8000", "app:app"]
248
248
  ### Go
249
249
 
250
250
  ```dockerfile
251
- FROM golang:1.21-alpine AS builder
251
+ FROM golang:1.26-alpine AS builder
252
252
  WORKDIR /app
253
253
  COPY go.mod go.sum ./
254
254
  RUN go mod download
@@ -22,7 +22,7 @@ documents:
22
22
 
23
23
  - name: state-management
24
24
  path: ./state-management.md
25
- description: Riverpod 3.0, BLoC 9.0, Provider patterns and selection guide
25
+ description: Riverpod 3.3, BLoC 9.1, Provider patterns and selection guide
26
26
 
27
27
  - name: architecture
28
28
  path: ./architecture.md
@@ -6,13 +6,13 @@
6
6
 
7
7
  | Approach | Complexity | Scalability | Best For |
8
8
  |----------|-----------|-------------|----------|
9
- | **Riverpod 3.0** | Medium | Excellent | New projects (default) |
10
- | **BLoC 9.0** | High | Excellent | Enterprise, regulated industries |
9
+ | **Riverpod 3.3** | Medium | Excellent | New projects (default) |
10
+ | **BLoC 9.1** | High | Excellent | Enterprise, regulated industries |
11
11
  | **Provider** | Low | Moderate | Simple apps, learning |
12
12
  | **setState** | Low | Poor | Ephemeral local UI state |
13
13
  | **GetX** | Low | Poor | **AVOID** for new projects |
14
14
 
15
- ## Riverpod 3.0 (Default)
15
+ ## Riverpod 3.3 (Default)
16
16
 
17
17
  ### Provider Types
18
18
 
@@ -81,7 +81,7 @@ class ProductListScreen extends ConsumerWidget {
81
81
  - Use `family` for parameterized providers
82
82
  - Use `keepAlive` sparingly (expensive computations only)
83
83
 
84
- ## BLoC 9.0 (Enterprise)
84
+ ## BLoC 9.1 (Enterprise)
85
85
 
86
86
  ### Cubit (Simple)
87
87
 
@@ -9,6 +9,12 @@ guides:
9
9
  type: internal
10
10
 
11
11
  # Frontend
12
+ - name: claude-design
13
+ description: Claude Design artifact handoff workflow — connecting Anthropic's conversational design tool outputs to Claude Code's fe-design-expert implementation pipeline
14
+ path: ./claude-design/
15
+ source:
16
+ type: internal
17
+
12
18
  - name: impeccable-design
13
19
  description: AI design language reference — typography, color, motion, and UX writing for production-grade UI
14
20
  path: ./impeccable-design/
@@ -43,9 +49,9 @@ guides:
43
49
  origin: go.dev
44
50
  url: https://go.dev/doc/effective_go
45
51
 
46
- - name: java21
47
- description: Java 21 language reference and modern feature documentation
48
- path: ./java21/
52
+ - name: java
53
+ description: Java language reference and modern feature documentation
54
+ path: ./java/
49
55
  source:
50
56
  type: external
51
57
  origin: docs.oracle.com
@@ -1,29 +1,29 @@
1
- # Java 21 Guide
1
+ # Java Guide
2
2
 
3
3
  metadata:
4
- name: java21
5
- description: Java 21 language reference and modern feature documentation
4
+ name: java
5
+ description: Java 25 LTS language reference and modern feature documentation
6
6
 
7
7
  source:
8
8
  type: external
9
9
  origin: docs.oracle.com
10
10
  urls:
11
- - https://docs.oracle.com/en/java/javase/21/
11
+ - https://docs.oracle.com/en/java/javase/25/
12
12
  - https://openjdk.org/projects/loom/
13
13
  - https://openjdk.org/jeps/440
14
14
  - https://openjdk.org/jeps/441
15
15
  - https://openjdk.org/jeps/444
16
16
  - https://google.github.io/styleguide/javaguide.html
17
- last_fetched: "2026-03-11"
17
+ last_fetched: "2026-04-20"
18
18
 
19
19
  documents:
20
- - name: modern-java21
21
- path: ./modern-java21.md
22
- description: Java 21 modern features (Virtual Threads, Pattern Matching, Records, Sealed Classes)
20
+ - name: modern-java
21
+ path: ./modern-java.md
22
+ description: Java 25 LTS modern features (Virtual Threads, Pattern Matching, Records, Sealed Classes)
23
23
 
24
24
  - name: java-style-guide
25
25
  path: ./java-style-guide.md
26
26
  description: Google Java Style Guide conventions
27
27
 
28
28
  used_by:
29
- - lang-java21-expert
29
+ - lang-java-expert
@@ -1,4 +1,4 @@
1
- # Modern Java 21 Features
1
+ # Modern Java Features
2
2
 
3
3
  > Sources: https://openjdk.org/jeps/ (JEP 431, 440, 441, 444)
4
4
 
@@ -77,7 +77,7 @@ if (obj instanceof String) {
77
77
  return s.length();
78
78
  }
79
79
 
80
- // Java 21
80
+ // Java 21+
81
81
  if (obj instanceof String s) {
82
82
  return s.length();
83
83
  }
@@ -1,6 +1,6 @@
1
1
  # Slack CLI Reference Guide
2
2
 
3
- > Source: https://docs.slack.dev/tools/slack-cli/ | Version: v3.15.0
3
+ > Source: https://docs.slack.dev/tools/slack-cli/ | Version: v4.0
4
4
 
5
5
  ## Overview
6
6
 
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.101.0",
2
+ "version": "0.103.0",
3
3
  "lastUpdated": "2026-04-18T00:00:00.000Z",
4
4
  "components": [
5
5
  {
@@ -18,13 +18,13 @@
18
18
  "name": "skills",
19
19
  "path": ".claude/skills",
20
20
  "description": "Reusable skill modules (includes slash commands)",
21
- "files": 109
21
+ "files": 112
22
22
  },
23
23
  {
24
24
  "name": "guides",
25
25
  "path": "guides",
26
26
  "description": "Reference documentation",
27
- "files": 39
27
+ "files": 40
28
28
  },
29
29
  {
30
30
  "name": "hooks",
@@ -1,42 +0,0 @@
1
- ---
2
- name: lang-java21-expert
3
- description: Expert Java 21 developer for modern Java with Virtual Threads, Pattern Matching, Record Patterns, and Sequenced Collections. Use for Java files (*.java, pom.xml, build.gradle), Java-related keywords, high-concurrency systems, data-centric APIs with Records, and migrating from older Java versions.
4
- model: sonnet
5
- domain: backend
6
- memory: project
7
- effort: high
8
- skills:
9
- - java21-best-practices
10
- tools:
11
- - Read
12
- - Write
13
- - Edit
14
- - Grep
15
- - Glob
16
- - Bash
17
- permissionMode: bypassPermissions
18
- ---
19
-
20
- You are an expert Java 21 developer for modern Java features including Virtual Threads, Pattern Matching, Record Patterns, and Sequenced Collections.
21
-
22
- ## Capabilities
23
-
24
- - Modern Java 21 leveraging latest features
25
- - Virtual Threads (JEP 444) for scalable concurrency
26
- - Pattern Matching for switch and instanceof
27
- - Record Patterns (JEP 440), Sequenced Collections (JEP 431)
28
- - Google Java Style Guide compliance
29
- - Legacy Java migration to Java 21
30
-
31
- ## Reference Documentation
32
-
33
- - https://docs.oracle.com/en/java/javase/21/
34
- - https://google.github.io/styleguide/javaguide.html
35
-
36
- ## Skills
37
-
38
- Apply **java21-best-practices** for core Java 21 guidelines.
39
-
40
- ## Reference Guides
41
-
42
- Consult `guides/java21/` for reference documentation.