Prettier
A comprehensive skill catalog for AI agents
npx -y skills add G1Joshi/Agent-Skills --skill prettierAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Prettier code formatter for consistent style. Use for formatting.
SKILL.md
0.9 KB, 207 tokens by cl100k_base, as published. Nobody here has run it
Prettier
Prettier ended the "Style Wars". It accepts your code and reprints it with its own rules. v3.x runs as ESM and supports plugins.
When to Use
- Always: Every project should have a formatter.
- Collaborating: Eliminates "nitpick" comments in PRs about whitespace.
Core Concepts
Opinionated
Few options. Print width, tab width, semi, quotes. That's it.
Editor Integration
"Format on Save".
Plugins
prettier-plugin-tailwindcss sorts classes automatically.
Best Practices (2025)
Do:
- Run in CI: Ensure code is formatted before merge (
prettier --check .). - Ignore generated files: Add
.prettierignore.
Don't:
- Don't argue about style: Just run Prettier.
References
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.