Skip to content
Agentmart
Submit a tool

implement-hooks

Implement and validate Claude Code hook configurations and hook scripts for command, prompt, and agent workflows.

Skill by yu-iskw

IndexedApache-2.0★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/yu-iskw-implement-hooks-5f1c33

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Implement and validate Claude Code hook configurations and hook scripts for command, prompt, and agent workflows.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Shell scripts

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/implement-hooks

What's inside

Skill name
implement-hooks
Description
Implement and validate Claude Code hook configurations and hook scripts for command, prompt, and agent workflows.
License
Apache-2.0
Instructions
38 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (11)

  • SKILL.md
  • agent-hook-example.json · assets/templates/
  • command-hook-example.sh · assets/templates/
  • hooks-template.json · assets/templates/
  • prompt-hook-example.json · assets/templates/
  • hook-events.md · references/
  • hook-location.md · references/
  • hook-matchers.md · references/
  • hook-types.md · references/
  • test-hook-script.sh · scripts/
  • validate-hooks.sh · scripts/

SKILL.md (first lines)

# Implement Hooks

Build or update `hooks/hooks.json` and related script handlers with deterministic validation.

## Workflow

1. Identify required hook event(s), matcher(s), and hook type(s).
2. Implement `hooks/hooks.json` using stable `${CLAUDE_PLUGIN_ROOT}` paths.
3. Add or update hook handler scripts and mark them executable.
4. Run hook validation and script smoke tests.
5. Verify plugin-level integration from `implement-plugin` and cross-check in `plugin-verification`.

## Progressive Disclosure

- Event model and usage: `references/hook-events.md`
- Hook types and payload shape: `references/hook-types.md`
- Matcher patterns and filtering: `references/hook-matchers.md`
- Hook file placement and path rules: `references/hook-location.md`

- Hook config validation: `scripts/validate-hooks.sh`
- Hook script smoke test: `scripts/test-hook-script.sh`

- Base hooks template: `assets/templates/hooks-template.json`
- Command hook example: `assets/templates/command-hook-example.sh`
- Prompt hook example: `assets/templates/prompt-hook-example.json`
- Agent hook example: `assets/templates/agent-hook-example.json`

## Related Skills

- Umbrella routing and tradeoffs: `../implement-claude-extensions/SKILL.md`
- Plugin packaging and manifest wiring: `../implement-plugin/SKILL.md`

## Sources

- https://code.claude.com/docs/en/hooks-guide
- https://code.claude.com/docs/en/plugins

From yu-iskw/software-development-team-plugin, Apache-2.0.

More from yu-iskw/software-development-team-plugin

Signals

Stars
3
Forks
1
Open issues
2
Last commit (this folder)
Feb 7, 2026 (8 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

Same skill elsewhere

Copies of this SKILL.md published by others; search shows only one of them.

More from yu-iskw

Cite this page

implement-hooks skill. Agent Mart. https://agentmart.dev/skills/yu-iskw-implement-hooks-5f1c33 (last updated 2026-10-24)