Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By rafaelcallejav1.0.0MITIn 1 marketplace
Automatic code formatting hook that runs after file edits
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Automatic code formatting hook that runs after file edits.
Automatically formats files after Write/Edit operations based on file type:
Shows warnings before potentially destructive operations:
Displays a message when the plugin is loaded at session start.
Triggers: After Write or Edit operations Action: Runs the format-file.sh script to automatically format the modified file
Triggers: Before Bash commands that delete files (rm) Action: Displays a warning notification
Triggers: When a Claude Code session starts Action: Displays a welcome notification
# Add the marketplace
/plugin marketplace add /path/to/example-marketplace
# Install the plugin
/plugin install auto-formatter@example-marketplace
For formatting to work, you need the appropriate formatter installed:
# JavaScript/TypeScript
npm install -g prettier
# Python
pip install black
# Go (usually included with Go installation)
go install golang.org/x/tools/cmd/gofmt@latest
# Rust (usually included with Rust installation)
rustup component add rustfmt
# JSON
# jq - install via your package manager (apt, brew, etc.)
The plugin uses hooks defined in hooks/hooks.json. You can customize:
When you ask Claude to create or edit a file:
Claude: I'll create a new JavaScript file...
[Uses Write tool to create app.js]
[Auto-formatter hook triggers]
[File is automatically formatted with Prettier]
Result: app.js created and formatted
You can modify the formatting script at scripts/format-file.sh to:
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Claude Code installs this plugin but refuses to load it
hooks/hooks.json: hooks.PreToolUse.0.hooks.0: Unknown hook type "notification" — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
hooks/hooks.json: hooks.PreToolUse.0.hooks.0: Unknown hook type "notification" — a PreToolUse/PermissionRequest hook that cannot be loaded may be what guards the permissions declared beside it, so nothing it sits in is applied until the entry is fixed or removed
Checked against Claude Code 2.1.332. The listing below is what the repository ships; Claude Code doesn't load it as published.
Plugins from other owners that cover similar ground