Deploy or update Puter-hosted web apps/sites with a CLI-first, verify-first workflow. Use when user asks to publish to Puter, update an existing Puter app/si...
Use a strict flow: preflight → build/stage → deploy path selection → verify → rollback note.
Run:
bash skills/puter-deployer/scripts/preflight.sh <project_dir> <build_dir>
This checks:
puter CLI existsputer whoami worksindex.html existsIf any check fails, stop and report exact fix commands.
Choose one path explicitly:
puter app:create <name> <remoteDir> --description "..." --url "..."references/api-fallback.md.puter-cli source behavior before pushing.Important: current public puter-cli command surface is limited. Do not invent non-existent commands.
Run:
bash skills/puter-deployer/scripts/verify_url.sh <url> [expected_snippet]
Require:
If verification fails, mark deployment unsuccessful.
Return these fields in final report:
Use scripts/deploy_report_template.md as output skeleton.
references/deploy-checklist.md — end-to-end checklistreferences/api-fallback.md — API-first fallback logic when CLI is insufficientreferences/failure-playbook.md — common failure signatures + fixesZIP package — ready to use