# Prettier

> Format code with Prettier. MUST be run automatically before creating any git commit and when finishing a coding task.

- Skill: `celo-org/prettier` (Agent Skill)
- Install (CLI): `npx skillmds@latest add celo-org/prettier`
- Raw SKILL.md: https://api.skillmd.com/api/skills/celo-org/prettier/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: celo-org (https://skillmd.com/u/celo-org)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/celo-org/prettier

---


Format code with Prettier.

**This skill should be invoked automatically:**
- Before creating any git commit
- When a coding task is complete (after all edits are done)

If `$ARGUMENTS` is provided, run:

```bash
npx prettier --write $ARGUMENTS
```

If no arguments, format the entire src directory:

```bash
yarn prettier
```

