@vocdoni/skills 0.2.0 → 0.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.
@@ -56,6 +56,16 @@
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
+ },
59
69
  {
60
70
  "name": "vocdoni-sdk",
61
71
  "source": "./plugins/vocdoni-sdk",
@@ -92,7 +102,7 @@
92
102
  "name": "pi-subagent",
93
103
  "source": "./plugins/claude-pi-subagent/plugins/pi-subagent",
94
104
  "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.1",
105
+ "version": "0.2.2",
96
106
  "category": "engineering",
97
107
  "tags": ["pi", "subagent", "mcp", "delegation", "worktree", "coding-agent", "agents"],
98
108
  "license": "MIT",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # @vocdoni/skills
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#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.
8
+
9
+ ### Patch Changes
10
+
11
+ - [#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.
12
+
3
13
  ## 0.2.0
4
14
 
5
15
  ### Minor Changes
package/README.md CHANGED
@@ -17,6 +17,7 @@ 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
20
21
  claude plugin install pi-subagent@vocdoni # MCP server + agents — needs Pi (see its README)
21
22
 
22
23
  # Or grab everything in one shot (skill plugins only; pi-subagent is Claude Code-only)
@@ -98,6 +99,12 @@ Requires `jq` and either the [Stripe CLI](https://docs.stripe.com/stripe-cli) wi
98
99
 
99
100
  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
101
 
102
+ ### 💬 `vocdoni-comments` — code comments
103
+
104
+ | Skill | What it covers |
105
+ | ---------- | -------------- |
106
+ | `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. |
107
+
101
108
  ### 🤖 `pi-subagent` — delegate to Pi subagents
102
109
 
103
110
  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 +139,7 @@ claude plugin install vocdoni-stripe@vocdoni
132
139
  claude plugin install vocdoni-internal-oauth@vocdoni
133
140
  claude plugin install vocdoni-ui-style@vocdoni
134
141
  claude plugin install agentic-dev@vocdoni
142
+ claude plugin install vocdoni-comments@vocdoni
135
143
  claude plugin install pi-subagent@vocdoni # see plugins/claude-pi-subagent/plugins/pi-subagent/README.md
136
144
  ```
137
145
 
@@ -156,6 +164,7 @@ npx @vocdoni/skills install --plugin integrator-sdk # remote plugin, cloned on
156
164
  npx @vocdoni/skills install --plugin davinci-sdk # full name (no vocdoni- prefix)
157
165
  npx @vocdoni/skills install --plugin agentic-dev # skill only; the SessionStart hook is Claude Code plugin-only
158
166
  npx @vocdoni/skills install --plugin ui-style # 'ui-style' → 'vocdoni-ui-style'
167
+ npx @vocdoni/skills install --plugin comments # 'comments' → 'vocdoni-comments'
159
168
 
160
169
  # A single skill, looked up across plugins
161
170
  npx @vocdoni/skills install go-modern
@@ -196,6 +205,7 @@ claude plugin update vocdoni-integrator-sdk@vocdoni
196
205
  claude plugin update vocdoni-go@vocdoni
197
206
  claude plugin update vocdoni-stripe@vocdoni
198
207
  claude plugin update agentic-dev@vocdoni
208
+ claude plugin update vocdoni-comments@vocdoni
199
209
  claude plugin update pi-subagent@vocdoni
200
210
  ```
201
211
 
@@ -245,6 +255,8 @@ Copy the skill directories again over the old ones, or `git pull` if you symlink
245
255
  │ │ └── …
246
256
  │ ├── agentic-dev/ # skill + SessionStart hook (hooks/)
247
257
  │ │ └── …
258
+ │ ├── vocdoni-comments/
259
+ │ │ └── …
248
260
  │ └── claude-pi-subagent/ # nested marketplace (pi-agent-tools)
249
261
  │ └── plugins/pi-subagent/ # MCP server plugin + agents — see its README
250
262
  ├── 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.2.0",
3
+ "version": "0.3.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.1",
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.1",
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"