From darkroom
Audits cc-settings repo against Claude Code changelog; identifies features to adopt and duplications to remove. Pauses for approval before edits. Triggers on 'sync with claude code', 'changelog sync', 'upstream sync'.
npx claudepluginhub darkroomengineering/cc-settingsThis skill uses the workspace's default tool permissions.
Track the official Claude Code changelog and keep cc-settings (schemas, config,
Updates local cc-settings repo (~/.claude/cc-settings) from origin/main: detects version drift, shows git log and CHANGELOG changes, checks for uncommitted edits and branch, pulls with safety, runs installer.
Analyzes Claude Code changelog for breaking changes, new features, deprecations, and impacts on plugins. Identifies required updates and opportunities after releases.
Audits Claude Code configurations (CLAUDE.md, skills, settings, agents) against latest features, best practices, and changelog. Triggers on 'evolve', 'audit config', 'upgrade' requests.
Share bugs, ideas, or general feedback.
Track the official Claude Code changelog and keep cc-settings (schemas, config, hooks, agents, docs) in sync with new features. Removes anything that duplicates native functionality.
This is run on a weekly cadence. The mechanical parts are scripted; the judgment calls (which features to adopt, what counts as duplication) require human review at the gate.
Always run from the cc-settings repo root. If you're not there, ask the user
where it is — don't guess.
pwd # should end in /cc-settings
git status # tree must be clean before starting
If the tree is dirty, ask the user to commit or stash first. Sync work needs a clean baseline so the diff is reviewable.
bun run upstream:scan
This compares upstream/claude-code-manifest.json against the live
@anthropic-ai/claude-code npm version. Two outcomes:
manifest=A → live=B.Fetch the official changelog and extract entries between the manifest version (exclusive) and the live version (inclusive):
WebFetch url: https://raw.githubusercontent.com/anthropics/claude-code/main/CHANGELOG.md
prompt: Extract entries for versions <A+1> through <B> verbatim. List each
version's bullet points exactly as written.
Do not paraphrase. Quote the upstream bullets verbatim — the user needs to see exactly what was said upstream to validate your categorization.
For each upstream change, decide which bucket it falls into. Read these files to inform the decision (use parallel tool calls):
| Bucket | What to check |
|---|---|
| Settings keys | src/schemas/settings.ts (zod schema, strict — drift fails parse) |
| Hook events / types | src/schemas/hooks.ts (5-arm discriminated union as of v10.3.0) |
| MCP fields | src/schemas/mcp.ts (shared mcpCommon for cross-transport fields) |
| Env vars | upstream/claude-code-manifest.json knownEnvVars, docs/settings-reference.md env table, config/10-core.json env block |
| Hook wiring | config/40-hooks.json, src/hooks/, src/scripts/ |
| Statusline | src/hooks/statusline.ts (Payload type) |
| Agent frontmatter | agents/*.md (currently uses tools, disallowedTools, maxTurns, permissionMode, effort, isolation, hooks, mcpServers, initialPrompt) |
| Slash commands | MANUAL.md "All Skills" table, skills/*/SKILL.md triggers |
| User-facing docs | MANUAL.md, CLAUDE-FULL.md, docs/settings-reference.md, docs/hooks-reference.md |
cc-settings has historically duplicated upstream work, then deleted it once the upstream version stabilized. Watch for these patterns:
Skill tool
replaced our skill-activation.ts in v10.1.0).Write a markdown table to the chat:
## v<A> → v<B> sync plan
### Adopt
| Change | Files | Notes |
|---|---|---|
| ... | ... | ... |
### Dedupe
| Native feature | What to remove | Why redundant |
|---|---|---|
### Docs-only
| Change | File |
|---|---|
### Skip
| Change | Reason |
|---|---|
Then ask the user one question: which rows do they approve?
Do not edit before approval.
For approved adoptions, edit the files directly. Schemas first (they're the contract), then config, then docs. For deduptions, delete the orphaned code and any tests that asserted on it.
After each schema edit, also update upstream/claude-code-manifest.json
(knownSettingsKeys, knownHookTypes, knownEnvVars) — the scanner uses
this as the source of truth.
upstream/claude-code-manifest.json
- claudeCodeVersion: "<B>"
- lastScan: <today ISO>
src/setup.ts
- VERSION: bump (minor for new features, patch for fixes-only)
CHANGELOG.md
- Prepend new section: "## [<new-version>] — <today YYYY-MM-DD>"
CHANGELOG entry structure (mirror prior entries — 10.1.0, 10.2.0, 10.2.1, 10.3.0 are good examples):
bun run typecheck
bun test
bun run upstream:scan # should now show "no drift detected"
bun run compose | head # spot-check that new fields surface in settings.json
If any fail: fix before moving on. Tests must pass.
git add -A
git commit -m "feat(v<new-version>): sync with Claude Code v<B>
<one-paragraph summary>
Adopted:
- ...
Deletions:
- ..."
git push origin main
Use conventional commit prefix feat(v<X.Y.Z>): so the version stands out in
git log. Do not push if anything in Phase 7 is failing.
~/.claude/settings.json. cc-settings is the
source — users get the changes by re-running setup.sh.cc-settings exists in three time zones:
upstream/claude-code-manifest.json.Drift between (1) and (2) means the scanner is stale. Drift between (2) and (3) means our schemas accept things our installer never configures, or vice versa — usually fine, but worth flagging.
This skill aligns all three.