What problem does it solve?
It prevents developers and reviewers from confusing a non-production deployment with production by adding an unmistakable, consistent warning banner across the entire Phoenix app.
Core Features & Use Cases
- Host-based environment detection: Shows the banner on every host except the canonical production hostname, and supports a configurable production host for correct multi-host behavior.
- Phoenix 1.8 HEEx layout integration: Adds a reusable function component plus helpers in your web Layouts module and renders the banner in every root layout.
- Safe incremental behavior: Audits the existing app first (banner presence, root layouts, and top sticky/fixed chrome) and only adds missing pieces while guiding user confirmation.
- Sticky offset handling: Detects fixed/sticky top elements and applies a conditional offset so the banner never overlaps top chrome.
Quick Start
Install the skill, then follow the prompts by choosing your detection strategy and providing the canonical production host so the banner appears everywhere except production.