dt:install-project-hooks

Install and configure Claude Code and Codex project hooks with final-rule audits.

1|Updated Apr 15, 2026
One-click install
npx skills add https://github.com/adzcsx2/dev-tools-skills --skill dt-install-project-hooks
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dt:install-project-hooks
Source: https://github.com/adzcsx2/dev-tools-skills/tree/main/skills/install-project-hooks
Command: npx skills add https://github.com/adzcsx2/dev-tools-skills --skill dt-install-project-hooks

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires powershell, bash, git, and includes scripts (resource) components.

What problem does it solve?

Manages and configures project-level hooks for Claude Code and Codex, ensuring consistency and standardization in the hook setup for these tools.

Core Features & Use Cases

  • Project-Level Hook Installation: Automatically installs hooks for Claude Code and Codex in the current repository.
  • Final Rule Audit Hook: Provides a 'final-rule-audit' hook to enforce project rules at critical stages.
  • Dry Run Support: Allows users to preview the changes that would be made without actually installing hooks.
  • Multi-Platform Support: Works on Windows and Unix-like systems with the correct hook file formats (ps1 for PowerShell and sh for Unix shell scripts).

Quick Start

To install the final-rule-audit hooks for both Claude Code and Codex, run the following command: /dt:install-project-hooks --all

Frequently Asked Questions about dt:install-project-hooks

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

FAQPage Schema
How do I install project hooks for Claude Code and Codex?

You can install project hooks for Claude Code and Codex by running the command `/dt:install-project-hooks --all`, which automates the setup of project-level hooks in your current repository for both platforms.

What is a final rule audit hook in project configuration?

A final rule audit hook is a project configuration mechanism that enforces specific project rules at critical workflow stages during software development using Claude Code and Codex.

Does Claude Code hook installation support both Windows and Unix environments?

Yes, Claude Code hook installation supports multi-platform execution, automatically using PowerShell `.ps1` scripts for Windows and Unix shell `.sh` scripts for Unix-like systems.

Can I preview project hook configurations before applying them?

Yes, you can use the Dry Run support feature to preview the changes that would be made to your project hooks without actually installing or modifying any files.

Do I need git to configure Codex project hooks?

Yes, git is required as a dependency alongside PowerShell or bash to properly execute the platform-specific scripts needed for Codex project hook installation.

Why are my project hooks not working after installation?

Project hooks may fail if the platform-specific script formats are mismatched; ensure Windows uses PowerShell `.ps1` files and Unix-like systems use shell `.sh` scripts for proper execution.