Commit Graph

47 Commits

Author SHA1 Message Date
Dani a9c36fc852 feat: add 3 subagent hooks components (security theme)
- hooks/security/ai-bash-guard: PreToolUse with type:agent — AI-powered bash security guard using haiku subagent
- settings/hooks/subagent-lifecycle-logger: SubagentStart/SubagentStop audit trail to .claude/agent-log.jsonl
- agents/security/read-only-auditor: security auditor with frontmatter hooks blocking Write/Edit/Bash while active
2026-05-08 20:27:16 -04:00
Mario Hernandez 262da50f98 fix(context-timeline): detect Opus 1M context window dynamically (#548)
CONTEXT_LIMIT was hardcoded at 200_000 tokens. Users on Claude Opus 4.7
with the 1M context window (model: "opus[1m]") saw the dashboard report
80–90% usage when actual usage was 16–18%, producing constant false
alarms and making the meter unusable on long sessions.

Replace the constant with _detect_context_limit(cwd) which resolves the
limit in this order:

1. CONTEXT_TIMELINE_LIMIT env var (explicit override).
2. "[1m]" / "[1000k]" / "[200k]" suffix in the model field of
   <cwd>/.claude/settings.json or ~/.claude/settings.json.
3. 200_000 fallback (current behaviour).

The limit is resolved once per _Builder instance, not per update tick,
so there is no per-event filesystem cost.

No new dependencies (still stdlib only). Default behaviour is unchanged
for users without [1m] in settings.

Verified live on a real Opus 1M session of ~178K tokens: meter went
from 89% (red, false alarm) to 17.9% (cyan, correct).
2026-04-27 20:10:27 -04:00
Fernando Basilis e11ff2e105 fix(context-timeline): cross-platform path encoding for transcript lookup (#550)
The `_encode_cwd` function only replaced `/` with `-`, which fails on
Windows where paths use `\` and include drive letters like `D:`.

Use regex to replace any non-alphanumeric character with `-`.
This handles all edge cases across platforms in a single expression.

Before: D:\Claude\mcx -> lookup failed
After:  D:\Claude\mcx -> D--Claude-mcx (matches Claude Code encoding)
2026-04-27 20:09:13 -04:00
Dani fc2155655c fix(context-timeline): reload sessions from disk on cache miss when daemon predates session 2026-04-25 23:24:30 -04:00
Dani 99f423049d feat(hook): add monitoring/context-timeline real-time session visualizer
Persistent local HTTP daemon (port 7878, 1h watchdog) that reads Claude Code
JSONL transcripts and renders a git-graph timeline in the browser — one column
per agent (main + subagents), tool nodes color-coded by type, context-window
sidebar with cache/input/output breakdown. Pure stdlib Python, zero pip deps.
2026-04-25 23:08:28 -04:00
Daniel Avila cbaaec3257 Merge pull request #520 from yurukusa/add-shell-wrapper-guard
Add shell-wrapper-guard: detect destructive commands in interpreter one-liners
2026-04-18 18:36:20 -04:00
yurukusa aa977104c9 fix: address P1 review issues from cubic-dev-ai
1. Python one-liner: detect version-suffixed executables (python3.11, python3.12)
   Pattern: python[23]? → python[23]?(\.[0-9]+)?
2. Pipe-to-shell: detect shell invocations with arguments (| sh -s, | bash -c)
   Pattern: \|\s*(sh|bash|zsh)\s*$ → (\s|$)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 20:44:36 +09:00
Kilian Canizares Mata 7d83fa8647 fix(hooks): narrow simple-notifications to Stop and Notification events
The PostToolUse hook with a wildcard matcher fires on every single tool
call, flooding the user with dozens of notifications per turn. Replace
with Stop (fires once when Claude finishes) and Notification (fires
when Claude needs user input), matching the pattern already used by
discord-notifications and slack-notifications hooks.
2026-04-13 10:59:52 +02:00
yurukusa 5299c0c18d Add shell-wrapper-guard hook to security category
Detects destructive commands hidden in shell wrappers (sh -c, bash -c,
python3 -c, node -e, etc). Complements dangerous-command-blocker by
catching 8 bypass vectors that evade direct command checks.
From cc-safe-setup (667 hooks, 9,200+ tests, 800hrs autonomous operation).
https://github.com/yurukusa/cc-safe-setup
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 17:45:08 +09:00
Dani 36fa6dbd5d feat: Add supply-chain-guard skill, worktree commands, security hooks, and updated catalog
New components:
- supply-chain-guard skill (security): npm/PyPI/CI supply chain scanner with IOC database
- worktree-guide skill: parallel development with git worktrees
- dependabot-review skill: automated Dependabot PR management
- worktree-check/cleanup/deliver/init commands (git-workflow)
- edit-audit-log hook (development-tools)
- env-file-protection and force-push-blocker hooks (security)

Also includes:
- Regenerated components.json catalog (docs + dashboard)
- TinyFish featured page updates and logo
- .vercelignore and dashboard .gitignore updates
2026-03-31 21:13:20 -04:00
Mónica González Paz fc83c2a9c4 feat: enterprise quality hooks and agents from pm-workspace (#397)
* feat: add enterprise quality hooks and agents from pm-workspace

Add 3 quality gate hooks and 2 specialized agents contributed from
pm-workspace (https://github.com/gonzalezpazmonica/pm-workspace):

Hooks (new category: quality-gates/):
- tdd-gate: Enforces TDD — blocks editing production code without tests
- plan-gate: Warns about implementing without an approved specification
- scope-guard: Detects files modified outside the declared spec scope

Agents:
- sdd-spec-writer: Creates executable specifications for AI agents
- commit-guardian: 10-check pre-commit verification protocol

All components are generic (no Azure DevOps dependency), MIT licensed,
and follow the project's component structure conventions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address all 12 cubic review issues on enterprise hooks and agents

Fixes applied per cubic-dev-ai review:

Hooks (JSON configs):
- Add MultiEdit matcher to tdd-gate, plan-gate (was bypassing gate)
- Use $CLAUDE_PROJECT_DIR for all hook paths (avoid CWD-dependent failures)

tdd-gate.sh:
- Narrow test file globs: use suffix-based patterns (*Test.ext, *.test.ext)
  instead of overly broad *test* substring match (P1 fix)
- Improve test discovery: search nearby dirs first (same module), fallback
  to project-wide with -maxdepth 6 to limit latency on large repos

plan-gate.sh:
- Remove `set -euo pipefail` that caused unintentional blocking when find
  fails on non-existent dirs
- Add `|| true` to find to prevent exit-on-error

scope-guard.sh:
- Fix spec selection: use -printf '%T@ %p' sorted by mtime (not path sort)
  with macOS fallback using xargs ls -t
- Broaden declared-file regex: support longer extensions and @ in paths
- Fix word-splitting: use while-read loop instead of unquoted for-in
- Fix matching: use case-based suffix match instead of substring grep

commit-guardian.md:
- CHECK 3: Fix Python build command (per-file py_compile, not bare)
- CHECK 3: Add Go and Rust build detection, add SKIP when no build system
- CHECK 10: Change from WARN to BLOCK for malformed commit messages

sdd-spec-writer.md:
- Add explicit .spec.md naming convention requirement (quality gate hooks
  depend on this filename pattern for spec detection)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address cubic review round 2 — null-delimit macOS fallback, existence-only spec check

- scope-guard.sh: use -print0/xargs -0 for macOS fallback to handle
  paths with spaces safely (cubic P2)
- plan-gate.sh: replace full enumeration with find -print -quit for
  existence-only check, avoiding unnecessary latency in large repos
  (cubic P2)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 19:17:40 -05:00
daniel 043f37342e feat: add interview toolkit (6 components)
Codebase explorer agent, deadline countdown statusline, change logger
hook, deadline prep skill, commit smart skill, and test detect skill.
Designed for rapid onboarding on unfamiliar codebases with time pressure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 14:38:47 -08:00
daniel 499a116ad8 feat: Add worktree-ghostty hook component
Opens a 3-panel Ghostty layout (Claude | lazygit / yazi) when creating
worktrees in sibling directories. Handles both WorktreeCreate and
WorktreeRemove events with a single companion script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 12:14:48 -08:00
Diego 2c9e88b0a5 feat: add desktop notification hook on Stop event (#360) 2026-02-22 21:21:06 -08:00
Moiri Gamboni a0b4da050c fix: dangerous-command-blocker hook references wrong script path (#367)
The installer (`installIndividualHook` in index.js) places companion
Python scripts in `.claude/hooks/`, but the hook config referenced
`.claude/scripts/`. This meant the hook would always fail with a
"file not found" error at runtime, silently rendering it non-functional.

Also removed the `2>&1` stderr redirect which masked the error by
merging stderr into stdout, causing the hook runner to report the
unhelpful "No stderr output" message instead of the actual cause.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:17:44 -08:00
Daniel Avila 5d29ab3d83 Add telegram-pr-webhook hook for PR creation notifications (#342)
Hook that sends Telegram notification when a new PR is created via
`gh pr create`, including the PR URL and Vercel preview URL.

Files added:
- cli-tool/components/hooks/automation/telegram-pr-webhook.json (component)
- cli-tool/components/hooks/automation/telegram-pr-webhook.py (component script)
- .claude/settings.json (project hook config)
- .claude/hooks/telegram-pr-webhook.py (project hook script)
- .gitignore updated to track the hook script

Uses TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables.

https://claude.ai/code/session_013aBUK67VEy9Q2MaUGUVRJQ

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-07 20:29:57 -05:00
Hyeon Sung 1c632c82c2 Implement console.log cleaner for production branches (#310) 2026-01-29 00:41:04 -05:00
Dani d3ce23847f feat: improve secret-scanner hook with stdin JSON parsing
- Update description to list 30+ supported providers
- Simplify hook command by removing git commit grep filter
- Parse Claude Code JSON input from stdin to detect git commit
- Handle git commit -a and chained git add && git commit scenarios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 20:21:52 -05:00
Dani b5c377ae6c feat: expand secret scanner patterns and add skills support
- Add 25+ new secret detection patterns to secret-scanner.py (Anthropic,
  Google OAuth, GitLab, Vercel, Supabase, Hugging Face, Replicate, Groq,
  Databricks, Azure, Cloudflare, DigitalOcean, Linear, Notion, Figma,
  npm, PyPI tokens)
- Fix regex escaping in security-scanner.json (single quote matching)
- Add skills component type to Discord bot interactions
- Add Linear MCP server to .mcp.json
- Update .gitignore for opsx commands, skills, and openspec dirs
- Regenerate components.json catalog

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-28 19:13:48 -05:00
Daniel Avila 2f667130ad feat: Add secret-scanner hook for detecting hardcoded credentials (#304)
Added new security hook that automatically scans staged files before git commits to detect:
- API keys (AWS, OpenAI, Stripe, Google, GitHub, SendGrid, Twilio, Mailgun)
- Authentication tokens and passwords
- Private keys (RSA, SSH, OpenSSH)
- Database connection strings (MySQL, PostgreSQL, MongoDB, SQL Server)
- JWT tokens, Slack tokens, Telegram bot tokens, Discord webhooks

Features:
- Multi-pattern regex detection with severity levels (critical, high, medium, low)
- Excludes false positives from comments with "example" or "placeholder"
- Skips binary files, lock files, and excluded directories
- Provides clear error messages with fix suggestions
- Suggests environment variables and secrets management services

Files:
- cli-tool/components/hooks/security/secret-scanner.json
- cli-tool/components/hooks/security/secret-scanner.py

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-24 18:07:22 -05:00
Daniel Avila ceb3a9e40c feat(hooks): enhance dangerous-command-blocker with multi-level security (#281)
Enhanced the dangerous-command-blocker hook with comprehensive protection:

## Features:
- **3-Level Security System:**
  - Level 1: Block catastrophic commands (rm -rf /, dd, mkfs, fork bombs)
  - Level 2: Protect critical paths (.claude/, .git/, node_modules/, .env, etc.)
  - Level 3: Warn about suspicious patterns (wildcards, chained commands)

- **Python Script Architecture:**
  - Moved from inline Python to dedicated script for better maintainability
  - Script auto-installed to .claude/scripts/dangerous-command-blocker.py
  - Clear regex patterns and detailed error messages

- **Protected Resources:**
  - Claude Code configuration (.claude/)
  - Git repository (.git/)
  - Node.js dependencies (node_modules/, package.json, package-lock.json)
  - Environment files (.env, .env.local, etc.)
  - Language manifests (Cargo.toml, go.mod, requirements.txt, Gemfile, composer.json)

## Testing:
- 16/16 test cases passing (100%)
- Blocks catastrophic operations
- Protects critical project files
- Warns on suspicious patterns
- Allows safe operations

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-17 23:10:35 -05:00
Daniel Avila 5d4f4f1ac0 feat(hooks): add dangerous-command-blocker security hook (#279)
Add new security hook to prevent accidental execution of dangerous shell
commands like rm -rf, dd, mkfs, and other destructive operations.

Features:
- Blocks rm with dangerous flags (recursive, force) on critical paths
- Detects wildcards and system directory targets (/, ~, *)
- Prevents disk operations (dd, mkfs, format)
- Blocks fork bombs and direct disk device access
- Provides clear safety guidelines in error messages
- Allows safe operations (e.g., rm -rf /tmp/specific-folder)

Reviewed by component-reviewer agent.

Co-authored-by: Claude <noreply@anthropic.com>
2026-01-17 22:37:14 -05:00
odoldotol 3d4ec258fb feat(hook/debug-window): close window on session end (#270)
* Create close-debug-window.sh

* Enhance debug window script with detailed comments

Refactor debug window script for clarity and functionality.

* Enhance debug window description and functionality

Updated the debug window description to include additional details about its functionality and platform support.

* Update cli-tool/components/hooks/development-tools/debug-window.json

Invalid JSON: missing comma after description makes configuration unparsable

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

* Update close-debug-window.sh for Windows compatibility

Replace taskkill with ps and kill for better compatibility in Git Bash/Cygwin environments.

* refac: merge close-debug-window.sh to debug-window.sh

- Parses input to get hook_event_name
- Based on hook_event_name, either opens or closes the window

* Delete cli-tool/components/hooks/development-tools/close-debug-window.sh

* Change debug window command script

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-17 21:03:52 -05:00
Dani 5ef9804f6a chore: Update catalog and LangSmith hook configuration
- Remove background execution (&) from langsmith-tracing hook
- Update component catalog with latest stats (383,881 downloads)
- Total components: 355 skills, 174 agents, 221 commands, 63 MCPs, 62 settings, 41 hooks

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 19:03:16 -05:00
Dani e4c2275bf6 feat(hooks): Add LangSmith tracing integration
Add comprehensive LangSmith observability integration for Claude Code:

- Add langsmith-tracing hook in monitoring category
  - Runs in background with & to avoid blocking
  - Official LangSmith stop_hook.sh script (33KB)
  - Automatic trace upload to LangSmith API
  - Session grouping with thread_id for continuity

- Add langsmith-tracing setting in telemetry category
  - Environment variables with placeholders
  - Easy installation for users
  - Clear instructions for API key setup

- Add bash script support to CLI (index.js)
  - Auto-downloads .sh files with executable permissions
  - Mirrors existing Python file handling
  - Critical for hook functionality

- Update security (.gitignore)
  - Protect .claude/settings.local.json (may contain API keys)
  - Protect .claude/hooks/ directory
  - Remove settings.local.json from git tracking

- Update component catalog (62 settings, 41 hooks)

Installation:
  npx claude-code-templates@latest --hook monitoring/langsmith-tracing
  npx claude-code-templates@latest --setting telemetry/langsmith-tracing

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-09 18:45:10 -05:00
odoldotol c73206a473 fix(hook/debug-window): window opens without debug flag (#254)
* feat: debug-window

Auto Debug Log Viewer. Automatically opens a new window with live debug log output when a Claude Code session starts.

* fix: replace BSD-incompatible grep -P with portable sed for session_id extraction

* fix(hook/debug-window): Debug window opens without --debug flag

Add check for --debug flag to control debug log opening.

* doc(hook/debug-window): Update description for clarity

* Update cli-tool/components/hooks/development-tools/debug-window.sh

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2026-01-07 13:32:07 -05:00
odoldotol 983666a769 feat: debug-window (#154)
* feat: debug-window

Auto Debug Log Viewer. Automatically opens a new window with live debug log output when a Claude Code session starts.

* fix: replace BSD-incompatible grep -P with portable sed for session_id extraction
2025-12-31 20:58:50 -05:00
Dani 8ee17bda8e feat: implement plugin system with marketplace and category filters
- Add plugin marketplace system with 10 curated plugins
- Create plugin detail pages with installation instructions
- Add component installation modal with copy functionality
- Update Python script to extract plugin data with category/folder paths
- Add category filters that load correctly based on URL
- Update footer across all pages for consistency
- Fix install commands to use folder/name format

Features:
- Plugin cards with View Details button
- Individual component installation with proper paths
- Related plugins based on shared keywords
- Dynamic category loading for all filter types
- URL-based filter detection and category display

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-07 17:15:06 -04:00
Dani 92fdaa1f87 feat: add Python scripts for all Git Flow hooks
- Created conventional-commits.py for commit message validation
- Created prevent-direct-push.py for protected branch enforcement
- Updated all hook JSONs to use Python scripts with proper JSON output
- All hooks now use permissionDecision: "deny" for proper blocking

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 20:02:20 -04:00
Dani 7b320aa371 chore: regenerate components.json with latest changes
Updated components catalog with new Git Flow hook and Python script support.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 19:47:56 -04:00
Dani a042fdd70e feat: add automatic Python script download for all hooks
- Modified installIndividualHook to detect and download .py files for ANY hook
- Added automatic installation of Python scripts to .claude/hooks/
- Python files get executable permissions (0o755)
- Created validate-branch-name.py for proper Git Flow branch validation
- Hook validation now uses JSON output with permissionDecision

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-10-01 19:41:51 -04:00
Dani b7c9eb1990 update agents 2025-10-01 14:49:11 -04:00
Dani 8a292aacb6 add AGENTS.md fallback logic for Claude Code 2025-09-19 19:36:35 -04:00
Dani a0454fe436 add AGENTS.md and agents-md-loader.json, update settings.local.json 2025-09-19 19:27:28 -04:00
Dani e429063c8b update components and agents download counts in docs/components.json 2025-09-19 11:14:46 -04:00
Dani fc2396d3fc update hook 2025-09-12 15:37:54 -04:00
Dani a3c0187e55 feat: component page improvements and SEO-friendly URLs
• Complete component page implementation with cart functionality
• Clean component names (remove .md/.json extensions in display)
• SEO-friendly URLs: /component/type/name format
• Local/production URL detection for development compatibility
• Improved header actions positioning and responsive design
• API keys setup (Anthropic + E2B) for sandbox execution
• Enhanced cart functionality with clean path/name display
• Share dropdown positioning fix (opens upward)
• Compact back navigation styling

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-10 17:07:04 -04:00
Dani eb19e71952 new blog new vercel components 2025-08-31 18:35:52 -04:00
Dani 8cd91e2f23 feat: add notification hooks for Telegram, Slack, and Discord with detailed session information 2025-08-18 10:43:43 -04:00
daniel 24bea545cf 🗑️ Remove Telegram Notifications Setup Guide from documentation 2025-08-14 11:45:20 -04:00
daniel e7ba2c51bf 🗑️ Remove deprecated AI Hook Template and Specification files 2025-08-14 11:43:26 -04:00
daniel 3e71914d39 📚 Add comprehensive Settings and Hooks documentation to Docusaurus
- Added detailed Settings documentation (300+ lines) covering all configuration hierarchy levels
- Added comprehensive Hooks documentation (400+ lines) with event-driven automation examples
- Created Telegram notification hooks with complete setup guide
- Updated overview page to include Settings and Hooks as new component types
- Updated sidebar navigation to include new documentation sections
- Documented installation location selection for both Settings and Hooks
- Added security guidelines, troubleshooting, and best practices

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 09:02:01 -04:00
daniel e5177fbe27 🤖 Complete Hook System Overhaul + AI Specification
✅ Fixed ALL remaining hooks (20 total):
- Updated post-tool/ and pre-tool/ hooks to Claude Code array format
- Fixed git-add-changes, format-javascript-files, format-python-files, run-tests-after-changes
- Fixed backup-before-edit, notify-before-bash

🧠 Added AI Hook Specification System:
- CLAUDE_HOOK_SPECIFICATION.md - Complete hook format guide for AI
- AI_HOOK_TEMPLATE.json - Structured template with examples for AI parsing
- HOOK_PATTERNS_COMPRESSED.json - Compressed patterns for rapid AI reference

📊 Technical Improvements:
- All 20 hooks now use proper array/matcher structure
- Regenerated components.json with corrected hook metadata
- Added comprehensive validation rules and anti-patterns
- Included environment variables and cross-platform compatibility guides

🎯 AI Context Enhancement:
- Future Claude Code sessions can reference these files for correct hook generation
- Compressed format optimizes AI parsing while maintaining completeness
- Common patterns and validation rules prevent structure errors

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 08:14:04 -04:00
daniel c98ce4ec6e 🔧 Fix hook JSON structure for Claude Code compatibility
- Update all 14 hooks to use proper Claude Code array/matcher format
- Fix CLI merge logic to handle new hook structure correctly
- Add support for both old and new hook formats during migration
- Remove conflict detection for hooks (Claude Code arrays support multiple entries)
- Ensure hooks follow proper structure:
  {
    "hooks": {
      "EventName": [
        {
          "matcher": "ToolPattern",
          "hooks": [
            {"type": "command", "command": "bash-command"}
          ]
        }
      ]
    }
  }

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-14 07:52:08 -04:00
daniel 362ea869f7 fix: Update version in package-lock.json to 1.16.0 and adjust notification script formatting 2025-08-13 23:01:16 -04:00
daniel bea1cd00d4 🪝 Reorganize hooks into thematic categories
- Restructure hooks to match component categories (development-tools, git-workflow, testing, automation, security, performance)
- Create 14 new hooks organized by practical use cases:
  • Development tools: command logging, file backup, change tracking, formatting, linting
  • Git workflow: auto-staging, smart commits
  • Testing: automated test running
  • Automation: build triggers, notifications, dependency checking
  • Security: file protection, vulnerability scanning
  • Performance: system monitoring
- Update components.json with new hook structure
- Improve frontend filter consistency across all component types

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 22:51:15 -04:00
daniel 85f7615305 feat: Add Settings and Hooks components system with conflict detection
- Add 9 Settings components (telemetry, permissions, model, cleanup)
- Add 6 Hooks components (formatting, git integration, backups, testing)
- Implement CLI installation with --setting and --hook flags
- Add conflict detection that prompts user before overwriting
- Merge settings into .claude/settings.json with intelligent deep merge
- Update data-loader.js to handle new component types
- Add filter buttons for Settings and Hooks in web interface
- Generate components.json with new Settings and Hooks sections

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-13 22:08:14 -04:00