@vocdoni/skills 0.2.0 → 0.4.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/.claude-plugin/marketplace.json +21 -1
- package/CHANGELOG.md +16 -0
- package/README.md +40 -0
- package/package.json +1 -1
- package/plugins/claude-pi-subagent/.claude-plugin/marketplace.json +1 -1
- package/plugins/claude-pi-subagent/plugins/pi-subagent/.claude-plugin/plugin.json +1 -1
- package/plugins/claude-pi-subagent/plugins/pi-subagent/dist/server.mjs +18034 -3169
- package/plugins/claude-pi-subagent/plugins/pi-subagent/package-lock.json +156 -169
- package/plugins/claude-pi-subagent/plugins/pi-subagent/package.json +3 -3
- package/plugins/claude-pi-subagent/plugins/pi-subagent/src/schemas.ts +4 -0
- package/plugins/claude-pi-subagent/plugins/pi-subagent/src/server.ts +1 -1
- package/plugins/claude-pi-subagent/plugins/pi-subagent/test/schemas.test.ts +30 -0
- package/plugins/vocdoni-comments/.claude-plugin/plugin.json +21 -0
- package/plugins/vocdoni-comments/skills/comments/SKILL.md +59 -0
- package/plugins/vocdoni-comments/skills/comments/trim.md +78 -0
- package/plugins/vocdoni-contributing/.claude-plugin/plugin.json +24 -0
- package/plugins/vocdoni-contributing/hooks/hooks.json +16 -0
- package/plugins/vocdoni-contributing/hooks/session-start.sh +37 -0
- package/plugins/vocdoni-contributing/skills/contributing/SKILL.md +28 -0
|
@@ -56,6 +56,26 @@
|
|
|
56
56
|
"license": "AGPL-3.0-or-later",
|
|
57
57
|
"homepage": "https://github.com/vocdoni/skills"
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"name": "vocdoni-comments",
|
|
61
|
+
"source": "./plugins/vocdoni-comments",
|
|
62
|
+
"description": "Code comment rules: 1-3 lines that carry the why, plus a trim procedure for a branch or a whole project that keeps every constraint only a comment states.",
|
|
63
|
+
"version": "0.1.0",
|
|
64
|
+
"category": "engineering",
|
|
65
|
+
"tags": ["comments", "code-comments", "code-quality", "code-review", "documentation"],
|
|
66
|
+
"license": "AGPL-3.0-or-later",
|
|
67
|
+
"homepage": "https://github.com/vocdoni/skills"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "vocdoni-contributing",
|
|
71
|
+
"source": "./plugins/vocdoni-contributing",
|
|
72
|
+
"description": "Rules for what the agent posts on the git host: self-introduction, length and structure for PR/MR descriptions, issues and reviews, and posting reviews as reviews. A SessionStart hook applies them in every session, even as one step of a larger task.",
|
|
73
|
+
"version": "0.1.0",
|
|
74
|
+
"category": "engineering",
|
|
75
|
+
"tags": ["vocdoni", "pull-request", "merge-request", "code-review", "issues", "commits", "git-host"],
|
|
76
|
+
"license": "AGPL-3.0-or-later",
|
|
77
|
+
"homepage": "https://github.com/vocdoni/skills"
|
|
78
|
+
},
|
|
59
79
|
{
|
|
60
80
|
"name": "vocdoni-sdk",
|
|
61
81
|
"source": "./plugins/vocdoni-sdk",
|
|
@@ -92,7 +112,7 @@
|
|
|
92
112
|
"name": "pi-subagent",
|
|
93
113
|
"source": "./plugins/claude-pi-subagent/plugins/pi-subagent",
|
|
94
114
|
"description": "Delegate to named Pi subagents (.md persona + model + tools, incl. MCP) and bounded coding tasks from Claude Code. Bundles a local stdio MCP server that launches Pi (pi --mode rpc), isolates code edits in git worktrees, and returns compact summaries plus diff paths — never applying changes automatically.",
|
|
95
|
-
"version": "0.2.
|
|
115
|
+
"version": "0.2.2",
|
|
96
116
|
"category": "engineering",
|
|
97
117
|
"tags": ["pi", "subagent", "mcp", "delegation", "worktree", "coding-agent", "agents"],
|
|
98
118
|
"license": "MIT",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @vocdoni/skills
|
|
2
2
|
|
|
3
|
+
## 0.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#49](https://github.com/vocdoni/skills/pull/49) [`d309023`](https://github.com/vocdoni/skills/commit/d309023e026d3eb52a726b096ebbb7791908dbbd) Thanks [@elboletaire](https://github.com/elboletaire)! - New plugin `vocdoni-contributing` (`npx @vocdoni/skills install --plugin contributing`): its `contributing` skill sets the rules for what the agent posts on GitHub or GitLab (PR and MR descriptions, issues, reviews and commits), and its SessionStart hook injects the same rules into every Claude Code session by reading the skill's SKILL.md.
|
|
8
|
+
|
|
9
|
+
## 0.3.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#46](https://github.com/vocdoni/skills/pull/46) [`bb4537e`](https://github.com/vocdoni/skills/commit/bb4537e070f4833baa5e00a4408737aa3fd5717e) Thanks [@elboletaire](https://github.com/elboletaire)! - New plugin `vocdoni-comments` (`npx @vocdoni/skills install --plugin comments`): its `comments` skill keeps code comments to 1-3 lines that carry the why, and trims existing ones, on a branch or across a whole project, without losing anything only the comment said.
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#48](https://github.com/vocdoni/skills/pull/48) [`15777ee`](https://github.com/vocdoni/skills/commit/15777ee0899ec1d2137be2a7d9fe02b3f1465a60) Thanks [@elboletaire](https://github.com/elboletaire)! - pi-subagent 0.2.2 bundles zod 4 (fixing a memory-exhaustion advisory that has no zod 3 patch) and fast-uri 3.1.9 in its server. Tool inputs now cap `tools` at the seven built-in tools and `files` at 1000 entries. Under zod 4, validation error messages are reworded, integer inputs above 2^53-1 are rejected, and the advertised tool schemas no longer claim `additionalProperties: false`, which was never enforced since unknown keys are still stripped. Dev and transitive dependencies vitest, body-parser, ip-address, qs and @hono/node-server (1.x to 2.x) are also updated; none of them is part of the bundled server.
|
|
18
|
+
|
|
3
19
|
## 0.2.0
|
|
4
20
|
|
|
5
21
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -17,6 +17,8 @@ claude plugin install vocdoni-stripe@vocdoni
|
|
|
17
17
|
claude plugin install vocdoni-internal-oauth@vocdoni
|
|
18
18
|
claude plugin install vocdoni-ui-style@vocdoni
|
|
19
19
|
claude plugin install agentic-dev@vocdoni
|
|
20
|
+
claude plugin install vocdoni-comments@vocdoni
|
|
21
|
+
claude plugin install vocdoni-contributing@vocdoni
|
|
20
22
|
claude plugin install pi-subagent@vocdoni # MCP server + agents — needs Pi (see its README)
|
|
21
23
|
|
|
22
24
|
# Or grab everything in one shot (skill plugins only; pi-subagent is Claude Code-only)
|
|
@@ -98,6 +100,20 @@ Requires `jq` and either the [Stripe CLI](https://docs.stripe.com/stripe-cli) wi
|
|
|
98
100
|
|
|
99
101
|
The plugin also installs a **SessionStart hook** so the model loads the skill on its own for feature, refactor, protocol, migration, multi-repo, deploy and benchmark work, and resumes any unfinished `.delivery/` ledger in the current repo. The hook is Claude Code-only; an npx install gets the skill, which still triggers from its description.
|
|
100
102
|
|
|
103
|
+
### 💬 `vocdoni-comments` — code comments
|
|
104
|
+
|
|
105
|
+
| Skill | What it covers |
|
|
106
|
+
| ---------- | -------------- |
|
|
107
|
+
| `comments` | How to write code comments (doc, inline, JSDoc): 1-3 lines per block that say the why or a constraint the code can't show, without restating code, narrating history or repeating documented flows, and with claims that match the code. `trim.md` shortens existing comments, either the blocks a branch added (`/comments trim`) or every long block in a project or folder (`/comments trim project [path]`; a plugin install namespaces them as `/vocdoni-comments:comments trim`), keeping anything only the comment said and reporting where each dropped piece lives. |
|
|
108
|
+
|
|
109
|
+
### 📝 `vocdoni-contributing` — what the agent posts on the git host
|
|
110
|
+
|
|
111
|
+
| Skill | What it covers |
|
|
112
|
+
| -------------- | -------------- |
|
|
113
|
+
| `contributing` | The rules for everything the agent writes on GitHub or GitLab: an opening line naming the model and the user it acts for, no `Co-authored-by` trailer, length limits and structure for PR/MR descriptions and issues, findings of about three sentences in reviews (nits marked "Nit:"), and reviews posted as reviews marked "Approve" or "Request changes". |
|
|
114
|
+
|
|
115
|
+
The plugin also installs a **SessionStart hook** that injects the same `contributing` body into every Claude Code session, so the rules hold even when a PR is one step of a larger task and the skill's description never matches. The hook reads `skills/contributing/SKILL.md` directly, so the skill is the only place to edit. The hook is Claude Code-only; an npx install gets the skill, which still triggers from its description.
|
|
116
|
+
|
|
101
117
|
### 🤖 `pi-subagent` — delegate to Pi subagents
|
|
102
118
|
|
|
103
119
|
Delegate work to **named [Pi][pi] subagents** — reusable personas, each with its own model and tools (including MCP tools) — and to bounded one-off coding tasks. Unlike the skill plugins above, this one bundles a local **MCP server** that launches Pi (`pi --mode rpc`), isolates code edits in a detached **git worktree**, and hands back a summary plus a diff to review. Changes are never applied automatically.
|
|
@@ -132,6 +148,8 @@ claude plugin install vocdoni-stripe@vocdoni
|
|
|
132
148
|
claude plugin install vocdoni-internal-oauth@vocdoni
|
|
133
149
|
claude plugin install vocdoni-ui-style@vocdoni
|
|
134
150
|
claude plugin install agentic-dev@vocdoni
|
|
151
|
+
claude plugin install vocdoni-comments@vocdoni
|
|
152
|
+
claude plugin install vocdoni-contributing@vocdoni
|
|
135
153
|
claude plugin install pi-subagent@vocdoni # see plugins/claude-pi-subagent/plugins/pi-subagent/README.md
|
|
136
154
|
```
|
|
137
155
|
|
|
@@ -141,6 +159,20 @@ Iterating locally? Point the marketplace at a checkout instead:
|
|
|
141
159
|
claude plugin marketplace add /path/to/skills
|
|
142
160
|
```
|
|
143
161
|
|
|
162
|
+
To have a repo's contributors install the plugins, commit this as the repo's `.claude/settings.json`. Once a contributor trusts the folder, Claude Code registers the marketplace and enables these plugins:
|
|
163
|
+
|
|
164
|
+
```json
|
|
165
|
+
{
|
|
166
|
+
"extraKnownMarketplaces": {
|
|
167
|
+
"vocdoni": { "source": { "source": "github", "repo": "vocdoni/skills" } }
|
|
168
|
+
},
|
|
169
|
+
"enabledPlugins": {
|
|
170
|
+
"vocdoni-comments@vocdoni": true,
|
|
171
|
+
"vocdoni-contributing@vocdoni": true
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
```
|
|
175
|
+
|
|
144
176
|
### npx (any client that reads a skills directory)
|
|
145
177
|
|
|
146
178
|
Installs into `~/.claude/skills/` by default (where Claude Code looks at user scope).
|
|
@@ -156,6 +188,8 @@ npx @vocdoni/skills install --plugin integrator-sdk # remote plugin, cloned on
|
|
|
156
188
|
npx @vocdoni/skills install --plugin davinci-sdk # full name (no vocdoni- prefix)
|
|
157
189
|
npx @vocdoni/skills install --plugin agentic-dev # skill only; the SessionStart hook is Claude Code plugin-only
|
|
158
190
|
npx @vocdoni/skills install --plugin ui-style # 'ui-style' → 'vocdoni-ui-style'
|
|
191
|
+
npx @vocdoni/skills install --plugin comments # 'comments' → 'vocdoni-comments'
|
|
192
|
+
npx @vocdoni/skills install --plugin contributing # 'contributing' → 'vocdoni-contributing'; skill only, the SessionStart hook is Claude Code plugin-only
|
|
159
193
|
|
|
160
194
|
# A single skill, looked up across plugins
|
|
161
195
|
npx @vocdoni/skills install go-modern
|
|
@@ -196,6 +230,8 @@ claude plugin update vocdoni-integrator-sdk@vocdoni
|
|
|
196
230
|
claude plugin update vocdoni-go@vocdoni
|
|
197
231
|
claude plugin update vocdoni-stripe@vocdoni
|
|
198
232
|
claude plugin update agentic-dev@vocdoni
|
|
233
|
+
claude plugin update vocdoni-comments@vocdoni
|
|
234
|
+
claude plugin update vocdoni-contributing@vocdoni
|
|
199
235
|
claude plugin update pi-subagent@vocdoni
|
|
200
236
|
```
|
|
201
237
|
|
|
@@ -245,6 +281,10 @@ Copy the skill directories again over the old ones, or `git pull` if you symlink
|
|
|
245
281
|
│ │ └── …
|
|
246
282
|
│ ├── agentic-dev/ # skill + SessionStart hook (hooks/)
|
|
247
283
|
│ │ └── …
|
|
284
|
+
│ ├── vocdoni-comments/
|
|
285
|
+
│ │ └── …
|
|
286
|
+
│ ├── vocdoni-contributing/ # skill + SessionStart hook (hooks/)
|
|
287
|
+
│ │ └── …
|
|
248
288
|
│ └── claude-pi-subagent/ # nested marketplace (pi-agent-tools)
|
|
249
289
|
│ └── plugins/pi-subagent/ # MCP server plugin + agents — see its README
|
|
250
290
|
├── bin/install.js # npx CLI (zero deps, Node ≥ 18)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vocdoni/skills",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Vocdoni's curated skills for AI coding assistants (Claude Code, Cursor, Cline, and other Anthropic-skill-compatible clients).",
|
|
5
5
|
"bin": {
|
|
6
6
|
"vocdoni-skills": "bin/install.js"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"name": "pi-subagent",
|
|
10
10
|
"source": "./plugins/pi-subagent",
|
|
11
11
|
"description": "Delegate to named Pi subagents (.md persona + model + tools, incl. MCP) and bounded coding tasks from Claude Code. Bundles a local stdio MCP server that launches Pi (pi --mode rpc), isolates code edits in git worktrees, and returns compact summaries plus diff paths — never applying changes automatically.",
|
|
12
|
-
"version": "0.2.
|
|
12
|
+
"version": "0.2.2",
|
|
13
13
|
"category": "engineering",
|
|
14
14
|
"tags": ["pi", "subagent", "mcp", "delegation", "worktree", "coding-agent", "rpc", "agents"],
|
|
15
15
|
"license": "MIT"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://anthropic.com/claude-code/plugin.schema.json",
|
|
3
3
|
"name": "pi-subagent",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.2",
|
|
5
5
|
"description": "Delegate to named Pi subagents (.md persona + model + tools, incl. MCP) and bounded coding tasks from Claude Code. Bundles a local stdio MCP server that launches Pi (pi --mode rpc), isolates code edits in git worktrees, and returns compact summaries plus diff paths — never applying changes automatically.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Pau Escrich"
|