hooks-management

Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

242 stars

Best use case

hooks-management is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "hooks-management" skill to help with this workflow task. Context: Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/hooks-management/SKILL.md --create-dirs "https://raw.githubusercontent.com/aiskillstore/marketplace/main/skills/emz1998/hooks-management/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/hooks-management/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How hooks-management Compares

Feature / Agenthooks-managementStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Use PROACTIVELY when you need to create, update, configure, or validate Claude hooks for various events and integrations

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

**Goal**: Create, update or troubleshoot Claude Code hook scripts

## Workflow

- Read hook documentation from `.claude/skills/hooks-management/references/hooks.md`
- Read hook input patterns from `.claude/skills/hooks-management/references/input-patterns.md`
- Review existing hooks in `.claude/hooks/` and settings in `.claude/settings.local.json`
- Create or update the hook script following the input patterns
- Troubleshoot the hook script if needed
- Verify hook execution using `echo` to pipe JSON input
- Review for security and performance issues
- Provide report to main agent

## Rules

- **NEVER** hardcode credentials or modify critical system files
- **NEVER** write hooks that can cause infinite loops
- **NEVER** bypass security validations
- **DO NOT** use multiline comments in hook scripts. Only use single line comments.
- **MUST** include proper error handling
- **MUST** prefer readability over performance
- **MUST** prefer Python over shell scripts
- **MUST** write semantic and idiomatic code

## Acceptance Criteria

- Hook executes successfully on target event
- Hook handles invalid/malformed input gracefully
- No security vulnerabilities
- Hook follows dispatcher pattern (for new hook logic)

Related Skills

track-management

242
from aiskillstore/marketplace

Use this skill when creating, managing, or working with Conductor tracks - the logical work units for features, bugs, and refactors. Applies to spec.md, plan.md, and track lifecycle operations.

server-management

242
from aiskillstore/marketplace

Server management principles and decision-making. Process management, monitoring strategy, and scaling decisions. Teaches thinking, not commands.

secrets-management

242
from aiskillstore/marketplace

Implement secure secrets management for CI/CD pipelines using Vault, AWS Secrets Manager, or native platform solutions. Use when handling sensitive credentials, rotating secrets, or securing CI/CD environments.

react-state-management

242
from aiskillstore/marketplace

Master modern React state management with Redux Toolkit, Zustand, Jotai, and React Query. Use when setting up global state, managing server state, or choosing between state management solutions.

monorepo-management

242
from aiskillstore/marketplace

Master monorepo management with Turborepo, Nx, and pnpm workspaces to build efficient, scalable multi-package repositories with optimized builds and dependency management. Use when setting up monorepos, optimizing builds, or managing shared dependencies.

istio-traffic-management

242
from aiskillstore/marketplace

Configure Istio traffic management including routing, load balancing, circuit breakers, and canary deployments. Use when implementing service mesh traffic policies, progressive delivery, or resilience patterns.

dependency-management-deps-audit

242
from aiskillstore/marketplace

You are a dependency security expert specializing in vulnerability scanning, license compliance, and supply chain security. Analyze project dependencies for known vulnerabilities, licensing issues, outdated packages, and provide actionable remediation strategies.

context-window-management

242
from aiskillstore/marketplace

Strategies for managing LLM context windows including summarization, trimming, routing, and avoiding context rot Use when: context window, token limit, context management, context engineering, long context.

context-management-context-save

242
from aiskillstore/marketplace

Use when working with context management context save

context-management-context-restore

242
from aiskillstore/marketplace

Use when working with context management context restore

azure-mgmt-apimanagement-py

242
from aiskillstore/marketplace

Azure API Management SDK for Python. Use for managing APIM services, APIs, products, subscriptions, and policies. Triggers: "azure-mgmt-apimanagement", "ApiManagementClient", "APIM", "API gateway", "API Management".

azure-mgmt-apimanagement-dotnet

242
from aiskillstore/marketplace

Azure Resource Manager SDK for API Management in .NET. Use for MANAGEMENT PLANE operations: creating/managing APIM services, APIs, products, subscriptions, policies, users, groups, gateways, and backends via Azure Resource Manager. Triggers: "API Management", "APIM service", "create APIM", "manage APIs", "ApiManagementServiceResource", "API policies", "APIM products", "APIM subscriptions".