/super-puper-powers:deploy-strategy runs instead · from super-puper-powers
Guides choosing a deploy strategy with cost/consequence tradeoffs, then produces a repeatable runbook with smoke-test evidence. Supports deferred or executed deployment.
This skill never runs in Claude Code
It ships in super-puper-powers at skills/, but /super-puper-powers:deploy-strategy (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
This is phase 8 of the SPP pipeline, but it can also be invoked standalone whenever a product is ready to ship or the owner directly asks how or where to deploy. The release is versioned, tagged, and described — now it has to actually go somewhere the owner's users can reach it. This is the one phase where SPP touches production, and the two steps are not equally weighted: choosing how to deploy this specific product is the real work; executing the choice is following a playbook.
Step 1 is deliberately not "pick a hosting provider." It's a decision about ongoing money and ongoing effort that the owner has to live with for the life of the product — same shape as stack-selection in phase 3, but now the stakes are real: this isn't a plan on paper, it's what happens when someone actually uses the thing. Options get framed the way stack-selection frames them — dollars, update effort, what breaks — never as infrastructure jargon on its own. Step 2 then executes against a reference playbook keyed to product_type, but "playbook" means reference material to draw on, not a rigid recipe to follow blind; the specific product still dictates specific choices within it.
Three invariants govern step 2 regardless of which playbook applies, and violating any of them is a defect, not a style preference: secrets never enter git, the deploy has to be repeatable from what's in the repo, and the must-scenarios get smoke-tested on production with evidence before the gate. That last one is the same verification discipline that has run through the whole pipeline — it doesn't stop at the branch boundary just because the target is now a live server instead of a laptop.
The phase's closing gate has two modes, and which one applies is a real decision, not a formality. executed is the mode described above: a real deploy, a production smoke test, evidence shown at the gate. deferred exists for exactly the case where the owner wants the strategy locked in and the runbook ready, but isn't deploying yet — a real, legitimate outcome, not a lesser one. Deferred does not require live evidence, because there is no live deployment yet to gather evidence from; what it does require is the same rigor in choosing and documenting the strategy as executed does. Whichever mode closes the gate gets written to deploy_status in state, and post-release (phase 9) reads it before deciding whether to treat the product as live.
This skill runs standalone: when a product is ready to ship, or when the owner directly asks how or where to deploy, or asks for a deploy runbook. No pipeline phase gate is required to start. If docs/spp/pipeline-state.md exists, read it for context and inputs:
product_type and stack from the state file — what's being deployed and what it's built with.docs/spp/00-idea-brief.md — budget.jurisdiction fields (jurisdiction.users, jurisdiction.author) from pipeline-state.md, filled by product-discovery, for data-residency constraints.If the pipeline-state journal exists, write current_phase: 8, phase_status: in_progress on starting work. If it doesn't exist, skip the state update — this skill still runs standalone without it.
Steps 1-3 below are Step 1 — choose the strategy (the phase's main value); steps 4-8 are Step 2 — execute.
Run this before choosing a strategy. Check ON DISK:
docs/spp/07-release-notes.md exists with a
semver version recorded.)release-fixation.
Proceed only on the user's explicit choice.This reads the file directly, not pipeline-state.md.
Collect what the decision depends on:
product_type and stack — already in state, read them, don't re-ask.jurisdiction.users and jurisdiction.author in pipeline-state.md (filled by product-discovery). Some jurisdictions require user data to stay hosted within the users' region; check before proposing options, not after the owner has already picked one that turns out to be non-compliant.Draft two or three concrete deploy options for this product_type and stack. For each, and for the comparison between them, state the trade-off the way the owner experiences it, not the way an engineer would describe it:
Technical terms are allowed, but exactly as in stack-selection: every one needs a consequence attached. "A managed platform with autoscaling" is not an option description; "handles a traffic spike automatically, costs more per request when it does" is.
Present the options and ask the owner to pick one. This is a decision about money and ongoing maintenance, not a technical one — no infrastructure jargon without a consequence attached, no diff, nothing that requires the owner to already know what the words mean. Alongside the strategy pick, ask the second question this gate actually decides: deploy it now, or lock in the plan and runbook and hold off on going live? Both are legitimate answers — don't frame deferring as the lesser or incomplete option. While the question is outstanding, phase_status: gate_pending.
deploy_target in the state file, log the decision in the Decisions log (date, phase 8, the chosen deploy target, who picked it, and whether the owner wants to deploy now or defer).Steps 4-5 below apply either way — the playbook and the invariants shape the runbook regardless of whether the deploy happens now. Step 6 and the gate in step 7 branch on the owner's answer: executed if deploying now, deferred if not.
Use the playbook matching product_type as reference material — a set of options and considerations to draw on, not a script to execute verbatim. The specific product, stack, and owner's existing infrastructure from step 1 still shape the actual choices made within it.
web → references/web-apps.mdpackage → references/packages-and-plugins.mdtg-bot → references/telegram-bots.mdmixed → consult whichever playbooks match the components actually being deployed; a mixed product might need more than one.These are non-negotiable regardless of which playbook applies. Violating any one of them is a defect:
docs/spp/02-mvp-scope.md and confirm each one against the actual production deployment — not the dev environment, not a recollection of the acceptance demo. Capture what you observed (output, screenshot, response) as evidence; "I deployed it, it should work" does not satisfy this step.When an invariant genuinely doesn't apply, mark it N/A with a stated reason — never silently skip it. A secretless static product (no backend, no API keys, no user data at rest) has nothing for the secrets invariant to protect; write "secrets: N/A, this product has no secrets" in the runbook rather than leaving the section blank or, worse, inventing a secrets story to fill it. The same applies to any invariant that assumes state this specific product doesn't have. N/A is a documented judgment call, not a loophole — it requires the actual justification, not just the label. Under deploy_status: deferred, the production smoke test does not run now — there's no live deployment yet to test against — it moves to the moment the deploy actually happens; the runbook says so explicitly rather than pretending the invariant was satisfied early.
Write docs/spp/08-deploy-runbook.md. What it contains depends on which mode step 3 landed on:
If executed (deploying now):
If deferred (strategy chosen, deploy postponed):
executed runbook's deployment-mechanism section, but written as instructions to follow when the deploy happens, not a record of what already happened.executed, described in advance of there being any actual secret value yet — or the N/A justification from step 5.The question and what it accepts depend on the mode from step 3:
If executed: ask the owner "Product is live at [address/command] — production scenarios verified, here's the evidence — accept?" Show the smoke-test evidence from step 5, not just the claim that it was done. On acceptance, write deploy_status: executed to state.
If deferred: ask the owner "Strategy chosen, runbook ready — deploy is postponed for now. Accept the plan as-is?" This gate requires no live evidence — there is nothing live yet to show evidence of — but it does require the runbook to be genuinely complete and actionable, not a placeholder for future work. On acceptance, write deploy_status: deferred to state.
Do not present a deferred runbook as if it were executed, and do not ask the executed gate question ("product is live") when no deploy has actually happened. The gate question and the state written must match the actual mode chosen in step 3 — conflating them means the owner accepts a claim about production that isn't true.
While either question is outstanding, phase_status: gate_pending.
phase_status: approved, log the decision in the Decisions log (date, phase 8, the mode, deploy accepted or deferred, the live address if executed, who accepted it).executed and a must-scenario failed the smoke test, or the owner spots something wrong once they look at the live product — fix it, redeploy, re-run the smoke test, and re-ask. Do not soften the gate to "should be fine now" — re-verify with fresh evidence. If deferred and the owner wants the runbook adjusted, or actually wants to deploy now after all, revise accordingly (a deferred gate can flip to executed mid-conversation if the owner changes their mind — go back to step 4's playbook and step 5's live smoke-test requirement in that case) and re-ask.This skill's job ends at a release that's either deployed-and-verified (executed) or strategy-locked-and-documented (deferred). Do not start monitoring or feedback-loop setup yourself. Hand off deploy_status along with everything else — post-release reads it to decide whether the product is actually live. The explicit next-step transition for the owner is in the closing Next step section of this file.
| Thought | Reality |
|---|---|
| "They're probably a solo hobbyist with nothing set up, I'll just recommend the free tier" | Existing accounts and infrastructure must be asked about, never assumed. Guessing wrong here means recommending a redundant new account, missing a compliance-relevant constraint the owner's current setup already handles, or ignoring money they're already spending. |
| "I'll drop the API key straight into the config file, it's just for now" | Secrets never go in git, full stop — there is no "just for now" exception. Use the platform's secrets mechanism and reference it in the runbook by description, not by value. |
| "I clicked through the hosting dashboard to set this up, it's live, good enough" | The deploy has to be repeatable from a script or config in the repo. A sequence of manual clicks that only exists in the agent's memory can't be reproduced by the owner or by the agent itself next time — that's a defect, not a shortcut. |
| "The acceptance demo already showed this works, I don't need to re-test on prod" | The smoke test after deploy is mandatory and separate from the acceptance demo — a working branch and a working production deployment are different claims. Verify the actual must-scenarios against the actual live deployment, with evidence, before the gate. |
| "I'll describe the options as 'serverless vs a VPS with a reverse proxy'" | Every option must be phrased in $/month, update effort, lock-in, and spike behavior — the same owner-consequence discipline as stack-selection. Infrastructure jargon without an attached consequence tells a non-developer nothing they can decide on. |
| "The playbook says to use provider X, so that's what we're using" | The reference playbooks are material to draw on, not a rigid recipe — the actual choice still depends on this product's stack, budget, and the owner's existing infrastructure from step 1. Following a playbook blindly can contradict what step 1 already established. |
| "We're deferring, but I'll phrase the gate as 'product is live' so the owner feels progress" | The gate question must match deploy_status. Asking "is it live" when nothing is deployed makes the owner accept a false claim about production — that's the exact dishonesty the verification discipline elsewhere in this pipeline exists to prevent. |
| "This product has secrets somewhere probably, I'll just write something plausible for the runbook's secrets section" | N/A requires a real, stated reason ("this product has no secrets") — never a filled-in placeholder to make the section look complete. If you're not sure whether the product has secrets, that's a reason to check, not a reason to guess and write it down. |
| "Deferred means we skip the smoke test entirely, no need to mention it again" | Deferred moves the smoke test to actual-deploy time — it doesn't cancel it. The runbook has to say so explicitly, so a future reader (owner or agent) knows the test is still owed, not silently waived. |
When this stage is complete, tell the user in their own language that:
post-release skill;Do not auto-invoke the next skill. The user drives the transition — offer, do not proceed.
What SKILL.md sets; muted values are Claude Code's defaults
30 skills in this plugin
/accessibilityUse when asked to check or fix basic accessibility (a11y) of an MVP's UI - runs a baseline audit of keyboard navigation, contrast, visible focus, form labels, error clarity and basic screen-reader support, then applies or lists fixes without expanding scope/cross-spec-reviewUse when spec-review passed and docs/spp/04-specs/ contains more than one spec - reviews the whole spec set for interface consistency, seam gaps, contradictions and build order/data-boundariesUse during phase 6, after implementation's final whole-branch review and before the acceptance demo (orchestrator-driven) - makes data storage explicit, verifies export, and checks storage boundaries and risks, writing docs/spp/06-data-boundaries.md; also runnable standalone when asked where a product's data lives or whether its storage and export are soundnpx claudepluginhub tsergeytovarov/super-puper-powers --plugin super-puper-powersOther plugins' skills for the same job