Mate-managed Claude Code hooks: artifact-path guardrail, session banner, companion guidance, and the OpenSpec archive-finish nudge. Ships inside @uniqbit/mate-core and is never published separately. A managed launch loads it with --plugin-dir; a wrapped repository instead inlines the guard and guidance commands into…
Runs before the agent uses a tool for Write, Edit, MultiEdit and Bash tool calls, executing validate-artifact-path.mjs via node. From uniqbit-ag/mate-cli.
Finish a completed artifact in one step via mate artifact finish. Use when the user wants to finish, ship, or archive-and-push a completed artifact and anchor it with a dated revert tag.
Reverse-engineer an OpenSpec spec for one existing feature and emit a ready-to-finish backfill change. Use when the user wants to backfill, document, or spec existing or legacy behavior that has no spec yet.
Use when finishing a feature, fixing a bug, before committing React code, or when the user types /doctor, asks to scan, triage, or clean up React diagnostics. Covers lint, accessibility, bundle size, architecture. Includes a regression check and a full local-triage workflow that fetches the canonical playbook.