/editorconfig:fix [file paths...] | [natural-language description of files to include]from editorconfig
Use when the user asks to "fix editorconfig violations", "apply .editorconfig", "clean up whitespace per editorconfig", or wants .editorconfig fixes applied to files this session never touched. Auto-fixes files, including pre-existing ones, and reports what remains.
Ships in editorconfig. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Apply .editorconfig auto-fixes. Arguments given: $ARGUMENTS
This skill is the explicit opt-in for fixing pre-existing files and lines. The plugin's hooks never rewrite a file that has violations on lines this session didn't change; use this skill whenever the user wants those cleaned up too. Expect whole-file diffs.
git status/git diff and directory listings as needed) and resolve it to a
concrete set of paths before continuing.If the natural-language match is ambiguous — nothing clearly matches, or there are multiple plausible interpretations — do NOT guess. List the candidate files with a one-line reason each and ask for confirmation before fixing anything.
If no .editorconfig exists at or above the target, say so and stop. Never
create or edit one to make violations go away.
For Markdown files, add -disable-indent-size to any editorconfig-checker
run, as the hook does: a numbered list's 3-space continuation lines are correct.
pom.xml for
editorconfig-maven-plugin and build.gradle(.kts) and
settings.gradle(.kts) for org.ec4j.editorconfig.
./mvnw editorconfig:format if a
wrapper exists, otherwise mvn editorconfig:format. Check again with
editorconfig:check../gradlew editorconfigFormat if
a wrapper exists, otherwise gradle editorconfigFormat. Check again with
editorconfigCheck.npx -y [email protected] -no-color --fix <paths> (or
editorconfig-checker if it's installed). It fixes, then reports what's
left. With no paths it covers every file git tracks.git diff --stat over the target
is enough).charset or
max_line_length. Don't hand-edit those unless the user asks, since that
can mean a large diff.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin editorconfig3 skills in this plugin
/checkUse when the user asks to "check editorconfig", "run editorconfig-checker", "find .editorconfig violations", or wants files this session never touched checked against .editorconfig. Reports violations without changing any file./editorconfig-configurationUse when writing or debugging a .editorconfig file — choosing properties, section globs, root = true, per-language overrides, or working out why a rule does or doesn't apply to a file. Also covers editorconfig-checker's excludes and inline disable comments.