skillkit 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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Rohit Ghumare
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,308 @@
1
+ # SkillKit
2
+
3
+ Universal skills loader for AI coding agents. Install, manage, and sync skills across your favorite AI tools.
4
+
5
+ Skills follow the [Agent Skills](https://agentskills.io) open format—a simple, portable standard for giving agents new capabilities and expertise.
6
+
7
+ ### Compatible With
8
+
9
+ | Agent | Status |
10
+ |-------|--------|
11
+ | Claude Code | ✅ Native |
12
+ | OpenAI Codex | ✅ Native |
13
+ | Cursor | ✅ Native |
14
+ | Gemini CLI | ✅ Native |
15
+ | OpenCode | ✅ Native |
16
+ | Amp | ✅ Supported |
17
+ | Goose | ✅ Supported |
18
+ | VS Code (Copilot) | ✅ Supported |
19
+ | Letta | ✅ Supported |
20
+ | Factory | ✅ Supported |
21
+ | Antigravity | ✅ Native |
22
+ | *Any markdown-config agent* | ✅ Universal |
23
+
24
+ ## Features
25
+
26
+ - **Multi-Agent Support**: Works with 10+ AI coding agents out of the box
27
+ - **Multi-Platform Git**: GitHub, GitLab, Bitbucket, and local paths
28
+ - **CI/CD Friendly**: Non-interactive flags for automation (`--skills`, `--all`, `--yes`)
29
+ - **Skill Toggle**: Enable/disable skills without removing them
30
+ - **Type-Safe**: Built with TypeScript and Zod validation
31
+ - **Zero Config**: Auto-detects your agent and configures appropriately
32
+
33
+ ## Installation
34
+
35
+ ```bash
36
+ npm install -g skillkit
37
+ # or
38
+ npx skillkit <command>
39
+ ```
40
+
41
+ ## Quick Start
42
+
43
+ ```bash
44
+ # Initialize in your project (auto-detects agent)
45
+ skillkit init
46
+
47
+ # Install skills from GitHub
48
+ skillkit install owner/repo
49
+
50
+ # Install from GitLab
51
+ skillkit install gitlab:owner/repo
52
+
53
+ # Install specific skills (CI/CD friendly)
54
+ skillkit install owner/repo --skills=pdf,xlsx,docx
55
+
56
+ # Sync skills to your agent config
57
+ skillkit sync
58
+
59
+ # Read a skill (for AI consumption)
60
+ skillkit read pdf
61
+ ```
62
+
63
+ ## Popular Skill Repositories
64
+
65
+ Install skills from these community repositories:
66
+
67
+ ```bash
68
+ # Anthropic's official skill marketplace
69
+ skillkit install anthropics/skills
70
+
71
+ # Vercel's React & Next.js best practices
72
+ skillkit install vercel-labs/agent-skills/skills
73
+ ```
74
+
75
+ | Repository | Skills | Description |
76
+ |------------|--------|-------------|
77
+ | [anthropics/skills](https://github.com/anthropics/skills) | `pdf`, `xlsx`, `docx`, etc. | Official Claude Code skill marketplace |
78
+ | [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) | `vercel-react-best-practices`, `web-design-guidelines` | React/Next.js optimization & UI review |
79
+
80
+
81
+ ## Commands
82
+
83
+ ### `skillkit install <source>`
84
+
85
+ Install skills from various sources.
86
+
87
+ ```bash
88
+ # GitHub (default)
89
+ skillkit install owner/repo
90
+ skillkit install https://github.com/owner/repo
91
+
92
+ # Install from a subdirectory
93
+ skillkit install owner/repo/skills
94
+
95
+ # GitLab
96
+ skillkit install gitlab:owner/repo
97
+ skillkit install https://gitlab.com/owner/repo
98
+
99
+ # Bitbucket
100
+ skillkit install bitbucket:owner/repo
101
+
102
+ # Local path
103
+ skillkit install ./my-skills
104
+ skillkit install ~/dev/skills
105
+
106
+ # Options
107
+ --skills=pdf,xlsx # Install specific skills only (CI/CD)
108
+ --all # Install all discovered skills
109
+ --yes # Skip confirmation prompts
110
+ --global # Install to global directory
111
+ --force # Overwrite existing skills
112
+ --provider=gitlab # Force specific provider
113
+ ```
114
+
115
+ ### `skillkit sync`
116
+
117
+ Sync installed skills to your agent's config file.
118
+
119
+ ```bash
120
+ skillkit sync
121
+ skillkit sync --agent cursor
122
+ skillkit sync --output AGENTS.md
123
+ skillkit sync --enabled-only
124
+ ```
125
+
126
+ ### `skillkit read <skills>`
127
+
128
+ Read skill content for AI agent consumption.
129
+
130
+ ```bash
131
+ skillkit read pdf
132
+ skillkit read pdf,xlsx,docx # Multiple skills
133
+ ```
134
+
135
+ ### `skillkit list`
136
+
137
+ List all installed skills.
138
+
139
+ ```bash
140
+ skillkit list
141
+ skillkit list --enabled
142
+ skillkit list --json
143
+ ```
144
+
145
+ ### `skillkit enable/disable <skills>`
146
+
147
+ Toggle skills on/off without removing them.
148
+
149
+ ```bash
150
+ skillkit enable pdf xlsx
151
+ skillkit disable docx
152
+ ```
153
+
154
+ ### `skillkit update [skills]`
155
+
156
+ Update skills from their original sources.
157
+
158
+ ```bash
159
+ skillkit update # Update all
160
+ skillkit update pdf xlsx # Update specific
161
+ ```
162
+
163
+ ### `skillkit remove <skills>`
164
+
165
+ Remove installed skills.
166
+
167
+ ```bash
168
+ skillkit remove pdf xlsx
169
+ ```
170
+
171
+ ### `skillkit init`
172
+
173
+ Initialize skillkit in a project.
174
+
175
+ ```bash
176
+ skillkit init
177
+ skillkit init --agent cursor
178
+ skillkit init --list # List supported agents
179
+ ```
180
+
181
+ ### `skillkit validate <path>`
182
+
183
+ Validate skills against the [Agent Skills specification](https://agentskills.io/specification).
184
+
185
+ ```bash
186
+ skillkit validate ./my-skill # Validate single skill
187
+ skillkit validate ./skills --all # Validate all skills in directory
188
+ ```
189
+
190
+ ## Supported Agents
191
+
192
+ | Agent | Config File | Skills Directory |
193
+ |-------|-------------|------------------|
194
+ | Claude Code | `AGENTS.md` | `.claude/skills/` |
195
+ | Cursor | `.cursorrules` | `.cursor/skills/` |
196
+ | Codex | `AGENTS.md` | `.codex/skills/` |
197
+ | Gemini CLI | `GEMINI.md` | `.gemini/skills/` |
198
+ | OpenCode | `AGENTS.md` | `.opencode/skills/` |
199
+ | Antigravity | `AGENTS.md` | `.antigravity/skills/` |
200
+ | Universal | `AGENTS.md` | `.agent/skills/` |
201
+
202
+ ## Creating Skills
203
+
204
+ A skill is a directory with a `SKILL.md` file:
205
+
206
+ ```
207
+ my-skill/
208
+ ├── SKILL.md # Required: Instructions for the AI
209
+ ├── references/ # Optional: Documentation
210
+ ├── scripts/ # Optional: Helper scripts
211
+ └── assets/ # Optional: Templates, configs
212
+ ```
213
+
214
+ ### SKILL.md Format
215
+
216
+ Follows the [Agent Skills specification](https://agentskills.io/specification):
217
+
218
+ ```markdown
219
+ ---
220
+ name: my-skill
221
+ description: What this skill does and when to use it. Include trigger keywords.
222
+ license: MIT
223
+ compatibility: Requires Node.js 18+
224
+ metadata:
225
+ author: your-org
226
+ version: "1.0"
227
+ ---
228
+
229
+ # My Skill
230
+
231
+ Instructions for the AI agent on how to use this skill.
232
+
233
+ ## When to Use
234
+
235
+ - Scenario 1
236
+ - Scenario 2
237
+
238
+ ## Steps
239
+
240
+ 1. First step
241
+ 2. Second step
242
+ ```
243
+
244
+ | Field | Required | Description |
245
+ |-------|----------|-------------|
246
+ | `name` | Yes | Lowercase alphanumeric with hyphens (max 64 chars) |
247
+ | `description` | Yes | What it does and when to use it (max 1024 chars) |
248
+ | `license` | No | License name or reference |
249
+ | `compatibility` | No | Environment requirements |
250
+ | `metadata` | No | Arbitrary key-value pairs |
251
+
252
+ ## CI/CD Usage
253
+
254
+ ```yaml
255
+ # GitHub Actions example
256
+ - name: Setup skills
257
+ run: |
258
+ npx skillkit install owner/skills --skills=lint,test,deploy --yes
259
+ npx skillkit sync --yes
260
+ ```
261
+
262
+ ## Programmatic API
263
+
264
+ ```typescript
265
+ import {
266
+ findAllSkills,
267
+ discoverSkills,
268
+ detectAgent,
269
+ getAdapter,
270
+ } from 'skillkit';
271
+
272
+ // Find all installed skills
273
+ const skills = findAllSkills(searchDirs);
274
+
275
+ // Detect current agent
276
+ const agent = await detectAgent();
277
+
278
+ // Generate config
279
+ const adapter = getAdapter(agent);
280
+ const config = adapter.generateConfig(skills);
281
+ ```
282
+
283
+ ## Configuration
284
+
285
+ Create `skillkit.yaml` in your project:
286
+
287
+ ```yaml
288
+ version: 1
289
+ agent: cursor # Override auto-detection
290
+ autoSync: true # Auto-sync on changes
291
+ enabledSkills:
292
+ - pdf
293
+ - xlsx
294
+ disabledSkills:
295
+ - deprecated-skill
296
+ ```
297
+
298
+ ## License
299
+
300
+ MIT License - see [LICENSE](LICENSE) for details.
301
+
302
+ ## Contributing
303
+
304
+ Contributions welcome! Please read our contributing guidelines.
305
+
306
+ ## Acknowledgments
307
+
308
+ Implements the [Agent Skills](https://agentskills.io) open format, originally developed by Anthropic and adopted by leading AI development tools.
package/dist/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ #!/usr/bin/env node