Prettier

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

celo-org 3c443de 482 B Updated

File contents

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:

npx prettier --write $ARGUMENTS

If no arguments, format the entire src directory:

yarn prettier

celo-org/celo-mondo/tree/main/.claude/skills/prettier commit 3c443dea43

Frequently asked questions

npx skillmds@latest add celo-org/prettier