code-formatter

Formats JavaScript, TypeScript, JSON, YAML, and Markdown files using Prettier and ESLint.

Updated Jul 10, 2026
One-click install
npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill code-formatter-avatar-arts
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: code-formatter
Source: https://github.com/AvaTar-ArTs/.Agent-skills/tree/main/agents/skill-porter/simple-claude-skill
Command: npx skills add https://github.com/AvaTar-ArTs/.Agent-skills --skill code-formatter-avatar-arts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires prettier, eslint.

What problem does it solve? Inconsistent code style across files and teams leads to noisy diffs, failed lint checks, and wasted review time. This Skill automates formatting and lint-fixing so code stays consistent without manual effort. ## Core Features & Use Cases - Prettier Formatting: Format JavaScript and TypeScript files, plus JSON, YAML, and Markdown documents. - ESLint Auto-Fix: Automatically resolve fixable ESLint issues in your source files. - Pre-Commit Checks: Run format checks without modifying files to verify compliance before committing. - Use Case: Before opening a pull request, ask the assistant to format the entire src/ directory and fix any ESLint issues so CI style checks pass on the first run. ## Quick Start Format all files in the src/ directory and fix any ESLint issues.

Frequently Asked Questions about code-formatter

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

FAQPage Schema
How do I format JavaScript files with Prettier?▼

Ask the assistant to format a specific file or directory, such as formatting src/index.js or all files in src/. The Skill runs Prettier against the targets and applies standard formatting rules automatically.

How to auto-fix ESLint issues in a project?▼

Request ESLint fixing on the target files or directory and the Skill applies ESLint's automatic fixes for resolvable rule violations. Issues that require manual changes are left for the developer to address.

Can I check code formatting without changing files?▼

Yes, the Skill supports a check-only mode that reports whether files are properly formatted without modifying them. This is useful for pre-commit verification or CI-style validation.

Does Prettier support JSON, YAML, and Markdown files?▼

Yes, in addition to JavaScript and TypeScript, the Skill formats JSON, YAML, and Markdown files through Prettier. You can target these file types individually or as part of a directory-wide format run.

How do I use a custom Prettier or ESLint config?▼

Set the PRETTIER_CONFIG and ESLINT_CONFIG environment variables to point at your custom configuration files. By default the Skill uses .prettierrc and .eslintrc.js from the project.