Revoke after delivery
Give an agent clear, safe instructions for first deploys, updates, custom domains, rollback, and token revocation.
Recipes
Prompts that produce predictable releases.
These recipes tell the agent what success means and where it must pause for confirmation.
First deploy
Agent promptBuild this static website, verify index.html and 404.html at the output root, create a StaticX site if needed, deploy it with staticx_deploy_zip, and return the live URL. If anything fails, inspect staticx_get_logs and show me the exact error.
Update an existing site
Agent promptBuild the latest changes, explain what will be published, deploy a new immutable release to site SITE_ID, then return the new release and live URL. Do not delete older releases.
Connect a custom domain
Agent promptConnect app.example.com to site SITE_ID with staticx_connect_custom_domain. Return the single DNS record I must create, then use staticx_get_custom_domain_status to explain the current activation state in plain language.
Safe rollback
Agent promptList deployments for site SITE_ID. Show me the target release, its creation time, and current live release. Wait for my explicit confirmation before calling staticx_rollback_deployment.
Revoke after delivery
Agent promptFinish the deploy and tell me which StaticX token was used by name. Remind me to revoke the temporary token from StaticX settings after I verify the live site.