Hook Development
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",…
Install
Quick install
npx skills add https://github.com/sanity-io/claude-plugins-official/tree/HEAD/skills/Hook Developmentnpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent claude-codenpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent cursornpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent codexnpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent opencodenpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent github-copilotnpx skills add sanity-io/claude-plugins-official --skill "Hook Development" --agent windsurfMore install options
Shorthand — useful for multi-skill repos:
npx skills add sanity-io/claude-plugins-official --skill "Hook Development"Manual — clone the repo and drop the folder into your agent's skills directory:
git clone https://github.com/sanity-io/claude-plugins-official.gitcp -r claude-plugins-official/skills/Hook Development ~/.claude/skills/Hook Development
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",…
Hook Developmentby sanity-io
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",…npx skills add https://github.com/sanity-io/claude-plugins-official --skill 'Hook Development'Download ZIPGitHub
More skills from sanity-io
create-agent-with-sanity-contextby sanity-ioBuild AI agents with structured access to Sanity content via Agent Context. Use when setting up a Sanity-powered chatbot, connecting an AI assistant to Sanity…dial-your-contextby sanity-ioInteractive session to create Instructions field content for a Sanity Agent Context MCP. Use this skill whenever users mention tuning agent context, improving…optimize-agent-promptby sanity-ioTune your Sanity Agent Context agent through guided conversation. Transforms exploration data into production-ready instructions and crafts a system prompt…shape-your-agentby sanity-ioInteractive session to craft a system prompt for an AI agent powered by Sanity Agent Context MCP. Use this skill when users want to define agent personality,…content-experimentation-best-practicesby sanity-ioStructured guidance for designing, executing, and analyzing content experiments to improve conversion and engagement. Covers hypothesis frameworks, metric selection, sample size calculation, and statistical significance testing across A/B and multivariate experiments Includes detailed resources on p-values, confidence intervals, power analysis, and Bayesian methods for interpreting results Provides CMS integration patterns for managing variants at the field level and connecting external...content-modeling-best-practicesby sanity-ioStructured content modeling guidance for schema design, reusability, and multi-channel delivery. Covers core principles: treating content as data rather than pages, maintaining single sources of truth, designing for future channels, and optimizing for editor workflows Includes decision frameworks for references versus embedded objects, separation of concerns, and content reuse patterns Provides taxonomy and classification guidance for flat, hierarchical, and faceted approaches Applies to...portable-text-conversionby sanity-ioConvert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity,…portable-text-serializationby sanity-ioRender and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend…---
Source: https://github.com/sanity-io/claude-plugins-official/tree/HEAD/skills/Hook Development
Author: sanity-io
Discovered via: mcpservers.org
SKILL.md source
--- name: Hook Development description: This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",… --- # Hook Development This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",… # Hook Developmentby sanity-io This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks",… `npx skills add https://github.com/sanity-io/claude-plugins-official --skill 'Hook Development'`Download ZIPGitHub ## More skills from sanity-io create-agent-with-sanity-contextby sanity-ioBuild AI agents with structured access to Sanity content via Agent Context. Use when setting up a Sanity-powered chatbot, connecting an AI assistant to Sanity…dial-your-contextby sanity-ioInteractive session to create Instructions field content for a Sanity Agent Context MCP. Use this skill whenever users mention tuning agent context, improving…optimize-agent-promptby sanity-ioTune your Sanity Agent Context agent through guided conversation. Transforms exploration data into production-ready instructions and crafts a system prompt…shape-your-agentby sanity-ioInteractive session to craft a system prompt for an AI agent powered by Sanity Agent Context MCP. Use this skill when users want to define agent personality,…content-experimentation-best-practicesby sanity-ioStructured guidance for designing, executing, and analyzing content experiments to improve conversion and engagement. Covers hypothesis frameworks, metric selection, sample size calculation, and statistical significance testing across A/B and multivariate experiments Includes detailed resources on p-values, confidence intervals, power analysis, and Bayesian methods for interpreting results Provides CMS integration patterns for managing variants at the field level and connecting external...content-modeling-best-practicesby sanity-ioStructured content modeling guidance for schema design, reusability, and multi-channel delivery. Covers core principles: treating content as data rather than pages, maintaining single sources of truth, designing for future channels, and optimizing for editor workflows Includes decision frameworks for references versus embedded objects, separation of concerns, and content reuse patterns Provides taxonomy and classification guidance for flat, hierarchical, and faceted approaches Applies to...portable-text-conversionby sanity-ioConvert HTML and Markdown content into Portable Text blocks for Sanity. Use when migrating content from legacy CMSs, importing HTML or Markdown into Sanity,…portable-text-serializationby sanity-ioRender and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text. Use when implementing Portable Text rendering in any frontend… --- **Source**: https://github.com/sanity-io/claude-plugins-official/tree/HEAD/skills/Hook Development **Author**: sanity-io **Discovered via**: mcpservers.org
Related skills 6
caveman
Ultra-compressed communication mode. Cuts token usage ~75% by speaking like caveman while keeping full technical accuracy. Supports intensity levels: lite, full (default), ultra, wenyan-lite, wenyan-full, wenyan-ultra. Use when user says "caveman mode", "talk like caveman", "use caveman", "less tokens", "be brief", or invokes /caveman. Also auto-triggers when token efficiency is requested.
secure-linux-web-hosting
Use when setting up, hardening, or reviewing a cloud server for self-hosting, including DNS, SSH, firewalls, Nginx, static-site hosting, reverse-proxying an app, HTTPS with Let's Encrypt or ACME clients, safe HTTP-to-HTTPS redirects, or optional post-launch network tuning such as BBR.
readme-i18n
Use when the user wants to translate a repository README, make a repo multilingual, localize docs, add a language switcher, internationalize the README, or update localized README variants in a GitHub-style repository.
lark-shared
Use when first setting up lark-cli, running auth login, switching user/bot identity (--as), handling permission denied or scope errors, needing to update lark-cli, or seeing _notice in JSON output.
improve-codebase-architecture
Find deepening opportunities in a codebase, informed by the domain language in CONTEXT.md and the decisions in docs/adr/. Use when the user wants to improve architecture, find refactoring opportunities, consolidate tightly-coupled modules, or make a codebase more testable and AI-navigable.
paper-context-resolver
Optional RigorPilot helper for README-first deep learning repo reproduction. Use only when the README and repository files leave a narrow reproduction-critical gap and the task is to resolve a specific paper detail such as dataset split, preprocessing, evaluation protocol, checkpoint mapping, or runtime assumption from primary paper sources while recording conflicts. Do not use for general paper summary, repo scanning, environment setup, command execution, title-only paper lookup, or replacin...