skillpm-skill 0.0.5 → 0.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillpm-skill",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "Agent Skill for managing skills with skillpm — install, publish, and wire Agent Skills into AI agent directories",
5
5
  "keywords": [
6
6
  "agent-skill",
@@ -24,7 +24,7 @@ Use this skill when the user wants to:
24
24
  - **One skill per npm package.** The skill lives in `skills/<name>/SKILL.md` inside the package.
25
25
  - **Transitive dependency resolution.** skillpm walks the full dependency tree to discover all skills and MCP server requirements.
26
26
  - **Agent directory wiring.** skillpm uses the `skills` CLI to link installed skills into 37+ agent directories (Claude, Cursor, VS Code, Codex, Gemini CLI, etc.).
27
- - **Config files.** Skills can include a `configs/` directory to ship native agent config files (subagent definitions, rules, prompts). The directory mirrors the workspace layout — files are copied on install with package-name prefixes to prevent conflicts.
27
+ - **Config files.** Skills can include a `configs/` directory to ship native agent config files (subagent definitions, rules, prompts). The directory mirrors the workspace layout — files are copied on install with an auto-prefix (de-scoped package name, or a shorter `skillpm.configPrefix` override) to prevent conflicts.
28
28
  - **MCP server configuration.** Skills can declare MCP servers in `package.json` under `skillpm.mcpServers[]`. skillpm configures them via `add-mcp`.
29
29
 
30
30
  ## Commands
@@ -149,13 +149,27 @@ my-skill/
149
149
 
150
150
  ### Bundling agent configs, rules, and prompts
151
151
 
152
- `SKILL.md` teaches agents *what to do* — instructions read at runtime. The `configs/` directory lets you also ship **config files** (subagent definitions, rules, instructions) in the native format of each agent system. It mirrors the workspace layout — files get copied to the workspace root on install, auto-prefixed with the package name to avoid conflicts.
152
+ `SKILL.md` teaches agents *what to do* — instructions read at runtime. The `configs/` directory lets you also ship **config files** (subagent definitions, rules, instructions) in the native format of each agent system. It mirrors the workspace layout — files get copied to the workspace root on install, auto-prefixed to avoid conflicts.
153
+
154
+ The prefix used is: `configPrefix` (if set in `skillpm` field) → de-scoped package name (e.g. `@acme/fullstack-react` → `fullstack-react`). Set `configPrefix` to a short name when the package name is long.
155
+
156
+ Each agent system uses different names and directories:
157
+
158
+ | Agent system | Agents | Agent directory | Rules/Prompts | Rules directory |
159
+ |---|---|---|---|---|
160
+ | Claude Code | Subagents | `.claude/agents/*.md` | Rules | `.claude/rules/*.md` |
161
+ | Cursor | Custom agents | `.cursor/agents/*.md` | Rules | `.cursor/rules/*.md` |
162
+ | GitHub Copilot | Custom agents | `.github/agents/*.md` | Instructions | `.github/instructions/*.md` |
163
+ | Codex | — | `AGENTS.md` | — | `AGENTS.md` |
164
+ | Gemini CLI | — | `GEMINI.md` | — | `GEMINI.md` |
165
+
166
+ To ship config files, create a `configs/` directory that mirrors the workspace layout for each target system:
153
167
 
154
168
  | Source in package | Destination in workspace |
155
169
  |---|---|
156
- | `configs/.claude/agents/reviewer.md` | `.claude/agents/my-skill--reviewer.md` |
157
- | `configs/.cursor/rules/conventions.md` | `.cursor/rules/my-skill--conventions.md` |
158
- | `configs/.github/instructions/help.instructions.md` | `.github/instructions/my-skill--help.instructions.md` |
170
+ | `configs/.claude/agents/reviewer.md` | `.claude/agents/my-skill-reviewer.md` |
171
+ | `configs/.cursor/rules/conventions.md` | `.cursor/rules/my-skill-conventions.md` |
172
+ | `configs/.github/instructions/help.instructions.md` | `.github/instructions/my-skill-help.instructions.md` |
159
173
 
160
174
  On uninstall, all copied files are removed automatically (tracked via `.skillpm/manifest.json`).
161
175