@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,390 @@
|
|
|
1
|
+
# How to Use Your Skills Directory
|
|
2
|
+
|
|
3
|
+
## Quick Start
|
|
4
|
+
|
|
5
|
+
### 1. Point Your LLM to the Skills Directory
|
|
6
|
+
|
|
7
|
+
Set the skills discovery path in your LLM configuration:
|
|
8
|
+
|
|
9
|
+
```json
|
|
10
|
+
{
|
|
11
|
+
"skillPaths": ["c:\\Tools\\AIskills\\skills", "~/.agents/skills"]
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### 2. List Available Skills
|
|
16
|
+
|
|
17
|
+
```powershell
|
|
18
|
+
cd c:\Tools\AIskills
|
|
19
|
+
.\scripts\sync-skills.ps1 -Action List
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 3. Validate Skills
|
|
23
|
+
|
|
24
|
+
```powershell
|
|
25
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Using Skills in Prompts
|
|
29
|
+
|
|
30
|
+
### Method 1: Explicit Skill Request
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
I need to generate a TypeScript API.
|
|
34
|
+
Use the typescript-codegen skill to create production-ready code.
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
### Method 2: Category-Based Request
|
|
38
|
+
|
|
39
|
+
```
|
|
40
|
+
Generate a React component with proper hooks.
|
|
41
|
+
Use the web-development skills for modern patterns.
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
### Method 3: Tag-Based Discovery
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
I need to write tests for this code.
|
|
48
|
+
Search for skills tagged with 'testing' and 'typescript'.
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Examples by Category
|
|
52
|
+
|
|
53
|
+
### Code Generation
|
|
54
|
+
|
|
55
|
+
**Creating TypeScript code**:
|
|
56
|
+
|
|
57
|
+
```
|
|
58
|
+
Use typescript-codegen skill to generate a strongly-typed
|
|
59
|
+
API client with proper error handling.
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
**Creating Python modules**:
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
Use python-codegen skill to create a FastAPI application
|
|
66
|
+
with async/await patterns and Pydantic models.
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Code Analysis
|
|
70
|
+
|
|
71
|
+
**Finding issues in code**:
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
Review this code using the static-analysis skill.
|
|
75
|
+
Identify code smells, complexity issues, and potential problems.
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
**Improving code**:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
Use the refactoring skill to reduce duplication and
|
|
82
|
+
improve readability of this function.
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
### Data Analysis
|
|
86
|
+
|
|
87
|
+
**Analyzing data**:
|
|
88
|
+
|
|
89
|
+
```
|
|
90
|
+
Use the pandas-analysis skill to load, clean, and analyze
|
|
91
|
+
this CSV file. Generate visualizations.
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
### DevOps
|
|
95
|
+
|
|
96
|
+
**Creating Docker containers**:
|
|
97
|
+
|
|
98
|
+
```
|
|
99
|
+
Use dockerfile-creation skill to create a multi-stage Dockerfile
|
|
100
|
+
for a Node.js application with proper security.
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Kubernetes deployment**:
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
Use kubernetes-deployment skill to create YAML manifests
|
|
107
|
+
for a scalable microservice with health checks.
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
### Web Development
|
|
111
|
+
|
|
112
|
+
**Building React apps**:
|
|
113
|
+
|
|
114
|
+
```
|
|
115
|
+
Use react-development skill to create a component with
|
|
116
|
+
useState, useEffect, and proper performance optimization.
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
**Styling**:
|
|
120
|
+
|
|
121
|
+
```
|
|
122
|
+
Use css-styling skill to create a responsive layout with
|
|
123
|
+
Flexbox/Grid and accessibility compliance.
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Testing
|
|
127
|
+
|
|
128
|
+
**Unit tests**:
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
Use unit-testing skill to write comprehensive Jest tests
|
|
132
|
+
for this TypeScript function with mocking.
|
|
133
|
+
```
|
|
134
|
+
|
|
135
|
+
**Integration tests**:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
Use integration-testing skill to create API tests that verify
|
|
139
|
+
database interactions and error handling.
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
### Debugging
|
|
143
|
+
|
|
144
|
+
**JavaScript debugging**:
|
|
145
|
+
|
|
146
|
+
```
|
|
147
|
+
I get unexpected behavior. Use javascript-debugging skill
|
|
148
|
+
to help step through the code with breakpoints.
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Python debugging**:
|
|
152
|
+
|
|
153
|
+
```
|
|
154
|
+
This Python function returns wrong values. Use python-debugging
|
|
155
|
+
skill to trace execution with pdb.
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### AI/ML
|
|
159
|
+
|
|
160
|
+
**Prompt engineering**:
|
|
161
|
+
|
|
162
|
+
```
|
|
163
|
+
Use llm-prompting skill to improve this prompt's reliability
|
|
164
|
+
and structure with chain-of-thought reasoning.
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
**Machine learning**:
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
Use ml-model-development skill to build a classification model
|
|
171
|
+
with scikit-learn, including preprocessing and evaluation.
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
### Security
|
|
175
|
+
|
|
176
|
+
**Finding vulnerabilities**:
|
|
177
|
+
|
|
178
|
+
```
|
|
179
|
+
Use code-security skill to review this code for OWASP Top 10
|
|
180
|
+
vulnerabilities and suggest fixes.
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Documentation
|
|
184
|
+
|
|
185
|
+
**API docs**:
|
|
186
|
+
|
|
187
|
+
```
|
|
188
|
+
Use api-documentation skill to create an OpenAPI spec and
|
|
189
|
+
interactive documentation for this REST API.
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
### Architecture
|
|
193
|
+
|
|
194
|
+
**System design**:
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
Use system-design skill to design a scalable architecture
|
|
198
|
+
for a distributed microservice application.
|
|
199
|
+
```
|
|
200
|
+
|
|
201
|
+
### Git Workflow
|
|
202
|
+
|
|
203
|
+
**Collaboration**:
|
|
204
|
+
|
|
205
|
+
```
|
|
206
|
+
Use git-collaboration skill to set up a Git Flow workflow
|
|
207
|
+
with proper branching and review processes.
|
|
208
|
+
```
|
|
209
|
+
|
|
210
|
+
## Skill Registry
|
|
211
|
+
|
|
212
|
+
Check what skills are available:
|
|
213
|
+
|
|
214
|
+
```powershell
|
|
215
|
+
# View all skills
|
|
216
|
+
Get-Content scripts\skills-registry.json | ConvertFrom-Json |
|
|
217
|
+
ForEach-Object { $_.skills } |
|
|
218
|
+
Format-Table name, category, @{n='tags'; e={$_.tags -join ','}}
|
|
219
|
+
|
|
220
|
+
# Search by tag
|
|
221
|
+
$registry = Get-Content scripts\skills-registry.json | ConvertFrom-Json
|
|
222
|
+
$registry.skills | Where-Object { $_.tags -contains 'testing' }
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## Exporting Skills
|
|
226
|
+
|
|
227
|
+
### As JSON
|
|
228
|
+
|
|
229
|
+
```powershell
|
|
230
|
+
.\scripts\sync-skills.ps1 -Action Export
|
|
231
|
+
```
|
|
232
|
+
|
|
233
|
+
### As CSV Report
|
|
234
|
+
|
|
235
|
+
```powershell
|
|
236
|
+
$registry = Get-Content scripts\skills-registry.json | ConvertFrom-Json
|
|
237
|
+
$registry.skills | Select-Object name, category, version |
|
|
238
|
+
Export-Csv skills-report.csv
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
## Integration with Different LLMs
|
|
242
|
+
|
|
243
|
+
### Copilot (VS Code)
|
|
244
|
+
|
|
245
|
+
Add to VS Code settings:
|
|
246
|
+
|
|
247
|
+
```json
|
|
248
|
+
{
|
|
249
|
+
"github.copilot.skillPaths": [
|
|
250
|
+
"${workspaceFolder}/.agents/skills",
|
|
251
|
+
"c:\\Tools\\AIskills\\skills"
|
|
252
|
+
]
|
|
253
|
+
}
|
|
254
|
+
```
|
|
255
|
+
|
|
256
|
+
### Claude API
|
|
257
|
+
|
|
258
|
+
Include in system prompt:
|
|
259
|
+
|
|
260
|
+
```
|
|
261
|
+
Available skills directory: c:\Tools\AIskills\skills
|
|
262
|
+
|
|
263
|
+
You have access to these skill categories:
|
|
264
|
+
- code-generation
|
|
265
|
+
- code-analysis
|
|
266
|
+
- testing
|
|
267
|
+
- devops
|
|
268
|
+
... (list all categories)
|
|
269
|
+
|
|
270
|
+
When performing tasks, mention which skill you're using.
|
|
271
|
+
```
|
|
272
|
+
|
|
273
|
+
### Custom LLM
|
|
274
|
+
|
|
275
|
+
Create a configuration file:
|
|
276
|
+
|
|
277
|
+
```json
|
|
278
|
+
{
|
|
279
|
+
"skillsRoot": "c:\\Tools\\AIskills\\skills",
|
|
280
|
+
"registryPath": "c:\\Tools\\AIskills\\scripts\\skills-registry.json",
|
|
281
|
+
"cacheEnabled": true,
|
|
282
|
+
"cacheDuration": 3600,
|
|
283
|
+
"autoLoadCategories": true
|
|
284
|
+
}
|
|
285
|
+
```
|
|
286
|
+
|
|
287
|
+
## Advanced Usage
|
|
288
|
+
|
|
289
|
+
### Chaining Skills
|
|
290
|
+
|
|
291
|
+
```
|
|
292
|
+
1. First, use code-analysis skill to identify issues
|
|
293
|
+
2. Then use refactoring skill to fix them
|
|
294
|
+
3. Finally use unit-testing skill to verify changes
|
|
295
|
+
```
|
|
296
|
+
|
|
297
|
+
### Skill Parameters
|
|
298
|
+
|
|
299
|
+
Most skills accept parameters:
|
|
300
|
+
|
|
301
|
+
```
|
|
302
|
+
Use typescript-codegen skill with:
|
|
303
|
+
- strict type checking
|
|
304
|
+
- async/await patterns
|
|
305
|
+
- error handling
|
|
306
|
+
- proper exports
|
|
307
|
+
```
|
|
308
|
+
|
|
309
|
+
### Custom Skill Workflows
|
|
310
|
+
|
|
311
|
+
Create combinations:
|
|
312
|
+
|
|
313
|
+
```
|
|
314
|
+
Data Pipeline:
|
|
315
|
+
1. Use pandas-analysis for data exploration
|
|
316
|
+
2. Use ml-model-development for model building
|
|
317
|
+
3. Use api-documentation for deployment docs
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
## Troubleshooting
|
|
321
|
+
|
|
322
|
+
### Skill Not Found
|
|
323
|
+
|
|
324
|
+
```powershell
|
|
325
|
+
# Validate skills
|
|
326
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
327
|
+
|
|
328
|
+
# Check registry is up to date
|
|
329
|
+
.\scripts\sync-skills.ps1 -Action Status
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
### Missing Capabilities
|
|
333
|
+
|
|
334
|
+
Some skills may not be discoverable if:
|
|
335
|
+
|
|
336
|
+
- SKILL.md is invalid
|
|
337
|
+
- Skill is disabled in config
|
|
338
|
+
- Directory structure is wrong
|
|
339
|
+
|
|
340
|
+
Solution: Run validation and check logs.
|
|
341
|
+
|
|
342
|
+
### Performance
|
|
343
|
+
|
|
344
|
+
If skills loading is slow:
|
|
345
|
+
|
|
346
|
+
- Use `-Action List` to test discovery
|
|
347
|
+
- Check cache status in config
|
|
348
|
+
- Validate no circular dependencies
|
|
349
|
+
|
|
350
|
+
## Maintenance
|
|
351
|
+
|
|
352
|
+
### Regular Checks
|
|
353
|
+
|
|
354
|
+
```powershell
|
|
355
|
+
# Monthly validation
|
|
356
|
+
.\scripts\sync-skills.ps1 -Action Validate
|
|
357
|
+
|
|
358
|
+
# Quarterly cleanup
|
|
359
|
+
.\scripts\sync-skills.ps1 -Action Clean
|
|
360
|
+
|
|
361
|
+
# Update registry
|
|
362
|
+
Get-ChildItem skills -Recurse -Filter "SKILL.md" | Measure-Object
|
|
363
|
+
```
|
|
364
|
+
|
|
365
|
+
### Updating Skills
|
|
366
|
+
|
|
367
|
+
To update a skill:
|
|
368
|
+
|
|
369
|
+
1. Edit the SKILL.md file
|
|
370
|
+
2. Update version in registry
|
|
371
|
+
3. Run validation
|
|
372
|
+
4. Test with LLM
|
|
373
|
+
|
|
374
|
+
## Shortcuts
|
|
375
|
+
|
|
376
|
+
Create PowerShell aliases for common operations:
|
|
377
|
+
|
|
378
|
+
```powershell
|
|
379
|
+
# Add to your PowerShell profile
|
|
380
|
+
Set-Alias validate-skills 'c:\Tools\AIskills\scripts\sync-skills.ps1 -Action Validate'
|
|
381
|
+
Set-Alias list-skills 'c:\Tools\AIskills\scripts\sync-skills.ps1 -Action List'
|
|
382
|
+
Set-Alias export-skills 'c:\Tools\AIskills\scripts\sync-skills.ps1 -Action Export'
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
Then use: `list-skills`, `validate-skills`, etc.
|
|
386
|
+
|
|
387
|
+
---
|
|
388
|
+
|
|
389
|
+
**Pro Tip**: Keep the registry open in your editor for quick reference of available skills!
|
|
390
|
+
|