docs(adr): amend ADR-0035 for built-in plugin skills on 2.1.337

Refs #286

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014uGZTNugst7K9Bd2FTR4Mi
This commit is contained in:
Defame1297andClaude Opus 5.5 committed 2026-12-06 17:04:41 +00:00
1 parent 90394464e0
commit 96300834ef
1 file changed
+23 -2
@@ -1,6 +1,6 @@
# Bundled Claude Code skills are turned off with one user-level switch
**Status: accepted (2026-12-03).**
**Status: accepted (2026-12-03), amended 2026-12-06 (#286).**
## Context
@@ -10,6 +10,9 @@ from `skillOverrides` is on, and `Skill(x)` allow rules do not restrict other sk
wanted a setting that also covers bundled skills added later. A custom `/ship` is also not loaded
where the built-in one is available.
On Claude Code 2.1.337 the switch does not cover built-in plugins (`cc-plugin-*@builtin`). Their
skills `design`, `doctor` and `plugin-authoring` still load, and so do their tools (#286).
## Decision
**Bundled skills are turned off with one switch, not a per-name list.** The settings live at user
@@ -20,6 +23,14 @@ level in `providers/claude-code/settings.json`, which `scripts/install.sh` deplo
- `syncClaudeAiSkills: false`
- `env.CLAUDE_CODE_DISABLE_SHIP: "1"`, the documented fix for the custom `/ship`.
- `skillOverrides.init: "off"`
- `skillOverrides` `design`, `doctor` and `plugin-authoring`: `"off"`, for the built-in plugin skills.
- `enabledPlugins`: `cc-plugin-easel@builtin` and `cc-plugin-plugin-authoring@builtin` set to `false`.
`cc-plugin-privacy`, `-agents-md`, `-telemetry` and `-verbs` stay on: they add no skills and their
behaviour has not been checked.
- `syncClaudeAiPlugins: false`, the plugin counterpart of `syncClaudeAiSkills`.
**A per-name `skillOverrides` blocklist is accepted for built-in plugin skills only**, because the
single switch does not reach them. Bundled skills stay under the switch.
Holocron does not distribute these settings to consumer repos. User-level settings already apply to
every repo on the machine, and another machine needs its own `install.sh` run.
@@ -31,6 +42,7 @@ The merge is a separate implementation ticket, not part of this ADR's PR.
## Considered options
**A `skillOverrides` blocklist (rejected).** It needs a new entry for each unwanted skill that ships.
It is now used for built-in plugin skills (#286), but is still rejected as the general mechanism.
**`skillOverrides` in the committed `.claude/settings.json`, as #266 proposed (rejected).** apm owns
that file and `apm audit --ci` fails on hand-added keys (AGENTS.md, ADR-0018, ADR-0019). apm 0.39.3
@@ -49,6 +61,9 @@ operator chose to turn off all syncing.
2. All synced `anthropic-skills:*` are lost, including `pdf`, `docx`, `xlsx` and
`satisfactory-helper`. Claude Code moves the synced copies to `.trash`.
3. New built-in commands, as opposed to bundled skills, are not covered.
4. Each new built-in plugin skill needs its own `skillOverrides` entry.
5. The `cc-plugin-easel` chart tool and the `cc-plugin-plugin-authoring` `scan_secrets` MCP server are
lost.
## Evidence
@@ -57,6 +72,12 @@ operator chose to turn off all syncing.
- **Documented, not tested:** that the custom `/ship` loads in an interactive session with
`CLAUDE_CODE_DISABLE_SHIP=1`.
- **From the docs only:** the `syncClaudeAiSkills` behaviour.
- **Tested** in headless mode on Claude Code 2.1.337, from the `init` event of
`claude -p … --output-format stream-json --verbose`: `skillOverrides` for `design`, `doctor` and
`plugin-authoring`, and `enabledPlugins` for the two plugins.
- **From the setting's description in the binary only:** the `syncClaudeAiPlugins` behaviour.
- `enabledPlugins` lives in the user-level file, so ADR-0018's ban on it in the project
`.claude/settings.json` does not apply.
- Sources: code.claude.com/docs/en/settings-reference, `/skills` and `/ship-command-troubleshooting`.
Related: ADR-0018, ADR-0019; #266.
Related: ADR-0018, ADR-0019; #266, #286.