claude-skill-lord 2.0.3 → 2.0.5
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/.claude-plugin/plugin.json +2 -4
- package/CLAUDE.md +1 -2
- package/README.md +29 -43
- package/manifests/install-modules.json +2 -2
- package/package.json +2 -3
- package/scripts/sl.js +12 -13
- package/skills/ai-multimodal/.env.example +97 -0
- package/skills/devops/.env.example +76 -0
- package/skills/docs-seeker/.env.example +15 -0
- package/skills/payment-integration/scripts/.env.example +20 -0
- package/skills/sequential-thinking/.env.example +8 -0
- package/agents/skill-router.md +0 -112
- package/commands/route.md +0 -28
- package/skills/manifest.json +0 -1078
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-skill-lord",
|
|
3
|
-
"version": "2.0.
|
|
4
|
-
"description": "Curated Claude Code plugin —
|
|
3
|
+
"version": "2.0.5",
|
|
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 |
|
|
@@ -136,7 +135,7 @@ All skills live in `./skills/<name>/SKILL.md` — flat structure, no tiers.
|
|
|
136
135
|
| /integrate | Integrations (variants: sepay, polar) |
|
|
137
136
|
| /skill | Skill management (variants: add, create, fix-logs, optimize) |
|
|
138
137
|
|
|
139
|
-
## Rules (
|
|
138
|
+
## Rules (11 languages + common)
|
|
140
139
|
|
|
141
140
|
Language-specific coding rules in `./rules/`:
|
|
142
141
|
- Common (agents, coding-style, development-workflow, git-workflow, hooks, patterns, performance, security, testing)
|
package/README.md
CHANGED
|
@@ -4,17 +4,17 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/claude-skill-lord)
|
|
6
6
|

|
|
7
|
-

|
|
8
8
|

|
|
9
|
-

|
|
10
|
+

