
format-code
Auto-formats files the moment Claude writes them: ruff for Python, prettier for JS/TS/JSON/MD/YAML/HTML, with shell-injection-safe argv execution and silent skips for everything else.
- GitHub stars
- 581
Install
/plugin install format-code@claude-code-hooksRun it inside Claude Code after adding the marketplace with /plugin marketplace add karanb192/claude-code-hooks.
Sponsors
Promote your product hereReach 125k+ visitors monthlyPromote your product hereReach 125k+ visitors monthly
Agent CaffeineSponsoredClose your lid, come back to finished work
SnugSponsoredThe clipboard manager for the AI eraPromote your product hereReach 125k+ visitors monthly
WaxSponsoredBlock anything with supervision, without erasing your iPhonePromote your product hereReach 125k+ visitors monthly
knobsSponsoredSee your site on any phone, any day, in any language
Details
- Marketplace
- karanb192/claude-code-hooks
- Source
- plugins/format-code
- Category
- Automation
More from karanb192/claude-code-hooks
All 22- git-safety
- guard-pack
- instructions-audit
- nerf-receipts
- notify-permission
- pr-provenance-stamp
- protect-secrets
- protect-tests
- session-logger
- standup-autopilot
- subagent-spawn-cap
- auto-stage
- block-dangerous-commands
- bounty-board
- cache-tax
- case-insensitive-guard
- config-guard
- config-watch
- context-hogs
- dead-end-registry
- dead-rules-audit