#automation
2 articles
-
Run lint and format automatically after every edit with Claude Code hooks
Use Claude Code hooks to run Prettier, ESLint or ruff after every edit: PostToolUse configuration, reading the edited path from stdin, and feeding failures back to Claude.
-
Running Claude Code non-interactively with claude -p: scripts, cron and CI
Use Claude Code's -p mode from scripts and CI: stdin input, --output-format json, allowing tools with --allowedTools, and bounding cost and loops with --max-turns.