hook-rule-interviewer

Interview users to design project-level Hookify V2 or Pi hook rule sets.

Updated Apr 8, 2026
One-click install
npx skills add https://github.com/trotsky1997/pi-hookify --skill hook-rule-interviewer
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: hook-rule-interviewer
Source: https://github.com/trotsky1997/pi-hookify/tree/main/skills/hook-rule-interviewer
Command: npx skills add https://github.com/trotsky1997/pi-hookify --skill hook-rule-interviewer

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Interview the user to design a project-level Hookify V2 or Pi hook rule set for a repository. Use this whenever the user wants help defining .pi/hookify.*.local.yaml rules, choosing on / when / do / respond, designing repo-wide guardrails, approvals, command or file safety checks, prompt transforms, rollout policy, or asks things like "design my hook rules", "what hooks should I enable", "repo guardrails", "制定项目级 hook 规则", or "帮我设计项目级 guardrails", even if they do not mention Hookify by name.

Core Features & Use Cases

  • Interview-first guidance to map repo risk signals to Hookify surfaces and policy goals.
  • Produce a project-level policy brief, hook coverage matrix, and rollout plan ready for drafting rules.
  • Help decide enforcement style (audit, warn, block, approve) and scope (project-level vs. tool-level).

Quick Start

Begin the interview by asking targeted questions to reveal risks and objectives, then synthesize a policy plan before drafting any rules.

Frequently Asked Questions about hook-rule-interviewer

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

FAQPage Schema
How do I design project-level hook rules and guardrails for a repository?▼

Designing project-level hook rules involves an interview-first process to map repository risk signals to policy goals, producing a concrete hook policy matrix, coverage matrix, and rollout plan.

What is the best way to define on/when/do/respond surfaces for YAML-based hook policies?▼

Defining YAML-based hook policies requires inspecting repository signals to propose relevant on/when/do/respond surfaces, aligning with frontmatter-driven metadata to establish enforcement styles like audit, warn, block, or approve.

How does an interview-first process help create a hook coverage matrix?▼

An interview-first process helps create a hook coverage matrix by asking targeted questions to reveal repository risks and objectives, synthesizing the answers into a structured policy brief before drafting any rules.

Can I use this approach to establish repo-wide command and file safety checks?▼

Yes, you can establish repo-wide command and file safety checks by mapping identified risk signals to appropriate hookify surfaces, deciding enforcement scope, and generating a candidate rule set for the repository.

What do I need to start configuring local hookify YAML rules for project governance?▼

To configure local hookify YAML rules for project governance, you need to identify your repository risk signals and policy goals, which the interview process uses to generate a structured policy brief and rollout plan.

When should I choose between audit, warn, block, or approve enforcement styles for hook rules?▼

You should choose between audit, warn, block, or approve enforcement styles based on your project-level policy goals and risk tolerance, finalized through the interview process into a rollout plan.