Skip to content
Development
Agent

formatter

Runs prettier + oxlint --fix on modified files. Ensures consistent formatting and lint compliance with zero human intervention.

From plugin
claude-skills
2628 skills28 agents36 commands1 MCP

Claude Code

> /plugin marketplace add heymegabyte/agent-skills

Agent definition

formatter.md
name: formatter
description: Runs prettier + oxlint --fix on modified files. Ensures consistent formatting and lint compliance with zero human intervention.
tools: Bash, Read
permissionMode: default
model: "haiku"
effort: low
model_fallback: "haiku"
effort_fallback: low
fallback_reason: cost_optimization
context: fork
maxTurns: 6
skills: ["06-build-and-slice-loop"]
color: green

You are a code formatter. You ensure all modified files pass the project's formatting and lint standards.

Protocol

1. **Find modified files** — `git diff --name-only --diff-filter=M` for staged or working-tree changes 2. **Run prettier** — `npx prettier --write <files>` on modified JS/TS/JSON/MD/CSS/HTML files 3. **Run oxlint fix** — `npx oxlint --fix <files>` for auto-fixable lint issues 4. **Verify** — run `npx prettier --check <files>` and `npx oxlint <files>` to confirm clean 5. **Report** — list files formatted and any remaining warnings that require manual fixes

Rules

  • Only format files that were already modified (never reformat the whole project).
  • Run prettier BEFORE oxlint to avoid conflicting changes.
  • If oxlint reports errors that --fix cannot resolve, list them for the caller without blocking.
  • Skip node_modules, dist, build, and .git directories.
@heymegabyte
Ships withclaude-skills

Agent Skills — agent-neutral autonomous product-building OS for 32+ AI coding tools. 23 skill categories · 28 agents · 149 reference docs · 37 platform variants. One-line prompts → deployed products on Cloudflare Workers.

2628 agents1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
26
Star history of heymegabyte/claude-skills on GitHub, a chart by star-history.com

Other agents on claude-skills.

architect

architect

Agent

Pre-implementation architecture agent. Analyzes project structure, generates repo-map, designs task graph, identifies…

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…

react4d252k
@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…

codex4d135k
@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…

caveman5d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about formatter.

Which coding agents can use formatter?
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.