@vocdoni/skills 0.4.0 → 0.5.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.
@@ -50,7 +50,7 @@
50
50
  "name": "agentic-dev",
51
51
  "source": "./plugins/agentic-dev",
52
52
  "description": "Run non-trivial engineering work as a controlled delivery: sized work, audited spec and plan, subagents implementing task by task, every diff reviewed, a strict gate audit before merge, and releases only on the owner's OK. A SessionStart hook makes the model load it without being asked.",
53
- "version": "0.3.0",
53
+ "version": "0.3.1",
54
54
  "category": "engineering",
55
55
  "tags": ["subagents", "orchestration", "planning", "code-review", "audit", "workflow"],
56
56
  "license": "AGPL-3.0-or-later",
@@ -70,7 +70,7 @@
70
70
  "name": "vocdoni-contributing",
71
71
  "source": "./plugins/vocdoni-contributing",
72
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",
73
+ "version": "0.2.0",
74
74
  "category": "engineering",
75
75
  "tags": ["vocdoni", "pull-request", "merge-request", "code-review", "issues", "commits", "git-host"],
76
76
  "license": "AGPL-3.0-or-later",
package/CHANGELOG.md CHANGED
@@ -1,5 +1,23 @@
1
1
  # @vocdoni/skills
2
2
 
