--- name: install-hooks description: Install or remove ADR Kit's deterministic pre-commit gate without changing agent client configuration. license: MIT --- # Install ADR enforcement hooks (the hooks mode of setup) Reply in the language the user writes in; default to English. Keep command output, identifiers, paths, and ADR file content unchanged. Select `adr-kit:install-hooks` from `/skills`, or ask Copilot to use the `install-hooks` ADR Kit skill. Resolve `` from this installed skill. Use only bundled, local ADR Kit tools and follow this canonical workflow: 1. Inspect `core.hooksPath` and preserve unrelated hooks by chaining them. 2. Install only ADR Kit's wrapper at `.githooks/pre-commit`; uninstall only owned state and restore prior configuration. Do not contact another model or mutate user-owned instructions.