|
|
11
11
|
|
|
12
12
|
---
|
|
13
13
|
|
|
14
14
|
## Why Claude Skill Lord?
|
|
15
15
|
|
|
16
|
-
- **Stop configuring, start building** — 170 skills,
|
|
17
|
-
- **Multi-language support** —
|
|
16
|
+
- **Stop configuring, start building** — 170 skills, 43 agents, 114 commands work out of the box
|
|
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
|
|
20
20
|
- **Battle-tested foundations** — curated from [ClaudeKit Engineer](https://github.com/claudekit/claudekit-engineer) (base) + [Everything Claude Code](https://github.com/affaan-m/everything-claude-code) (cherry-picked)
|
|
@@ -73,29 +73,18 @@ node scripts/sl.js init full --target /path/to/your/project
|
|
|
73
73
|
|
|
74
74
|
---
|
|
75
75
|
|
|
76
|
-
## Install Profiles
|
|
77
|
-
|
|
78
|
-
| Profile | Skills | Agents | Rules | Best For |
|
|
79
|
-
|---------|--------|--------|-------|----------|
|
|
80
|
-
| `core` | 170 | 44 | — | Minimal setup |
|
|
81
|
-
| `developer` | 170 | 44 | 13 languages | Recommended for all projects (default) |
|
|
82
|
-
| `full` | 170 | 44 + canvas fonts | 13 languages + MCP configs | Multi-language, design, enterprise |
|
|
83
|
-
|
|
84
|
-
---
|
|
85
|
-
|
|
86
76
|
## Architecture
|
|
87
77
|
|
|
88
78
|
```mermaid
|
|
89
79
|
graph TD
|
|
90
80
|
subgraph Plugin["Claude Skill Lord Plugin"]
|
|
91
|
-
A["Agents (
|
|
92
|
-
B["Commands (
|
|
81
|
+
A["Agents (43)"]
|
|
82
|
+
B["Commands (114)"]
|
|
93
83
|
C["Skills (170)"]
|
|
94
|
-
R["Rules (
|
|
84
|
+
R["Rules (11 langs)"]
|
|
95
85
|
end
|
|
96
86
|
|
|
97
87
|
subgraph Intelligence["Intelligence Layer"]
|
|
98
|
-
D["Skill Router"]
|
|
99
88
|
E["Quality Gate"]
|
|
100
89
|
end
|
|
101
90
|
|
|
@@ -106,15 +95,14 @@ graph TD
|
|
|
106
95
|
CTX["Contexts"]
|
|
107
96
|
end
|
|
108
97
|
|
|
109
|
-
A -->
|
|
110
|
-
B -->
|
|
111
|
-
C -->
|
|
112
|
-
R -->
|
|
113
|
-
D --> E
|
|
98
|
+
A --> E
|
|
99
|
+
B --> E
|
|
100
|
+
C --> E
|
|
101
|
+
R --> E
|
|
114
102
|
E --> F
|
|
115
103
|
E --> G
|
|
116
104
|
E --> H
|
|
117
|
-
CTX -->
|
|
105
|
+
CTX --> E
|
|
118
106
|
```
|
|
119
107
|
|
|
120
108
|
---
|
|
@@ -203,12 +191,11 @@ The most common workflow — plan first, then implement, then validate:
|
|
|
203
191
|
| `/cook` | Implement features end-to-end |
|
|
204
192
|
| `/tdd` | Test-driven development workflow |
|
|
205
193
|
| `/debug` | Deep root-cause investigation |
|
|
206
|
-
| `/design` | Create UI designs (variants: `fast`, `good`, `3d`, `screenshot`, `video`, `describe`) |
|
|
207
|
-
| `/route` | Get skill recommendations for your task |
|
|
194
|
+
| `/design:good` | Create UI designs (variants: `fast`, `good`, `3d`, `screenshot`, `video`, `describe`) |
|
|
208
195
|
| `/audit` | Run quality gate checks |
|
|
209
196
|
|
|
210
197
|
<details>
|
|
211
|
-
<summary><strong>All commands (
|
|
198
|
+
<summary><strong>All commands (114)</strong></summary>
|
|
212
199
|
|
|
213
200
|
| Category | Commands |
|
|
214
201
|
|----------|----------|
|
|
@@ -227,7 +214,7 @@ The most common workflow — plan first, then implement, then validate:
|
|
|
227
214
|
| **Skills** | `/skill:add`, `/skill:create`, `/skill:optimize`, `/skill:fix-logs`, `/skill-create`, `/skill-health` |
|
|
228
215
|
| **Quality** | `/quality-gate`, `/audit`, `/refactor-clean`, `/prompt-optimize` |
|
|
229
216
|
| **Loop** | `/loop-start`, `/loop-status` |
|
|
230
|
-
| **Other** | `/brainstorm`, `/learn`, `/evolve`, `/model-route`, `/
|
|
217
|
+
| **Other** | `/brainstorm`, `/learn`, `/evolve`, `/model-route`, `/ask`, `/journal`, `/watzup` |
|
|
231
218
|
|
|
232
219
|
See [commands/](commands/) for the full list.
|
|
233
220
|
|
|
@@ -238,7 +225,7 @@ See [commands/](commands/) for the full list.
|
|
|
238
225
|
## Agents
|
|
239
226
|
|
|
240
227
|
<details>
|
|
241
|
-
<summary><strong>
|
|
228
|
+
<summary><strong>43 agents — click to expand</strong></summary>
|
|
242
229
|
|
|
243
230
|
### Core Agents
|
|
244
231
|
|
|
@@ -268,7 +255,6 @@ See [commands/](commands/) for the full list.
|
|
|
268
255
|
| loop-operator | Autonomous development loops |
|
|
269
256
|
| chief-of-staff | Multi-channel coordination |
|
|
270
257
|
| harness-optimizer | Agent self-optimization |
|
|
271
|
-
| skill-router | Advisory skill recommendations |
|
|
272
258
|
| quality-gate | Output validation |
|
|
273
259
|
| researcher | Deep research agent |
|
|
274
260
|
| tester | Test execution agent |
|
|
@@ -314,25 +300,25 @@ All skills live in `./skills/<name>/SKILL.md` — flat structure.
|
|
|
314
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
|
|
315
301
|
|
|
316
302
|
### Frontend & Design
|
|
317
|
-
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
|
|
318
304
|
|
|
319
305
|
### Backend & API
|
|
320
|
-
backend-patterns, api-design,
|
|
306
|
+
backend-patterns, api-design, mcp-server-patterns, mcp-management, mcp-builder
|
|
321
307
|
|
|
322
308
|
### Language Patterns
|
|
323
|
-
python-patterns, golang-patterns, rust-patterns, kotlin-patterns,
|
|
309
|
+
python-patterns, golang-patterns, rust-patterns, kotlin-patterns, perl-patterns, django-patterns, laravel-patterns, springboot-patterns, swiftui-patterns, nuxt4-patterns
|
|
324
310
|
|
|
325
311
|
### Language Testing & Security
|
|
326
|
-
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
|
|
327
313
|
|
|
328
314
|
### Language Specialized
|
|
329
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
|
|
330
316
|
|
|
331
317
|
### Mobile
|
|
332
|
-
mobile-development, android-clean-architecture, flutter-
|
|
318
|
+
mobile-development, android-clean-architecture, flutter-dart-code-review
|
|
333
319
|
|
|
334
320
|
### DevOps & Infrastructure
|
|
335
|
-
deployment-patterns, docker-patterns,
|
|
321
|
+
deployment-patterns, docker-patterns, vercel-deploy
|
|
336
322
|
|
|
337
323
|
### Database
|
|
338
324
|
postgres-patterns, database-migrations, clickhouse-io
|
|
@@ -341,10 +327,10 @@ postgres-patterns, database-migrations, clickhouse-io
|
|
|
341
327
|
ai-multimodal, pytorch-patterns, google-adk-python, cost-aware-llm-pipeline, foundation-models-on-device, prompt-optimizer
|
|
342
328
|
|
|
343
329
|
### Agentic Engineering
|
|
344
|
-
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
|
|
345
331
|
|
|
346
332
|
### Content & Business
|
|
347
|
-
article-writing,
|
|
333
|
+
article-writing, content-engine, crosspost, market-research, investor-outreach, investor-materials, shopify
|
|
348
334
|
|
|
349
335
|
### Security & Auth
|
|
350
336
|
security-review, security-scan, better-auth, payment-integration, safety-guard
|
|
@@ -353,10 +339,10 @@ security-review, security-scan, better-auth, payment-integration, safety-guard
|
|
|
353
339
|
media-processing, video-editing, videodb, fal-ai-media, nutrient-document-processing
|
|
354
340
|
|
|
355
341
|
### Tools & Utilities
|
|
356
|
-
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
|
|
357
343
|
|
|
358
344
|
### Research & Strategy
|
|
359
|
-
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
|
|
360
346
|
|
|
361
347
|
### Domain-Specific
|
|
362
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
|
|
@@ -368,7 +354,7 @@ claude-code, claude-api, claude-devfleet, configure-ecc, skill-comply, skill-sto
|
|
|
368
354
|
|
|
369
355
|
---
|
|
370
356
|
|
|
371
|
-
## Rules (
|
|
357
|
+
## Rules (11 Languages + Common)
|
|
372
358
|
|
|
373
359
|
Language-specific coding rules in `./rules/`:
|
|
374
360
|
|
|
@@ -401,7 +387,7 @@ Language-specific coding rules in `./rules/`:
|
|
|
401
387
|
| Console.log check | Stop | Flags debug code left in modified files |
|
|
402
388
|
| Quality gate | PostToolUse | Lint + types + tests + security checks |
|
|
403
389
|
| Modularization | PostToolUse | Suggests splitting files >200 LOC |
|
|
404
|
-
| Session
|
|
390
|
+
| Session persistence | Stop | Persist session state for cross-session continuity |
|
|
405
391
|
| Discord/Telegram notify | Stop | Send notifications on session end |
|
|
406
392
|
|
|
407
393
|
---
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
{
|
|
5
5
|
"id": "agents",
|
|
6
6
|
"kind": "agents",
|
|
7
|
-
"description": "All
|
|
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
|
|
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
|
-
"description": "Curated Claude Code plugin —
|
|
3
|
+
"version": "2.0.5",
|
|
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"
|
package/scripts/sl.js
CHANGED
|
@@ -269,9 +269,6 @@ const commands = {
|
|
|
269
269
|
},
|
|
270
270
|
|
|
271
271
|
list: () => {
|
|
272
|
-
const manifest = JSON.parse(
|
|
273
|
-
fs.readFileSync(path.join(rootDir, 'skills', 'manifest.json'), 'utf8')
|
|
274
|
-
);
|
|
275
272
|
const agents = fs.readdirSync(path.join(rootDir, 'agents')).filter(f => f.endsWith('.md'));
|
|
276
273
|
|
|
277
274
|
console.log(`\n Claude Skill Lord Components\n`);
|
|
@@ -279,12 +276,12 @@ const commands = {
|
|
|
279
276
|
console.log(` Agents: ${agents.length}`);
|
|
280
277
|
agents.forEach(a => console.log(` - ${a.replace('.md', '')}`));
|
|
281
278
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
});
|
|
279
|
+
const skillsDir = path.join(rootDir, 'skills');
|
|
280
|
+
const skills = fs.readdirSync(skillsDir, { withFileTypes: true })
|
|
281
|
+
.filter(e => e.isDirectory() && fs.existsSync(path.join(skillsDir, e.name, 'SKILL.md')))
|
|
282
|
+
.map(e => e.name);
|
|
283
|
+
console.log(`\n Skills: ${skills.length}`);
|
|
284
|
+
skills.forEach(s => console.log(` - ${s}`));
|
|
288
285
|
|
|
289
286
|
const cmds = [];
|
|
290
287
|
const collectCmds = (dir) => {
|
|
@@ -362,9 +359,11 @@ const commands = {
|
|
|
362
359
|
if (missing.length) throw new Error(`missing: ${missing.join(', ')}`);
|
|
363
360
|
});
|
|
364
361
|
|
|
365
|
-
check('
|
|
366
|
-
const
|
|
367
|
-
|
|
362
|
+
check('Skills directory populated', () => {
|
|
363
|
+
const skillsDir = path.join(rootDir, 'skills');
|
|
364
|
+
const skills = fs.readdirSync(skillsDir, { withFileTypes: true })
|
|
365
|
+
.filter(e => e.isDirectory() && fs.existsSync(path.join(skillsDir, e.name, 'SKILL.md')));
|
|
366
|
+
if (skills.length === 0) throw new Error('no skills with SKILL.md found');
|
|
368
367
|
});
|
|
369
368
|
|
|
370
369
|
check('hooks.json valid', () => {
|
|
@@ -433,7 +432,7 @@ const commands = {
|
|
|
433
432
|
Usage: csl <command> [options]
|
|
434
433
|
|
|
435
434
|
Commands:
|
|
436
|
-
init Install in current project (
|
|
435
|
+
init Install in current project (43 agents, 170 skills, 114 commands)
|
|
437
436
|
update Update CLI to latest version
|
|
438
437
|
migrate Update project files after csl update
|
|
439
438
|
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
|
package/agents/skill-router.md
DELETED
|
@@ -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)
|