/t-stack:tstack-verify-productionfrom t-stack
Use after a deploy, before you publish a fact about production (hosting region, a header, a style, a limit), before a production data job (backfill, rebuild, migration), or before setting a production secret: measure the real thing and cite the measurement on the card; run data jobs dry → real → dry, in chunks, with plan-limit headroom, and only after the owner's go-ahead for that job; keep secrets in a 600-mode file passed on stdin, set in the order that never breaks the running system; check a secret is set by its name only, never its value; leave hostile-traffic probes against production to the owner. Covers live headers and hostnames, computed styles on the live page, dry-run counts, the owner's go-ahead ask. Skip for reviewing a PR (use tstack-review) and for merging (use tstack-merge-queue).
Ships in t-stack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Production is the only place a production fact is true. Docs, configs and memory describe what someone meant; the live site, its headers and its rows say what is. Measure first, write the claim second, and cite the measurement. For data jobs and secrets, assume the run can crash halfway and must be safe to run again.
Name the fact and how you'll measure it before you look. "We host in the EU" is checked by the response headers and the backend's hostname, not by the provider's settings page.
Measure the real thing. Read the response headers of a real request (for example curl -sI on the live page: x-vercel-id names the regions that served it), the backend's hostname and region, the live page's computed styles in a browser, or a real request and its response. For visual changes, check under the owner's real conditions: a GPU-compositing bug (square corners from backdrop-filter) was invisible in headless browsers twice.
Put the measurement on the card, by round-trip, as ## Evidence (PM, date): what you ran, what it returned, and what it proves:
sfora cat /projects/hq/board/03-in-progress/<card-file>.md --bot claude-code > card.md
sfora put /projects/hq/board/03-in-progress/<card-file>.md card.md --bot claude-code
sfora cat /projects/hq/board/03-in-progress/<card-file>.md --bot claude-code
A capture of the live page can go in as an inline image (evidence.md, "Screenshots"). It shows the measurement; it doesn't replace it.
A public claim (a privacy page, a docs page) cites that evidence. If the measurement contradicts what's published, the fix is a new card.
A probe that sends hostile traffic at production (forged headers, bad keys, a flood) is the owner's call, not yours: it can lock out real users. A lockout check sends bad keys under a forged client address, and against production that locks a real key out for the limiter's window. Run it against a non-production deployment, or ask the owner first (tstack-decide).
Before a data job, check the plan's limits and today's usage. Size the job and its side effects (a backfill also triggers rollups and rebuilds). Plan chunks that leave headroom.
Dry run first. The implementer writes the job with a dry-run mode and dedupe keys, so a second run changes nothing. Run it dry and record the counts on the card.
Ask the owner for the real run of this job, with the counts and the plan, in a post with one question block (tstack-decide): to: the owner, recommend: your plan, and the dry-run counts under the options. The owner's go-ahead, one at a time. An agent sets a production secret or runs a production data job only after the owner has said yes to that specific one, having seen the dry-run counts first (for a secret: the plan and the order). A yes covers that one step, not the next one. Rotating credentials is always the owner's.
Name the post after its H1 (# Backfill run decision → backfill-run-decision.md), post it once and wait for the answer (sfora 0.18.0 or later):
sfora post backfill-run-decision.md --project hq --bot claude-code
sfora answers /projects/hq/posts/backfill-run-decision.md --wait 600 --bot claude-code
Only an answer of yes to that question, from the owner, is a go-ahead. If it expires (exit 3), there is no go-ahead.
After the real run, run it dry again. It must find nothing left to do; that proves the job is idempotent and finished. Record the before, real and after counts on the card.
Secrets: generate the value into a file only you can read (mode 600), and pass it to the provider's CLI on stdin. Never put it in argv, a log, a card, a chat or your output. Set it in the order that never breaks the running system: for a secret shared by a proxy and the backend behind it, usually the proxy first. Work the order out before you start, write it on the card, and set it only after the owner's go-ahead for that secret (step 6's rule).
Is a secret set? Check by name only: the provider's env list, which shows names without values. If you can't read that list, the check is a behavioural probe the owner approves, or a question to the owner. Never read a value to find out. A fix that only works once a secret is set is not live until the secret is: if you can't tell, that is a question for the owner.
The fact, the measurement (command and result), and where it's recorded on the card. For a data job: the dry, real and dry counts, and who ran each. For a secret: that it was set, where, and in what order, never its value.
Detail: references/production.md.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub wavyrai/sfora-skills --plugin t-stack28 skills in this plugin
/tstack-architectUse when a change is big enough that writing code first would fix the wrong shape: a new module, a new data model, a change to who owns some state, or a card whose design the owner must see. Sketch the caller's usage, the types and the signatures first, compare at least two shapes, put the chosen sketch on the card or a doc, then build against it and scrap it when it keeps fighting you. Skip for a one-file fix with an obvious shape (just build it, with tstack-tdd), and for comparing finished candidates (use tstack-arena)./tstack-arenaUse when one attempt at a non-trivial piece of work would fix the wrong shape: a contested design, an API, a tricky algorithm, a page of copy. Run two to four independent candidates on the same brief, have a separate judge score them against a written rubric, pick one as the base, graft the best parts of the others into it by hand, and verify the result. Covers the brief, the rubric, the judge and the synthesis note on the card. Skip for work with one obvious answer, and for splitting work into slices (use tstack-swarm)./tstack-benchmark-checklistUse before you report or act on a performance number you measured: a speedup or regression in a PR, a CI step's time, a job's duration, a choice between two libraries or settings. Seven questions to answer with evidence from runs: what limits it, was each side tuned, does it break physical limits, did it error, does it repeat, does it matter end to end, and did the work happen at all. Covers how to state the number on a card. Skip for numbers you didn't measure, and for finding the slow code in the first place (use tstack-how, then measure).