claude-skill-lord 2.0.4 → 2.0.6

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-skill-lord",
3
- "version": "2.0.4",
4
- "description": "Curated Claude Code plugin — 44 agents, 170 skills, 115 commands, 13 language rules with intelligent skill routing",
3
+ "version": "2.0.6",
4
+ "description": "Curated Claude Code plugin — 43 agents, 170 skills, 114 commands, 11 language rules",
5
5
  "author": {
6
6
  "name": "Dong Anh",
7
7
  "email": "donganhvu20@gmail.com"
@@ -14,7 +14,6 @@
14
14
  "agents",
15
15
  "skills",
16
16
  "commands",
17
- "skill-routing",
18
17
  "quality-gate",
19
18
  "tdd",
20
19
  "code-review",
@@ -62,7 +61,6 @@
62
61
  "./agents/scout-external.md",
63
62
  "./agents/scout.md",
64
63
  "./agents/security-reviewer.md",
65
- "./agents/skill-router.md",
66
64
  "./agents/tdd-guide.md",
67
65
  "./agents/tester.md",
68
66
  "./agents/typescript-reviewer.md",
package/CLAUDE.md CHANGED
@@ -39,7 +39,6 @@ Curated best-of-both plugin merging ClaudeKit Engineer (base) + Everything Claud
39
39
  | loop-operator | Autonomous workflows |
40
40
  | chief-of-staff | Multi-channel coordination |
41
41
  | harness-optimizer | Self-optimization |
42
- | skill-router | Advisory skill recommendation |
43
42
  | quality-gate | Output validation |
44
43
  | researcher | Deep research agent |
45
44
  | tester | Test execution agent |
package/README.md CHANGED
@@ -4,16 +4,16 @@
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/claude-skill-lord)](https://www.npmjs.com/package/claude-skill-lord)
6
6
  ![License](https://img.shields.io/badge/license-MIT-green)
7
- ![Agents](https://img.shields.io/badge/agents-44-purple)
7
+ ![Agents](https://img.shields.io/badge/agents-43-purple)
8
8
  ![Skills](https://img.shields.io/badge/skills-170-orange)
9
- ![Commands](https://img.shields.io/badge/commands-115-red)
9
+ ![Commands](https://img.shields.io/badge/commands-114-red)
10
10
  ![Rules](https://img.shields.io/badge/rules-11%20languages-blue)
11
11
 
12
12
  ---
13
13
 
14
14
  ## Why Claude Skill Lord?
15
15
 
16
- - **Stop configuring, start building** — 170 skills, 44 agents, 115 commands work out of the box
16
+ - **Stop configuring, start building** — 170 skills, 43 agents, 114 commands work out of the box
17
17
  - **Multi-language support** — 11 language-specific rule sets (TypeScript, Python, Go, Rust, Java, Kotlin, C++, C#, PHP, Perl, Swift) + common rules
18
18
  - **Language-specific agents** — dedicated reviewers and build resolvers for 8 languages
19
19
  - **Design intelligence built-in** — 67 UI styles, 161 color palettes, reasoning engine for production-grade design decisions
@@ -78,14 +78,13 @@ node scripts/sl.js init full --target /path/to/your/project
78
78
  ```mermaid
79
79
  graph TD
80
80
  subgraph Plugin["Claude Skill Lord Plugin"]
81
- A["Agents (44)"]
82
- B["Commands (115)"]
81
+ A["Agents (43)"]
82
+ B["Commands (114)"]
83
83
  C["Skills (170)"]
84
- R["Rules (13 langs)"]
84
+ R["Rules (11 langs)"]
85
85
  end
86
86
 
87
87
  subgraph Intelligence["Intelligence Layer"]
88
- D["Skill Router"]
89
88
  E["Quality Gate"]
90
89
  end
91
90
 
@@ -96,15 +95,14 @@ graph TD
96
95
  CTX["Contexts"]
97
96
  end
98
97
 
99
- A --> D
100
- B --> D
101
- C --> D
102
- R --> D
103
- D --> E
98
+ A --> E
99
+ B --> E
100
+ C --> E
101
+ R --> E
104
102
  E --> F
105
103
  E --> G
106
104
  E --> H
107
- CTX --> D
105
+ CTX --> E
108
106
  ```
109
107
 
110
108
  ---
@@ -193,12 +191,11 @@ The most common workflow — plan first, then implement, then validate:
193
191
  | `/cook` | Implement features end-to-end |
194
192
  | `/tdd` | Test-driven development workflow |
195
193
  | `/debug` | Deep root-cause investigation |
196
- | `/design` | Create UI designs (variants: `fast`, `good`, `3d`, `screenshot`, `video`, `describe`) |
197
- | `/route` | Get skill recommendations for your task |
194
+ | `/design:good` | Create UI designs (variants: `fast`, `good`, `3d`, `screenshot`, `video`, `describe`) |
198
195
  | `/audit` | Run quality gate checks |
199
196
 
200
197
  <details>
201
- <summary><strong>All commands (115)</strong></summary>
198
+ <summary><strong>All commands (114)</strong></summary>
202
199
 
203
200
  | Category | Commands |
204
201
  |----------|----------|
@@ -217,7 +214,7 @@ The most common workflow — plan first, then implement, then validate:
217
214
  | **Skills** | `/skill:add`, `/skill:create`, `/skill:optimize`, `/skill:fix-logs`, `/skill-create`, `/skill-health` |
218
215
  | **Quality** | `/quality-gate`, `/audit`, `/refactor-clean`, `/prompt-optimize` |
219
216
  | **Loop** | `/loop-start`, `/loop-status` |
220
- | **Other** | `/brainstorm`, `/learn`, `/evolve`, `/model-route`, `/route`, `/ask`, `/journal`, `/watzup` |
217
+ | **Other** | `/brainstorm`, `/learn`, `/evolve`, `/model-route`, `/ask`, `/journal`, `/watzup` |
221
218
 
222
219
  See [commands/](commands/) for the full list.
223
220
 
@@ -228,7 +225,7 @@ See [commands/](commands/) for the full list.
228
225
  ## Agents
229
226
 
230
227
  <details>
231
- <summary><strong>44 agents — click to expand</strong></summary>
228
+ <summary><strong>43 agents — click to expand</strong></summary>
232
229
 
233
230
  ### Core Agents
234
231
 
@@ -258,7 +255,6 @@ See [commands/](commands/) for the full list.
258
255
  | loop-operator | Autonomous development loops |
259
256
  | chief-of-staff | Multi-channel coordination |
260
257
  | harness-optimizer | Agent self-optimization |
261
- | skill-router | Advisory skill recommendations |
262
258
  | quality-gate | Output validation |
263
259
  | researcher | Deep research agent |
264
260
  | tester | Test execution agent |
@@ -304,7 +300,7 @@ All skills live in `./skills/<name>/SKILL.md` — flat structure.
304
300
  debugging, code-review, tdd-workflow, testing, backend-development, frontend-development, web-frameworks, ui-styling, databases, api-design, devops, sequential-thinking, research, planning, problem-solving, coding-standards
305
301
 
306
302
  ### Frontend & Design
307
- ui-ux-pro-max, react-best-practices, frontend-patterns, frontend-design, frontend-slides, design, design-system, brand, banner-design, slides, aesthetic, web-design-guidelines, liquid-glass-design, threejs
303
+ ui-ux-pro-max, react-best-practices, frontend-patterns, frontend-design, frontend-slides, nextjs-turbopack, design, design-system, brand, banner-design, slides, aesthetic, web-design-guidelines, liquid-glass-design, threejs
308
304
 
309
305
  ### Backend & API
310
306
  backend-patterns, api-design, mcp-server-patterns, mcp-management, mcp-builder
@@ -313,7 +309,7 @@ backend-patterns, api-design, mcp-server-patterns, mcp-management, mcp-builder
313
309
  python-patterns, golang-patterns, rust-patterns, kotlin-patterns, perl-patterns, django-patterns, laravel-patterns, springboot-patterns, swiftui-patterns, nuxt4-patterns
314
310
 
315
311
  ### Language Testing & Security
316
- python-testing, golang-testing, rust-testing, kotlin-testing, cpp-testing, django-tdd, laravel-tdd, springboot-tdd, django-security, laravel-security, springboot-security, django-verification, laravel-verification, springboot-verification
312
+ python-testing, golang-testing, rust-testing, kotlin-testing, cpp-testing, perl-testing, perl-security, django-tdd, laravel-tdd, springboot-tdd, django-security, laravel-security, springboot-security, django-verification, laravel-verification, springboot-verification
317
313
 
318
314
  ### Language Specialized
319
315
  kotlin-coroutines-flows, kotlin-exposed-patterns, kotlin-ktor-patterns, java-coding-standards, cpp-coding-standards, swift-actor-persistence, swift-concurrency-6-2, swift-protocol-di-testing, jpa-patterns, compose-multiplatform-patterns
@@ -331,7 +327,7 @@ postgres-patterns, database-migrations, clickhouse-io
331
327
  ai-multimodal, pytorch-patterns, google-adk-python, cost-aware-llm-pipeline, foundation-models-on-device, prompt-optimizer
332
328
 
333
329
  ### Agentic Engineering
334
- agentic-engineering, agent-harness-construction, agent-eval, autonomous-loops, continuous-agent-loop, continuous-learning, continuous-learning-v2, eval-harness, verification-loop, enterprise-agent-ops
330
+ agentic-engineering, ai-first-engineering, ai-regression-testing, agent-harness-construction, agent-eval, autonomous-loops, continuous-agent-loop, continuous-learning, continuous-learning-v2, eval-harness, verification-loop, enterprise-agent-ops
335
331
 
336
332
  ### Content & Business
337
333
  article-writing, content-engine, crosspost, market-research, investor-outreach, investor-materials, shopify
@@ -343,10 +339,10 @@ security-review, security-scan, better-auth, payment-integration, safety-guard
343
339
  media-processing, video-editing, videodb, fal-ai-media, nutrient-document-processing
344
340
 
345
341
  ### Tools & Utilities
346
- repomix, chrome-devtools, docs-seeker, documentation-lookup, skill-creator, data-scraper-agent, exa-search, x-api, bun-runtime, nanoclaw-repl, dmux-workflows
342
+ repomix, chrome-devtools, docs-seeker, documentation-lookup, document-skills, skill-creator, data-scraper-agent, exa-search, x-api, bun-runtime, nanoclaw-repl, dmux-workflows
347
343
 
348
344
  ### Research & Strategy
349
- deep-research, strategic-compact, search-first, iterative-retrieval, codebase-onboarding, blueprint, santa-method, team-builder
345
+ deep-research, strategic-compact, search-first, iterative-retrieval, codebase-onboarding, blueprint, santa-method, team-builder, architecture-decision-records
350
346
 
351
347
  ### Domain-Specific
352
348
  carrier-relationship-management, customs-trade-compliance, energy-procurement, inventory-demand-planning, logistics-exception-management, production-scheduling, quality-nonconformance, returns-reverse-logistics, visa-doc-translate
@@ -4,7 +4,7 @@
4
4
  {
5
5
  "id": "agents",
6
6
  "kind": "agents",
7
- "description": "All 44 agents — planner, architect, code-reviewer, security, language-specific reviewers & build resolvers, and more",
7
+ "description": "All 43 agents — planner, architect, code-reviewer, security, language-specific reviewers & build resolvers, and more",
8
8
  "paths": ["agents/"],
9
9
  "defaultInstall": true,
10
10
  "cost": "medium",
@@ -13,7 +13,7 @@
13
13
  {
14
14
  "id": "commands",
15
15
  "kind": "commands",
16
- "description": "All 115 commands — plan, code, test, fix, cook, design, bootstrap, multi-*, session, build, review, and more",
16
+ "description": "All 114 commands — plan, code, test, fix, cook, design, bootstrap, multi-*, session, build, review, and more",
17
17
  "paths": ["commands/"],
18
18
  "defaultInstall": true,
19
19
  "cost": "light",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "claude-skill-lord",
3
- "version": "2.0.4",
4
- "description": "Curated Claude Code plugin — 44 agents, 170 skills, 115 commands, 13 language rules with intelligent skill routing",
3
+ "version": "2.0.6",
4
+ "description": "Curated Claude Code plugin — 43 agents, 170 skills, 114 commands, 11 language rules",
5
5
  "author": {
6
6
  "name": "Dong Anh",
7
7
  "email": "donganhvu20@gmail.com"
@@ -22,7 +22,6 @@
22
22
  "commands",
23
23
  "ai",
24
24
  "developer-tools",
25
- "skill-routing",
26
25
  "quality-gate",
27
26
  "tdd",
28
27
  "code-review"
@@ -115,6 +115,19 @@ const pluginJson = buildPluginJson('full', filesToCopy, pkg.version);
115
115
  fs.writeFileSync(pluginJsonPath, JSON.stringify(pluginJson, null, 2));
116
116
  console.log(`\n Generated: .claude/plugin.json`);
117
117
 
118
+ // Copy CLAUDE.md to project root (Claude Code reads this automatically)
119
+ const claudeMdSrc = path.join(skillLordRoot, 'CLAUDE.md');
120
+ const claudeMdDest = path.join(targetDir, 'CLAUDE.md');
121
+ if (fs.existsSync(claudeMdSrc)) {
122
+ if (fs.existsSync(claudeMdDest)) {
123
+ console.log(` Skipped: CLAUDE.md (already exists in project root)`);
124
+ } else {
125
+ fs.copyFileSync(claudeMdSrc, claudeMdDest);
126
+ console.log(` Copied: CLAUDE.md → project root`);
127
+ copied++;
128
+ }
129
+ }
130
+
118
131
  console.log(`\n Installation complete!`);
119
132
  console.log(` Copied: ${copied} files`);
120
133
  if (skipped > 0) console.log(` Skipped: ${skipped} files (already exist)`);
package/scripts/sl.js CHANGED
@@ -184,6 +184,28 @@ const commands = {
184
184
  console.log(` Rebuilt plugin.json (${rebuilt.agents.length} agents, ${rebuilt.skills.length} skill dirs)`);
185
185
  }
186
186
 
187
+ // Migrate CLAUDE.md to project root
188
+ const claudeMdSrc = path.join(rootDir, 'CLAUDE.md');
189
+ const claudeMdDest = path.join(targetDir, 'CLAUDE.md');
190
+ if (fs.existsSync(claudeMdSrc)) {
191
+ if (!fs.existsSync(claudeMdDest)) {
192
+ if (dryRun) console.log(` + NEW: CLAUDE.md (project root)`);
193
+ else {
194
+ fs.copyFileSync(claudeMdSrc, claudeMdDest);
195
+ console.log(` Copied CLAUDE.md → project root`);
196
+ }
197
+ added++;
198
+ } else {
199
+ const srcBuf = fs.readFileSync(claudeMdSrc);
200
+ const destBuf = fs.readFileSync(claudeMdDest);
201
+ if (!srcBuf.equals(destBuf)) {
202
+ if (dryRun) console.log(` ~ UPDATED: CLAUDE.md (project root)`);
203
+ else fs.copyFileSync(claudeMdSrc, claudeMdDest);
204
+ updated++;
205
+ }
206
+ }
207
+ }
208
+
187
209
  console.log(`\n ${dryRun ? '[DRY RUN] ' : ''}Results:`);
188
210
  console.log(` New files: ${added}`);
189
211
  console.log(` Updated: ${updated}`);
@@ -269,9 +291,6 @@ const commands = {
269
291
  },
270
292
 
271
293
  list: () => {
272
- const manifest = JSON.parse(
273
- fs.readFileSync(path.join(rootDir, 'skills', 'manifest.json'), 'utf8')
274
- );
275
294
  const agents = fs.readdirSync(path.join(rootDir, 'agents')).filter(f => f.endsWith('.md'));
276
295
 
277
296
  console.log(`\n Claude Skill Lord Components\n`);
@@ -279,12 +298,12 @@ const commands = {
279
298
  console.log(` Agents: ${agents.length}`);
280
299
  agents.forEach(a => console.log(` - ${a.replace('.md', '')}`));
281
300
 
282
- console.log(`\n Skills: ${manifest.skills.length}`);
283
- [1, 2, 3].forEach(tier => {
284
- const skills = manifest.skills.filter(s => s.tier === tier);
285
- console.log(`\n Tier ${tier} (${skills.length}):`);
286
- skills.forEach(s => console.log(` - ${s.name}: ${s.description}`));
287
- });
301
+ const skillsDir = path.join(rootDir, 'skills');
302
+ const skills = fs.readdirSync(skillsDir, { withFileTypes: true })
303
+ .filter(e => e.isDirectory() && fs.existsSync(path.join(skillsDir, e.name, 'SKILL.md')))
304
+ .map(e => e.name);
305
+ console.log(`\n Skills: ${skills.length}`);
306
+ skills.forEach(s => console.log(` - ${s}`));
288
307
 
289
308
  const cmds = [];
290
309
  const collectCmds = (dir) => {
@@ -362,9 +381,11 @@ const commands = {
362
381
  if (missing.length) throw new Error(`missing: ${missing.join(', ')}`);
363
382
  });
364
383
 
365
- check('manifest.json valid', () => {
366
- const m = JSON.parse(fs.readFileSync(path.join(rootDir, 'skills', 'manifest.json'), 'utf8'));
367
- if (!m.skills || m.skills.length === 0) throw new Error('no skills');
384
+ check('Skills directory populated', () => {
385
+ const skillsDir = path.join(rootDir, 'skills');
386
+ const skills = fs.readdirSync(skillsDir, { withFileTypes: true })
387
+ .filter(e => e.isDirectory() && fs.existsSync(path.join(skillsDir, e.name, 'SKILL.md')));
388
+ if (skills.length === 0) throw new Error('no skills with SKILL.md found');
368
389
  });
369
390
 
370
391
  check('hooks.json valid', () => {
@@ -433,7 +454,7 @@ const commands = {
433
454
  Usage: csl <command> [options]
434
455
 
435
456
  Commands:
436
- init Install in current project (22 agents, 61 skills, all commands)
457
+ init Install in current project (43 agents, 170 skills, 114 commands)
437
458
  update Update CLI to latest version
438
459
  migrate Update project files after csl update
439
460
  diff Compare project files with source package
@@ -0,0 +1,97 @@
1
+ # Google Gemini API Configuration
2
+
3
+ # ============================================================================
4
+ # OPTION 1: Google AI Studio (Default - Recommended for most users)
5
+ # ============================================================================
6
+ # Get your API key: https://aistudio.google.com/apikey
7
+ GEMINI_API_KEY=your_api_key_here
8
+
9
+ # ============================================================================
10
+ # OPTION 2: Vertex AI (Google Cloud Platform)
11
+ # ============================================================================
12
+ # Uncomment these lines to use Vertex AI instead of Google AI Studio
13
+ # GEMINI_USE_VERTEX=true
14
+ # VERTEX_PROJECT_ID=your-gcp-project-id
15
+ # VERTEX_LOCATION=us-central1
16
+
17
+ # ============================================================================
18
+ # Model Selection (Optional)
19
+ # ============================================================================
20
+ # Override default model for specific tasks
21
+ # Default: gemini-2.5-flash for most tasks
22
+ # GEMINI_MODEL=gemini-2.5-flash
23
+ # GEMINI_IMAGE_GEN_MODEL=gemini-2.5-flash-image
24
+
25
+ # ============================================================================
26
+ # Rate Limiting Configuration (Optional)
27
+ # ============================================================================
28
+ # Requests per minute limit (adjust based on your tier)
29
+ # GEMINI_RPM_LIMIT=15
30
+
31
+ # Tokens per minute limit
32
+ # GEMINI_TPM_LIMIT=4000000
33
+
34
+ # Requests per day limit
35
+ # GEMINI_RPD_LIMIT=1500
36
+
37
+ # ============================================================================
38
+ # Processing Options (Optional)
39
+ # ============================================================================
40
+ # Video resolution mode: default or low-res
41
+ # low-res uses ~100 tokens/second vs ~300 for default
42
+ # GEMINI_VIDEO_RESOLUTION=default
43
+
44
+ # Audio quality: default (16 Kbps mono, auto-downsampled)
45
+ # GEMINI_AUDIO_QUALITY=default
46
+
47
+ # PDF processing mode: inline (<20MB) or file-api (>20MB, automatic)
48
+ # GEMINI_PDF_MODE=auto
49
+
50
+ # ============================================================================
51
+ # Retry Configuration (Optional)
52
+ # ============================================================================
53
+ # Maximum retry attempts for failed requests
54
+ # GEMINI_MAX_RETRIES=3
55
+
56
+ # Initial retry delay in seconds (uses exponential backoff)
57
+ # GEMINI_RETRY_DELAY=1
58
+
59
+ # ============================================================================
60
+ # Output Configuration (Optional)
61
+ # ============================================================================
62
+ # Default output directory for generated images
63
+ # OUTPUT_DIR=./output
64
+
65
+ # Image output format (png or jpeg)
66
+ # IMAGE_FORMAT=png
67
+
68
+ # Image quality for JPEG (1-100)
69
+ # IMAGE_QUALITY=95
70
+
71
+ # ============================================================================
72
+ # Context Caching (Optional)
73
+ # ============================================================================
74
+ # Enable context caching for repeated queries on same file
75
+ # GEMINI_ENABLE_CACHING=true
76
+
77
+ # Cache TTL in seconds (default: 1800 = 30 minutes)
78
+ # GEMINI_CACHE_TTL=1800
79
+
80
+ # ============================================================================
81
+ # Logging (Optional)
82
+ # ============================================================================
83
+ # Log level: DEBUG, INFO, WARNING, ERROR, CRITICAL
84
+ # LOG_LEVEL=INFO
85
+
86
+ # Log file path
87
+ # LOG_FILE=./logs/gemini.log
88
+
89
+ # ============================================================================
90
+ # Notes
91
+ # ============================================================================
92
+ # 1. Never commit API keys to version control
93
+ # 2. Add .env to .gitignore
94
+ # 3. API keys can be restricted in Google Cloud Console
95
+ # 4. Monitor usage at: https://aistudio.google.com/apikey
96
+ # 5. Free tier limits: 15 RPM, 1M-4M TPM, 1,500 RPD
97
+ # 6. Vertex AI requires GCP authentication via gcloud CLI
@@ -0,0 +1,76 @@
1
+ # DevOps Skill - Environment Variables
2
+
3
+ # =============================================================================
4
+ # Cloudflare Configuration
5
+ # =============================================================================
6
+ # Get these from: https://dash.cloudflare.com
7
+ # API Token: Profile -> API Tokens -> Create Token
8
+ # Account ID: Overview -> Account ID (right sidebar)
9
+
10
+ CLOUDFLARE_API_TOKEN=your_cloudflare_api_token_here
11
+ CLOUDFLARE_ACCOUNT_ID=your_cloudflare_account_id_here
12
+
13
+ # Optional: Specific zone configuration
14
+ # CLOUDFLARE_ZONE_ID=your_zone_id_here
15
+
16
+ # =============================================================================
17
+ # Google Cloud Configuration
18
+ # =============================================================================
19
+ # Authentication via service account key file or gcloud CLI
20
+ # Download from: IAM & Admin -> Service Accounts -> Create Key
21
+
22
+ # Option 1: Service account key file path
23
+ GOOGLE_APPLICATION_CREDENTIALS=/path/to/service-account-key.json
24
+
25
+ # Option 2: Project configuration
26
+ # GCP_PROJECT_ID=your-project-id
27
+ # GCP_REGION=us-central1
28
+ # GCP_ZONE=us-central1-a
29
+
30
+ # =============================================================================
31
+ # Docker Configuration
32
+ # =============================================================================
33
+ # Optional: Docker registry authentication
34
+
35
+ # Docker Hub
36
+ # DOCKER_USERNAME=your_docker_username
37
+ # DOCKER_PASSWORD=your_docker_password
38
+
39
+ # Google Container Registry (GCR)
40
+ # GCR_HOSTNAME=gcr.io
41
+ # GCR_PROJECT_ID=your-project-id
42
+
43
+ # AWS ECR
44
+ # AWS_ACCOUNT_ID=123456789012
45
+ # AWS_REGION=us-east-1
46
+
47
+ # =============================================================================
48
+ # CI/CD Configuration
49
+ # =============================================================================
50
+ # Optional: For automated deployments
51
+
52
+ # GitHub Actions
53
+ # GITHUB_TOKEN=your_github_token
54
+
55
+ # GitLab CI
56
+ # GITLAB_TOKEN=your_gitlab_token
57
+
58
+ # =============================================================================
59
+ # Monitoring & Logging
60
+ # =============================================================================
61
+ # Optional: For observability
62
+
63
+ # Sentry
64
+ # SENTRY_DSN=your_sentry_dsn
65
+
66
+ # Datadog
67
+ # DD_API_KEY=your_datadog_api_key
68
+
69
+ # =============================================================================
70
+ # Notes
71
+ # =============================================================================
72
+ # 1. Copy this file to .env and fill in your actual values
73
+ # 2. Never commit .env file to version control
74
+ # 3. Use different credentials for dev/staging/production
75
+ # 4. Rotate credentials regularly
76
+ # 5. Use least-privilege principle for API tokens
@@ -0,0 +1,15 @@
1
+ # Context7 API Configuration (optional)
2
+ # Get your API key from https://context7.com/dashboard/api-keys
3
+ CONTEXT7_API_KEY=
4
+
5
+ # Gemini API Configuration (optional, for ai-multimodal integration)
6
+ # Get your API key from https://aistudio.google.com/app/apikey
7
+ GEMINI_API_KEY=
8
+
9
+ # GitHub Token (optional, for higher rate limits on repository analysis)
10
+ # Create at https://github.com/settings/tokens
11
+ GITHUB_TOKEN=
12
+
13
+ # Output settings
14
+ OUTPUT_FORMAT=json
15
+ DEBUG=false
@@ -0,0 +1,20 @@
1
+ # SePay Configuration
2
+ SEPAY_MERCHANT_ID=SP-TEST-XXXXXXX
3
+ SEPAY_SECRET_KEY=spsk_test_xxxxxxxxxxxxx
4
+ SEPAY_ENV=sandbox # or 'production'
5
+
6
+ # SePay Webhook Configuration
7
+ SEPAY_WEBHOOK_AUTH_TYPE=api_key # or 'oauth2' or 'none'
8
+ SEPAY_WEBHOOK_API_KEY=your_webhook_api_key
9
+
10
+ # Polar Configuration
11
+ POLAR_ACCESS_TOKEN=polar_xxxxxxxxxxxxxxxx
12
+ POLAR_SERVER=sandbox # or 'production'
13
+ POLAR_ORG_ID=org_xxxxxxxxxxxxx
14
+
15
+ # Polar Webhook Configuration
16
+ POLAR_WEBHOOK_SECRET=base64_encoded_secret
17
+
18
+ # Optional: Database or other configuration
19
+ # DATABASE_URL=postgresql://user:password@localhost:5432/dbname
20
+ # REDIS_URL=redis://localhost:6379
@@ -0,0 +1,8 @@
1
+ # Sequential Thinking Configuration
2
+
3
+ # Disable thought logging output (useful for automated processing)
4
+ # Set to "true" to disable console logging
5
+ DISABLE_THOUGHT_LOGGING=false
6
+
7
+ # History file location (optional, defaults to scripts/.thought-history.json)
8
+ # THOUGHT_HISTORY_FILE=/path/to/custom/history.json
@@ -1,112 +0,0 @@
1
- ---
2
- name: skill-router
3
- description: Advisory skill recommendation agent — analyzes user tasks and recommends relevant skills from the SkillLord catalog
4
- tools: ["Glob", "Grep", "Read"]
5
- model: sonnet
6
- ---
7
-
8
- # Skill Router (Advisory)
9
-
10
- You are an advisory skill routing agent for SkillLord. Your job is to analyze the user's request and recommend the most relevant skills from the catalog. You do NOT load or execute skills — you only recommend.
11
-
12
- ## Step-by-Step Process
13
-
14
- ### Step 1: Load the Skill Catalog
15
- Read `skills/manifest.json` at the plugin root. This file contains all 55 skills with metadata:
16
- ```json
17
- { "name": "...", "tier": 1|2|3, "path": "...", "tags": [...], "description": "...", "dependencies": [...] }
18
- ```
19
-
20
- ### Step 2: Analyze the User Request
21
- Extract from the user's request:
22
- - **Intent**: What action? (build, fix, debug, test, deploy, design, review, plan, research)
23
- - **Technology stack**: What tech? (React, Python, Go, PostgreSQL, Docker, etc.)
24
- - **Domain**: What area? (frontend, backend, database, security, DevOps, mobile, AI/ML)
25
- - **Task type**: New feature, bug fix, refactor, migration, optimization, testing
26
-
27
- ### Step 3: Score Each Skill
28
-
29
- For each skill in the manifest, calculate a relevance score (0.0 to 1.0):
30
-
31
- **Tag Match (40% weight):**
32
- - Extract keywords from user request (lowercase, split by spaces/punctuation)
33
- - For each skill tag that matches a request keyword: +1.0
34
- - For each skill tag that partially matches (substring): +0.5
35
- - Normalize: `tag_score = matches / total_tags`
36
-
37
- **Description Match (30% weight):**
38
- - Count keyword hits in the skill's description
39
- - Normalize: `desc_score = hits / total_keywords`
40
-
41
- **Tier Preference (20% weight):**
42
- - Tier 1: `tier_score = 1.0`
43
- - Tier 2: `tier_score = 0.6`
44
- - Tier 3: `tier_score = 0.3`
45
-
46
- **Dependency Bonus (10% weight):**
47
- - If a recommended skill is a dependency of another recommended skill: +0.5
48
- - If skills form a logical chain: +0.3
49
-
50
- **Final Score:**
51
- ```
52
- score = (tag_score * 0.4) + (desc_score * 0.3) + (tier_score * 0.2) + (dep_bonus * 0.1)
53
- ```
54
-
55
- ### Step 4: Rank and Filter
56
- 1. Sort skills by score descending
57
- 2. Filter out skills with score < 0.3
58
- 3. Take top 7 results
59
- 4. Ensure at least 1 Tier-1 skill is included (if any scored > 0.2)
60
-
61
- ### Step 5: Output Recommendations
62
-
63
- Present results in this format:
64
-
65
- ```
66
- ## Skill Recommendations
67
-
68
- Based on your request: "{user_request}"
69
-
70
- | # | Skill | Tier | Score | Reason |
71
- |---|-------|------|-------|--------|
72
- | 1 | debugging | T1 | 0.95 | Direct match: debug, error, fix tags |
73
- | 2 | backend-development | T1 | 0.82 | Stack match: API, server, Node.js |
74
- | 3 | testing | T1 | 0.71 | Related: test coverage for fixes |
75
- | 4 | security-patterns | T1 | 0.55 | Context: auth-related debugging |
76
- | 5 | better-auth | T2 | 0.48 | Domain: authentication framework |
77
-
78
- ### How to Use
79
- These skills are already available in your SkillLord installation.
80
- The most relevant skills will be automatically considered by Claude
81
- when processing your requests. You can also explicitly reference
82
- a skill's patterns by mentioning it in your prompt.
83
-
84
- ### Skill Dependencies
85
- - `e2e-testing` requires familiarity with `testing`
86
- - `postgres-patterns` builds on `databases`
87
- ```
88
-
89
- ## Example Routing
90
-
91
- **Request:** "I need to add OAuth2 login to my Next.js app with Google provider"
92
-
93
- **Analysis:**
94
- - Intent: build (new feature)
95
- - Stack: Next.js, OAuth2, Google
96
- - Domain: frontend + auth
97
- - Type: new feature
98
-
99
- **Top recommendations:**
100
- 1. `better-auth` (T2, 0.95) — OAuth framework patterns
101
- 2. `frontend-development` (T1, 0.85) — Next.js patterns
102
- 3. `web-frameworks` (T1, 0.78) — Next.js App Router
103
- 4. `security-patterns` (T1, 0.65) — Auth security best practices
104
- 5. `api-design` (T1, 0.52) — API route design for auth endpoints
105
-
106
- ## Constraints
107
-
108
- - **ADVISORY ONLY**: You cannot dynamically load or inject skills into the session
109
- - **Max 7 recommendations**: Keep output focused, not exhaustive
110
- - **Show reasoning**: Always explain WHY each skill is recommended
111
- - **Be honest**: If no skills match well, say so. Don't force recommendations
112
- - **Tier awareness**: Mention if recommended skills are in Tier 2/3 (user may need to install full profile)