Skip to main content
Showing 30 of 67 resources in hooks
Saved
Active
Hooks. Pre/post hooks for agent lifecycles
hooksReview firstSource-backedReview firstClaude Code

Retro Daily - Hooks

by gyanesh-m

SessionStart hook that prints a daily Claude Code retro at the top of every session — competency grade (0–100, A–F), 14-day efficiency sparklines, and a year-long contributions heatmap.

Trigger:SessionStart
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Database Query Performance Logger - Hooks

by JSONbored

Monitors and logs database query performance metrics with slow query detection, N+1 analysis, and optimization suggestions using PostgreSQL pg_stat_statements, Prisma query logging, Sequelize query logging, TypeORM query logging, and Bullet N+1 detection patterns.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Cloud Backup On Session Stop - Hooks

by JSONbored

Automatically backs up changed files to cloud storage when Claude Code session ends using AWS S3, Google Cloud Storage, or rclone for universal cloud provider support.

Trigger:Stop
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Dependency Security Audit

by JSONbored

Performs a comprehensive security audit of all dependencies when Claude Code session ends using npm audit (npm 10.x+), yarn audit (Yarn 4.x+), pip-audit 2.7.x+, safety, bundler-audit, and OWASP dep-scan.

Trigger:Stop
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Docker Container Auto Rebuild - Hooks

by JSONbored

Automatically rebuilds Docker containers when Dockerfile or docker-compose.yml files are modified. This PostToolUse hook triggers automatic Docker image rebuilding when Docker-related files (Dockerfile, docker-compose.yml, .dockerignore) are modified, providing real-time container synchronization during development.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Git Auto Commit On Stop - Hooks

by JSONbored

Automatically commits all changes with a summary when Claude Code session ends.

Trigger:Stop
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Real Time Activity Tracker - Hooks

by JSONbored

Tracks all Claude Code activities in real-time and logs them for monitoring and debugging.

Trigger:Notification
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Sensitive Data Alert Scanner - Hooks

by JSONbored

Scans for potential sensitive data exposure and alerts immediately.

Trigger:Notification
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Slack Progress Notifier - Hooks

by JSONbored

Sends progress updates to Slack channel for team visibility on Claude activities.

Trigger:Notification
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Svelte Component Compiler - Hooks

by JSONbored

Automatically compiles and validates Svelte components when they are modified.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Team Summary Email Generator - Hooks

by JSONbored

Generates and sends a comprehensive summary email to the team when session ends.

Trigger:Stop
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Terraform Plan Executor - Hooks

by JSONbored

Automatically runs terraform plan when .tf files are modified to preview infrastructure changes.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Database Migration Runner - Hooks

by JSONbored

Automated database migration management with rollback capabilities, validation, and multi-environment support using Knex 3.x, Sequelize 6.x/7.x, TypeORM 0.3.x, Django 5.x, and Rails 7.x.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Documentation Generator - Hooks

by JSONbored

Automatically generates and updates project documentation from code comments, README files, and API definitions. This PostToolUse hook provides real-time documentation generation when code files are modified, supporting multiple programming languages and documentation formats.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Security Scanner Hook - Hooks

by JSONbored

Automated security vulnerability scanning that integrates with development workflow to detect and prevent security issues before deployment.

Trigger:PostToolUse
Safety Privacy
hooksReview firstSource-backedReview firstClaude Code

Dead Code Eliminator - Hooks

by JSONbored

Automatically detects and removes unused code, imports, and dependencies with safe deletion verification and rollback support using Knip 5.x, ts-prune, depcheck, autoflake, Vulture, and ESLint 9.37.0.

Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Dependency Security Scanner - Hooks

by JSONbored

Real-time vulnerability scanning for dependencies with automated CVE detection, severity assessment, and patch recommendations. This PostToolUse hook automatically triggers security scans when dependency manifest files (package.json, requirements.txt, Cargo.toml, go.mod, Gemfile, composer.json) are modified.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Docker Image Security Scanner - Hooks

by JSONbored

Comprehensive Docker image vulnerability scanning with layer analysis, base image recommendations, and security best practices enforcement. This PostToolUse hook automatically scans Docker images for vulnerabilities when Dockerfiles are modified, providing real-time security validation during development.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Documentation Coverage Checker - Hooks

by JSONbored

Automated documentation coverage analysis with missing docstring detection, API documentation validation, and completeness scoring. This PostToolUse hook automatically checks documentation coverage when code files are modified, providing real-time documentation quality validation during development.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Accessibility Checker - Claude Code Hooks

by JSONbored

Automated accessibility testing and compliance checking for web applications following WCAG 2.1 and WCAG 2.2 guidelines. This hook automatically runs accessibility scans on HTML files after they are written or edited, using axe-core for comprehensive WCAG compliance testing.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

API Doc Generator

by JSONbored

Automatically generates or updates API documentation when endpoint files are modified, supporting OpenAPI 3.1.0, Swagger 2.0, and AsyncAPI 2.0 specifications.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Auto Code Formatter Hook - Claude Code Hooks

by JSONbored

Automatically formats code files after Claude writes or edits them using industry-standard formatters including Prettier 3.6.2+ (JavaScript/TypeScript/Web), Black or Ruff (Python), gofmt (Go), and rustfmt (Rust).

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Auto Save Backup - Hooks

by JSONbored

Automatically creates timestamped backups of files before modification to prevent data loss. This hook runs before file editing operations (Edit, Write, Multiedit) and creates versioned backups in a centralized .backups directory with ISO 8601-compliant timestamps including nanoseconds for collision prevention.

Trigger:PreToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

AWS CloudFormation Validator - Hooks

by JSONbored

Validates AWS CloudFormation templates for syntax errors and best practices using cfn-lint v1.40.4+ and AWS CLI v2.27.54+.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Code Complexity Alert Monitor - Hooks

by JSONbored

Alerts when code complexity exceeds thresholds in real-time using cyclomatic complexity analysis, line count monitoring, function count analysis, and nesting level detection.

Trigger:Notification
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

CSS Unused Selector Detector - Hooks

by JSONbored

Detects unused CSS selectors when stylesheets are modified to keep CSS lean using PurgeCSS, PostCSS, and content analysis. This hook runs on CSS/SCSS file write/edit operations and analyzes stylesheets to identify unused selectors, generate optimized output, and report before/after size metrics.

Trigger:PostToolUse
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Database Connection Cleanup - Hooks

by JSONbored

Closes all database connections and cleans up resources when Claude Code session ends using PostgreSQL pg_terminate_backend, MySQL KILL, MongoDB connection management, and Redis CLIENT KILL commands.

Trigger:Stop
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Discord Activity Notifier - Hooks

by JSONbored

Sends development activity updates to Discord channel for team collaboration. This Notification hook automatically sends rich embed messages to Discord webhooks when Claude Code activities occur, providing real-time team visibility into development workflows.

Trigger:Notification
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Doc Auto Generator

by JSONbored

Automatically generates or updates project documentation when session ends.

Trigger:Stop
Safety · Privacy ·
hooksReview firstSource-backedReview firstClaude Code

Environment Cleanup Handler - Hooks

by JSONbored

Cleans up temporary files, caches, and resources when Claude session ends. This Stop hook provides comprehensive environment cleanup for development projects, automatically removing temporary files, build artifacts, cache directories, and system-specific files across multiple platforms.

Trigger:Stop
Safety · Privacy ·