Design and operate canonical domain architecture, subdomain routing, OAuth callback normalization, redirect policy, and domain hygiene across the Heady™ ecosystem. Use when the user mentions domain mapping, Cloudflare routing, canonical domains, callback URLs, redirects, or eliminating wrong hostnames from user-facing surfaces.
Use this skill when the user needs:
The source pattern defines brand-level domains, production and development mappings, API subdomains, standardized OAuth callbacks, redirect rules, CDN domains, email domains, and domain policies in a single canonical configuration (domain-architecture.yaml).
Start from canonical brands and surfaces.
Build a routing table with explicit intent. For each domain or subdomain capture:
Normalize user-facing hostname policy.
Standardize OAuth callbacks.
Separate production, staging, and development clearly.
Define security policy at the domain layer.
Keep email and CDN domains in the same architecture map.
When auditing an existing setup, look for:
Provide: