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
التثبيت
انسخ هذا المجلد إلى مشروع Claude Code (يتطلب Node.js):
npx degit davila7/claude-code-templates/cli-tool/components/skills/development/hook-development .claude/skills/hook-developmentأو ثبّته لكل المشاريع:
npx degit davila7/claude-code-templates/cli-tool/components/skills/development/hook-development ~/.claude/skills/hook-developmentمحتوى الملف
من إنشاء مؤلفيه الأصليين ومنشور بترخيص MIT. نعرضه دون تغيير، مع ذكر المصدر ورابط إليه. المصدر ↗
…