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