Skill / SKILL.md

hooks

nimadorostkar/Claude-Skills-collection

Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should not be trusted to remember, and avoiding hooks that make an agent unusable. Trigger on "run prettier after every edit", "block rm -rf", "claude keeps forgetting to run tests". Do not use for guidance the agent should usually follow — see the agent-instructions skill; for a workflow run on demand, see the slash-commands skill.
1 views 40 repository starsUpdated Nov 27, 2026
Overview

Use when automating agent behavior with lifecycle hooks. Covers hook events, deterministic enforcement of rules the model should not be trusted to remember, and avoiding hooks that make an agent unusable. Trigger on "run prettier after every edit", "block rm -rf", "claude keeps forgetting to run tests". Do not use for guidance the agent should usually follow — see the agent-instructions skill; for a workflow run on demand, see the slash-commands skill.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/nimadorostkar/Claude-Skills-collection' skill-source

Use the complete skill-source/skills/agent-tooling/hooks directory with your client’s skill installer.

  • skills/agent-tooling/hooks

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/agent-tooling/hooks

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
b1cd048a113a84431d67695236958a73f11645c09877a3f6e57ad8d3a69201d9
Format validation findings
  • Metadata requires string values.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills