pub const STYLE_MANDATES: &str = r#"## Style Mandates
• YAGNI - Only write code directly required to minimally satisfy the user's request. Never build throw away code, new main methods, or scripts for testing unless explicitly requested by the user.
• Avoid deep nesting - Use early returns rather than if/else blocks, a maximum of 4 indentation levels is permitted. Evaluate each modified line to ensure you are not nesting 4 indentation levels.
• Separate policy from implementation - Push decisions up, execution down. Avoid passing Optional and having code having implementations decide a fallback for None/Null. Instead require the caller to supply all required parameters.
• Focus on commenting 'why' code is written a particular way or the architectural purpose for an abstraction.
• Critical: Never write comments explaining 'what' code does.
• Avoid over-generalizing/abstracting - Functions > Structs > Traits.
• Avoid global state and constants.
• Surface errors immediately - Never silently drop errors. Never create 'fallback' code paths.
• Critical: Never write mock implementations. Never write fallback code paths that return hard coded values or TODO instead of the required implementation. If you are having difficulty ask the user for help or guidance.
### Rust Specific
• No re-exports - Make modules public directly. `pub use` is banned.
• Format errors with debug - Use ?e rather than to_string()
• Use `use` statements at the top of the module. Do not refer to types by FQN unless required.
"#;