dotfiles/.claude/skills/audit-config/SKILL.md
Browse all global and local Claude Code config files (settings.json, settings.local.json, CLAUDE.md), audit them for issues, and percolate recurring local patterns into the global config.
npx skillsauth add kdeldycke/dotfiles audit-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.
Scan all Claude Code configuration files across projects, audit them for issues, and promote recurring local patterns into the global config.
Claude Code configuration lives in several layers, loaded in this order (later wins):
| Scope | File | Purpose |
| ------------------------- | --------------------------------------- | ------------------------------------------ |
| Global user | ~/.claude/settings.json | Permissions, hooks, env vars, plugins |
| Global user local | ~/.claude/settings.local.json | Machine-specific overrides (not committed) |
| Global instructions | ~/.claude/CLAUDE.md | User-wide behavioral instructions |
| Project | <project>/.claude/settings.json | Project-level permissions and hooks |
| Project local | <project>/.claude/settings.local.json | Machine-specific project overrides |
| Project instructions | <project>/CLAUDE.md | Project-level behavioral instructions |
| Subdirectory instructions | <project>/<subdir>/CLAUDE.md | Scoped instructions for a subtree |
$ARGUMENTS is an optional parent directory to scan for projects. Defaults to ~/code.
Read the global config files:
~/.claude/settings.json~/.claude/settings.local.json~/.claude/CLAUDE.mdFind all projects under the scan directory. Use /usr/bin/find (not the shell alias) to locate:
*/.claude/settings.json*/.claude/settings.local.json*/CLAUDE.md*/**/CLAUDE.md (subdirectory instructions)Search up to 4 levels deep. Exclude node_modules, .git, __pycache__, and venv directories.
Build an inventory table of every config file found, grouped by project.
Read every config file discovered. For each, check:
allow entries that are already covered by a global allow rule (exact match or glob superset).allow entries that contradict a global deny rule, or vice versa.Bash(*) or similar wildcards that bypass the deny list.settings.local.json files for projects that no longer exist or haven't been opened recently.~/.claude/CLAUDE.md.@ includes pointing to files that don't exist.Identify patterns that appear across multiple projects and would benefit from promotion to the global config:
allow entry.~/.claude/settings.json.Present a structured report:
Table of all config files found:
| Project | settings.json | settings.local.json | CLAUDE.md | Subdirectory CLAUDE.md |
Use checkmarks for present, dashes for absent.
Group by severity:
For each issue, show the file path, the problematic entry, and why it's flagged.
For each candidate:
A numbered list of concrete changes, ordered by impact:
After presenting the report, ask the user which actions to apply. Then:
~/.claude/settings.json to add promoted permissions.settings.local.json files without explicit user confirmation (they may contain machine-specific overrides)./usr/bin/find for file discovery — the shell may alias find to gfind.Bash(git *) covers Bash(git status *).settings.json is a symlink (common in dotfiles repos), follow it and report the real path.tools
Create or update an upstream contributions page (docs/upstream.md) tracking the project's relationship with its dependencies. Discovers merged PRs, reported issues, workarounds, and declined features.
documentation
Detect stale translations in readme.*.md and contributing.*.md files by comparing structure and content against the English source, then draft updated translations for changed sections.
testing
Two-way comparison and synchronization of Sphinx documentation across sibling projects. Discovers discrepancies in conf.py, install.md, index.md toctree, pyproject.toml docs dependencies, extra-deps sections, readme badges, and static assets. Use when you want to align documentation structure, catch stale dependencies, or push improvements across your Sphinx-enabled repositories.
tools
Optimize GitHub topics for discoverability by analyzing competition on topic pages.