UNPKG

claude-git-hooks

Version:

Git hooks with Claude CLI for code analysis and automatic commit messages

59 lines (53 loc) 2.1 kB
{ "$schema": "Configuration v2.8.0 - Simplified format", "$comment": "Copy relevant sections to .claude/config.json in your project", "_example_minimal": "Minimal config (99% of users) - just select a preset", "version": "2.8.0", "preset": "backend", "_example_with_github": "With GitHub PR configuration (most common)", "_config_with_github": { "version": "2.8.0", "preset": "backend", "overrides": { "github": { "pr": { "defaultBase": "main", "reviewers": ["tech-lead", "teammate"], "labelRules": { "backend": ["backend", "java", "spring-boot"], "frontend": ["frontend", "react", "typescript"], "fullstack": ["fullstack"], "database": ["database", "sql"], "ai": ["ai", "nodejs", "tooling"], "default": [] } } } } }, "_example_custom_batch": "Customize parallel analysis batch size", "_config_custom_batch": { "version": "2.8.0", "preset": "fullstack", "overrides": { "subagents": { "batchSize": 2 } } }, "_available_presets": [ "backend - Spring Boot + SQL Server", "frontend - React + TypeScript", "fullstack - Backend + Frontend", "database - SQL-focused", "ai - Node.js + Claude API", "default - Multi-language" ], "_notes": { "version": "Always use '2.8.0' for new format", "preset": "Required - determines tech-stack analysis", "overrides": "Optional - only override what's different from preset defaults", "github_token": "Stored separately in .claude/settings.local.json (gitignored) or env var GITHUB_TOKEN", "advanced_params": "See config.advanced.example.json for advanced customization" } }