customaize-agent:create-hook

Create and configure git hooks for pre-commit, post-edit, and pre-push workflows.

Updated Apr 6, 2026
One-click install
npx skills add https://github.com/luicabref97/sushi-jungle-web --skill customaize-agent-create-hook-luicabref97
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: customaize-agent:create-hook
Source: https://github.com/luicabref97/sushi-jungle-web/tree/main/.agents/skills/customaize-agent-create-hook
Command: npx skills add https://github.com/luicabref97/sushi-jungle-web --skill customaize-agent-create-hook-luicabref97

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the creation and configuration of project-scoped hooks to enforce code quality, formatting, type safety, and security checks so teams avoid broken commits and inconsistent workflows.

Core Features & Use Cases

  • Automatic project analysis: Detects tooling like TypeScript (tsconfig.json), Prettier, ESLint, and package.json scripts to recommend relevant hooks.
  • Hook generation & registration: Produces executable hook scripts, updates appropriate settings.json locations, and supports global or project-local scopes.
  • Testable, safe deployment: Creates tests for happy and sad paths, validates permissions and executable flags, and provides structured JSON or exit-code outputs for deterministic behavior.
  • Use Case: Add a PreToolUse pre-commit hook that runs type-checking, linting, and secret scanning to block unsafe commits, and a PostToolUse hook that auto-formats and reports fixes.

Quick Start

Ask the skill to analyze the repository and create a pre-commit hook that runs type checking and linting.

Frequently Asked Questions about customaize-agent:create-hook

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

FAQPage Schema
How do I automate pre-commit hooks for TypeScript linting and formatting?

You can automate pre-commit hooks by generating executable scripts that detect tsconfig.json, .prettierrc, and .eslintrc files to run type-checking, linting, and formatting before commits are finalized.

What is the best way to add security scanning and testing to git hooks?

Adding security scanning and testing to git hooks involves creating pre-push and pre-commit scripts that validate code changes and include tests for both success and failure scenarios to ensure safe deployments.

Does this git hook automation work with existing ESLint and Prettier configurations?

Yes, it works with existing ESLint and Prettier configurations by automatically detecting .eslintrc and .prettierrc files in your project and recommending relevant hooks to enforce the established code quality rules.

Can I configure project-scoped git hooks instead of global settings?

Yes, you can configure project-scoped git hooks as the generation process supports both global and project-local scopes, updating the appropriate settings.json locations based on your chosen repository-level context.

How do git hook scripts process validation inputs and outputs?

Git hook scripts process validation inputs by reading JSON data from stdin and producing structured JSON outputs or exit codes, ensuring deterministic behavior for continuous integration and automated checks.