Skip to content

Consumer-contributed gotchas: ratify a config-cascade tier plus an upstream promotion path #3547

Closed

Description

@kyle-sexton

From the 2026-08-31 fleet skills audit. 123 of 237 skills carry a Gotchas surface; the vendored playbook's failure-driven doctrine (add a line when Claude trips, never pre-populate) is right and stays. The open design question is how CONSUMERS extend gotchas without forking the plugin.

Proposed two-tier design

  1. Local tier: a config-cascade concatenating surface. The config-cascade contract's sanctioned form 1 (concatenate prose across user-global, team, local overlay) is exactly the gotchas shape: accumulating guidance the model reads. A participating plugin resolves consumer gotchas from its existing config surface (a ## Gotchas section of e.g. .claude/<plugin>.md, which bugs, codebase-health, and source-control already read) or a dedicated .claude/<plugin>/gotchas.md, appended after the bundled gotchas at invocation. Loads only when the skill loads.
  2. Upstream tier: issues to this repo. A gotcha that is not repo-specific belongs in the shipped skill so every consumer benefits; that is the marketplace's existing curation model. Make the promotion path explicit in each participating plugin's setup report or README: repo-specific goes in the team layer, generalizable gets filed here.

Rejected alternatives (record the why)

  • Setup writes to consumer CLAUDE.md / CLAUDE.local.md: wrong loading scope. A CLAUDE.md gotcha costs tokens in every session; a skill-surface gotcha loads only with the skill (instruction-placement doctrine).
  • Editing shipped skill files in the plugin cache: lost on update; the hazard CLAUDE_PLUGIN_DATA exists to avoid.
  • A global gotchas file across plugins: same wrong-scope problem plus a merge-semantics knot the cascade already solves per surface.

Work

Ratify the pattern in docs/conventions/config-cascade/ (or a sibling owner doc it points to), add the authoring-time note to playbooks:skill-authoring's gotchas guidance, and pilot on one plugin with an active config surface (bugs or codebase-health).

Activity

  1. added
    needs-triage
    on Aug 31, 2026
  2. claude commented on Sep 6, 2026

    @claude
    Contributor

    Generated by Claude Code

  3. claude commented on Sep 6, 2026

    @claude
    Contributor

    This was generated by AI during triage.

    Triage verification (2026-09-06)

    Claim holds, and the proposed mechanism is better supported than the body claims.

    • The surface is large and growing. 138 skills now carry a Gotchas surface, against the 123 recorded at filing.
    • The proposed local tier already exists and already conforms. The config-cascade conformance table shows both pilot candidates named in the body reading a .claude/<plugin>.md surface across all three layers with concatenating semantics and a declared empty-list opt-out. So the two-tier design's first tier is not a new mechanism; it is an existing, conforming one applied to a new content type. That materially lowers the cost of the proposal and should be weighed in its favor.
    • The rejected alternatives are correctly reasoned. Writing into the consumer's always-loaded instruction file has the wrong loading scope and costs tokens in every session; editing files in the plugin cache is lost on update; a cross-plugin global file reintroduces merge semantics the cascade already solves per surface.

    Triage outcome: human-gated (doctrine ratification)

    Why not agent-ready. The item's own framing is that this is an open design question, and the ask is to ratify a pattern in doctrine. Ratification is a maintainer act by definition: it makes a pattern binding on every future participating plugin, and the failure-driven doctrine it extends ("add a gotcha when Claude trips, never pre-populate") is a deliberate discipline that a consumer-extension tier could erode if consumers pre-populate their own layers. Whether that risk is acceptable is a judgment about how the doctrine holds up when it is no longer only maintainers writing gotchas.

    What must be decided:

    1. Ratify the two-tier design, or not. The local tier reuses an existing conforming cascade surface, so the cost is mostly doctrinal rather than mechanical.
    2. If ratified, whether consumer gotchas resolve from each plugin's existing config surface or from a dedicated per-plugin gotchas file. The body offers both.
    3. Whether the failure-driven discipline binds consumer layers too, or is a maintainer-only rule for the bundled set.
    4. Whether the upstream promotion path is stated in each participating plugin's setup report, its README, or both.

    If ratified, the follow-on work is straightforward and can be re-triaged as delegable: record the pattern in the config-cascade convention or a sibling owner doc it points to, add the authoring-time note to the skill-authoring playbook's gotchas guidance, and pilot on one plugin that already has an active config surface. Both candidates the body names qualify today.

    Related cluster

    This item shares the config-cascade doctrine surface with the customization-consistency follow-ups #3573, #3575 and #3577, which also ask what config-cascade should declare. It comes from a different origin (the fleet skills audit rather than that program), so it is not a member of that cluster, but it amends the same document. Whoever takes up the config-cascade amendment should have all four in view so the convention is edited once rather than four times.


    Generated by Claude Code

  4. added
    needs-human
    and removed
    needs-triage
    on Sep 6, 2026
  5. kyle-sexton commented on Sep 27, 2026

    @kyle-sexton
    MemberAuthor

    This was generated by AI during attend-queue.

    Operator decision (2026-09-27): ratify the two-tier design on the existing .claude/<plugin>.md ## Gotchas surface, with the failure-driven-only rule binding consumer layers too. Classed work-class: scoped and handed to the lanes.

  6. added
    agent-ready
    and removed
    needs-human
    on Sep 27, 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

    agent-ready

    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