editorconfig

Generates a best-practice .editorconfig file based on project analysis and user preferences.

1|1|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill editorconfig-ultraviollettnympho
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: editorconfig
Source: https://github.com/ultraviollettnympho/transit-ticket/tree/main/.github/skills/editorconfig
Command: npx skills add https://github.com/ultraviollettnympho/transit-ticket --skill editorconfig-ultraviollettnympho

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Maintaining consistent coding styles across different editors and IDEs is difficult when team members use different tools, leading to inconsistent indentation, line endings, and whitespace that create noisy diffs in version control. ## Core Features & Use Cases - Project Analysis: Infers languages and technologies from the project structure to apply appropriate per-file-type rules using glob patterns. - Best-Practice Defaults: Applies universal conventions for charset, line endings, trailing whitespace, and final newlines beyond the user's explicit requirements. - Rule-by-Rule Explanation: Documents every configuration rule with a clear explanation of what it does and why it is a best practice. - Use Case: A developer starting a new multi-language repository asks for an .editorconfig with 2-space indentation, and receives a complete file covering JavaScript, Python, and Markdown sections with documented rationale. ## Quick Start Generate an .editorconfig file for my project using 2-space indentation and explain each rule.

Frequently Asked Questions about editorconfig

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create an .editorconfig file for my project?

Provide your project structure and preferences such as indent style and size, and the skill generates a complete .editorconfig file. It analyzes your file types to apply appropriate glob-pattern rules and includes universal settings like charset and line endings.

What settings should an .editorconfig file include?

A well-formed .editorconfig should set root = true, indent_style, indent_size, end_of_line, charset, trim_trailing_whitespace, and insert_final_newline. Per-file-type sections using glob patterns like [*.md] can override universal rules where needed.

Why should trailing whitespace not be trimmed in Markdown files?

Trailing whitespace is significant in Markdown because two trailing spaces create a hard line break. The generated configuration sets trim_trailing_whitespace = false under a [*.md] section to preserve this behavior.

Does .editorconfig work across different editors and IDEs?

Yes, EditorConfig is supported natively or via plugins by most editors including VS Code, IntelliJ, Vim, and Sublime Text. The root = true setting stops the search at the project directory so parent configurations do not interfere.

What happens if my preference conflicts with a best practice?

The skill follows your explicit preference even when it conflicts with a common best practice, and notes the conflict in the rule-by-rule explanation so you understand the trade-off.