skillkit 1.2.0 → 1.3.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/README.md DELETED
@@ -1,407 +0,0 @@
1
- # SkillKit
2
-
3
- [![npm version](https://img.shields.io/npm/v/skillkit.svg)](https://www.npmjs.com/package/skillkit)
4
- [![npm downloads](https://img.shields.io/npm/dm/skillkit.svg)](https://www.npmjs.com/package/skillkit)
5
- [![CI](https://github.com/rohitg00/skillkit/actions/workflows/ci.yml/badge.svg)](https://github.com/rohitg00/skillkit/actions/workflows/ci.yml)
6
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
7
-
8
- Universal skills loader for AI coding agents. Install, manage, and sync skills across your favorite AI tools.
9
-
10
- Skills follow the [Agent Skills](https://agentskills.io) open format—a simple, portable standard for giving agents new capabilities and expertise.
11
-
12
- ![SkillKit Demo](https://raw.githubusercontent.com/rohitg00/skillkit/main/skillkit.gif)
13
-
14
- ## Interactive TUI
15
-
16
- Manage all your skills with a beautiful terminal interface:
17
-
18
- ```bash
19
- skillkit ui
20
- # or simply
21
- skillkit
22
- ```
23
-
24
- ![SkillKit TUI](docs/img/skillkit-ui.png)
25
-
26
- **Features:**
27
- - Browse 33+ skill repositories
28
- - Install skills with one keystroke
29
- - Multi-agent installation support
30
- - View installed skills
31
- - Sync across agents
32
- - Responsive design for all terminal sizes
33
-
34
- **Navigation:**
35
- - `h` Home | `b` Browse | `l` List | `s` Sync | `,` Config
36
- - `↑↓` Navigate | `Enter` Select | `Esc` Back | `q` Quit
37
- - `m` Multi-agent selection | `r` Refresh/Back
38
-
39
- ### Compatible With
40
-
41
- | Agent | Status |
42
- |-------|--------|
43
- | Claude Code | ✅ Native |
44
- | OpenAI Codex | ✅ Native |
45
- | Cursor | ✅ Native |
46
- | Gemini CLI | ✅ Native |
47
- | OpenCode | ✅ Native |
48
- | Antigravity | ✅ Native |
49
- | Amp | ✅ Native |
50
- | Clawdbot | ✅ Native |
51
- | Droid (Factory) | ✅ Native |
52
- | GitHub Copilot | ✅ Native |
53
- | Goose | ✅ Native |
54
- | Kilo Code | ✅ Native |
55
- | Kiro CLI | ✅ Native |
56
- | Roo Code | ✅ Native |
57
- | Trae | ✅ Native |
58
- | Windsurf | ✅ Native |
59
- | *Any markdown-config agent* | ✅ Universal |
60
-
61
- ## Features
62
-
63
- - **Interactive TUI**: Beautiful terminal interface for managing skills
64
- - **Multi-Agent Support**: Works with 17+ AI coding agents out of the box
65
- - **Multi-Platform Git**: GitHub, GitLab, Bitbucket, and local paths
66
- - **CI/CD Friendly**: Non-interactive flags for automation (`--skills`, `--all`, `--yes`)
67
- - **Skill Toggle**: Enable/disable skills without removing them
68
- - **Type-Safe**: Built with TypeScript and Zod validation
69
- - **Zero Config**: Auto-detects your agent and configures appropriately
70
-
71
- ## Installation
72
-
73
- ```bash
74
- npm install -g skillkit
75
- # or
76
- npx skillkit <command>
77
- ```
78
-
79
- ## Quick Start
80
-
81
- ```bash
82
- # Launch interactive TUI
83
- skillkit ui
84
-
85
- # Initialize in your project (auto-detects agent)
86
- skillkit init
87
-
88
- # Install skills from GitHub
89
- skillkit install owner/repo
90
-
91
- # Install from GitLab
92
- skillkit install gitlab:owner/repo
93
-
94
- # Install specific skills (CI/CD friendly)
95
- skillkit install owner/repo --skills=pdf,xlsx,docx
96
-
97
- # Create a new skill
98
- skillkit create my-skill
99
-
100
- # Sync skills to your agent config
101
- skillkit sync
102
-
103
- # Read a skill (for AI consumption)
104
- skillkit read pdf
105
- ```
106
-
107
- ## Popular Skill Repositories
108
-
109
- Install skills from these community repositories:
110
-
111
- ```bash
112
- # Anthropic's official skill marketplace
113
- skillkit install anthropics/skills
114
-
115
- # Vercel's React & Next.js best practices
116
- skillkit install vercel-labs/agent-skills/skills
117
- ```
118
-
119
- | Repository | Skills | Description |
120
- |------------|--------|-------------|
121
- | [anthropics/skills](https://github.com/anthropics/skills) | `pdf`, `xlsx`, `docx`, etc. | Official Claude Code skill marketplace |
122
- | [vercel-labs/agent-skills](https://github.com/vercel-labs/agent-skills) | `vercel-react-best-practices`, `web-design-guidelines` | React/Next.js optimization & UI review |
123
-
124
-
125
- ## Commands
126
-
127
- ### `skillkit ui` / `skillkit`
128
-
129
- Launch the interactive Terminal User Interface (TUI) for managing skills.
130
-
131
- ```bash
132
- skillkit ui # Explicit TUI launch
133
- skillkit # Launch TUI if no arguments provided
134
- ```
135
-
136
- **TUI Features:**
137
- - **Browse**: Discover skills from 33+ repositories
138
- - **List**: View all installed skills
139
- - **Sync**: Sync skills across multiple agents
140
- - **Settings**: Configure SkillKit preferences
141
-
142
- **Keyboard Shortcuts:**
143
- - `h` - Home screen
144
- - `b` - Browse skills marketplace
145
- - `l` - List installed skills
146
- - `s` - Sync skills across agents
147
- - `,` - Settings
148
- - `↑↓` - Navigate lists
149
- - `Enter` - Select / Install
150
- - `m` - Multi-agent selection (when viewing skills)
151
- - `r` - Refresh / Go back
152
- - `Esc` - Return to home
153
- - `q` - Quit
154
-
155
- ### `skillkit install <source>`
156
-
157
- Install skills from various sources.
158
-
159
- ```bash
160
- # GitHub (default)
161
- skillkit install owner/repo
162
- skillkit install https://github.com/owner/repo
163
-
164
- # Install from a subdirectory
165
- skillkit install owner/repo/skills
166
-
167
- # GitLab
168
- skillkit install gitlab:owner/repo
169
- skillkit install https://gitlab.com/owner/repo
170
-
171
- # Bitbucket
172
- skillkit install bitbucket:owner/repo
173
-
174
- # Local path
175
- skillkit install ./my-skills
176
- skillkit install ~/dev/skills
177
-
178
- # Options
179
- --list # List available skills without installing
180
- --skills=pdf,xlsx # Install specific skills only (CI/CD)
181
- --all # Install all discovered skills
182
- --yes # Skip confirmation prompts
183
- --global # Install to global directory
184
- --force # Overwrite existing skills
185
- --provider=gitlab # Force specific provider
186
- --agent=cursor # Install to specific agent (can specify multiple)
187
- ```
188
-
189
- ### `skillkit sync`
190
-
191
- Sync installed skills to your agent's config file.
192
-
193
- ```bash
194
- skillkit sync
195
- skillkit sync --agent cursor
196
- skillkit sync --output AGENTS.md
197
- skillkit sync --enabled-only
198
- ```
199
-
200
- ### `skillkit read <skills>`
201
-
202
- Read skill content for AI agent consumption.
203
-
204
- ```bash
205
- skillkit read pdf
206
- skillkit read pdf,xlsx,docx # Multiple skills
207
- ```
208
-
209
- ### `skillkit list`
210
-
211
- List all installed skills.
212
-
213
- ```bash
214
- skillkit list
215
- skillkit list --enabled
216
- skillkit list --json
217
- ```
218
-
219
- ### `skillkit enable/disable <skills>`
220
-
221
- Toggle skills on/off without removing them.
222
-
223
- ```bash
224
- skillkit enable pdf xlsx
225
- skillkit disable docx
226
- ```
227
-
228
- ### `skillkit update [skills]`
229
-
230
- Update skills from their original sources.
231
-
232
- ```bash
233
- skillkit update # Update all
234
- skillkit update pdf xlsx # Update specific
235
- ```
236
-
237
- ### `skillkit remove <skills>`
238
-
239
- Remove installed skills.
240
-
241
- ```bash
242
- skillkit remove pdf xlsx
243
- ```
244
-
245
- ### `skillkit init`
246
-
247
- Initialize skillkit in a project.
248
-
249
- ```bash
250
- skillkit init
251
- skillkit init --agent cursor
252
- skillkit init --list # List supported agents
253
- ```
254
-
255
- ### `skillkit validate <path>`
256
-
257
- Validate skills against the [Agent Skills specification](https://agentskills.io/specification).
258
-
259
- ```bash
260
- skillkit validate ./my-skill # Validate single skill
261
- skillkit validate ./skills --all # Validate all skills in directory
262
- ```
263
-
264
- ### `skillkit create <skill-name>`
265
-
266
- Create a new skill with proper structure and template.
267
-
268
- ```bash
269
- skillkit create my-skill # Basic skill
270
- skillkit create my-skill --full # Include all directories (references, scripts, assets)
271
- skillkit create my-skill --scripts # Include scripts directory
272
- skillkit create my-skill --references # Include references directory
273
- skillkit create my-skill --assets # Include assets directory
274
- skillkit create my-skill --dir ./skills # Create in specific directory
275
- ```
276
-
277
- ## Supported Agents
278
-
279
- | Agent | Config File | Project Path | Global Path |
280
- |-------|-------------|--------------|-------------|
281
- | Claude Code | `AGENTS.md` | `.claude/skills/` | `~/.claude/skills/` |
282
- | Cursor | `.cursorrules` | `.cursor/skills/` | `~/.cursor/skills/` |
283
- | Codex | `AGENTS.md` | `.codex/skills/` | `~/.codex/skills/` |
284
- | Gemini CLI | `GEMINI.md` | `.gemini/skills/` | `~/.gemini/skills/` |
285
- | OpenCode | `AGENTS.md` | `.opencode/skills/` | `~/.config/opencode/skills/` |
286
- | Antigravity | `AGENTS.md` | `.antigravity/skills/` | `~/.gemini/antigravity/skills/` |
287
- | Amp | `AGENTS.md` | `.agents/skills/` | `~/.config/agents/skills/` |
288
- | Clawdbot | `AGENTS.md` | `skills/` | `~/.clawdbot/skills/` |
289
- | Droid (Factory) | `AGENTS.md` | `.factory/skills/` | `~/.factory/skills/` |
290
- | GitHub Copilot | `AGENTS.md` | `.github/skills/` | `~/.copilot/skills/` |
291
- | Goose | `AGENTS.md` | `.goose/skills/` | `~/.config/goose/skills/` |
292
- | Kilo Code | `AGENTS.md` | `.kilocode/skills/` | `~/.kilocode/skills/` |
293
- | Kiro CLI | `AGENTS.md` | `.kiro/skills/` | `~/.kiro/skills/` |
294
- | Roo Code | `AGENTS.md` | `.roo/skills/` | `~/.roo/skills/` |
295
- | Trae | `AGENTS.md` | `.trae/skills/` | `~/.trae/skills/` |
296
- | Windsurf | `AGENTS.md` | `.windsurf/skills/` | `~/.codeium/windsurf/skills/` |
297
- | Universal | `AGENTS.md` | `.agent/skills/` | `~/.agent/skills/` |
298
-
299
- ## Creating Skills
300
-
301
- Use `skillkit create <name>` to scaffold a new skill, or create manually:
302
-
303
- A skill is a directory with a `SKILL.md` file:
304
-
305
- ```
306
- my-skill/
307
- ├── SKILL.md # Required: Instructions for the AI
308
- ├── references/ # Optional: Documentation
309
- ├── scripts/ # Optional: Helper scripts
310
- └── assets/ # Optional: Templates, configs
311
- ```
312
-
313
- ### SKILL.md Format
314
-
315
- Follows the [Agent Skills specification](https://agentskills.io/specification):
316
-
317
- ```markdown
318
- ---
319
- name: my-skill
320
- description: What this skill does and when to use it. Include trigger keywords.
321
- license: MIT
322
- compatibility: Requires Node.js 18+
323
- metadata:
324
- author: your-org
325
- version: "1.0"
326
- ---
327
-
328
- # My Skill
329
-
330
- Instructions for the AI agent on how to use this skill.
331
-
332
- ## When to Use
333
-
334
- - Scenario 1
335
- - Scenario 2
336
-
337
- ## Steps
338
-
339
- 1. First step
340
- 2. Second step
341
- ```
342
-
343
- | Field | Required | Description |
344
- |-------|----------|-------------|
345
- | `name` | Yes | Lowercase alphanumeric with hyphens (max 64 chars) |
346
- | `description` | Yes | What it does and when to use it (max 1024 chars) |
347
- | `license` | No | License name or reference |
348
- | `compatibility` | No | Environment requirements |
349
- | `metadata` | No | Arbitrary key-value pairs |
350
-
351
- ## CI/CD Usage
352
-
353
- ```yaml
354
- # GitHub Actions example
355
- - name: Setup skills
356
- run: |
357
- npx skillkit install owner/skills --skills=lint,test,deploy --yes
358
- npx skillkit sync --yes
359
- ```
360
-
361
- ## Programmatic API
362
-
363
- ```typescript
364
- import {
365
- findAllSkills,
366
- discoverSkills,
367
- detectAgent,
368
- getAdapter,
369
- } from 'skillkit';
370
-
371
- // Find all installed skills
372
- const skills = findAllSkills(searchDirs);
373
-
374
- // Detect current agent
375
- const agent = await detectAgent();
376
-
377
- // Generate config
378
- const adapter = getAdapter(agent);
379
- const config = adapter.generateConfig(skills);
380
- ```
381
-
382
- ## Configuration
383
-
384
- Create `skillkit.yaml` in your project:
385
-
386
- ```yaml
387
- version: 1
388
- agent: cursor # Override auto-detection
389
- autoSync: true # Auto-sync on changes
390
- enabledSkills:
391
- - pdf
392
- - xlsx
393
- disabledSkills:
394
- - deprecated-skill
395
- ```
396
-
397
- ## License
398
-
399
- MIT License - see [LICENSE](LICENSE) for details.
400
-
401
- ## Contributing
402
-
403
- Contributions welcome! Please read our contributing guidelines.
404
-
405
- ## Acknowledgments
406
-
407
- Implements the [Agent Skills](https://agentskills.io) open format, originally developed by Anthropic and adopted by leading AI development tools.
@@ -1,62 +0,0 @@
1
- {
2
- "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "https://skillkit.dev/schemas/skill.schema.json",
4
- "title": "Skill Frontmatter",
5
- "description": "Schema for SKILL.md frontmatter validation (follows Agent Skills spec: https://agentskills.io/specification)",
6
- "type": "object",
7
- "required": ["name", "description"],
8
- "properties": {
9
- "name": {
10
- "type": "string",
11
- "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
12
- "minLength": 1,
13
- "maxLength": 64,
14
- "description": "Unique skill identifier. Lowercase alphanumeric with hyphens, no leading/trailing/consecutive hyphens."
15
- },
16
- "description": {
17
- "type": "string",
18
- "minLength": 1,
19
- "maxLength": 1024,
20
- "description": "What the skill does and when to use it."
21
- },
22
- "license": {
23
- "type": "string",
24
- "description": "License name or reference to bundled license file."
25
- },
26
- "compatibility": {
27
- "type": "string",
28
- "maxLength": 500,
29
- "description": "Environment requirements (intended product, system packages, network access, etc.)."
30
- },
31
- "metadata": {
32
- "type": "object",
33
- "additionalProperties": { "type": "string" },
34
- "description": "Arbitrary key-value mapping for additional metadata."
35
- },
36
- "allowed-tools": {
37
- "type": "string",
38
- "description": "Space-delimited list of pre-approved tools the skill may use (experimental)."
39
- },
40
- "version": {
41
- "type": "string",
42
- "description": "Semantic version (e.g., 1.0.0)"
43
- },
44
- "author": {
45
- "type": "string",
46
- "description": "Skill author name or organization"
47
- },
48
- "tags": {
49
- "type": "array",
50
- "items": { "type": "string" },
51
- "description": "Categorization tags"
52
- },
53
- "agents": {
54
- "type": "array",
55
- "items": {
56
- "type": "string",
57
- "enum": ["claude-code", "codex", "cursor", "antigravity", "opencode", "gemini-cli", "universal"]
58
- },
59
- "description": "Compatible AI agents (empty = all agents)"
60
- }
61
- }
62
- }