← All skills
code-formatter
80 / 100 · Low risk
Fine to try. Some of what it can do is expected: a coding skill usually runs build and test commands.
By jeremylongshore/tons-of-skills-marketplace (GitHub) · coding · 2,921 stars · scanned at commit 8dc06f0
'Execute automatically formats and validates code files using Prettier
Works with any agent that supports SKILL.md skills.
What this skill can do
Downloads and installs other software
The author does not mention this.
Found in 22 places.
Show 17 more
- plugins/examples/formatter/skills/code-formatter/SKILL.md, line 42
4. Apply formatting to identified files using `npx prettier --write` on the target paths. For single files, specify the exact path; for directories, use glob pa - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 45
7. Run a final `npx prettier --check` to confirm all target files now conform to the configured style rules. - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 61
| `prettier: command not found` | Prettier not installed globally or locally | Run `npm install -g prettier` or `npx prettier --version` to use npx | - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 62
| Syntax errors in source files | Malformed code that Prettier cannot parse | Fix syntax errors first using `npx eslint --fix-dry-run <file>` then retry formatt - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 71
Process: Run `npx prettier --write src/app.js`. Report the file as reformatted or already conformant. - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 75
Process: Create `.prettierrc` with project defaults, create `.prettierignore` excluding build outputs, run `npx prettier --write "src/**/*.{js,ts,json,css}"`, i - plugins/examples/formatter/skills/code-formatter/SKILL.md, line 79
Process: Run `npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}"`. Report non-conforming files with their paths. Suggest `npx prettier --write` to fix. - plugins/examples/formatter/skills/code-formatter/references/errors.md, line 9
npm install -g prettier - plugins/examples/formatter/skills/code-formatter/references/errors.md, line 12
npx prettier --version - plugins/examples/formatter/skills/code-formatter/references/errors.md, line 19
npx eslint src/app.js --fix-dry-run - plugins/examples/formatter/skills/code-formatter/references/errors.md, line 22
npx prettier --debug-check src/app.js - plugins/examples/formatter/skills/code-formatter/references/errors.md, line 32
npx prettier --config ./custom-prettier.json --write src/ - plugins/examples/formatter/skills/code-formatter/references/implementation.md, line 15
npx prettier --version || npm install -g prettier - plugins/examples/formatter/skills/code-formatter/references/implementation.md, line 21
npx prettier --check "**/*.{js,jsx,ts,tsx,json,css,md}" --ignore-path .prettierignore - plugins/examples/formatter/skills/code-formatter/references/implementation.md, line 47
npx prettier --write src/app.js - plugins/examples/formatter/skills/code-formatter/references/implementation.md, line 50
npx prettier --write "**/*.js" - plugins/examples/formatter/skills/code-formatter/references/implementation.md, line 53
npx prettier --write --config .prettierrc "src/**/*.{js,jsx,ts,tsx}"
and 2 more places
Runs commands on your computer
The author does not mention this. It runs automatically when the plugin is installed. Expected for a coding skill.
Found in 2 places.
Other copies in this repository
jeremylongshore/tons-of-skills-marketplace has 1 more folder with a skill named code-formatter. This page shows the lowest-scoring copy.
Install
Paste this into your terminal. It downloads exactly the version we scanned, not whatever is newest.
if [ -e ~/.agents/skills/'code-formatter' ] || [ -L ~/.agents/skills/'code-formatter' ]; then echo 'A skill folder named code-formatter already exists — not replacing it' >&2; false; else d=$(mktemp -d) && git clone --quiet --filter=blob:none --no-checkout 'https://github.com/jeremylongshore/tons-of-skills-marketplace' "$d" && git -C "$d" checkout --quiet '8dc06f02eb00b7d8d1c0e69dfb3add2fd9500979' -- 'plugins/examples/formatter/skills/code-formatter' && mkdir -p ~/.agents/skills && cp -R "$d"/'plugins/examples/formatter/skills/code-formatter' ~/.agents/skills/'code-formatter' && rm -rf "$d"; fi
Codex reads ~/.agents/skills directly. For Claude Code, Cursor, Copilot, Gemini CLI, Antigravity or OpenCode, also link it. For Claude Code: ln -s ~/.agents/skills/'code-formatter' ~/.claude/skills/'code-formatter' (other agents: ~/.cursor/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.gemini/config/skills, ~/.config/opencode/skills). Or install through the finder skill, which does both.
Badge for your README
The badge for jeremylongshore/tons-of-skills-marketplace shows the score of its lowest-scoring skill.

[](https://zalavijaysinh.github.io/skilltrust/repos/jeremylongshore/tons-of-skills-marketplace/)
Score history
| Date | Version | Score |
|---|
| 2026-11-14 | 8dc06f0 | 80 |
| 2026-11-08 | 0500b27 | 80 |
| 2026-11-07 | 0500b27 | 80 |