BY am-will • V0.1.0
Automatically format JavaScript/TypeScript files after any Edit operation using prettier. This hook runs 'npx prettier --write' on any .js, .ts, .jsx, or .tsx file that Codex modifies, ensuring consistent code formatting. Uses npx so prettier doesn't need to be globally installed. Includes error suppression so it won't fail if prettier is not available.
$ npx codex-marketplace add am-will/codex-skills/hooks/aitmpl-codex/post-tool/format-javascript-files --hook