Skip to content

skill-quality: first-class resolution of a marketplace-installed skill (deferred from #1152; needs documented-contract decision) #1166

Closed as not planned

Description

@kyle-sexton

Context

Follow-up to #1152. That issue's ergonomic fix makes skill-quality:check plugin:skill print actionable guidance (point CHECK_SKILL_SKILLS_ROOT at the installed skills dir) rather than a bare "not found", and it deliberately does NOT auto-resolve the name against Claude Code's plugin cache — the cache sub-layout (~/.claude/plugins/cache/<marketplace>/<plugin>/<version>/skills) is an undocumented internal detail whose version dir changes on every update, and skill-quality is a repo-agnostic marketplace plugin that shouldn't couple to it.

This issue tracks the deferred, more ambitious option: first-class resolution of an installed skill, if the maintainer decides the ergonomic hint isn't enough.

Open design question (resolve before building)

Is there a DOCUMENTED, stable way to locate an installed skill's files from outside its plugin? As of 2026-07-23 the docs expose ${CLAUDE_PLUGIN_ROOT} (a plugin's own dir only) and confirm the cache exists, but not a lookup API for another plugin's install path. Until such a contract exists, any resolver must reverse-engineer internal paths — the coupling this was scoped out to avoid.

Candidate approaches (do not assume one; decide against the anti-coupling principle):

Acceptance criteria

  • Decision recorded: which approach, and the documented-contract evidence (or its absence) that drove it.
  • If built: check plugin:skill resolves an installed skill with no manual CHECK_SKILL_SKILLS_ROOT; git-backed-check no-op behavior on the copy is documented; opt-in/coupling posture stated.
  • If declined: rationale recorded and this issue closed won't-do.

Blocked by

None — but do not start until the design question above is answered (needs a maintainer call on the coupling tradeoff).

Activity

  1. added
    needs-owner-decision
    on Jul 23, 2026
  2. added
    needs-human
    on Jul 23, 2026
  3. kyle-sexton commented on Jul 29, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI (triage lane, gate-audit pass — cycle 2 retry, instance melo-lap-001-triage-20260727T125559Z).

    Gate-audit verdict: STAYS GATED. Issue is explicitly headed "Open design question (resolve before building)" / "do not start until the design question above is answered (needs a maintainer call on the coupling tradeoff)." Candidate approaches are named as undecided.

    Decision needed — RECOMMENDED: leave it operator-provided (close won't-do) until Claude Code ships a documented lookup API — the anti-coupling principle this issue was scoped out to protect outweighs the ergonomic gain of a best-effort cache resolver today. Alternative: build the opt-in best-effort cache resolver now if marketplace-skill adoption grows before a documented API ships.

    Consensus: fable-lens panel + independent fresh-context second lens + this lane's own read. Labels unchanged (needs-human stays). This lane triages/gate-audits only — it does not resolve the design call or execute a fix.

  4. kyle-sexton commented on Aug 12, 2026

    @kyle-sexton
    MemberAuthor

    Frontier disposition (drain session)

    Ruling: no first-class resolution of marketplace-installed skills. The plugin cache sub-layout is an undocumented internal whose version directory churns on every update; the #1152 ergonomic hint (point CHECK_SKILL_SKILLS_ROOT at the installed skills dir) is the documented contract, and coupling skill-quality to cache internals trades a one-line hint for a standing breakage liability.

    Reopen trigger: upstream documents a stable, supported way to locate an installed skill's files from outside its plugin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-humanneeds-owner-decision

    Fields

    No fields configured for Feature.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions