Receber por email
← Voltar para o catálogo

pre-post-hooks

Guide for configuring PreToolUse, PostToolUse, and Stop hooks in Claude Code. Use when the user asks about hooks, wants to run commands before/after tool calls, needs auto-formatting, auto-linting, validation gates, or mentions settings.json hook config.

4estrelas
Atualizado há 5 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add VersoXBT/claude-initial-setup

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/pre-post-hooks/svg)](https://www.skillteca.com.br/skills/pre-post-hooks)

Skills relacionadas

Ver todas de DevOps e Infra →

Alerta por categoria

Receba novas skills de DevOps e Infra toda segunda

1 email curto, só com as skills novas de DevOps e Infra. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Pre/Post Hooks

Claude Code hooks are shell commands that execute automatically in response to tool events. They enable validation, formatting, and guardrails without manual intervention.

When to Use

  • User wants to run a command before or after a tool executes
  • User asks about PreToolUse, PostToolUse, or Stop hooks
  • User wants to add validation gates or blockers
  • User needs to configure hooks in settings.json
  • User mentions auto-running commands on file edit, git push, or session end

[Description truncada. Veja o README completo no GitHub.]

Compartilhar X LinkedIn