code-formatter
Installation
SKILL.md
Code Formatter
Overview
Formats and validates code files using Prettier and related formatting tools. Supports JavaScript, TypeScript, JSON, CSS, Markdown, and many other file types.
Prerequisites
- Node.js (v16+) and npm/npx installed
- Prettier available globally (
npm install -g prettier) or locally in the project - Write permissions for target files and configuration directories
- Supported file types present in the project (
.js,.jsx,.ts,.tsx,.json,.css,.md)