@kurokeita/add-skill 2.6.1 → 3.0.1
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 +43 -64
- package/dist/bin/cli.js +270 -478
- package/dist/skills/statusline-setup/.claude-plugin/plugin.json +1 -1
- package/dist/skills/statusline-setup/SKILL.md +48 -448
- package/dist/skills/statusline-setup/mod/hooks/register.tsx +93 -103
- package/dist/skills/statusline-setup/mod/tests/work.test.ts +28 -10
- package/dist/skills/statusline-setup/mod/types/index.d.ts +2 -1
- package/dist/skills/universalize-agents/reference/mapping.md +3 -2
- package/package.json +3 -3
- package/dist/agents/backend-specialist.md +0 -277
- package/dist/agents/code-archaeologist.md +0 -114
- package/dist/agents/database-architect.md +0 -238
- package/dist/agents/debugger.md +0 -231
- package/dist/agents/devops-engineer.md +0 -242
- package/dist/agents/documentation-writer.md +0 -104
- package/dist/agents/explorer-agent.md +0 -79
- package/dist/agents/frontend-specialist.md +0 -594
- package/dist/agents/game-developer.md +0 -162
- package/dist/agents/mobile-developer.md +0 -383
- package/dist/agents/orchestrator.md +0 -435
- package/dist/agents/penetration-tester.md +0 -188
- package/dist/agents/performance-optimizer.md +0 -191
- package/dist/agents/product-manager.md +0 -122
- package/dist/agents/product-owner.md +0 -106
- package/dist/agents/project-planner.md +0 -408
- package/dist/agents/qa-automation-engineer.md +0 -109
- package/dist/agents/security-auditor.md +0 -171
- package/dist/agents/test-engineer.md +0 -158
- package/dist/skills/agent-identifier/SKILL.md +0 -431
- package/dist/skills/agent-identifier/examples/agent-creation-prompt.md +0 -247
- package/dist/skills/agent-identifier/examples/complete-agent-examples.md +0 -432
- package/dist/skills/agent-identifier/references/agent-creation-system-prompt.md +0 -215
- package/dist/skills/agent-identifier/references/system-prompt-design.md +0 -419
- package/dist/skills/agent-identifier/references/triggering-examples.md +0 -508
- package/dist/skills/agent-identifier/scripts/validate-agent.sh +0 -217
- package/dist/skills/code-review-excellence/SKILL.md +0 -525
- package/dist/skills/component-refactoring/SKILL.md +0 -492
- package/dist/skills/component-refactoring/references/complexity-patterns.md +0 -493
- package/dist/skills/component-refactoring/references/component-splitting.md +0 -477
- package/dist/skills/component-refactoring/references/hook-extraction.md +0 -317
- package/dist/skills/context7-guidelines/SKILL.md +0 -31
- package/dist/skills/feature-design-assistant/SKILL.md +0 -371
- package/dist/skills/find-bugs/SKILL.md +0 -75
- package/dist/skills/frontend-design/SKILL.md +0 -45
- package/dist/skills/go-concurrency-patterns/SKILL.md +0 -657
- package/dist/skills/grill-me/SKILL.md +0 -9
- package/dist/skills/handoff/SKILL.md +0 -16
- package/dist/skills/koreader-plugin-development/SKILL.md +0 -141
- package/dist/skills/koreader-plugin-development/examples/2-example-patch.lua +0 -17
- package/dist/skills/koreader-plugin-development/examples/_meta.lua +0 -6
- package/dist/skills/koreader-plugin-development/examples/helloworld.lua +0 -36
- package/dist/skills/koreader-plugin-development/references/debugging.md +0 -92
- package/dist/skills/koreader-plugin-development/references/events-and-widgets.md +0 -102
- package/dist/skills/koreader-plugin-development/references/patches.md +0 -118
- package/dist/skills/koreader-plugin-development/references/plugin-anatomy.md +0 -97
- package/dist/skills/make-instruction/SKILL.md +0 -68
- package/dist/skills/make-prompt/SKILL.md +0 -70
- package/dist/skills/make-skill/SKILL.md +0 -147
- package/dist/skills/prd-to-tasks/SKILL.md +0 -164
- package/dist/skills/react-native-async-patterns/SKILL.md +0 -256
- package/dist/skills/react-native-performance/SKILL.md +0 -425
- package/dist/skills/react-native-testing/SKILL.md +0 -458
- package/dist/skills/react-native-zustand-patterns/SKILL.md +0 -343
- package/dist/skills/skill-creator/SKILL.md +0 -385
- package/dist/skills/skill-creator/scripts/init_skill.cjs +0 -235
- package/dist/skills/skill-creator/scripts/package_skill.cjs +0 -84
- package/dist/skills/skill-creator/scripts/validate_skill.cjs +0 -127
- package/dist/skills/skill-development/SKILL.md +0 -676
- package/dist/skills/skill-development/references/skill-creator-original.md +0 -210
- package/dist/skills/sql-optimization-patterns/SKILL.md +0 -509
- package/dist/skills/test-driven-development/SKILL.md +0 -114
- package/dist/skills/test-driven-development/deep-modules.md +0 -33
- package/dist/skills/test-driven-development/interface-design.md +0 -35
- package/dist/skills/test-driven-development/mocking.md +0 -68
- package/dist/skills/test-driven-development/refactoring.md +0 -10
- package/dist/skills/test-driven-development/tests.md +0 -61
- package/dist/skills/vercel-react-best-practices/AGENTS.md +0 -2410
- package/dist/skills/vercel-react-best-practices/SKILL.md +0 -127
- package/dist/skills/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
- package/dist/skills/vercel-react-best-practices/rules/advanced-use-latest.md +0 -49
- package/dist/skills/vercel-react-best-practices/rules/async-api-routes.md +0 -38
- package/dist/skills/vercel-react-best-practices/rules/async-defer-await.md +0 -80
- package/dist/skills/vercel-react-best-practices/rules/async-dependencies.md +0 -36
- package/dist/skills/vercel-react-best-practices/rules/async-parallel.md +0 -28
- package/dist/skills/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
- package/dist/skills/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -59
- package/dist/skills/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
- package/dist/skills/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
- package/dist/skills/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
- package/dist/skills/vercel-react-best-practices/rules/bundle-preload.md +0 -50
- package/dist/skills/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
- package/dist/skills/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
- package/dist/skills/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
- package/dist/skills/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
- package/dist/skills/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -82
- package/dist/skills/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
- package/dist/skills/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
- package/dist/skills/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
- package/dist/skills/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
- package/dist/skills/vercel-react-best-practices/rules/js-early-exit.md +0 -50
- package/dist/skills/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
- package/dist/skills/vercel-react-best-practices/rules/js-index-maps.md +0 -37
- package/dist/skills/vercel-react-best-practices/rules/js-length-check-first.md +0 -50
- package/dist/skills/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
- package/dist/skills/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
- package/dist/skills/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
- package/dist/skills/vercel-react-best-practices/rules/rendering-activity.md +0 -26
- package/dist/skills/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
- package/dist/skills/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
- package/dist/skills/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
- package/dist/skills/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
- package/dist/skills/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
- package/dist/skills/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
- package/dist/skills/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
- package/dist/skills/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
- package/dist/skills/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
- package/dist/skills/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
- package/dist/skills/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
- package/dist/skills/vercel-react-best-practices/rules/rerender-memo.md +0 -44
- package/dist/skills/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
- package/dist/skills/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
- package/dist/skills/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
- package/dist/skills/vercel-react-best-practices/rules/server-cache-react.md +0 -76
- package/dist/skills/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
- package/dist/skills/vercel-react-best-practices/rules/server-serialization.md +0 -38
- package/dist/skills/web-design-guidelines/SKILL.md +0 -40
- package/dist/skills/workflow-patterns/SKILL.md +0 -623
- package/dist/skills/write-prd/SKILL.md +0 -162
- package/dist/workflows/brainstorm.md +0 -113
- package/dist/workflows/create.md +0 -60
- package/dist/workflows/debug.md +0 -107
- package/dist/workflows/deploy.md +0 -178
- package/dist/workflows/enhance.md +0 -64
- package/dist/workflows/github-pull-request-create.md +0 -134
- package/dist/workflows/orchestrate.md +0 -246
- package/dist/workflows/plan.md +0 -90
- package/dist/workflows/preview.md +0 -83
- package/dist/workflows/status.md +0 -87
- package/dist/workflows/test.md +0 -144
- package/dist/workflows/ui-ux-pro-max.md +0 -315
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @kurokeita/add-skill (AI Manager)
|
|
2
2
|
|
|
3
|
-
CLI to manage and install AI agent skills
|
|
3
|
+
CLI to manage and install AI agent skills to various platforms.
|
|
4
4
|
|
|
5
5
|
## Features
|
|
6
6
|
|
|
7
|
-
- **List
|
|
8
|
-
- **Local status**: Check which
|
|
9
|
-
- **Add
|
|
10
|
-
- **Remove
|
|
11
|
-
- **Import**: Import
|
|
7
|
+
- **List Skills**: View a list of available skills.
|
|
8
|
+
- **Local status**: Check which skills are installed locally.
|
|
9
|
+
- **Add Skills**: Interactively add skills with live search/filtering support.
|
|
10
|
+
- **Remove Skills**: Remove locally installed skills with live search/filtering support.
|
|
11
|
+
- **Import**: Import skills directly from GitHub URLs.
|
|
12
12
|
|
|
13
13
|
## Usage
|
|
14
14
|
|
|
@@ -16,126 +16,105 @@ CLI to manage and install AI agent skills, agents, and workflows to various plat
|
|
|
16
16
|
pnpx @kurokeita/add-skill --help
|
|
17
17
|
```
|
|
18
18
|
|
|
19
|
-
### List
|
|
19
|
+
### List Skills
|
|
20
20
|
|
|
21
|
-
List available
|
|
21
|
+
List available skills in the repository:
|
|
22
22
|
|
|
23
23
|
```bash
|
|
24
|
-
|
|
25
|
-
pnpx @kurokeita/add-skill list
|
|
26
|
-
|
|
27
|
-
# List agents
|
|
28
|
-
pnpx @kurokeita/add-skill list agent
|
|
29
|
-
|
|
30
|
-
# List workflows
|
|
31
|
-
pnpx @kurokeita/add-skill list workflow
|
|
24
|
+
pnpx @kurokeita/add-skill list skill
|
|
32
25
|
```
|
|
33
26
|
|
|
34
|
-
List locally installed
|
|
27
|
+
List locally installed skills:
|
|
35
28
|
|
|
36
29
|
```bash
|
|
37
|
-
pnpx @kurokeita/add-skill list --local
|
|
38
|
-
pnpx @kurokeita/add-skill list agent --local
|
|
30
|
+
pnpx @kurokeita/add-skill list skill --local
|
|
39
31
|
|
|
40
32
|
# Pick a scope non-interactively (default: global)
|
|
41
33
|
pnpx @kurokeita/add-skill list --local --scope project
|
|
42
34
|
pnpx @kurokeita/add-skill list --local --scope both
|
|
43
35
|
```
|
|
44
36
|
|
|
45
|
-
### Add
|
|
37
|
+
### Add Skills
|
|
46
38
|
|
|
47
|
-
Starts an interactive session to select and install
|
|
39
|
+
Starts an interactive session to select and install skills. Supports live search/filtering as you type.
|
|
48
40
|
|
|
49
41
|
```bash
|
|
50
|
-
# Add skills
|
|
51
42
|
pnpx @kurokeita/add-skill add
|
|
52
43
|
|
|
53
|
-
# Add agents
|
|
54
|
-
pnpx @kurokeita/add-skill add agent
|
|
55
|
-
|
|
56
|
-
# Add workflows
|
|
57
|
-
pnpx @kurokeita/add-skill add workflow
|
|
58
|
-
|
|
59
44
|
# Install at project scope (writes under the current directory's
|
|
60
45
|
# `.<platform>/...` paths instead of `~/...`). Project scope is
|
|
61
46
|
# refused at $HOME or outside a git work tree.
|
|
62
47
|
pnpx @kurokeita/add-skill add --scope project
|
|
63
48
|
```
|
|
64
49
|
|
|
65
|
-
### Remove
|
|
50
|
+
### Remove Skills
|
|
66
51
|
|
|
67
|
-
Interactively select
|
|
52
|
+
Interactively select installed skills to remove. Supports live search/filtering as you type.
|
|
68
53
|
|
|
69
54
|
```bash
|
|
70
|
-
# Remove skills
|
|
71
55
|
pnpx @kurokeita/add-skill remove skill
|
|
72
56
|
|
|
73
|
-
# Remove agents
|
|
74
|
-
pnpx @kurokeita/add-skill remove agent
|
|
75
|
-
|
|
76
57
|
# Pick a scope non-interactively
|
|
77
58
|
pnpx @kurokeita/add-skill remove skill --scope project
|
|
78
59
|
pnpx @kurokeita/add-skill remove skill --scope both
|
|
79
60
|
```
|
|
80
61
|
|
|
81
|
-
### Add
|
|
62
|
+
### Add a Skill from GitHub
|
|
82
63
|
|
|
83
|
-
Install
|
|
64
|
+
Install a skill directly from a GitHub URL.
|
|
84
65
|
|
|
85
66
|
```bash
|
|
86
|
-
pnpx @kurokeita/add-skill add https://github.com/owner/repo/tree/main/skills/skill-name
|
|
67
|
+
pnpx @kurokeita/add-skill add skill https://github.com/owner/repo/tree/main/skills/skill-name
|
|
87
68
|
```
|
|
88
69
|
|
|
89
70
|
### Import to Repository (For Maintainers)
|
|
90
71
|
|
|
91
|
-
Import a skill
|
|
72
|
+
Import a skill from GitHub into this repository.
|
|
92
73
|
|
|
93
74
|
```bash
|
|
94
|
-
pnpm dev import https://github.com/owner/repo/tree/main/skills/skill-name
|
|
75
|
+
pnpm dev import skill https://github.com/owner/repo/tree/main/skills/skill-name
|
|
95
76
|
```
|
|
96
77
|
|
|
97
78
|
## How Installs Work
|
|
98
79
|
|
|
99
|
-
`add` copies every
|
|
80
|
+
`add` copies every skill into a single canonical directory:
|
|
100
81
|
|
|
101
|
-
- **Global scope** → `~/.agents/
|
|
102
|
-
- **Project scope** → `<project-root>/.agents/
|
|
82
|
+
- **Global scope** → `~/.agents/skills`
|
|
83
|
+
- **Project scope** → `<project-root>/.agents/skills`
|
|
103
84
|
|
|
104
|
-
|
|
85
|
+
After copying, `add` can optionally wire each platform you select: it installs a session-start hook (under `.agents/hooks/`) and registers it in that platform's config. On each new session the hook symlinks the canonical `.agents/skills` entries back into the platform's own skills directory, so every tool sees the same set of skills from one source of truth.
|
|
105
86
|
|
|
106
87
|
A skill can also ship Claude Code hooks in a `hooks/` dir. `hooks/hooks.json` holds the `hooks` object of `.claude/settings.json`, and `${HOOKS_DIR}` in its commands resolves to `.claude/hooks`. When `add` installs a skill that has this manifest, it offers to copy the other files in `hooks/` to `.claude/hooks/` and merge the entries into `.claude/settings.json` (global or project, matching the install scope). `git-commit` uses this to install its `commit-gate.py` hook.
|
|
107
88
|
|
|
108
|
-
`list` and `remove` operate on the canonical `.agents
|
|
89
|
+
`list` and `remove` operate on the canonical `.agents/skills` dir. Removing a skill also prunes any platform symlink left pointing at it.
|
|
109
90
|
|
|
110
91
|
## Supported Platforms
|
|
111
92
|
|
|
112
|
-
The tables below show where each platform
|
|
113
|
-
|
|
114
|
-
| Platform | Agents Path | Skills Path | Workflows Path |
|
|
115
|
-
| :--- | :--- | :--- | :--- |
|
|
116
|
-
| Antigravity | *Not Supported* | `~/.gemini/antigravity/global_skills` | `~/.gemini/antigravity/global_workflows` |
|
|
117
|
-
| Claude Code | `~/.claude/agents` | `~/.claude/skills` | `~/.claude/commands` |
|
|
118
|
-
| Codex | `~/.codex/skills` | `~/.codex/skills` | `~/.codex/skills` |
|
|
119
|
-
| Gemini CLI | `~/.gemini/agents` | `~/.gemini/skills` | `~/.gemini/commands` |
|
|
120
|
-
| GitHub Copilot | `~/.copilot/agents` | `~/.copilot/skills` | `~/.copilot/prompts` |
|
|
121
|
-
| Windsurf | *Not Supported* | `~/.codeium/windsurf/skills` | `~/.codeium/windsurf/global_workflows` |
|
|
93
|
+
The tables below show where each platform loads skills from. These are the symlink destinations the session-start hook creates.
|
|
122
94
|
|
|
123
|
-
|
|
95
|
+
| Platform | Skills Path |
|
|
96
|
+
| :--- | :--- |
|
|
97
|
+
| Antigravity | `~/.gemini/antigravity/global_skills` |
|
|
98
|
+
| Claude Code | `~/.claude/skills` |
|
|
99
|
+
| Codex | `~/.codex/skills` |
|
|
100
|
+
| Gemini CLI | `~/.gemini/skills` |
|
|
101
|
+
| GitHub Copilot | `~/.copilot/skills` |
|
|
102
|
+
| Windsurf | `~/.codeium/windsurf/skills` |
|
|
124
103
|
|
|
125
104
|
### Project-scope paths
|
|
126
105
|
|
|
127
106
|
When you pick `--scope project`, the canonical `.agents/` dir and the symlink destinations live under the current working directory instead of `~`. The mapping below uses `<project-root>` to mean `process.cwd()` (no git-toplevel relocation: a monorepo subdirectory installs into that subdirectory, not the repo root).
|
|
128
107
|
|
|
129
|
-
| Platform |
|
|
130
|
-
| :--- | :--- |
|
|
131
|
-
| Antigravity |
|
|
132
|
-
| Claude Code | `<project-root>/.claude/
|
|
133
|
-
| Codex | `<project-root>/.codex/skills` |
|
|
134
|
-
| Gemini CLI | `<project-root>/.gemini/
|
|
135
|
-
| GitHub Copilot | `<project-root>/.copilot/
|
|
136
|
-
| Windsurf |
|
|
108
|
+
| Platform | Skills Path |
|
|
109
|
+
| :--- | :--- |
|
|
110
|
+
| Antigravity | `<project-root>/.gemini/antigravity/skills` |
|
|
111
|
+
| Claude Code | `<project-root>/.claude/skills` |
|
|
112
|
+
| Codex | `<project-root>/.codex/skills` |
|
|
113
|
+
| Gemini CLI | `<project-root>/.gemini/skills` |
|
|
114
|
+
| GitHub Copilot | `<project-root>/.copilot/skills` |
|
|
115
|
+
| Windsurf | `<project-root>/.codeium/windsurf/skills` |
|
|
137
116
|
|
|
138
|
-
Project scope is refused when `cwd` equals your home directory or `cwd` is not inside a git work tree. When refused interactively, you can fall back to global scope without losing your already-selected
|
|
117
|
+
Project scope is refused when `cwd` equals your home directory or `cwd` is not inside a git work tree. When refused interactively, you can fall back to global scope without losing your already-selected skills and platforms.
|
|
139
118
|
|
|
140
119
|
## Development
|
|
141
120
|
|