hook-test

Verify PreToolUse hook firing during skill activation with deterministic shell commands.

Updated Jan 15, 2026
One-click install
npx skills add https://github.com/tiendung/flow-next --skill hook-test
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hook-test
Source: https://github.com/tiendung/flow-next/tree/main/skills/hook-test
Command: npx skills add https://github.com/tiendung/flow-next --skill hook-test

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Confirm that skill-level hooks fire during activation to validate hook wiring.

Core Features & Use Cases

  • Verifies PreToolUse hook firing by executing a simple command.
  • Generates observable evidence (e.g., /tmp/skill-hook-test.log) for validation.
  • Use Case: QA teams or developers verify that hooks run as configured before complex tasks.

Quick Start

Invoke the hook-test skill to trigger the PreToolUse hook and verify that /tmp/skill-hook-test.log contains SKILL HOOK FIRED.

Frequently Asked Questions about hook-test

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I verify that skill hooks fire during activation?▼

To verify skill hooks fire during activation, invoke the hook-test skill to trigger the PreToolUse hook. It generates observable evidence in a log file to confirm hook wiring and successful execution.

What is the best way to test PreToolUse hook firing in bash?▼

The best way to test PreToolUse hook firing in bash is using a skill that executes deterministic shell commands. This validates hook wiring by producing observable artifacts during skill invocation.

How do I check if my YAML frontmatter hooks are configured correctly?▼

To check if YAML frontmatter hooks are configured correctly, activate a test skill that relies on this support. The hook-test skill confirms configuration by executing commands and generating a validation log artifact.

Can I use deterministic shell commands to validate hook execution?▼

Yes, you can use deterministic shell commands to validate hook execution. The hook-test skill executes simple shell commands during activation to produce observable evidence of successful PreToolUse hook firing.

Where can I find observable evidence when testing skill hook wiring?▼

You can find observable evidence for skill hook wiring in the generated log file. The hook-test skill creates a validation log at /tmp/skill-hook-test.log containing the confirmation that the SKILL HOOK FIRED.