One-Way Door Decision Guard

•
67
•

Safeguards your project by identifying irreversible architectural decisions and prompting trade-off discussions before implementation.

The One-Way Door skill is an architectural governance tool for Claude Code that distinguishes between easily reversible changes and high-stakes 'one-way door' decisions like database schemas, authentication boundaries, and infrastructure configurations. By intercepting file writes to critical system components, it prevents impulsive technical debt and forces a structured evaluation of alternatives and migration paths, ensuring that foundational choices are made with intent rather than by accident. It is particularly useful for senior developers and architects who want to maintain high standards of system design while leveraging AI-assisted coding.

主要功能

01Automated detection of irreversible architectural changes across 8+ critical categories.
02Forces the AI to present alternative approaches and migration paths for flagged decisions.
03Intelligently ignores 'two-way doors' like UI components and utility functions to maintain speed.
04Comprehensive monitoring of database schemas, API contracts, and security rules.
0567 GitHub stars
06Pre-commit hooks that block high-impact writes until trade-offs are discussed.

使用场景

01Reviewing infrastructure-as-code changes to avoid vendor lock-in or scaling issues.
02Preventing accidental breaking changes in public API contracts or event schemas.
03Evaluating long-term consequences of new database migrations before deployment.