3
+ ## 0.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#56](https://github.com/vocdoni/skills/pull/56) [`42183a7`](https://github.com/vocdoni/skills/commit/42183a7833098cb03cbca3a51a309b1c770f4689) Thanks [@p4u](https://github.com/p4u)! - `agentic-dev`: the auditor model's default is now Fable 5.2 (was 5.1) in the model table, the resolution example and the sample ledger `Models:` line. The Agent tool value stays `fable`.
8
+
9
+ - [#59](https://github.com/vocdoni/skills/pull/59) [`3c42351`](https://github.com/vocdoni/skills/commit/3c42351fbbbcf3a8ae4a16d2a7dd7284b8d2588a) Thanks [@elboletaire](https://github.com/elboletaire)! - `vocdoni-contributing` 0.2.0: the `contributing` skill now ties every change to an issue. The agent looks for an existing issue first, opens one if none fits, and links the PR to it with `Closes #N` or `Refs #N`.
10
+
11
+ ## 0.5.0
12
+
13
+ ### Minor Changes
14
+
15
+ - [#53](https://github.com/vocdoni/skills/pull/53) [`10316e7`](https://github.com/vocdoni/skills/commit/10316e7117c27f9c8520b6d0f68907b25898c324) Thanks [@p4u](https://github.com/p4u)! - New `manifests/vocdoni-internal.toml`, the Vocdoni team's claudio plugin manifest (format 1): claudio v0.7.0 fetches it from claude.vocdoni.net and installs the 17 plugins it lists (every plugin of this marketplace plus firecrawl, context7, remember, cloudflare, railway, playwright and folio), configures the vocdoni-kb, jina and hackmd MCP servers, defines the worker, fast-worker, reviewer, planner-verifier, web-scout, academic-scout and ui-tester subagents, and injects the team instructions (light path versus agentic-dev delivery path, how to use the subagents).
16
+
17
+ ### Patch Changes
18
+
19
+ - [#54](https://github.com/vocdoni/skills/pull/54) [`abad17e`](https://github.com/vocdoni/skills/commit/abad17e0cb6e87f557db37282791e907150010be) Thanks [@p4u](https://github.com/p4u)! - `agentic-dev`: the SessionStart hook and the skill description now ask for the subagent-driven-development skill only for long work (many steps, several modules or repos, more than one session) or work touching a critical component (auth, secrets, payments, voting or ballot logic, cryptography, migrations, wire formats, deployments), plus the explicit triggers (spec, plan, audit, ledger, a `.delivery/` folder). Everything else, including multi-file changes in one module, takes the light path. This matches the Vocdoni team policy in the `vocdoni-internal` claudio manifest.
20
+
3
21
  ## 0.4.0
4
22
 
5
23
  ### Minor Changes
package/README.md CHANGED
@@ -110,7 +110,7 @@ The plugin also installs a **SessionStart hook** so the model loads the skill on
110
110
 
111
111
  | Skill | What it covers |
112
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". |
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, every PR linked to an issue (found, or opened before the PR), 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
114
 
115
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
116
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocdoni/skills",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
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"
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agentic-dev",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "A controlled way to run non-trivial engineering work with Claude Code. The subagent-driven-development skill sizes the work, writes and audits a spec and plan, delegates implementation to subagents task by task, reviews every diff, runs a strict whole-branch gate audit, then merges and releases only with the owner's explicit OK. Ships audit and dispatch prompt templates, spec and plan templates, a ledger that survives context compaction, and scripts that generate per-task briefs. A SessionStart hook tells the model when to load the skill without being asked, and flags unfinished deliveries in the current repo.",
5
5
  "author": {
6
6
  "name": "Vocdoni",
@@ -27,7 +27,7 @@ json_escape() {
27
27
  printf '%s' "$1" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e 's/ /\\t/g' | awk '{ printf "%s%s", (NR > 1 ? "\\n" : ""), $0 }'
28
28
  }
29
29
 
30
- msg="The agentic-dev plugin is installed. When a request needs multi-step code changes that will be merged (a feature, a refactor or port across modules, a protocol, API, wire-format or schema change, a data migration, work across several repos, a deploy or release, or a benchmark-driven speed-up), load the subagent-driven-development skill (Skill tool, agentic-dev:subagent-driven-development) even if the user does not mention it. This includes requests phrased as a question or a wish (\"can X do Y?\", \"it would be nice to have...\") whenever your answer would propose a design. Load it before proposing a design or writing code, not after. Skip it for questions about how code works, read-only investigation and fixes of one or two files."
30
+ msg="The agentic-dev plugin is installed. Load the subagent-driven-development skill (Skill tool, agentic-dev:subagent-driven-development) before proposing a design or writing code when the work is long (many steps, several modules or repos, more than one session) or touches a critical component (authentication, authorization, secrets, payments, voting or ballot logic, cryptography, data migrations, wire formats or schemas, deployments or releases), even if the user does not mention it, and including requests phrased as a question or a wish (\"can X do Y?\", \"it would be nice to have...\"). Also load it when the user mentions a spec, plan, audit, ledger or subagents, or the repo has a .delivery/ folder. For everything else, including multi-file changes in one module, do the work directly (with the installed subagents when they fit) and say in one line that you took the light path."
31
31
 
32
32
  root=$(git -C "$cwd" rev-parse --show-toplevel 2>/dev/null || true)
33
33
  open=""
@@ -1,6 +1,6 @@
1
1
  ---
2
2
  name: subagent-driven-development
3
- description: Runs engineering work that needs a plan as a controlled delivery. The main session sizes the work, designs it with the user, delegates implementation to subagents and reviews every diff. An auditor model reviews each spec, plan and branch before merge. Load it proactively, without being asked, when a request implies multi-step code changes that will be merged. That includes requests phrased as a question or a wish ("can X do Y?", "it would be nice to have...") whenever your answer would propose a design. Examples are implementing a feature, refactoring or porting a module, changing a protocol, API, wire format or schema, migrating data, working across repos, deploying or releasing, and benchmark-driven speed-ups. Also load it when the user mentions a spec, plan, subagents, an audit or a ledger, asks to resume delivery work, or the repo has a .delivery/ folder. Load it before proposing a design or writing code. Skip it for questions about how code works, read-only investigation and fixes of one or two files.
3
+ description: Runs engineering work that needs a plan as a controlled delivery. The main session sizes the work, designs it with the user, delegates implementation to subagents and reviews every diff. An auditor model reviews each spec, plan and branch before merge. Load it proactively, without being asked, when the work is long (many steps, several modules or repos, more than one session) or touches a critical component: authentication, authorization, secrets, payments, voting or ballot logic, cryptography, data migrations, wire formats or schemas, deployments or releases. That includes requests phrased as a question or a wish ("can X do Y?", "it would be nice to have...") whenever your answer would propose such a design. Also load it when the user mentions a spec, plan, subagents, an audit or a ledger, asks to resume delivery work, or the repo has a .delivery/ folder. Skip it for everything else, including multi-file changes in one module: do that work directly and say in one line that you took the light path.
4
4
  ---
5
5
 
6
6
  # Subagent-driven development
@@ -16,7 +16,7 @@ survives context compaction.
16
16
 
17
17
  | Model role | What the model must be good at | Skill roles that use it | Default | Agent tool `model` |
18
18
  |---|---|---|---|---|
19
- | **auditor model** | The strongest reasoning available: holding a spec, a plan and a whole-branch diff in mind at once, finding what the author missed, arguing soundness, concurrency and security. Speed and cost matter least. | Auditor and consultant | Fable 5.1 | `fable` |
19
+ | **auditor model** | The strongest reasoning available: holding a spec, a plan and a whole-branch diff in mind at once, finding what the author missed, arguing soundness, concurrency and security. Speed and cost matter least. | Auditor and consultant | Fable 5.2 | `fable` |
20
20
  | **strong model** | Deep coding and reasoning at a moderate cost: long plans written against real code, subtle fixes, concurrency, cryptography, security paths. | Plan drafter, Hard fixer, implementers of security-sensitive tasks | Opus 5.5 | `opus` |
21
21
  | **standard model** | Reliable multi-file implementation and code reading at a low cost, following a precise brief. | Implementer, Code mapper | Sonnet 5.5 | `sonnet` |
22
22
  | **fast model** | Quick, cheap execution of fully specified edits: transcribing given code, renames, vendoring, single-file changes. | Mechanical implementer | Haiku 5.5 | `haiku` |
@@ -37,7 +37,7 @@ stronger, and steps 4 and 5 only apply when the default cannot be used.
37
37
  1. **The owner or the repo names a model.** An instruction from the owner, or a rule in the
38
38
  repo's CLAUDE.md or CONTRIBUTING, wins over everything below.
39
39
  2. **A newer version of the default exists.** Use the newest version in the default's family
40
- (Fable 5.5 once it ships replaces Fable 5.1, Opus 6 replaces Opus 5.5). Family aliases such as
40
+ (Fable 5.5 once it ships replaces Fable 5.2, Opus 6 replaces Opus 5.5). Family aliases such as
41
41
  `fable` or `opus` in Claude Code's Agent tool normally resolve to the newest version the
42
42
  harness offers, so prefer the alias to a pinned model ID. Where the harness only takes full
43
43
  IDs, pick the highest version in the family. Check the model list in your environment or
@@ -76,7 +76,7 @@ pass as the Agent tool's `model`, plus the concrete version when you know it. Re
76
76
  placeholder line the script writes, including its hint:
77
77
 
78
78
  ```
79
- Models: auditor=fable (Fable 5.1) strong=opus standard=sonnet fast=haiku
79
+ Models: auditor=fable (Fable 5.2) strong=opus standard=sonnet fast=haiku
80
80
  ```
81
81
 
82
82
  Always set the Agent tool's `model` from this line. If you leave it out, the subagent inherits
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vocdoni-contributing",
3
- "version": "0.1.0",
4
- "description": "Vocdoni's rules for what the agent writes on the git host: who it introduces itself as, length and structure for PR/MR descriptions, issues, reviews and commits, and how to post a review as a review. A SessionStart hook injects the same rules into every Claude Code session, so they apply even when a PR is one step of a larger task.",
3
+ "version": "0.2.0",
4
+ "description": "Vocdoni's rules for what the agent writes on the git host: tying each change to an issue (found, or opened before the PR), who it introduces itself as, length and structure for PR/MR descriptions, issues, reviews and commits, and how to post a review as a review. A SessionStart hook injects the same rules into every Claude Code session, so they apply even when a PR is one step of a larger task.",
5
5
  "author": {
6
6
  "name": "Vocdoni",
7
7
  "url": "https://vocdoni.io"
@@ -1,5 +1,5 @@
1
1
  {
2
- "description": "Injects the vocdoni-contributing rules (PR/MR descriptions, issues, reviews, commits) into every session by reading the skill body from SKILL.md",
2
+ "description": "Injects the vocdoni-contributing rules (issue tracking, PR/MR descriptions, issues, reviews, commits) into every session by reading the skill body from SKILL.md",
3
3
  "hooks": {
4
4
  "SessionStart": [
5
5
  {
@@ -2,8 +2,8 @@
2
2
  # SessionStart hook for the vocdoni-contributing plugin.
3
3
  #
4
4
  # Injects the contributing skill body (SKILL.md without its YAML frontmatter) into every session, so the
5
- # rules for PR/MR descriptions, issues, reviews and commits apply even when they are one step of a larger
6
- # task and the skill's description never matches. Reads the body from SKILL.md so there is one source of truth.
5
+ # rules for tracking work in an issue, PR/MR descriptions, issues, reviews and commits apply even when they
6
+ # are one step of a larger task and the skill's description never matches. Reads the body from SKILL.md so there is one source of truth.
7
7
  #
8
8
  # Prints hookSpecificOutput JSON on stdout. Reads no input, writes nothing on error, never blocks, always exits 0.
9
9
  # Plain bash 3.2 so it runs on stock macOS.
@@ -29,7 +29,7 @@ json_escape() {
29
29
  printf '%s' "$1" | sed -e 's/\\/\\\\/g' -e 's/"/\\"/g' -e "s/$tab/\\\\t/g" | awk '{ printf "%s%s", (NR > 1 ? "\\n" : ""), $0 }'
30
30
  }
31
31
 
32
- msg="The vocdoni-contributing plugin is installed. Follow these rules whenever you write or post to the git host, even as one step of a larger task:
32
+ msg="The vocdoni-contributing plugin is installed. Follow these rules whenever you start a change in a repository or write or post to the git host, even as one step of a larger task:
33
33
 
34
34
  $body"
35
35
 
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  name: contributing
3
- description: Use whenever writing or posting a pull request or merge request description, an issue, a code review, a review comment or a commit message, on GitHub, GitLab or any other git host, through gh, glab or the web, including as one step of a larger task. Sets how to introduce yourself as the agent acting for the user, length limits and structure for PRs, issues and reviews, and how to post a review.
3
+ description: Use whenever starting work on a change in a repository, or writing or posting a pull request or merge request description, an issue, a code review, a review comment or a commit message, on GitHub, GitLab or any other git host, through gh, glab or the web, including as one step of a larger task. Sets how to tie the work to an issue (find one, or open one before the PR), how to introduce yourself as the agent acting for the user, length limits and structure for PRs, issues and reviews, and how to post a review.
4
4
  ---
5
5
 
6
6
  # Contributing
7
7
 
8
- These rules cover everything you write on the git host for the user: pull or merge request descriptions, issues, reviews, review comments and commits.
8
+ These rules cover the issue that tracks your work and everything you write on the git host for the user: pull or merge request descriptions, issues, reviews, review comments and commits.
9
9
 
10
10
  ## Introduce yourself
11
11
 
@@ -13,6 +13,12 @@ Start every PR description, issue, review and comment you post with one line say
13
13
 
14
14
  Don't add a `Co-authored-by` trailer for yourself to commits. The person running you answers for the change.
15
15
 
16
+ ## Track the work in an issue
17
+
18
+ Every change that ends in a PR links to an issue, so the work can be found later and isn't done twice. When you start, look for one that already covers it: the issue the user named, one linked from the branch (a host development link, or a name like `58-fix-x`) or from its open PR, else a search of the repository's issues, closed ones included (`gh issue list --state all --search "<keywords>"`, `glab issue list --all --search "<keywords>"`). Reopen a fitting issue that was completed if the problem is back; if it was closed as not planned, tell the user before going on. If none fits, open one following the rules below just before you open the PR. When the work will not end in a PR, ask the user before opening an issue.
19
+
20
+ Link the issue from the PR description: `Closes #N` when the PR finishes it, `Refs #N` when it is one part. When an issue exists but there is no PR, put the same line in the final commit message. Questions, reviews and other work that changes nothing need no issue. If the repository has issues disabled, or you cannot search or create them, say so and carry on without one.
21
+
16
22
  ## Pull requests
17
23
 
18
24
  Keep descriptions under ~15 lines of markdown, code blocks included: what changed and why, any non-obvious decisions, how it was tested, and **one** usage example if the change has a user-facing surface. Skip anything the diff or README already says.