---
name: domain-naming-registration
description: Generate brand/domain options, verify registrar availability/pricing, and move approved low-cost domains to cart while stopping at auth/payment gates.
---

# Domain naming and registration

Use when Antoine asks for app/company/domain names, registrar availability checks, GoDaddy/Porkbun/Namecheap pricing, or says to buy/register a domain.

## Operating principles

1. **Act, don’t only brainstorm.** Generate names, check availability with live tools, compare realistic variants, and report exact prices/status.
2. **Use registrar pages when possible.** Search the registrar UI/API first because WHOIS/RDAP can be misleading for premium, unavailable, or reserved domains.
3. **Cross-check when registrar access is blocked.** If GoDaddy/Namecheap blocks automation, use another registrar such as Porkbun plus WHOIS/RDAP as backup. Label the confidence clearly.
4. **Separate brand quality from availability.** Recommend the best brand even if exact `.com` is taken, then offer practical available domains.
5. **Stop at payment/auth gates.** Adding an approved low-cost domain to cart is fine after Antoine says “go for it”; do not complete purchase, enter payment details, or bypass account login without explicit user action/credentials.

## Workflow

1. Clarify only if needed; otherwise infer the venture/category from context.
2. Generate a compact shortlist around the user’s naming direction.
3. Check exact domains and useful variants:
   - exact `.com`
   - exact `.ai`, `.app`, `.io`, `.co`, or category TLD if strategically relevant
   - practical `.com` modifiers such as product category, audience, verb, or geography
4. Prefer live registrar results for final status/pricing.
5. Report:
   - recommended name/domain
   - price and renewal if visible
   - alternatives
   - caveats if result came from WHOIS/RDAP rather than registrar checkout
6. If Antoine approves purchase:
   - add only the approved domain(s) to cart
   - verify cart contains the right domain and total
   - stop at login/payment gate and send the checkout link/status

## Porkbun practical pattern

- Public search URL: `https://porkbun.com/checkout/search?q=<domain>`
- Porkbun may render search rows asynchronously. Browser snapshots can show final status/prices after waiting/reloading.
- If browser click fails, adding to cart can be done from the page context with `fetch('/api/user/addToCart', ...)` using the current `csrf_pb` cookie. Use this only to add the exact approved domain to cart, then verify `/checkout/cart`.
- Cart verification must show the exact domain and total price before reporting success.

## Caveats

- WHOIS “available” can be wrong for `.ai` and other TLDs; registry/registrar results override WHOIS.
- “Inquire”/broker results are not buy-now availability.
- Avoid bundling extras (`.net`, hosting, email) unless Antoine explicitly requests it.