H

hooks

by @parcadeiv
4.8(18)

Enforces Hook development rules, guiding users to create and manage hook files via Shell wrappers and TypeScript.

AI HooksLLM CustomizationPrompt EngineeringAgentic WorkflowsEvent-Driven AIGitHub
Installation
npx skills add parcadei/continuous-claude-v3 --skill hooks
compare_arrows

Before / After Comparison

1
Before

The creation and management of Hook files lacked unified standards, leading to chaotic project structures, low team collaboration efficiency, and difficulty in ensuring code quality.

After

Enforce Hook development rules, guiding users to create and manage Hook files through Shell wrappers and TypeScript, thereby enhancing project standardization.

description SKILL.md

hooks

Hook Development Rules When working with files in .claude/hooks/: Pattern Shell wrapper (.sh) → TypeScript (.ts) via npx tsx Shell Wrapper Template #!/bin/bash set -e cd "$CLAUDE_PROJECT_DIR/.claude/hooks" cat | npx tsx .ts TypeScript Handler Pattern interface HookInput { // Event-specific fields } async function main() { const input: HookInput = JSON.parse(await readStdin()); // Process input const output = { result: 'continue', // or 'block' message: 'Optional system reminder' }; console.log(JSON.stringify(output)); } Hook Events PreToolUse - Before tool execution (can block) PostToolUse - After tool execution UserPromptSubmit - Before processing user prompt PreCompact - Before context compaction SessionStart - On session start/resume/compact Stop - When agent finishes Testing Test hooks manually: echo '{"type": "resume"}' | .claude/hooks/session-start-continuity.sh Registration Add hooks to .claude/settings.json: { "hooks": { "EventName": [{ "matcher": ["pattern"], // Optional "hooks": [{ "type": "command", "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/hook.sh" }] }] } } Weekly Installs181Repositoryparcadei/contin…laude-v3GitHub Stars3.6KFirst SeenJan 22, 2026Security AuditsGen Agent Trust HubPassSocketPassSnykPassInstalled oncodex172opencode172gemini-cli169cursor169github-copilot167amp161

forumUser Reviews (0)

Write a Review

Effect
Usability
Docs
Compatibility

No reviews yet

Statistics

Installs1.4K
Rating4.8 / 5.0
Version
Updated2026年3月17日
Comparisons1

User Rating

4.8(18)
5
0%
4
0%
3
0%
2
0%
1
0%

Rate this Skill

0.0

Compatible Platforms

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

Timeline

Created2026年3月17日
Last Updated2026年3月17日