OpenParable
Skip to content
← Back to skills

Write Hook

Development
write-hook

Write Hook is an Agent Skill for development published in the facebook/sapling repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Create a Mononoke server-side hook with 3-diff split (tests, wiring, implementation), unit tests, and integration tests

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/facebook/sapling/blob/HEAD/eden/mononoke/.llms/skills/write-hook/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/write-hook, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Write a Mononoke Hook

Create a server-side Mononoke hook based on the user's request.