# Editorconfig

> Editorconfig is an open-source agent skill for developer tools. Guides the agent to write .editorconfig files that set editor options per file pattern. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ScaleDockHQ/better-supabase/tree/main/.agents/skills/editorconfig
- **Repository:** https://github.com/scaledockhq/better-supabase
- **GitHub stars:** 5
- **License:** MIT
- **Skill name:** editorconfig
- **Collection:** https://github.com/ScaleDockHQ/better-supabase
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill walks the agent through defining EditorConfig settings, the shared format that tells editors how to handle indentation, line endings and similar options for files matching given patterns. It works from a pinned copy of the EditorConfig specification, so the agent checks its output against that text rather than memory. The workflow has the agent pick the target version of the spec, apply each requirement that applies to the task, and re-check the result against the pinned revision.

The guidance covers practical rules from the spec, such as where settings must sit under a section header, the UTF-8 and LF or CRLF file requirements, how glob patterns are read, and the expected lowercase file name. Reference files list the requirement quotes and version lines, and the agent loads them as needed. No scripts are included, so the agent works from the instructions and its own file editing tools.

The skill expects a project where the agent can create or edit files, and it asks for the target role (producer or consumer of the spec) when that is not clear from the request. The folder README describes the skill as MIT licensed and points to a command to install it with the skills CLI.

## When your agent uses it

> EditorConfig: define consistent editor settings per file pattern in .editorconfig files. Covers EditorConfig. Use when defining editor settings. Triggers: EditorConfig.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/editorconfig)
- [License: MIT](https://github.com/ScaleDockHQ/better-supabase/tree/HEAD/.agents/skills/editorconfig)

## Features

- **Pinned specification rules:** Applies quoted requirements from a fixed revision of the EditorConfig specification.
- **Version selection:** Chooses the current spec line and avoids authoring against legacy versions.
- **Section and pair checks:** Verifies that settings sit under a section header, except the root key.
- **Encoding and line endings:** Requires UTF-8 files with LF or CRLF line separators.
- **Glob pattern handling:** Explains how file patterns are interpreted and how long section names may be.
- **Upgrade guidance:** Describes how to move a configuration from one spec line to another when asked.

## Good for

- Create an .editorconfig for a new project
- Set tab or space indentation for specific file types
- Check an existing .editorconfig against the specification
- Update an EditorConfig file to the current spec version

## Install

### Claude Code

This skill ships in the `better-supabase` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabase
```

Or copy only this skill to `~/.claude/skills/editorconfig`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/editorconfig &&
cp -R "$tmp/.agents/skills/editorconfig" ~/.claude/skills/editorconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/editorconfig` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/editorconfig` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/editorconfig &&
cp -R "$tmp/.agents/skills/editorconfig" ~/.agents/skills/editorconfig &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/editorconfig` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/editorconfig` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/editorconfig &&
cp -R "$tmp/.agents/skills/editorconfig" ~/.cursor/skills/editorconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/editorconfig` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/editorconfig
```

Or copy the folder to `~/.gemini/skills/editorconfig` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/editorconfig`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/editorconfig &&
cp -R "$tmp/.agents/skills/editorconfig" ~/.copilot/skills/editorconfig &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/editorconfig` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git
```

Then copy `better-supabase/.agents/skills/editorconfig` into your agent's skills folder as `editorconfig`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does the skill trigger?

It is meant for tasks about defining editor settings, and the trigger keyword listed is EditorConfig.

### Does Editorconfig run any scripts?

No, the skill has no scripts; it only provides instructions and reference files.

### How do I install Editorconfig?

Run npx skills add ScaleDockHQ/scaledock-skills --skill editorconfig, as shown in the folder README.

### What license does Editorconfig use?

The skill is licensed under MIT.

### How do I install Editorconfig in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/editorconfig to use it in all your projects, or to .claude/skills/editorconfig in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.

### Does Editorconfig run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Editorconfig?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Editorconfig?

The closest alternatives to Editorconfig are Editorconfig, Agent skills, Spec coding, Implement and Develop feature.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Editorconfig](https://ai-powered.com/skills/editorconfig): Editorconfig is an open-source agent skill for developer tools.
- [Agent skills](https://ai-powered.com/skills/agent-skills): Agent skills is an open-source agent skill for developer tools.
- [Spec coding](https://ai-powered.com/skills/spec-coding): Spec coding is an open-source agent skill for developer tools.
- [Implement](https://ai-powered.com/skills/implement-kripu77): Implement is an open-source agent skill for developer tools.
- [Develop feature](https://ai-powered.com/skills/develop-feature): Develop feature is an open-source agent skill for developer tools.
- [Skill author](https://ai-powered.com/skills/skill-author): Skill author is an open-source agent skill for developer tools.
- [Manage patterns and rules](https://ai-powered.com/skills/manage-patterns-and-rules): Manage patterns and rules is an open-source agent skill for developer tools.
- [Skill update](https://ai-powered.com/skills/skill-update): Skill update is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/editorconfig-scaledockhq
