Skip to content

Add Claude Code plugin support and fix stale swe-skills references - #1

Merged
addyosmani merged 2 commits into
addyosmani:mainfrom
federicobartoli:fix/add-claude-plugin-manifest
Mar 4, 2026
Merged

addyosmani merged 2 commits into
addyosmani:mainfrom
federicobartoli:fix/add-claude-plugin-manifest

Conversation

@federicobartoli

@federicobartoli federicobartoli commented Feb 23, 2026 •

Copy link
Copy Markdown
Collaborator

Two related changes to make agent-skills work as a first-class Claude Code plugin.

Commit 1 — Rename stale swe-skills references to agent-skills

The repository was renamed from swe-skills to agent-skills but internal
references were never updated. This caused silent failures:

  • session-start.sh failed silently — it looked for using-swe-skills/ which
    no longer exists; the directory is using-agent-skills/
  • Slash commands invoked a non-existent swe-skills: namespace
  • Docs and setup guides pointed at the old clone URL

Renames all occurrences across 14 files: commands, CLAUDE.md, README, docs/,
and hooks/.

Commit 2 — Add Claude Code plugin manifest and marketplace catalog

(happy to split this out if you'd prefer to evaluate separately)
Makes this repo installable as a Claude Code plugin:

/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skills

.claude-plugin/plugin.json — plugin manifest exposing .claude/commands/
as namespaced slash commands (/agent-skills:spec, /agent-skills:build, etc.).

.claude-plugin/marketplace.json — marketplace catalog. The marketplace name
is addy-agent-skills because agent-skills is reserved by Anthropic.

hooks/hooks.json — fixes the hook command to use ${CLAUDE_PLUGIN_ROOT}
so session-start.sh resolves correctly when the plugin is installed into the
local cache (~/.claude/plugins/cache/).

README — replaces the non-existent claude plugin add command with the
correct /plugin marketplace add workflow; adds --plugin-dir instructions
for local development.

Testing

# Development
claude --plugin-dir /path/to/agent-skills

# After merge to main
/plugin marketplace add addyosmani/agent-skills
/plugin install agent-skills@addy-agent-skills

The repository was renamed from swe-skills to agent-skills but
internal references were never updated. This caused:
- session-start.sh to silently fail (path using-swe-skills/ did
  not exist; the directory is using-agent-skills/)
- slash commands to invoke non-existent swe-skills: namespace
- docs and setup guides to point at the old clone URL

Rename all occurrences across 14 files: commands, CLAUDE.md,
README tree, docs/, and hooks/.
Enable this repo to work as a Claude Code plugin so users can
install it via `/plugin marketplace add addyosmani/agent-skills`.

Add:
- .claude-plugin/plugin.json — plugin manifest exposing
  .claude/commands/ as namespaced slash commands under
  the agent-skills: prefix
- .claude-plugin/marketplace.json — marketplace catalog
  listing this repo as the agent-skills plugin

Fix:
- hooks/hooks.json — rewrite from deprecated flat-array format
  to the plugin-system format keyed by event type; use
  ${CLAUDE_PLUGIN_ROOT} so the hook resolves correctly when the
  plugin is installed from the marketplace into the local cache
- README — replace non-existent `claude plugin add` with the
  correct `/plugin marketplace add` workflow; document namespaced
  slash commands and --plugin-dir usage; add .claude-plugin/ to
  the project tree

@addyosmani addyosmani left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!

@addyosmani
addyosmani merged commit 8298148 into addyosmani:main Mar 4, 2026
addyosmani pushed a commit that referenced this pull request Apr 11, 2026
…-update

Update README with Kiro IDE and CLI information
rafiquecudjoe pushed a commit to rafiquecudjoe/agent-skills that referenced this pull request Jun 1, 2026
…lugin-manifest

Add Claude Code plugin support and fix stale swe-skills references
rafiquecudjoe pushed a commit to rafiquecudjoe/agent-skills that referenced this pull request Jun 1, 2026
…vas-readme-update

Update README with Kiro IDE and CLI information
addyosmani pushed a commit that referenced this pull request Aug 14, 2026
…lity requirements (#431)

Implements the v1 scope agreed in #431: when one requirement bundles
several independently testable capabilities, spec-driven-development now
runs a bounded front-step before Specify — detect multi-capability scope,
propose a capability map (stable module ids, one-way dependency direction,
build order), gate it on human approval, then recurse the gated workflow
per module in dependency order.

Kept deliberately small per the maintainer's scoping:
- detection + module map + stable identity only; no per-module artifact
  tree — module specs reuse the root-level SPEC-<id>.md naming so the
  layout follows the delta-spec direction in #383 rather than leading it
- the simple path is preserved: single-capability requests skip Phase 0
  entirely, and the section says so first
- non-goals held: no PM framework, no forced hierarchy on small features

Also:
- description gains the decomposition vocabulary so realistic asks route
  here (both new positive triggers rank #1)
- /spec command wrappers (.claude, commands/, .gemini) gain one matching
  step, kept in parity
- eval case: +2 positive triggers, +1 owner-negative guarding the
  planning-and-task-breakdown boundary, +1 execution eval backed by a new
  multi-capability fixture (portal-brief.md)

Verification: validate-skills 24/24, validate-commands 8/8, run-evals
127 checks 0 errors 0 warnings, rank-1 86% (67/78) over floor 80,
behavioral dry-run resolves both spec evals.
hillemacher pushed a commit to hillemacher/agent-skills that referenced this pull request Aug 17, 2026
…lity requirements (addyosmani#431)

Implements the v1 scope agreed in addyosmani#431: when one requirement bundles
several independently testable capabilities, spec-driven-development now
runs a bounded front-step before Specify — detect multi-capability scope,
propose a capability map (stable module ids, one-way dependency direction,
build order), gate it on human approval, then recurse the gated workflow
per module in dependency order.

Kept deliberately small per the maintainer's scoping:
- detection + module map + stable identity only; no per-module artifact
  tree — module specs reuse the root-level SPEC-<id>.md naming so the
  layout follows the delta-spec direction in addyosmani#383 rather than leading it
- the simple path is preserved: single-capability requests skip Phase 0
  entirely, and the section says so first
- non-goals held: no PM framework, no forced hierarchy on small features

Also:
- description gains the decomposition vocabulary so realistic asks route
  here (both new positive triggers rank addyosmani#1)
- /spec command wrappers (.claude, commands/, .gemini) gain one matching
  step, kept in parity
- eval case: +2 positive triggers, +1 owner-negative guarding the
  planning-and-task-breakdown boundary, +1 execution eval backed by a new
  multi-capability fixture (portal-brief.md)

Verification: validate-skills 24/24, validate-commands 8/8, run-evals
127 checks 0 errors 0 warnings, rank-1 86% (67/78) over floor 80,
behavioral dry-run resolves both spec evals.
zeekay pushed a commit to Dream-AI-4444/addys-agent-skills that referenced this pull request Sep 9, 2026
…lugin-manifest

Add Claude Code plugin support and fix stale swe-skills references
zeekay pushed a commit to Dream-AI-4444/addys-agent-skills that referenced this pull request Sep 9, 2026
…vas-readme-update

Update README with Kiro IDE and CLI information
vyasdx added a commit to vyasdx/agent-skills that referenced this pull request Sep 22, 2026
…be drift

The eval gate was still failing after the rebase: "Set something up so our
module docs cannot silently go out of date again" ranked addyosmani#8, needing top 3.

Cause is the scorer, not the wording. run-evals stems tokens, and
"documentation" does not stem to "doc" - so a description written entirely in
terms of "documentation" shares almost nothing with a prompt written in terms
of "docs". Only "out" overlapped. The description described drift correctly and
still could not be retrieved by anyone asking about it in the shorter register.

Fixed by carrying the vocabulary the prompts actually use - docs, module docs,
out of date - alongside the existing wording rather than replacing it, so the
ADR prompts keep the terms they match on.

All five positive triggers now rank addyosmani#1 (worst was addyosmani#8). Full suite: 142 checks
passed, 0 errors, and the repo-wide rank-1 rate goes 99% -> 100% (90/90).
Negative triggers unchanged - debugging and security still own theirs.
Yi-111-a pushed a commit to Yi-111-a/agent-skills that referenced this pull request Oct 14, 2026
…tually guard

Two blocking items from review on addyosmani#668.

Adding 'ation' without 'ations' left the plural longer than its singular:
migration -> migr but migrations -> migration. That halves the score for
'Plan the database migrations' (0.354 -> 0.093) where the two forms used to
match. Both are now listed, with a regression test that fails on the
one-form list. The -ifications rule above already handled both forms.

The pinned auth case was not a guard: 'Add auth to the login flow' ranks addyosmani#1
on main because 'login' and 'flow' are in the description, so it passes
without the alias map. Swapped for 'Add auth and rotate the session cookie'
(addyosmani#4 on main, addyosmani#1 with the alias), and the sandbox test for the alias map
still fails on its own if the map is dropped.

Corpus: 91/91 rank-1, 143 checks, 40/40 unit tests.
addyosmani pushed a commit that referenced this pull request Oct 29, 2026
The Tier-2 trigger scorer never matched clipped forms users type
(docs, auth, config) to the long forms used in descriptions
(documentation, authentication), so same-register prompts ranked #1-2
while clipped-register prompts sank to #18-20 (see #660).

Fix in the stemmer, not the descriptions: a small explicit alias map
applied before stemming plus -ation folding, so both registers stem
identically. Adds clipped-register positive prompts to the
security-and-hardening and documentation-and-adrs case files so a
description that drops back to one register fails CI, and a sandbox
regression test pinning the routing (fails on main, passes with fix).

Before -> after (buildCorpus + rankSkills on main):
- 'Add authentication to our API endpoints' -> security #2 -> #5 (*)
- 'Add auth to our API endpoints' -> security #20 -> #5 (*)
- 'Our documentation is out of date with the code' -> docs #1 -> #1
- 'Our docs are out of date with the code' -> docs #18 -> #1

(*) the API-endpoints auth variant stays genuinely ambiguous with
api-and-interface-design ('API endpoints' is name-weighted 2x there);
no existing rank-1 moved: suite stays 100% (91/91, was 89/89).

Fixes #660
vyasdx added a commit to vyasdx/agent-skills that referenced this pull request Oct 29, 2026
…be drift

The eval gate was still failing after the rebase: "Set something up so our
module docs cannot silently go out of date again" ranked addyosmani#8, needing top 3.

Cause is the scorer, not the wording. run-evals stems tokens, and
"documentation" does not stem to "doc" - so a description written entirely in
terms of "documentation" shares almost nothing with a prompt written in terms
of "docs". Only "out" overlapped. The description described drift correctly and
still could not be retrieved by anyone asking about it in the shorter register.

Fixed by carrying the vocabulary the prompts actually use - docs, module docs,
out of date - alongside the existing wording rather than replacing it, so the
ADR prompts keep the terms they match on.

All five positive triggers now rank addyosmani#1 (worst was addyosmani#8). Full suite: 142 checks
passed, 0 errors, and the repo-wide rank-1 rate goes 99% -> 100% (90/90).
Negative triggers unchanged - debugging and security still own theirs.
vyasdx added a commit to vyasdx/agent-skills that referenced this pull request Nov 1, 2026
…be drift

The eval gate was still failing after the rebase: "Set something up so our
module docs cannot silently go out of date again" ranked addyosmani#8, needing top 3.

Cause is the scorer, not the wording. run-evals stems tokens, and
"documentation" does not stem to "doc" - so a description written entirely in
terms of "documentation" shares almost nothing with a prompt written in terms
of "docs". Only "out" overlapped. The description described drift correctly and
still could not be retrieved by anyone asking about it in the shorter register.

Fixed by carrying the vocabulary the prompts actually use - docs, module docs,
out of date - alongside the existing wording rather than replacing it, so the
ADR prompts keep the terms they match on.

All five positive triggers now rank addyosmani#1 (worst was addyosmani#8). Full suite: 142 checks
passed, 0 errors, and the repo-wide rank-1 rate goes 99% -> 100% (90/90).
Negative triggers unchanged - debugging and security still own theirs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants