Skip to content

claude-config: audit-skill mechanical fixes observed on a 2026-09-08 cloud run #3990

Closed

Description

@kyle-sexton

Summary

A full /claude-config:audit run on this repository (Claude Code 2.1.263, cloud session) surfaced six independent defects in plugins/claude-config/skills/audit. None depends on the design work in #3989.

Items

  1. Doc pointers name the wrong page. SKILL.md Phase 3.1 and reference/audit-checklist.md (Categories G and I) cite code.claude.com/docs/en/settings for skillListingBudgetFraction, skillListingMaxDescChars, disableDeepLinkRegistration, autoMemoryEnabled, enabledPlugins, disableAllHooks, allowManagedHooksOnly, strictPluginOnlyCustomization. A verbatim fetch of settings.md has zero hits for every one; they live on settings-reference.md. Fix the pointers and add a fetch-and-grep test per docs/conventions/upstream-drift that fails when a cited page stops carrying a cited key.
  2. scripts/check-plugin-drift.sh skips directory-source marketplaces. It resolves upstream through source.repo and reports SKIP when none is declared, so this repository's own catalog is never diffed. Read the on-disk marketplace.json for a directory source. (Observed: code-metrics and writing were in the catalog and on the fleet list but enabled nowhere; the script said SKIP.)
  3. scripts/check-hook-coverage.sh inventories the cache, not the loaded source. It resolves plugin hooks through installed_plugins.json installPath, which on a directory-source marketplace is a versioned cache snapshot. The session loaded every plugin from ./plugins/<name> at HEAD (debug log: Loading plugin guardrails from source: "./plugins/guardrails"). The inventory reported "complete" while omitting guardrails' ^mcp__github__(push_files|create_or_update_file)$ PreToolUse gate and five per-extension PostToolUse rows that were live. Resolve from the marketplace directory for directory sources and report cache-versus-loaded divergence as info.
  4. Category G prompts for /doctor or a --debug relaunch before checking an existing debug log. This session's log already carried Skill listing over budget: 211 skills, 155730 chars > 150000 budget. Search the documented debug-log locations first and parse that line.
  5. reference/known-issues.md rows carry no last-verified date. When Phase 3.2 cannot reach GitHub (GraphQL blocked and REST 403 on an unattached repo in cloud sessions), "unverified" has no age. Add a last-verified column and make Phase 3.2 degrade in order: REST, then claude-ops:known-issues when installed, then "unverified since ". Never blocking.
  6. SKILL.md has no ## Next section, which .claude/rules/skill-bodies-state-current-rules.md expects.

Verification

Each item carries its own test: the contract suites for the two scripts (check-plugin-drift.test.sh, check-hook-coverage.test.sh) gain a directory-source fixture; the doc-pointer test runs in CI via the upstream-drift lane; items 4 to 6 are checked by a re-run of the audit on this repository.

Related

Activity

  1. added
    needs-triage
    on Sep 8, 2026
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-triage

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions