4,954,923 AI resources indexedWorking toward the world’s largest AI resource index.

Code Formatter Skill

Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.

Installable skillMITBy kbarbel640-delUpdated Oct 30, 2026
INTENDED FORClaude CodeCodexOpenClawCursorInstall in a listed agent.

instructions.md

---
name: code-formatter-b4b6a81d62d2
description: Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.
allowed-tools:
  - Read
  - Write
  - Bash
---

# Code Formatter Skill

Automatically formats code files using industry-standard tools.

## Capabilities

- Format JavaScript/TypeScript with Prettier
- Fix ESLint issues automatically
- Format JSON, YAML, and Markdown files
- Run format checks before commits

## Usage Examples

**Format a single file:**
```
"Format the src/index.js file"
```

**Format entire directory:**
```
"Format all files in the src/ directory"
```

**Check formatting without changes:**
```
"Check if files in src/ are properly formatted"
```

## Configuration

Set these environment variables for custom configuration:
- `PRETTIER_CONFIG`: Path to prettier config (default: .prettierrc)
- `ESLINT_CONFIG`: Path to eslint config (default: .eslintrc.js)

Platform guidance

Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.