skills/update-claude-code-config/SKILL.md
Skill for modifying Claude Code configuration file (settings.json).
npx skillsauth add mkusaka/ccskills update-claude-code-configInstall 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.
Modify Claude Code configuration by updating settings.json files.
If the user wants something to happen automatically in response to an EVENT, they need a hook configured in settings.json. Memory/preferences cannot trigger automated actions.
These require hooks:
Hook events: PreToolUse, PostToolUse, PreCompact, PostCompact, Stop, Notification, SessionStart
Always read the existing settings file before making changes. Merge new settings with existing ones - never replace the entire file.
When the user's request is ambiguous, use AskUserQuestion to clarify:
Suggest the /config slash command for these simple settings:
theme, editorMode, verbose, modellanguage, alwaysThinkingEnabledpermissions.defaultModeEdit settings.json directly for:
When adding to permission arrays or hook arrays, merge with existing, don't replace:
WRONG (replaces existing permissions):
{ "permissions": { "allow": ["Bash(npm *)"] } }
RIGHT (preserves existing + adds new):
{
"permissions": {
"allow": [
"Bash(git *)", // existing
"Edit(.claude)", // existing
"Bash(npm *)" // new
]
}
}
${SETTINGS_FILE_LOCATION_PROMPT}
${HOOKS_CONFIGURATION_PROMPT}
${CONSTRUCTING_HOOK_PROMPT}
User: "Format my code after Claude writes it"
.claude/settings.json (or create if missing){
"hooks": {
"PostToolUse": [{
"matcher": "Write|Edit",
"hooks": [{
"type": "command",
"command": "jq -r '.tool_response.filePath // .tool_input.file_path' | { read -r f; prettier --write \"$f\"; } 2>/dev/null || true"
}]
}]
}
}
User: "Allow npm commands without prompting"
Bash(npm *) to allow arrayUser: "Set DEBUG=true"
{ "env": { "DEBUG": "true" } }
If a hook isn't running:
claude --debug to see hook execution logsdevelopment
Skill for syncing a React design system to claude.ai/design by configuring the target project, running the converter, verifying previews, and uploading verified artifacts
tools
Skill instructions for creating or customizing Cowork plugins, including mode selection, research, implementation, packaging, connector replacement, and plugin delivery
development
Design sync sub-skill instructions for using a repo's Storybook as the fidelity oracle when building, validating, matching, uploading, and re-syncing component previews
development
Skill definition for syncing a React design system to claude.ai/design, including project selection, source-shape detection, converter configuration, validation, upload planning, and self-check behavior