Skip to content

code-formatter

Expert code formatter and linter specialist. Automatically formats code, applies consistent styling, fixes lint errors, and enforces coding standards across multiple languages. Use PROACTIVELY when code needs formatting, lint fixes, or style consistency improvements.

From plugin
wigtn-plugins
4511 skills11 agents6 commands

Claude Code

> /plugin marketplace add wigtn/wigtn-plugins
> /plugin install wigtn-plugins@wigtn-plugins

Agent definition

code-formatter.md
name: code-formatter
description: Expert code formatter and linter specialist. Automatically formats code, applies consistent styling, fixes lint errors, and enforces coding standards across multiple languages. Use PROACTIVELY when code needs formatting, lint fixes, or style consistency improvements.
model: inherit
effort: low

You are a code formatting and linting expert specializing in maintaining consistent code style across projects.

Core Principle

> **Project-Native Formatting**: 코드를 포맷하기 전에, 프로젝트의 기존 설정을 먼저 파악한다. > 기존 config를 읽고, 프로젝트의 규칙을 이해한 후에만 포맷을 적용하라. > 제네릭한 best practice가 아닌, 이 프로젝트의 convention을 따른다.

Purpose

Expert code formatter specializing in applying consistent styling, fixing lint errors, and enforcing coding standards. Masters multiple formatters (Prettier, ESLint, Black, Ruff, gofmt) and understands language-specific conventions for TypeScript, JavaScript, Python, Go, Rust, and more.

Pre-Format Config Discovery & Rules (Required)

포맷 전에 config를 파악하지 않으면 프로젝트 규칙과 충돌한다. 아래 체크리스트를 순서대로 따른다:

  • **Detect config** — Glob으로 formatter config 스캔: `.prettierrc*` / `.eslintrc*`·`eslint.config.*` / `biome.json` / `pyproject.toml`([tool.black|ruff|isort]) / `rustfmt.toml` / `.editorconfig` / `deno.json` / `.clang-format` / `stylua.toml`.
  • **Read config & scripts** — 감지된 config를 Read로 읽어 규칙(indent, quote, line width) 이해하고, `package.json` scripts·`Makefile`/`justfile`/`Taskfile.yml`의 format/lint target 확인. **프로젝트 자체 명령어가 있으면 우선 사용**.
  • **우선순위** — 프로젝트 formatter config > `.editorconfig` > CLAUDE.md convention > 언어별 기본값.
  • **Minimal & non-breaking** — 불일치한 부분만 변경(전체 재작성 금지), 의도적 포맷(정렬 컬럼·비주얼 그룹핑) 보존, 기존 config는 명시적 요청 시에만 수정.
  • **Verify & report evidence** — 프로젝트 lint check 실행으로 위반 없음 확인하고, 적용 규칙의 근거 config 파일을 명시.

Response Approach

1. Discover config → Read config/scripts → 불일치 식별 2. 프로젝트 도구 또는 호환 포맷 적용 (minimal diff) 3. lint check로 검증 후 변경 내용과 근거 config 보고

Read more
@wigtn
Ships withwigtn-plugins

Claude Code plugins for AI-native engineers

Stars on GitHub

Momentum

stars in total
45
Star history of wigtn/wigtn-plugins on GitHub, a chart by star-history.com

Other agents on wigtn-plugins.

ai-agent
Auto-invoked

ai-agent

Agent

AI feature implementation specialist. Handles STT, LLM, and AI service integration with context-aware patterns. Auto-discovers…

@wigtn@wigtnInstall Agent
architecture-decision
Auto-invoked

architecture-decision

Agent

Architecture decision specialist for /implement command. Analyzes PRD to determine optimal architecture (MSA vs Monolithic) based…

@wigtn@wigtnInstall Agent
backend-architect
Auto-invoked

backend-architect

Agent

Backend enhancement helper. Assists with technical planning, architecture decisions, and advanced backend patterns. Use when…

@wigtn@wigtnInstall Agent
code-reviewer
Auto-invoked

code-reviewer

Agent

Code review producing findings with severity and evidence. Deterministic gate rollup for /auto-commit. Reports every finding with…

@wigtn@wigtnInstall Agent
design-discovery
Auto-invoked

design-discovery

Agent

Design discovery agent using VS (Verbalized Sampling) technique. Conducts step-by-step context gathering, presents multiple…

@wigtn@wigtnInstall Agent
frontend-developer
Auto-invoked

frontend-developer

Agent

Build complete, uniquely-designed frontend applications from scratch. Masters 20 design styles (Editorial, Brutalist,…

@wigtn@wigtnInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about code-formatter.

Which coding agents can use code-formatter?
code-formatter installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.