Hooks

13 skills with this tag

anthropics
Passed
Plugin Settings
This skill documents how to create user-configurable Claude Code plugins using .local.md files with YAML frontmatter. It provides bash utilities for parsing settings files and examples of hooks that adapt their behavior based on project-specific configuration.
Plugin DevelopmentConfigurationYaml+3
50761.4k
affaan-m
Passed
Strategic Compact
This skill provides a PreToolUse hook that tracks how many Edit/Write operations you've made and suggests running /compact at strategic points (default: every 50 calls, then every 25 after). It helps preserve important context by suggesting compaction at logical workflow boundaries rather than relying on arbitrary auto-compaction.
Context ManagementHooksWorkflow+2
12832.2k
affaan-m
Passed
Continuous Learning
This skill runs as a Stop hook at the end of Claude Code sessions to analyze conversation transcripts and extract reusable patterns. It identifies error resolutions, debugging techniques, workarounds, and project-specific conventions, saving them as learned skills for future reference.
AutomationLearningSession Analysis+3
8432.2k
wshobson
Passed
react-modernization
This skill helps developers modernize React applications by providing comprehensive guidance on upgrading from React 16 to 18, migrating class components to functional components with hooks, and adopting concurrent features like Suspense and Transitions. It includes code examples, codemod commands, and migration checklists.
ReactMigrationHooks+3
50527.0k
anthropics
Passed
Agent Development
Comprehensive toolkit for developing Claude Code plugins with 7 specialized skills covering hooks, MCP integration, plugin structure, settings, commands, agents, and skill development. Includes validation utilities, working examples, and detailed documentation following progressive disclosure principles.
Plugin DevelopmentClaude CodeHooks+5
8132.1k
anthropics
Passed
Writing Hookify Rules
Hookify lets you create custom hooks that warn or block specific behaviors in Claude Code. Define rules in markdown files with regex patterns to catch dangerous commands, debug code, or enforce workflows - no complex configuration needed.
AutomationProductivityWorkflow+2
4302.1k
anthropics
Passed
Writing Hookify Rules
This skill provides comprehensive documentation for writing hookify rules - markdown files with YAML frontmatter that define patterns to watch for and messages to show when those patterns match. It covers rule file format, event types (bash, file, stop, prompt), regex pattern syntax, advanced conditions, and best practices for organizing rule files.
HookifyHooksConfiguration+3
3162.1k
anthropics
Passed
Hook Development
A comprehensive guide for creating Claude Code plugin hooks that automate validation, context loading, and workflow enforcement. Includes working example scripts for validating file writes and bash commands, plus utility scripts for testing and linting hook implementations before deployment.
HooksPlugin DevelopmentClaude Code+3
2632.1k
glittercowboy
Passed
Create Hooks
Expert guidance for creating, configuring, and using Claude Code hooks. Use when working with hooks, setting up event listeners, validating commands, automating workflows, adding notifications, or understanding hook types (PreToolUse, PostToolUse, Stop, SessionStart, UserPromptSubmit, etc).
HooksAutomationEvent Driven+3
993858
ZhangHanDong
Security Concern
Evolution
A comprehensive skill for Makepad UI framework development that auto-routes queries to relevant sub-skills, detects compilation errors and suggests fixes, and provides templates for contributing patterns and documentation. Includes hooks for version detection, skill routing, and session learning capture.
MakepadRustUi Framework+3
91695
alinaqi
Passed
React Web
A comprehensive React web development skill that enforces test-first development (TDD) methodology. It provides patterns for functional components, custom hooks, state management with Zustand and React Query, routing with React Router, form handling with React Hook Form and Zod, and testing with React Testing Library and Playwright.
ReactFrontendTesting+3
79453
fcakyon
Passed
Plugin Settings
This skill should be used when the user asks about "plugin settings", "store plugin configuration", "user-configurable plugin", ".local.md files", "plugin state files", "read YAML frontmatter", "per-project plugin settings", or wants to make plugin behavior configurable. Documents the .claude/plugin-name.local.md pattern for storing plugin-specific configuration with YAML frontmatter and markdown content.
Plugin DevelopmentConfigurationYaml+3
97283
fcakyon
Passed
Hook Development
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.
HooksPlugin DevelopmentClaude Code+3
1102283