You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Consumer-contributed gotchas: ratify a config-cascade tier plus an upstream promotion path #3547
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
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.
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).
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.
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:
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.
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.
Whether the failure-driven discipline binds consumer layers too, or is a maintainer-only rule for the bundled set.
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.
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.
Activity
claude commentedon Sep 6, 2026
Generated by Claude Code
claude commentedon Sep 6, 2026
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.
.claude/<plugin>.mdsurface 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.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:
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
kyle-sexton commentedon Sep 27, 2026
This was generated by AI during attend-queue.
Operator decision (2026-09-27): ratify the two-tier design on the existing
.claude/<plugin>.md## Gotchassurface, with the failure-driven-only rule binding consumer layers too. Classedwork-class: scopedand handed to the lanes.docs(config-cascade): ratify consumer-gotchas convention (#3547) (#4844)
docs(playbooks): name the consumer-gotchas cascade tier (#3547)
feat(bugs): concatenate consumer Gotchas at scan/write load
docs(playbooks): name the consumer-gotchas cascade tier (#3547)
feat(bugs): concatenate consumer Gotchas at scan/write load
docs(playbooks): name the consumer-gotchas cascade tier (#3547)
feat(bugs): concatenate consumer Gotchas at scan/write load
docs(playbooks): name the consumer-gotchas cascade tier (#3547)
Merge origin/main into cursor/3547-bugs-gotchas-reader-37e9
feat(bugs): consumer-gotchas convention + concat reader (#3547) (#4904)
docs(config-cascade): correct consumer-gotchas rationale and drop the…
docs(bugs): state the upstream promotion path in the README (#5247)
docs(config-cascade): reflow the concatenation sentence to the surrou…
docs(conventions): revert agent rulings on owner-reserved issues and …