CLAUDE.md: Enforce Immutable Data Shapes Across Service Boundaries
A CLAUDE.md config that prevents Claude from mutating shared data structures when passing them between services or modules.
The Prompt
Already a member? Sign in.
CLAUDE.md: Enforce Dependency Direction Across Module Boundaries
A CLAUDE.md config that stops Claude from introducing imports that violate your layered architecture.
.cursorrules: Enforce Dependency Direction Across Module Boundaries
Add a rule that blocks any import violating your intended layer architecture before it gets normalized into the codebase.
CLAUDE.md: Enforce Explicit Null Handling Before Property Access
Configure Claude Code to reject any code that accesses object properties without first asserting the value exists.
CLAUDE.md: Enforce Explicit State Machine Transitions
Configure Claude Code to reject implicit state changes and require documented transition guards on every state-bearing object.