compose_guardrail
Generate a complete, IDE-ready security guardrail file for a tech stack. Returns the full guardrail content with the correct filename for the configured IDE (cursor → .cursor/rules/*.mdc, claude-code → CLAUDE.md, windsurf → .windsurfrules, etc.). Save the returned file to your project root and your AI assistant will enforce the rules automatically. If you don't know the stack_slug, call detect_project_stack first.