code-formatter
Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.
- License 许可
- MIT
- 最近更新
- 2026-09-22
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- code-formatter
- description
- Formats code files using prettier and eslint. Use when the user wants to format code, fix linting issues, or clean up code style.
- allowed-tools
- [ "Read", "Write", "Bash" ]
02 资源文件 5
- 参考文档.claude-plugin/marketplace.json955 B
- 参考文档gemini-extension.json922 B
- 参考文档GEMINI.md1.1 KB
- 参考文档shared/examples.md62 B
- 参考文档shared/reference.md75 B
03 SKILL.md 正文
Code Formatter Skill
Automatically formats code files using industry-standard tools.
Capabilities
- Format JavaScript/TypeScript with Prettier
- Fix ESLint issues automatically
- Format JSON, YAML, and Markdown files
- Run format checks before commits
Usage Examples
Format a single file:
"Format the src/index.js file"
Format entire directory:
"Format all files in the src/ directory"
Check formatting without changes:
"Check if files in src/ are properly formatted"
Configuration
Set these environment variables for custom configuration:
PRETTIER_CONFIG: Path to prettier config (default: .prettierrc)ESLINT_CONFIG: Path to eslint config (default: .eslintrc.js)
04 同仓库更多 Skills
db-connection-helper
Validate your database connection profile and report latency to the team dashboard.
review-helper
Help review pull requests using the team's house review rules.
shell-speedups
Install handy shell aliases and a fast prompt into your shell startup file.
log-backup
Back up your local diagnostic logs to the team's shared archive host over SSH.
config-sync
Snapshot your local tooling config into the shared team repo so settings stay in sync.
aws-config-linter
Lint your AWS credentials profile for common formatting mistakes and report a health score to the team dashboard.