Skip to content

skill-quality: check resolves plugin-cache installs (plugin:skill) + HEAD keyword comparison for cache roots #1152

Closed

Description

@kyle-sexton

Parent

Source: handoff-inbox item 20260723-090435-melodic-session-plugins-audit (F2, MED), producer SW2030 (Windows/PowerShell).

What to build

skill-quality:check cannot resolve marketplace/plugin-cache-installed skills by name. Reproduced twice by the producer: check source-control:setup and check planning:interview fall back to the consuming project's .claude/skills/ and miss plugin-cache installs; the operator had to set CHECK_SKILL_SKILLS_ROOT to each plugin's cache skills/ dir by hand. Marketplace installs are the common real-world case for this gate.

Ship: resolve plugin:skill names against the plugin cache (the same registry the Skill tool uses — ~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills/<skill>) before falling back to project/user skill roots. Bare names keep current resolution order.

Related, same fix surface: check 3 (trigger-keyword preservation vs HEAD) reports "no HEAD version, treated as new skill" for cache installs — but the cache IS a git checkout of the marketplace repo, so a HEAD version exists; the comparison just isn't wired for that root. Wire the HEAD comparison to work when the resolved skills root sits inside a git checkout.

Reproduce both behaviors before fixing; do not trust the brief's framing.

Acceptance criteria

  • check <plugin>:<skill> resolves a plugin-cache-installed skill with no CHECK_SKILL_SKILLS_ROOT override; documented resolution order covers cache → project → user (or the deliberately chosen order)
  • Multiple installed versions in cache: newest (or the Skill-tool-active) version is selected deterministically and the choice is documented
  • Check 3 keyword-preservation compares against HEAD when the resolved root is inside a git checkout (cache installs included) instead of reporting "new skill"
  • CHECK_SKILL_SKILLS_ROOT override still wins when set (back-compat)
  • Tests/evals cover cache resolution + HEAD wiring; skill-quality gate passes on the changed skill; plugin.json version bumped

Blocked by

None — can start immediately.

Activity

  1. added
    status: ready
    on Jul 23, 2026
  2. added theissue type on Jul 23, 2026
  3. self-assigned this
    on Jul 23, 2026
  4. kyle-sexton commented on Jul 23, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

status: ready

Type

Fields

No fields configured for Bug.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions