plugins/promote-claude-settings/skills/promote-claude-settings/SKILL.md
Promote entries from the current project's .claude/settings.local.json into the global ~/.claude/settings.json. Use when user says "promote settings", "upgrade settings", "sync settings to global", "move local settings to global", or wants to move project-local Claude Code settings to global scope.
npx skillsauth add shihyuho/skills promote-claude-settingsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Interactively promote entries from .claude/settings.local.json (project) to ~/.claude/settings.json (global).
.claude/settings.local.json from the current project root~/.claude/settings.json{}), tell the user and stopCompare every top-level key in local against global. For array values (e.g. permissions.allow), compare per-element, not the whole array.
Classify each entry:
| Status | Meaning | |--------|---------| | New | Not in global — can be added | | Exists | Already identical in global — skip | | Conflict | Present in global with a different value |
Present the full diff summary to the user before asking anything.
Walk through every non-"Exists" entry and ask:
Use the question tool for each prompt.
Local settings are often written with project-specific context. Before promoting any entry to global, evaluate whether it contains narrowing signals that won't make sense outside this project. If so, suggest a broader version.
Common narrowing signals:
./mvnw, ./gradlew, ./scripts/foo)/Users/matt/project-x/...)Examples:
| Local value | Why it's too narrow | Suggested generalization |
|---|---|---|
| Bash(./mvnw test:*) | Relative path + subcommand lock | Bash(*mvnw*) |
| Bash(./gradlew build:*) | Relative path | Bash(*gradlew*) |
| Bash(npx vitest:*) | Already generic | Keep as-is |
| Hook command: cd ./api && lint | Relative path | Evaluate if hook makes sense globally |
| Env: PROJECT_ROOT=/Users/matt/foo | Absolute path | Likely should not be promoted |
For each entry being promoted:
X → Suggested: Y — Use suggested version / Keep original / Custom?"If the value is already generic, skip this step for that entry.
Apply confirmed changes to ~/.claude/settings.json with the Edit tool. If the file does not exist, create it.
If removing promoted entries would leave settings.local.json as {}, explain that the file is now effectively empty ({}) and ask whether to delete it entirely or keep the empty file. If the user chooses to keep it, leave the file as-is (do not remove entries).
If removing promoted entries would still leave other entries in the file, ask whether to remove the promoted entries.
~/.claude/settings.json missing → create with confirmed entries.claude/settings.json (project shared settings)development
--- name: artifact-anatomy description: Defines where spec-driven working artifacts — the spec (e.g. `SPEC.md`), the plan, and the task list (e.g. `tasks/plan.md`, `tasks/todo.md`) — live on disk under `docs/specs/<id>-<slug>/`, and how those directories are numbered, scoped, and resolved so multiple specs can run in parallel without overwriting one another. Use this BEFORE creating, locating, or updating any spec, plan, or task/todo file: whenever a spec/plan/build workflow writes these artifac
development
Write a short author's briefing to hand to a code reviewer whose agent already has its own review skill, so it supplies the context that skill can't see instead of repeating how to review. Right after you finish a piece of work, it mines this session (and any kickoff implementation-notes) for what the reviewer most needs flagged — the easy-to-miss changes, the parts you're least sure about, the looks-wrong-but-intentional bits, and the blast radius — plus the exact commit range to review. Use when you've just finished work and want to hand the review off to another agent, chat, or teammate, when you want a "heads-up for the reviewer", or when packaging a change for review elsewhere. It does not perform the review and does not re-specify severity tiers or output format — that's the reviewer's own skill's job.
testing
Use when creating, rewriting, pruning, or reviewing `AGENTS.md` or `CLAUDE.md`, especially to remove repo summaries, stale rules, and other low-signal global instructions. Trigger when deciding what belongs in always-on agent files versus a task-specific skill.
development
Drive a structured tutoring workflow that turns Claude into a learning onramp accelerator — consultative diagnosis → custom syllabus → unit-by-unit guided lessons with notes/whiteboard → dynamic adjustment from an accumulating learner profile. Use when the user states a learning goal ("I want to systematically learn X", "teach me Y", "help me prep for Z exam"), uploads study materials and asks for a course plan, or signals sustained guided study (mentions tutor, syllabus, course, lessons, study plan, curriculum, 家教, 學習路徑). Skip for one-shot factual Q&A or quick code-context explanations.