Our review
Runs the repository's Deno formatter via ./x fmt and stages any changed files.
Strengths
- Simple one-command approach
- Integrates with the repo's existing format script
- Ensures consistent code style
- Reports changed files
Limitations
- Only formats code, does not check or lint
- Relies on the `x` script being present
- May reformat many files at once
Before opening a PR or committing changes to ensure the entire codebase adheres to the repo's formatting rules.
When you only need to format a specific file or want to discuss formatting changes before applying them.
Security analysis
CautionThe skill uses Bash to run a local formatter script. While the command is constrained and the purpose is legitimate, execution of an arbitrary repository script carries some risk.
- •Executes a Bash script ./x fmt, which could perform unintended actions if the repository's script is compromised.
Examples
Run the repository formatter and stage any changed files before I commit.Please run ./x fmt to format all code in the repository.Format the entire codebase and let me know what files were changed.name: fmt description: Format all code in the repository. Run before opening a PR or committing changes. user-invocable: true allowed-tools: Bash(./x fmt)
Format Code
Run the Deno code formatter:
./x fmt
If any files were changed, stage and report them.
Next.js App Router Expert
Development
A skill that turns Claude into a Next.js App Router expert.
README Generator
Development
Creates professional and comprehensive README.md files for your projects.
API Documentation Writer
Development
Generates comprehensive API documentation in OpenAPI/Swagger format.