Copyable prompts for your registrar's AI agent
Give these prompts to the coding agent working in your storefront repository. Start with prompt 1, then use only the stages you need. Existing working integrations do not need to be rebuilt. Each code block has a copy button.
Keep one onboarding packet in your project and give the agent its location. It records your customer model, approved suffixes, commercial terms, capabilities and test window. It is not a permission grant or a place for secrets. You do not need to own a TLD or already have a community to build a storefront; resale access must still be approved.
| Your situation | Prompt to copy |
|---|---|
| Starting or unsure what is already configured | 1. Prepare the project and packet |
| Building search, sign-in and My Domains | 2. Build the customer experience |
| Adding your own payment checkout | 3. Implement direct registration |
| Adding customer DNS or renewals | 4. Implement customer management |
| Ready for the agreed private test and release | 5. Run the acceptance window |
| An integration step fails | 6. Diagnose without repeating purchases |
The standard guide explains the overall service. The
GFAVIP contract supplies exact API payloads and
responses; these prompts intentionally do not duplicate them. That guide's
dated .tx / .hey approvals apply only to those storefronts. Your packet and
Headless's explicit approval determine your enabled operations and limits.
For a fresh agent session, include the current packet and accepted evidence. Never paste API keys, buyer tokens or private payment receipts into the prompt. Agents should use the configured server secret store and redact diagnostic output.
1. Prepare the project and packet
Use this even if you already have a site. It produces one consolidated setup request instead of discovering one missing permission per conversation.
Prepare this repository for a branded HeadlessDomains registrar storefront.
Inspect the existing code and deployment configuration before suggesting changes.
Read https://docs.headlessdomains.com/guides/partner-storefronts/ and use
https://docs.headlessdomains.com/assets/reseller-onboarding-packet.txt.
Find our existing onboarding packet and integration records. If none exists,
save one copy in the repository's documentation location and tell me its path.
Fill known facts from verified project configuration and our recorded agreement;
mark unknown values as unknown. Do not infer permissions or prices from another
reseller, public catalog listings or an API key's name.
Record our brand/origins, requested and approved suffixes, customer model,
payment collector, retail and wholesale registration/renewal terms, actual
Partners funding, support/terms URLs, SSO callbacks, key names (not values),
effective capabilities, accepted tests and launch conditions. Owning a TLD is
not required. Reuse the existing partner account across our brands.
For a new shared customer portfolio, propose the existing GFAVIP buyer model.
Do not silently replace an established local-customer or organization model.
Read the linked exact contract for the selected model. Report inaccessible or
conflicting sources rather than inventing an endpoint or configuration value.
Deliver a short inventory of working, missing and unverified functionality;
the updated packet; and one grouped request for Headless-owned configuration
with a responsible owner and next action for each blocker. Prepare the request
for me to send; do not contact anyone without authorization.
Done when the packet separates our frontend work from Headless configuration,
the next implementation stage is clear, and no account, payment, key, live
permission, TLD custody or existing customer ownership has been changed.
2. Build the customer experience
Build the search, sign-in and My Domains experience in this existing storefront.
Use our completed onboarding packet and inspect existing functionality first.
Read https://docs.headlessdomains.com/guides/partner-storefronts/ and, for our
approved GFAVIP model, https://docs.headlessdomains.com/guides/storefront-sso-portfolio/.
Use the linked Wallet login contract rather than inventing an authentication API.
Implement only the selected customer model and approved suffixes. Keep the
current checkout, recovery and management handoffs working. For GFAVIP, use
exact service/callback matching, browser-bound state and S256 PKCE, with buyer
tokens held on the server. Do not add a second email account or ownership store.
Search must distinguish available, taken, protected/recovery-required and
unavailable-to-check states. Use authoritative prices and supported terms for
the selected checkout model. Do not present wholesale Gems as customer prices.
Show only the signed-in buyer's authorized portfolio, with customer expiration
and the returned management paths. A 503 is unavailable, not an empty portfolio.
Registration suffix restrictions and portfolio display rules are separate.
Visibility does not grant DNS or renewal authority over every listed name.
Keep credentials, wholesale balances and other buyers' data out of browser
responses and logs. Make loading, errors, reload/logout and mobile/keyboard use
clear. Verify callback mismatch/replay, logged-out access, two-buyer isolation,
protected-name handling and provider failures with appropriate local tests.
Deliver the implementation, verification results and updated packet. Separate
local tests from real sign-in/portfolio evidence; list any missing enrollment
or projection configuration once. Keep new production behavior gated unless
already explicitly authorized. Do not purchase names to prove login works.
Done when the implemented flow passes its checks and any live verification
still needed is explicit, without claiming mock data proves live ownership.
3. Implement direct registration
Implement our own retail checkout using the existing HeadlessDomains Partners
registration system, within our completed onboarding packet. Reuse existing
code and orders. Read https://docs.headlessdomains.com/guides/partner-storefronts/
and the linked exact registration, buyer-attachment and reconciliation contracts.
Do not create a new reseller backend or wholesale ledger.
Use our agreed retail prices/payment provider and Headless's agreed wholesale
rates. Confirm preflight, protected-name handling, enabled ownership attachment
and actual Partners funding before paid fulfillment. Preflight is not a reservation.
Persist buyer, domain, term, amount, currency, payment environment and the stable
operation reference before fulfillment. Verify payment server-side using the
provider's supported mechanism and match it to the saved order. Browser success
parameters are not payment proof. Convert minor/major units as documented.
For GFAVIP, use the exact supported buyer-token attachment contract. Never
substitute an email, browser-provided holder ID or registrant_external_id alone;
never fall back to an unbound registration when attachment is unavailable.
Implement the documented registration response and GET lookup wrapper. Handle
receipt return/reload, duplicates and uncertain outcomes using the original
order/reference and status rules. Do not resubmit a new order to escape a timeout.
Separate payment success, fulfillment pending, confirmed registration and failure.
Do not collect another payment merely to fix a confirmation/parser bug.
Verify locally: invalid payment, wrong buyer/name/amount/currency/environment,
protected or newly unavailable name, insufficient balance, duplicate delivery,
timeout reconciliation, correct expiration and confirmation after reload.
Deliver code, test evidence and a precise remaining live-test plan in the packet.
Done when local checks pass and the approved private test can run without
changing the public checkout. Live purchases/debits and deployment must stay
within explicit existing authorization; do not ask again for an already-approved
conditional step. Unapproved operations remain gated.
4. Implement customer management
Add the DNS and/or renewal capabilities requested in our onboarding packet to
the existing storefront. Read https://docs.headlessdomains.com/guides/partner-storefronts/
and https://docs.headlessdomains.com/guides/storefront-sso-portfolio/ for the
current buyer-owned DNS and renewal contracts. Reuse the existing API and audit
flow; do not build another DNS service or renewal backend.
First distinguish implemented UI, effective backend permissions and accepted
live evidence. Only use operations authorized for this customer model and name.
For GFAVIP direct buyers, enforce the buyer token on reads and writes; use
dns:manage_owned and registration:renew_owned only when enabled. Do not request
broad registrar authority to bypass a customer-ownership check.
DNS: support the approved record types using exact read/version, complete
editable-set preview, reviewed apply and readback. Preserve existing records,
reject stale changes and handle MX priority zero. UI choices may expose fewer
types; they do not create extra backend grants. Never silently replace a zone
with only the new record. Use the documented behavior for unknown outcomes.
Renewals: implement the agreed retail payment flow and existing quote/status/
renew contract. Verify the saved paid order and original buyer, use one stable
operation reference, and show the authoritative customer paid-through date.
Follow calendar-year and eligibility rules. Do not promise automatic renewal.
Keep earlier purchases and recovered claims on their returned management paths
unless separately authorized. Test owner access, other-buyer denial, unsupported
operations, stale DNS versions, preservation, replay and timeout recovery locally.
Record live checks separately. Do not edit real DNS or spend Gems as a probe.
Deliver code, tests and remaining operator requirements together. Done when the
requested capability is locally verified, unsupported actions are truthful, and
live edits/debits remain gated until our explicit approved test window. If only
DNS or only renewals is requested, do not make the other a new launch requirement.
5. Run the acceptance window
Copy this only after Headless and the reseller have recorded the exact permitted actions, spend and conditional release sequence in the packet.
Execute our recorded HeadlessDomains acceptance window using the existing
integration. Read our current onboarding packet, accepted evidence and
https://docs.headlessdomains.com/guides/partner-storefronts/.
Before any write, verify the recorded authorization covers this account, suffix,
buyer, name/action, payment environment, spend and window. Reuse accepted evidence
where relevant behavior is unchanged. Do not repeat accepted purchases or DNS
matrices merely to generate another report. Stripe test mode can still create
real registrations and Gems debits. Do not assume a general registry sandbox.
Execute only the agreed remaining sequence. Verify actual payment/registration
or renewal, exactly the agreed debit, buyer ownership, customer expiration and
required management behavior. Use two ordinary buyers for isolation. For DNS,
preserve original records, read back the result and perform only approved cleanup.
If an outcome is uncertain, stop dependent steps and reconcile the same operation;
do not create another order, charge or renewal. Do not claim access to a ledger
or test buyer that you do not have; identify the exact operator evidence needed.
Complete already-approved conditional steps without another permission loop.
Before any authorized public switch, verify all recorded release conditions,
including agreement acceptance, truthful merchant/renewal terms, support,
funding and pause/handoff. A test pass alone is not blanket release permission.
Produce one redacted report: build, suffix/operation, local versus live evidence,
result, debit/expiry verification, remaining blocker and owner, and launch state.
Use the packet's existing launch-evidence API fields if submission is authorized.
Never publish keys, tokens, customer IDs or receipt-access URLs. Submission is
not automatic approval or monitored agent chat. Do not contact others unless
authorized; otherwise give me the consolidated report to send.
Done when the approved sequence is complete or the precise stopping condition
is recorded, evidence is saved, and the public state is accurately reported.
6. Diagnose without repeating purchases
Diagnose the reported storefront failure using our existing code, onboarding
packet and https://docs.headlessdomains.com/guides/partner-storefronts/.
Read the linked exact contract for the failing operation before changing code.
Trace the existing operation through browser, storefront server and upstream
API using available redacted logs and read-only status calls. Record UTC time,
method/path, HTTP status, build and correlation reference where available.
Separate what reached Headless from a locally generated error. Never log tokens,
auth codes, customer IDs, credentials or private receipt links. State explicitly
when upstream logs or other evidence are unavailable.
Check customer authentication, scope/namespace/module state, saved-order binding,
response parsing and provider outcome as distinct possibilities. Do not assume
every 403/404 is a missing grant, every 503 is an empty portfolio, or a successful
payment means confirmed registration. Reconcile the original order/reference;
do not buy another name, add Gems, broaden permissions or repeat a DNS write
just to investigate. Do not change TLD custody or holder records incidentally.
Fix a demonstrated storefront defect using existing functions and add a focused
regression check where useful. If backend action is needed, prepare one minimal
redacted request with evidence, owner and required next check. Do not invent a
new integration or send messages without authorization.
Done when the cause and fix are verified, or the remaining unknown is precisely
bounded. Update the packet/evidence and report whether deployment or an approved
live retest remains necessary. Do not claim resolution from local fixtures alone.