๐ฏ Major Features
โ๏ธ Settings System
- ๐๏ธ Hierarchical Configuration: Full support for user, project, local, and enterprise settings
- ๐ฆ Modular Components: Individual settings for permissions, model selection, telemetry, and cleanup policies
- ๐ง Interactive Installation: Choose installation location with guided prompts
- ๐ก๏ธ Security-First: Proper handling of sensitive data with local settings
๐ช Hooks System Overhaul
- โ Claude Code Specification Compliance: All hooks now follow official array/matcher format
- ๐ฏ Event-Driven Automation: Complete support for PreToolUse, PostToolUse, Stop, and more
- ๐ฑ Telegram Integration: Three notification hooks with comprehensive setup guide
- ๐ง Development Tools: Smart formatting, file backup, change tracking, and linting integration
- ๐ Git Workflow: Auto-staging and intelligent commit message generation
- ๐ Performance Monitoring: System health tracking and optimization alerts
๐ Installation Location Selection
- ๐ User Settings (
~/.claude/settings.json
) - Global configuration - ๐ Project Settings (
.claude/settings.json
) - Team-shared settings - โ๏ธ Local Settings (
.claude/settings.local.json
) - Personal, not committed - ๐ข Enterprise Settings - System-wide policies with admin requirements
๐ Comprehensive Documentation
- Complete Docusaurus Integration: Full documentation at https://docs.aitmpl.com
- Settings Guide: 300+ lines covering all configuration levels
- Hooks Manual: 400+ lines with automation examples and best practices
- Telegram Setup: Step-by-step bot creation and integration guide
๐ง Technical Improvements
Hook Structure Compliance
- โ Fixed all 20+ hooks to use proper Claude Code array/matcher specification
- ๐ฏ Enhanced pattern matching with tool-specific matchers
- ๐ Environment variable integration (CLAUDE_TOOL_NAME, CLAUDE_TOOL_FILE_PATH)
- ๐ก๏ธ Error handling improvements with graceful fallbacks
CLI Enhancements
- ๐ Interactive location selection for both Settings and Hooks
- ๐ฆ Support for multiple component installation in single command
- ๐ Improved error handling and validation
- ๐ Better user feedback and progress indication
Cross-Platform Support
- ๐ macOS:
/Library/Application Support/ClaudeCode/
- ๐ง Linux/WSL:
/etc/claude-code/
- ๐ช Windows:
C:\ProgramData\ClaudeCode\
๐ฆ Available Components
Settings Categories
- ๐ก๏ธ Permissions:
allow-npm-commands
,deny-sensitive-files
- ๐ค Model:
use-sonnet
,use-haiku
- ๐ Telemetry:
enable-telemetry
,disable-telemetry
- ๐งน Cleanup:
retention-7-days
,retention-90-days
Hook Categories
- ๐ง Development Tools: file-backup, smart-formatting, lint-on-save
- ๐ Git Workflow: auto-git-add, smart-commit
- ๐งช Testing: test-runner
- โก Automation: telegram-notifications, simple-notifications, build-on-change
- ๐ Security: file-protection, security-scanner
- ๐ Performance: performance-monitor
๐ Installation
# Install Settings with location selection
npx claude-code-templates@latest --setting=model/use-sonnet
# Install Hooks with location selection
npx claude-code-templates@latest --hook=git-workflow/auto-git-add
# Install multiple components
npx claude-code-templates@latest --setting=model/use-sonnet,telemetry/enable-telemetry
# Skip location prompt (defaults to local settings)
npx claude-code-templates@latest --hook=automation/telegram-notifications --yes
๐ Documentation
- ๐ Web Documentation: https://docs.aitmpl.com
- ๐ฑ Telegram Setup: Complete Integration Guide
- ๐ง Settings Guide: Configure permissions, models, and policies
- ๐ช Hooks Manual: Event-driven automation workflows
๐ Migration from Previous Versions
If you have existing hook configurations, they will continue to work. However, we recommend updating to the new format for better compatibility:
Old Format (deprecated):
{"PreToolUse": "echo 'starting'"}
New Format (recommended):
{
"PreToolUse": [{
"matcher": "*",
"hooks": [{"type": "command", "command": "echo 'starting'"}]
}]
}
๐ ๏ธ Contributors
Thanks to all contributors who helped make this release possible!
Full Changelog: v1.17.1...v1.18.0