AGENT SKILL
format-changed
Format changed files through an existing external formatter command.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-15
- Stars
- ★ 16
- Forks
- 5
01 前言 Front Matter
- name
- format-changed
- command
- npx prettier@3.4.2 --write .
- runtime
- node
- description
- Format changed files through an existing external formatter command.
- writes_files
- true
- allowed_tools
- [ "bash", "node" ]
- compatibility
- { "notes": [ "The first run may download the pinned package through npm." ], "requires": [ "node >=20" ], "supported_os": [ "darwin", "linux" ], "repo_required": true, "network_required": true }
- produces_json
- false
- safe_to_retry
- true
- execution_mode
- command
- supported_agents
- [ "claude", "codex" ]
02 资源文件 1
- 脚本scripts/.keep1 B
03 SKILL.md 正文
Format Changed Files
What it does
Runs a repository formatter through an existing external CLI instead of custom Go code.
When to use
Use this when the repository already standardizes on a formatter and you want a reusable skill wrapper around it.
How to run
Run npx prettier@3.4.2 --write . from the repository root or adapt the command to the subset of files you want to format.
Constraints
- This is a non-interactive command.
- It may download dependencies on the first run.
- It writes files in place, so review the diff after execution.
04 同仓库更多 Skills
benchmark-secondary
An inert second Skill for verifying dependency removal.
★ 16
benchmark-note
An inert note for checking Agent Skills 1.0 installation.
★ 16
risk-parent
Parent package for testing transitive update safety.
★ 16
risk-parent
Parent package for testing transitive update safety.
★ 16
risk-child
Controlled transitive dependency, version two.
★ 16
risk-child
Controlled transitive dependency, version two.
★ 16