What problem does it solve?
One-time bootstrap that prepares a TypeScript repo for safer-by-default coding: detects tooling state, configures ESLint and TypeScript strict posture, and provisions guard rules to prevent common errors.
Core Features & Use Cases
- Detects the repository state: package manager, existing ESLint config, and tsconfig strict posture; installs eslint-plugin-agent-code-guard and companion rules; writes eslint.config.js in three blocks; flips tsconfig strict flags; probes that the lint actually fires on a known anti-pattern; reports the lint baseline and guides the user on how to handle it.
- Provides idempotent, user-invoked setup that does not auto-route or commit changes.
- Works as a single, repeatable bootstrap step for TypeScript repos adopting safer-by-default practices.
Quick Start
Run /safer:setup in the project root to bootstrap the safer-by-default linting and bootstrap workflow.