--- name: setup description: Register ADR Kit in a project with a managed client instruction block and versioned local guide. Idempotent. license: MIT --- # Set up an ADR Kit project (register, adopt, hooks, upgrade) Reply in the language the user writes in; default to English. Keep command output, identifiers, paths, and ADR file content unchanged. Invoke explicitly with `$adr-kit:setup` when needed. Resolve `` from this installed skill, and `` to the first of `python3`, `python` or, on Windows, `py -3` that runs Python 3.10 or newer. Use only bundled, local ADR Kit tools and follow this canonical workflow: 1. Setup is one entry point with four modes (spec R19): no argument runs register (this procedure); 'adopt' routes to the init workflow, 'hooks' to install-hooks, 'upgrade' to upgrade. Reject any other mode argument. 2. Run ` /scripts/setup-project.py --client --project-root `, where `` is this client's id and `` is the project root. 3. Preserve all user content outside managed markers and `.adr-kit/ADR-guide.local.md`; rerunning unchanged input must be a no-op. Do not contact another model or mutate user-owned instructions.