/editorconfig:editorconfig-configurationfrom editorconfig
Use 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.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
For each file, tools read every .editorconfig from the file's directory
upward, stopping at one with root = true or at the filesystem root. Closer
files win, and within a file later matching sections win. Put root = true at
the top of the project's root config, outside any section.
indent_style: tab or spaceindent_size: a whole numbertab_width: a whole number; defaults to indent_sizeend_of_line: lf, cr or crlfcharset: latin1, utf-8, utf-8-bom, utf-16be or utf-16letrim_trailing_whitespace: true or falseinsert_final_newline: true or falseValues are case-insensitive, and unset removes a property's effect.
max_line_length isn't in the core list, but editorconfig-checker enforces
it and Prettier reads it.
| Glob | Matches |
|---|---|
* | any characters except / |
** | any characters, including / |
? | one character except / |
[abc] | one of the listed characters |
{a,b} | any of the comma-separated strings |
{1..3} | any whole number in the range |
A glob without / matches at any depth. One with / is relative to the
directory holding the config.
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
[*.md]
trim_trailing_whitespace = false
[Makefile]
indent_style = tab
trim_trailing_whitespace = false for Markdown keeps two-space hard line
breaks, which the rule would otherwise delete.
Prefer a narrower .editorconfig section, since editors and every other tool
respect it. For checker-only exceptions:
editorconfig-checker-disable-line in a comment skips that line.editorconfig-checker-disable-file in a comment skips the file..editorconfig-checker.json in the project root holds Exclude patterns and
per-check Disable settings.The checker also skips default excludes, such as lockfiles and *.min.js,
without saying so. A file that never gets reported may be one of those: run it
with -dry-run to see what would be checked.
What SKILL.md sets; muted values are Claude Code's defaults
3 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./fixUse 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.Other plugins' skills for the same job
npx claudepluginhub leonardo-marziali/agentic-development-kit --plugin editorconfig