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 --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.
1) auth/session
2) missing build artifact
3) wrong app/site target
4) platform/API error
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 + fixes共 1 个版本