@agentlee5/agent-skills 1.0.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/.leeway/config.json +133 -0
- package/LICENSE +21 -0
- package/LeeWay-Standards/LICENSE +21 -0
- package/LeeWay-Standards/README.md +324 -0
- package/LeeWay-Standards/examples/NexusButton.tsx +90 -0
- package/LeeWay-Standards/examples/example-agent.js +89 -0
- package/LeeWay-Standards/package.json +61 -0
- package/LeeWay-Standards/schemas/leeway-config.schema.json +81 -0
- package/LeeWay-Standards/schemas/leeway-header.schema.json +63 -0
- package/LeeWay-Standards/src/agents/discovery/architecture-map-agent.js +134 -0
- package/LeeWay-Standards/src/agents/discovery/docs-agent.js +126 -0
- package/LeeWay-Standards/src/agents/discovery/explain-agent.js +95 -0
- package/LeeWay-Standards/src/agents/discovery/intent-registry-agent.js +119 -0
- package/LeeWay-Standards/src/agents/discovery/schema-agent.js +116 -0
- package/LeeWay-Standards/src/agents/discovery/sitemap-agent.js +88 -0
- package/LeeWay-Standards/src/agents/governance/align-agent.js +155 -0
- package/LeeWay-Standards/src/agents/governance/assess-agent.js +161 -0
- package/LeeWay-Standards/src/agents/governance/audit-agent.js +185 -0
- package/LeeWay-Standards/src/agents/integrity/circular-dependency-agent.js +88 -0
- package/LeeWay-Standards/src/agents/integrity/dependency-graph-agent.js +107 -0
- package/LeeWay-Standards/src/agents/integrity/duplicate-logic-agent.js +108 -0
- package/LeeWay-Standards/src/agents/integrity/import-agent.js +83 -0
- package/LeeWay-Standards/src/agents/integrity/module-policy-agent.js +94 -0
- package/LeeWay-Standards/src/agents/integrity/refactor-scan-agent.js +113 -0
- package/LeeWay-Standards/src/agents/integrity/syntax-agent.js +84 -0
- package/LeeWay-Standards/src/agents/mcp/endpoint-agent.js +106 -0
- package/LeeWay-Standards/src/agents/mcp/env-agent.js +111 -0
- package/LeeWay-Standards/src/agents/mcp/health-agent-lite.js +119 -0
- package/LeeWay-Standards/src/agents/mcp/manifest-agent.js +87 -0
- package/LeeWay-Standards/src/agents/mcp/port-agent.js +125 -0
- package/LeeWay-Standards/src/agents/mcp/process-agent.js +124 -0
- package/LeeWay-Standards/src/agents/mcp/runtime-agent.js +108 -0
- package/LeeWay-Standards/src/agents/mcp/transport-agent.js +78 -0
- package/LeeWay-Standards/src/agents/orchestration/doctor-agent.js +149 -0
- package/LeeWay-Standards/src/agents/orchestration/memory-agent-lite.js +125 -0
- package/LeeWay-Standards/src/agents/orchestration/router-agent.js +110 -0
- package/LeeWay-Standards/src/agents/security/permission-agent.js +98 -0
- package/LeeWay-Standards/src/agents/security/policy-agent.js +100 -0
- package/LeeWay-Standards/src/agents/security/privacy-agent.js +83 -0
- package/LeeWay-Standards/src/agents/security/prompt-security-agent.js +103 -0
- package/LeeWay-Standards/src/agents/security/secret-scan-agent.js +108 -0
- package/LeeWay-Standards/src/agents/security/tool-access-agent.js +105 -0
- package/LeeWay-Standards/src/agents/standards/authority-agent.js +114 -0
- package/LeeWay-Standards/src/agents/standards/discovery-pipeline-agent.js +91 -0
- package/LeeWay-Standards/src/agents/standards/header-agent.js +120 -0
- package/LeeWay-Standards/src/agents/standards/placement-agent.js +96 -0
- package/LeeWay-Standards/src/agents/standards/region-agent.js +99 -0
- package/LeeWay-Standards/src/agents/standards/registry-agent.js +153 -0
- package/LeeWay-Standards/src/agents/standards/tag-agent.js +111 -0
- package/LeeWay-Standards/src/cli/leeway.js +225 -0
- package/LeeWay-Standards/src/core/compliance-scorer.js +168 -0
- package/LeeWay-Standards/src/core/compliance-scorer.test.js +121 -0
- package/LeeWay-Standards/src/core/header-parser.js +207 -0
- package/LeeWay-Standards/src/core/header-parser.test.js +198 -0
- package/LeeWay-Standards/src/core/region-classifier.js +137 -0
- package/LeeWay-Standards/src/core/region-classifier.test.js +100 -0
- package/LeeWay-Standards/src/core/tag-validator.js +139 -0
- package/LeeWay-Standards/src/core/tag-validator.test.js +109 -0
- package/LeeWay-Standards/src/index.js +83 -0
- package/README.md +217 -0
- package/agent-config.yaml +456 -0
- package/agentbage.png.png +0 -0
- package/bin/leeway-skills-badge.js +52 -0
- package/bin/leeway-skills-mcp.js +48 -0
- package/bin/leeway-skills.js +160 -0
- package/bin/leeway-standards.js +49 -0
- package/config/.skillsignore +63 -0
- package/config/skills-config.json +70 -0
- package/documents/AGENT_LEARNING_REFERENCE.md +329 -0
- package/documents/AGENT_LEE_INTEGRATION.md +534 -0
- package/documents/COMPLETE_SYSTEM_OVERVIEW.md +502 -0
- package/documents/COMPREHENSIVE_SKILL_INTEGRATION_PLAN.md +644 -0
- package/documents/DIRECTORY_MAP.md +323 -0
- package/documents/EXTENDING.md +514 -0
- package/documents/FILE_DIRECTORY_GUIDE.md +427 -0
- package/documents/LEEWAY_BADGE_INTEGRATION.md +76 -0
- package/documents/LEEWAY_IMPLEMENTATION_SUMMARY.md +384 -0
- package/documents/LEEWAY_INTEGRATION_GUIDE.md +414 -0
- package/documents/LEEWAY_NPM_SDK.md +66 -0
- package/documents/LEEWAY_QUICK_START.md +288 -0
- package/documents/LEEWAY_SKILLS_BRANDING.md +375 -0
- package/documents/LEEWAY_SKILLS_MCP_SUMMARY.md +593 -0
- package/documents/LEEWAY_STANDARDS_COMPLIANCE.md +361 -0
- package/documents/LEEWAY_UNIFIED_ARCHITECTURE.md +473 -0
- package/documents/LEEWAY_WORKFLOWS_QUICK_REFERENCE.md +307 -0
- package/documents/LEEWAY_WORKFLOWS_STRATEGIC_PLAN.md +515 -0
- package/documents/LIFELONG_LEARNING_LAYER.md +478 -0
- package/documents/MCP_ARCHITECTURE.md +683 -0
- package/documents/QUICK_REFERENCE.md +301 -0
- package/documents/SETUP.md +325 -0
- package/documents/SETUP_SUMMARY.md +413 -0
- package/documents/SKILL_ACQUISITION_EXECUTIVE_SUMMARY.md +373 -0
- package/documents/SKILL_ACQUISITION_IMPLEMENTATION.md +692 -0
- package/documents/SKILL_ACQUISITION_MANIFEST.md +404 -0
- package/documents/SKILL_ACQUISITION_QUICK_REFERENCE.md +349 -0
- package/documents/SKILL_WORKFLOW_COMPOSITION_MATRIX.md +537 -0
- package/documents/STRUCTURE.md +382 -0
- package/documents/SYSTEM_TRANSFORMATION_SUMMARY.md +560 -0
- package/documents/USAGE.md +390 -0
- package/documents/WORKFLOW_ACQUISITION_MANIFEST.md +576 -0
- package/documents/aiskills.txt +460 -0
- package/mcp-server/README.md +697 -0
- package/mcp-server/dist/badge-proof.d.ts +66 -0
- package/mcp-server/dist/badge-proof.d.ts.map +1 -0
- package/mcp-server/dist/badge-proof.js +324 -0
- package/mcp-server/dist/badge-proof.js.map +1 -0
- package/mcp-server/dist/index.d.ts +64 -0
- package/mcp-server/dist/index.d.ts.map +1 -0
- package/mcp-server/dist/index.js +263 -0
- package/mcp-server/dist/index.js.map +1 -0
- package/mcp-server/dist/install-badge-proof.d.ts +3 -0
- package/mcp-server/dist/install-badge-proof.d.ts.map +1 -0
- package/mcp-server/dist/install-badge-proof.js +109 -0
- package/mcp-server/dist/install-badge-proof.js.map +1 -0
- package/mcp-server/package.json +43 -0
- package/mcp-server/src/badge-proof.ts +469 -0
- package/mcp-server/src/index.ts +355 -0
- package/mcp-server/src/install-badge-proof.ts +132 -0
- package/mcp-server/tsconfig.json +22 -0
- package/package.json +84 -0
- package/scripts/init-leeway.js +217 -0
- package/scripts/leeway-agents/compliance-monitor.js +374 -0
- package/scripts/leeway-agents/header-injector.js +321 -0
- package/scripts/skill-integration-toolkit.py +319 -0
- package/scripts/skills-registry.json +1117 -0
- package/scripts/sync-skills.ps1 +275 -0
- package/scripts/verify-leeway-setup.js +249 -0
- package/scripts/workflow-integration-toolkit.py +522 -0
- package/sdk/application-installer.js +92 -0
- package/sdk/index.js +43 -0
- package/sdk/paths.js +167 -0
- package/skills/agent-autonomy/autonomous-conductor/SKILL.md +206 -0
- package/skills/agent-autonomy/full-stack-delivery/SKILL.md +206 -0
- package/skills/agent-orchestration/multi-agent-orchestration/SKILL.md +68 -0
- package/skills/agent-patterns/agent-design-patterns/SKILL.md +70 -0
- package/skills/ai-ml/llm-prompting/SKILL.md +71 -0
- package/skills/ai-ml/ml-model-development/SKILL.md +67 -0
- package/skills/ai-ml/multimodal-systems/SKILL.md +71 -0
- package/skills/ai-ml/retrieval-generation-fine-tuning/SKILL.md +71 -0
- package/skills/architecture/system-design/SKILL.md +67 -0
- package/skills/code-analysis/refactoring/SKILL.md +64 -0
- package/skills/code-analysis/security-vulnerability-scanning/SKILL.md +71 -0
- package/skills/code-analysis/static-analysis/SKILL.md +64 -0
- package/skills/code-generation/full-stack-application/SKILL.md +70 -0
- package/skills/code-generation/microservices-architecture/SKILL.md +71 -0
- package/skills/code-generation/python-codegen/SKILL.md +64 -0
- package/skills/code-generation/typescript-codegen/SKILL.md +64 -0
- package/skills/data-analysis/advanced-analytics/SKILL.md +71 -0
- package/skills/data-analysis/pandas-analysis/SKILL.md +66 -0
- package/skills/database-design/database-design-optimization/SKILL.md +70 -0
- package/skills/debugging/javascript-debugging/SKILL.md +67 -0
- package/skills/debugging/python-debugging/SKILL.md +67 -0
- package/skills/devops/dockerfile-creation/SKILL.md +64 -0
- package/skills/devops/kubernetes-deployment/SKILL.md +65 -0
- package/skills/documentation/api-documentation/SKILL.md +67 -0
- package/skills/error-handling/resilience-patterns/SKILL.md +70 -0
- package/skills/git-workflow/git-collaboration/SKILL.md +67 -0
- package/skills/infrastructure/cicd-pipelines/SKILL.md +70 -0
- package/skills/infrastructure/infrastructure-as-code/SKILL.md +70 -0
- package/skills/observability/monitoring-and-observability/SKILL.md +70 -0
- package/skills/performance-optimization/performance-engineering/SKILL.md +70 -0
- package/skills/prompt-optimization/prompt-engineering-advanced/SKILL.md +70 -0
- package/skills/quality-assurance/deployment-validator/SKILL.md +382 -0
- package/skills/quality-assurance/web-security-sweep/SKILL.md +320 -0
- package/skills/rag-knowledge/rag-systems/SKILL.md +70 -0
- package/skills/research/knowledge-synthesis/SKILL.md +71 -0
- package/skills/security/authentication-authorization/SKILL.md +71 -0
- package/skills/security/code-security/SKILL.md +66 -0
- package/skills/security/secure-architecture/SKILL.md +71 -0
- package/skills/self-optimization/dev-loop-optimizer/SKILL.md +344 -0
- package/skills/self-optimization/memory-learning/SKILL.md +335 -0
- package/skills/self-optimization/runtime-self-profiling/SKILL.md +250 -0
- package/skills/testing/advanced-testing-strategies/SKILL.md +71 -0
- package/skills/testing/integration-testing/SKILL.md +66 -0
- package/skills/testing/load-testing-capacity/SKILL.md +71 -0
- package/skills/testing/unit-testing/SKILL.md +66 -0
- package/skills/tool-integration/custom-tool-creation/SKILL.md +70 -0
- package/skills/web-development/advanced-frontend-patterns/SKILL.md +71 -0
- package/skills/web-development/api-design/SKILL.md +71 -0
- package/skills/web-development/css-styling/SKILL.md +67 -0
- package/skills/web-development/react-development/SKILL.md +79 -0
- package/skills/workflow-composition/workflow-orchestration/SKILL.md +70 -0
|
@@ -0,0 +1,514 @@
|
|
|
1
|
+
# How to Extend Your Skills Directory
|
|
2
|
+
|
|
3
|
+
## Adding New Skills
|
|
4
|
+
|
|
5
|
+
### Step 1: Choose the Right Category
|
|
6
|
+
|
|
7
|
+
First, determine which category your skill belongs to:
|
|
8
|
+
|
|
9
|
+
- **code-generation**: Code scaffolding and generation
|
|
10
|
+
- **code-analysis**: Code review, quality, refactoring
|
|
11
|
+
- **data-analysis**: Data science, statistics, visualization
|
|
12
|
+
- **devops**: Containerization, orchestration, deployment
|
|
13
|
+
- **web-development**: Frontend, UI, styling
|
|
14
|
+
- **debugging**: Finding and fixing issues
|
|
15
|
+
- **testing**: Test frameworks, test generation
|
|
16
|
+
- **ai-ml**: LLM, machine learning, AI
|
|
17
|
+
- **security**: Vulnerabilities, secure practices
|
|
18
|
+
- **documentation**: Docs, API specs, guides
|
|
19
|
+
- **architecture**: System design, patterns, scalability
|
|
20
|
+
- **git-workflow**: Version control, collaboration
|
|
21
|
+
|
|
22
|
+
Don't see a category? ➜ Create a new one ([see below](#adding-new-categories))
|
|
23
|
+
|
|
24
|
+
### Step 2: Create the Skill Directory
|
|
25
|
+
|
|
26
|
+
Create a new directory with a descriptive, hyphenated name:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
skills/{category}/{skill-name}/
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Example:
|
|
33
|
+
|
|
34
|
+
```
|
|
35
|
+
skills/code-analysis/performance-optimization/
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Step 3: Create SKILL.md
|
|
39
|
+
|
|
40
|
+
Inside your skill directory, create `SKILL.md`:
|
|
41
|
+
|
|
42
|
+
```markdown
|
|
43
|
+
# Performance Optimization
|
|
44
|
+
|
|
45
|
+
**Expert in**: Identifying and eliminating performance bottlenecks in code and systems.
|
|
46
|
+
|
|
47
|
+
## Capabilities
|
|
48
|
+
|
|
49
|
+
- Identify slow algorithms (Big O analysis)
|
|
50
|
+
- Find Memory leaks and inefficient data structures
|
|
51
|
+
- Optimize database queries
|
|
52
|
+
- Reduce bundle sizes
|
|
53
|
+
- Enable caching strategies
|
|
54
|
+
- Parallelize operations
|
|
55
|
+
- Profile code execution
|
|
56
|
+
- Optimize N+1 query problems
|
|
57
|
+
|
|
58
|
+
## Use this skill when:
|
|
59
|
+
|
|
60
|
+
- Application performance is slow
|
|
61
|
+
- Need to optimize for production
|
|
62
|
+
- Scaling challenges
|
|
63
|
+
- User experience issues
|
|
64
|
+
- Resource constraints
|
|
65
|
+
- Load testing failures
|
|
66
|
+
|
|
67
|
+
## Key techniques
|
|
68
|
+
|
|
69
|
+
- Profiling with DevTools and performance tools
|
|
70
|
+
- Big O notation and complexity analysis
|
|
71
|
+
- Caching strategies (Redis, browser cache)
|
|
72
|
+
- Database indexing and query optimization
|
|
73
|
+
- Code splitting and lazy loading
|
|
74
|
+
- Algorithmic improvements
|
|
75
|
+
- Memory management
|
|
76
|
+
|
|
77
|
+
## Tags
|
|
78
|
+
|
|
79
|
+
`performance` `optimization` `profiling` `scaling` `efficiency`
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
### Step 4: Update skills-registry.json
|
|
83
|
+
|
|
84
|
+
Add your skill to `scripts/skills-registry.json`:
|
|
85
|
+
|
|
86
|
+
```json
|
|
87
|
+
{
|
|
88
|
+
"name": "Performance Optimization",
|
|
89
|
+
"category": "code-analysis",
|
|
90
|
+
"path": "skills/code-analysis/performance-optimization",
|
|
91
|
+
"version": "1.0.0",
|
|
92
|
+
"tags": ["performance", "optimization", "profiling", "scaling", "efficiency"],
|
|
93
|
+
"description": "Identifying and eliminating performance bottlenecks in code and systems.",
|
|
94
|
+
"capabilities": [
|
|
95
|
+
"Identify slow algorithms",
|
|
96
|
+
"Find memory leaks",
|
|
97
|
+
"Optimize database queries",
|
|
98
|
+
"Reduce bundle sizes"
|
|
99
|
+
],
|
|
100
|
+
"dependency": null,
|
|
101
|
+
"enabled": true,
|
|
102
|
+
"source": "internal"
|
|
103
|
+
}
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Step 5: Validate
|
|
107
|
+
|
|
108
|
+
Run the sync script to validate:
|
|
109
|
+
|
|
110
|
+
```powershell
|
|
111
|
+
cd c:\Tools\AIskills
|
|
112
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
Expected output:
|
|
116
|
+
|
|
117
|
+
```
|
|
118
|
+
✓ performance-optimization
|
|
119
|
+
Validation complete: X valid, 0 invalid
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
## Skill Documentation Guidelines
|
|
123
|
+
|
|
124
|
+
### Title
|
|
125
|
+
|
|
126
|
+
Use a clear, action-oriented title:
|
|
127
|
+
|
|
128
|
+
- ✓ "Performance Optimization"
|
|
129
|
+
- ✓ "Vue Component Development"
|
|
130
|
+
- ✗ "Vue"
|
|
131
|
+
- ✗ "Performance"
|
|
132
|
+
|
|
133
|
+
### Expert In Section
|
|
134
|
+
|
|
135
|
+
One line describing what the skill handles:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
**Expert in**: Identifying and fixing memory leaks in Python applications.
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
### Capabilities
|
|
142
|
+
|
|
143
|
+
List 4-8 specific things it can do:
|
|
144
|
+
|
|
145
|
+
- Use action verbs (identify, create, optimize, analyze)
|
|
146
|
+
- Be specific and concrete
|
|
147
|
+
- Avoid generic statements
|
|
148
|
+
|
|
149
|
+
### Use This Skill When
|
|
150
|
+
|
|
151
|
+
List 3-5 scenarios where the skill applies:
|
|
152
|
+
|
|
153
|
+
- Problem-focused scenarios
|
|
154
|
+
- Task-oriented use cases
|
|
155
|
+
- Real-world situations
|
|
156
|
+
|
|
157
|
+
### Key Techniques
|
|
158
|
+
|
|
159
|
+
List 3-10 approaches or patterns:
|
|
160
|
+
|
|
161
|
+
- Implementation patterns
|
|
162
|
+
- Tools and methods
|
|
163
|
+
- Best practices
|
|
164
|
+
- Algorithm names
|
|
165
|
+
|
|
166
|
+
### Tags
|
|
167
|
+
|
|
168
|
+
Use 3-10 tags covering:
|
|
169
|
+
|
|
170
|
+
- **Language/Platform**: javascript, python, java
|
|
171
|
+
- **Domain**: web, devops, performance
|
|
172
|
+
- **Tool**: react, jest, docker
|
|
173
|
+
- **Methodology**: tdd, agile, bdd
|
|
174
|
+
- **Level**: beginner, intermediate, expert
|
|
175
|
+
|
|
176
|
+
## Creating a New Category
|
|
177
|
+
|
|
178
|
+
### Step 1: Create Directory
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
skills/{new-category}/
|
|
182
|
+
```
|
|
183
|
+
|
|
184
|
+
Example: `skills/mobile-development/`
|
|
185
|
+
|
|
186
|
+
### Step 2: Add First Skill
|
|
187
|
+
|
|
188
|
+
Create your first skill in this category:
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
skills/mobile-development/react-native-development/SKILL.md
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Step 3: Update Category Registry
|
|
195
|
+
|
|
196
|
+
Add to the `categories` array in `skills-registry.json`:
|
|
197
|
+
|
|
198
|
+
```json
|
|
199
|
+
{
|
|
200
|
+
"name": "mobile-development",
|
|
201
|
+
"displayName": "Mobile Development",
|
|
202
|
+
"description": "Skills for iOS, Android, and cross-platform development",
|
|
203
|
+
"skillCount": 1,
|
|
204
|
+
"enabled": true
|
|
205
|
+
}
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
### Step 4: Update Main Registry
|
|
209
|
+
|
|
210
|
+
Update `totalSkills` and `categories` count at top of `skills-registry.json`
|
|
211
|
+
|
|
212
|
+
### Step 5: Document
|
|
213
|
+
|
|
214
|
+
Update `README.md` Categories section:
|
|
215
|
+
|
|
216
|
+
```markdown
|
|
217
|
+
### Mobile Development
|
|
218
|
+
|
|
219
|
+
- **React Native**: Cross-platform development
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
## Example: Adding a New Skill
|
|
223
|
+
|
|
224
|
+
### Real Example: "Electron App Development"
|
|
225
|
+
|
|
226
|
+
**1. Create directory:**
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
skills/web-development/electron-app-development/
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
**2. Create SKILL.md:**
|
|
233
|
+
|
|
234
|
+
```markdown
|
|
235
|
+
# Electron App Development
|
|
236
|
+
|
|
237
|
+
**Expert in**: Building desktop applications with web technologies using Electron.
|
|
238
|
+
|
|
239
|
+
## Capabilities
|
|
240
|
+
|
|
241
|
+
- Create Electron main and renderer processes
|
|
242
|
+
- Handle inter-process communication (IPC)
|
|
243
|
+
- Implement native menus and window management
|
|
244
|
+
- Package and distribute electron apps
|
|
245
|
+
- Integrate with native modules
|
|
246
|
+
- Handle auto-updates
|
|
247
|
+
- Optimize app performance
|
|
248
|
+
- Create installer packages
|
|
249
|
+
|
|
250
|
+
## Use this skill when:
|
|
251
|
+
|
|
252
|
+
- Building cross-platform desktop apps
|
|
253
|
+
- Creating desktop versions of web apps
|
|
254
|
+
- Need native OS integration
|
|
255
|
+
- Distributing software to end users
|
|
256
|
+
- Creating productivity tools
|
|
257
|
+
- Building IDE-like applications
|
|
258
|
+
|
|
259
|
+
## Key techniques
|
|
260
|
+
|
|
261
|
+
- Main process and renderer process separation
|
|
262
|
+
- IPC for process communication
|
|
263
|
+
- Electron Builder for packaging
|
|
264
|
+
- Asar archives for app distribution
|
|
265
|
+
- Native modules with node-gyp
|
|
266
|
+
- Code signing for macOS/Windows
|
|
267
|
+
- Auto-update with electron-updater
|
|
268
|
+
|
|
269
|
+
## Tags
|
|
270
|
+
|
|
271
|
+
`electron` `desktop` `web-technologies` `electron-builder` `cross-platform`
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
**3. Add to Registry:**
|
|
275
|
+
|
|
276
|
+
```json
|
|
277
|
+
{
|
|
278
|
+
"name": "Electron App Development",
|
|
279
|
+
"category": "web-development",
|
|
280
|
+
"path": "skills/web-development/electron-app-development",
|
|
281
|
+
"version": "1.0.0",
|
|
282
|
+
"tags": ["electron", "desktop", "web-technologies", "cross-platform"],
|
|
283
|
+
"description": "Building desktop applications with web technologies using Electron."
|
|
284
|
+
...
|
|
285
|
+
}
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
**4. Validate:**
|
|
289
|
+
|
|
290
|
+
```powershell
|
|
291
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
**5. List to verify:**
|
|
295
|
+
|
|
296
|
+
```powershell
|
|
297
|
+
.\scripts\sync-skills.ps1 -Action List
|
|
298
|
+
```
|
|
299
|
+
|
|
300
|
+
## Tagging Strategy
|
|
301
|
+
|
|
302
|
+
### Required Tags (pick from these):
|
|
303
|
+
|
|
304
|
+
**Languages/Platforms:**
|
|
305
|
+
|
|
306
|
+
- typescript, javascript, python, java, csharp, ruby, go, rust
|
|
307
|
+
|
|
308
|
+
**Domains:**
|
|
309
|
+
|
|
310
|
+
- web, mobile, desktop, devops, data, ai, security, architecture
|
|
311
|
+
|
|
312
|
+
**Tools/Frameworks:**
|
|
313
|
+
|
|
314
|
+
- react, angular, vue, fastapi, django, jest, pytest, docker, kubernetes
|
|
315
|
+
|
|
316
|
+
**Methodologies:**
|
|
317
|
+
|
|
318
|
+
- agile, tdd, bdd, ddd, functional, oop
|
|
319
|
+
|
|
320
|
+
**Difficulty Levels:**
|
|
321
|
+
|
|
322
|
+
- beginner, intermediate, expert
|
|
323
|
+
|
|
324
|
+
**Custom Tags:**
|
|
325
|
+
|
|
326
|
+
- performance, testing, refactoring, debugging, etc.
|
|
327
|
+
|
|
328
|
+
### Example Tag Sets:
|
|
329
|
+
|
|
330
|
+
- React skill: `react` `javascript` `web` `frontend` `hooks`
|
|
331
|
+
- Docker skill: `docker` `devops` `containerization` `ci-cd` `security`
|
|
332
|
+
- ML skill: `machine-learning` `python` `ai` `scikit-learn` `data-science`
|
|
333
|
+
|
|
334
|
+
## Best Practices
|
|
335
|
+
|
|
336
|
+
### 1. Keep It Focused
|
|
337
|
+
|
|
338
|
+
One primary purpose per skill. Don't combine unrelated concepts.
|
|
339
|
+
|
|
340
|
+
**Good:**
|
|
341
|
+
|
|
342
|
+
- "React Development" (components, hooks, state)
|
|
343
|
+
- "Docker Optimization" (image size, performance)
|
|
344
|
+
|
|
345
|
+
**Bad:**
|
|
346
|
+
|
|
347
|
+
- "Web Development" (too broad)
|
|
348
|
+
- "Everything JavaScript" (unfocused)
|
|
349
|
+
|
|
350
|
+
### 2. Be Specific
|
|
351
|
+
|
|
352
|
+
Use concrete terms, not generic ones.
|
|
353
|
+
|
|
354
|
+
**Good:**
|
|
355
|
+
|
|
356
|
+
- "Elasticsearch Query Optimization"
|
|
357
|
+
- "GraphQL Schema Design"
|
|
358
|
+
- "Async/Await Pattern Implementation"
|
|
359
|
+
|
|
360
|
+
**Bad:**
|
|
361
|
+
|
|
362
|
+
- "Database"
|
|
363
|
+
- "Type Systems"
|
|
364
|
+
- "Data Structures"
|
|
365
|
+
|
|
366
|
+
### 3. Document With Examples
|
|
367
|
+
|
|
368
|
+
While SKILL.md doesn't need code examples, make capabilities concrete:
|
|
369
|
+
|
|
370
|
+
**Good:**
|
|
371
|
+
|
|
372
|
+
- "Create type-safe API clients with proper error handling"
|
|
373
|
+
- "Implement Redis caching for database queries"
|
|
374
|
+
|
|
375
|
+
**Bad:**
|
|
376
|
+
|
|
377
|
+
- "Handle code generation"
|
|
378
|
+
- "Optimize systems"
|
|
379
|
+
|
|
380
|
+
### 4. Use Consistent Formatting
|
|
381
|
+
|
|
382
|
+
- Titles: Title Case
|
|
383
|
+
- Tags: lowercase, hyphenated
|
|
384
|
+
- Sections: Bold headers with ##
|
|
385
|
+
- Lists: Bullet points with hyphens
|
|
386
|
+
|
|
387
|
+
### 5. Version Properly
|
|
388
|
+
|
|
389
|
+
Use semantic versioning:
|
|
390
|
+
|
|
391
|
+
- `1.0.0` - First release
|
|
392
|
+
- `1.1.0` - New features, backwards compatible
|
|
393
|
+
- `2.0.0` - Breaking changes
|
|
394
|
+
- Update `version` in registry when you make changes
|
|
395
|
+
|
|
396
|
+
## Skill Dependencies (Optional)
|
|
397
|
+
|
|
398
|
+
If your skill depends on another:
|
|
399
|
+
|
|
400
|
+
```json
|
|
401
|
+
{
|
|
402
|
+
"name": "Advanced React",
|
|
403
|
+
"dependency": "React Development",
|
|
404
|
+
...
|
|
405
|
+
}
|
|
406
|
+
```
|
|
407
|
+
|
|
408
|
+
This helps LLMs understand prerequisites.
|
|
409
|
+
|
|
410
|
+
## Disabling Skills
|
|
411
|
+
|
|
412
|
+
Without deleting, disable a skill:
|
|
413
|
+
|
|
414
|
+
```json
|
|
415
|
+
{
|
|
416
|
+
"name": "Legacy Skill",
|
|
417
|
+
"enabled": false,
|
|
418
|
+
...
|
|
419
|
+
}
|
|
420
|
+
```
|
|
421
|
+
|
|
422
|
+
Disabled skills won't be discovered but remain available.
|
|
423
|
+
|
|
424
|
+
## Updating Existing Skills
|
|
425
|
+
|
|
426
|
+
1. Edit the `SKILL.md` file
|
|
427
|
+
2. Update `version` in registry
|
|
428
|
+
3. Note what changed:
|
|
429
|
+
```json
|
|
430
|
+
"version": "1.1.0" // was 1.0.0
|
|
431
|
+
```
|
|
432
|
+
4. Run validation
|
|
433
|
+
5. Test with LLM
|
|
434
|
+
|
|
435
|
+
## Testing Your Skills
|
|
436
|
+
|
|
437
|
+
After adding a skill:
|
|
438
|
+
|
|
439
|
+
1. **Validate structure:**
|
|
440
|
+
|
|
441
|
+
```powershell
|
|
442
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
443
|
+
```
|
|
444
|
+
|
|
445
|
+
2. **List to verify it appears:**
|
|
446
|
+
|
|
447
|
+
```powershell
|
|
448
|
+
.\scripts\sync-skills.ps1 -Action List
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
3. **Export and check JSON:**
|
|
452
|
+
|
|
453
|
+
```powershell
|
|
454
|
+
.\scripts\sync-skills.ps1 -Action Export
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
4. **Test with LLM:**
|
|
458
|
+
- Point LLM to skills directory
|
|
459
|
+
- Reference the skill by name
|
|
460
|
+
- Verify it's discovered and used
|
|
461
|
+
|
|
462
|
+
## Common Mistakes to Avoid
|
|
463
|
+
|
|
464
|
+
❌ **Missing SKILL.md**: Skill won't be discovered
|
|
465
|
+
|
|
466
|
+
- Fix: Create SKILL.md in skill directory
|
|
467
|
+
|
|
468
|
+
❌ **Missing registry entry**: Skill won't be searchable
|
|
469
|
+
|
|
470
|
+
- Fix: Add entry to skills-registry.json
|
|
471
|
+
|
|
472
|
+
❌ **Wrong file name**: Must be exactly `SKILL.md`
|
|
473
|
+
|
|
474
|
+
- Fix: Rename `Skill.md` → `SKILL.md`
|
|
475
|
+
|
|
476
|
+
❌ **Incomplete SKILL.md**: Validation will fail
|
|
477
|
+
|
|
478
|
+
- Fix: Include all required sections
|
|
479
|
+
|
|
480
|
+
❌ **Non-English tags**: May not be discovered
|
|
481
|
+
|
|
482
|
+
- Fix: Use English descriptive tags
|
|
483
|
+
|
|
484
|
+
❌ **Too many tags**: 10+ tags is excessive
|
|
485
|
+
|
|
486
|
+
- Fix: Keep to 3-10 most relevant tags
|
|
487
|
+
|
|
488
|
+
❌ **Empty capabilities list**: Not helpful
|
|
489
|
+
|
|
490
|
+
- Fix: List concrete capabilities
|
|
491
|
+
|
|
492
|
+
## Folder Structure Checklist
|
|
493
|
+
|
|
494
|
+
When adding a new skill, ensure:
|
|
495
|
+
|
|
496
|
+
```
|
|
497
|
+
✓ Directory name is lowercase, hyphenated
|
|
498
|
+
✓ SKILL.md exists in the directory
|
|
499
|
+
✓ SKILL.md has all required sections
|
|
500
|
+
✓ Title matches skill name
|
|
501
|
+
✓ Capabilities list is 4+ items
|
|
502
|
+
✓ Use cases list is 3+ items
|
|
503
|
+
✓ Techniques list is 3+ items
|
|
504
|
+
✓ Tags are 3-10 items
|
|
505
|
+
✓ Registry entry created
|
|
506
|
+
✓ Version is set (typically 1.0.0)
|
|
507
|
+
✓ Validation passes
|
|
508
|
+
✓ Enabled is true
|
|
509
|
+
```
|
|
510
|
+
|
|
511
|
+
---
|
|
512
|
+
|
|
513
|
+
**Remember**: Skills should be discoverable, useful, and specific. Each skill helps an LLM understand its expertise and when to use it.
|
|
514
|
+
|