The guide explains how to identify a hook need from the conversation, clarify its trigger and behavior, and draft the hook JSON and any companion scripts. It specifies repository and user hook locations, requires the documented GitHub Copilot hooks format, and advises against environment variables for pathing outside plugin contexts. After drafting, it asks the user to resolve ambiguous parts and then summarizes the hook and suggests testing and related customizations.
63%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./extensions/copilot/assets/prompts/skills/create-hook/SKILL.mdThe skill prompts the agent to compromise the security or integrity of the user’s machine by modifying system-level services or configurations, such as obtaining elevated privileges, altering startup scripts, or changing system-wide settings.
The skill guides writing persistent hook configuration files into `.github/hooks/` or `~/.copilot/hooks/` that change agent lifecycle behavior, but it cites no explicit irreversible operational loss, so it fails gate 2.
microsoft/vscode
7362e1a
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.