| name | pdm-hook-install |
| description | Use this skill when the user wants to bind or refresh the managed project-doc-modes Stop hook for the current tool. This is the /pdm-hook-install entrypoint. |
PDM Hook Install
Use pdm-hook-install to bind or refresh the current tool's managed Stop hook.
Primary references live in the sibling pdm skill package:
../pdm/SKILL.md
../pdm/references/rules.md
Use the source repository contract as the binding source:
https://raw.githubusercontent.com/verycafe/project-doc-modes/main/hooks.md
Default behavior:
- Default
action=bind.
- Default
scope=project.
- Default
tool=current.
- Bind only the tool where the user invoked this skill unless the user explicitly names another supported tool.
- Do not initialize or migrate project docs while binding hooks.
- Do not edit global configuration unless the user explicitly passes
scope=global.
- Preserve unrelated hooks and update only the managed
pdm sync + verify binding.
- Report modified config/script paths, effective scope, tool, and whether active docs are ready.
Important boundary:
- Installing a Hook for software B does not reinstall or change software A's Hook by default.
- To enable automatic sync in multiple tools, bind each tool separately.
- Existing managed hooks can be refreshed safely because bind is idempotent.
Do not write this skill name, /pdm-hook-install, local install paths, or SKILL.md into generated target-project docs.