deployment-preview-workflows
Skill0 starsChanged 7 months agoApache-2.0View on GitHub
Guardrail for choosing deployment preview hosts, verifying auth and repo shape, defaulting to previews, and demanding smoke evidence before declaring a deploy ready.
In this repository57 other files it gives its agents.
- ai-app-integrationSkill
- anti-llm-frontend-designSkill
- aspnet-core-web-developmentSkill
- async-python-patternsSkill
- browser-game-foundationsSkill
- browser-local-qaSkill
- build-mcp-server-sdk-v2Skill
- canva-design-opsSkill
- check-completionSkill
- cli-tool-creatorSkill
- cloudflare-agents-mcpSkill
- cloudflare-durable-objectsSkill
- cloudflare-workers-platformSkill
- docx-document-artifactsSkill
- durable-workflow-orchestrationSkill
- dynamic-og-imagesSkill
- eval-auditSkill
- evaluate-ragSkill
- figma-design-to-code-rulesSkill
- fine-tuningSkill
- frontend-product-builderSkill
- game-asset-pipeline-expansionSkill
- game-ui-playtestSkill
- generate-synthetic-dataSkill
- github-pr-ci-opsSkill
- gmail-inbox-opsSkill
- golden-datasetSkill
- huggingface-llm-trainerSkill
- javascript-monorepo-buildsSkill
- linear-issue-managementSkill
- media-generation-transcriptionSkill
- millrace-rs-contract-paritySkill
- minecraft-mod-qa-automationSkill
- notion-workspace-flowsSkill
- openai-docsSkill
- optimize-agentic-cliSkill
- pdf-artifact-workflowSkill
- phaser-2d-game-developmentSkill
- postgres-query-performanceSkill
- product-ui-polish-reviewSkill
- pydantic-v2-patternsSkill
- python-repo-refactoring-hygieneSkill
- rag-corpus-hygieneSkill
- react-next-performance-reviewSkill
- rust-best-practicesSkill
- shadcn-ui-compositionSkill
- skill-evaluation-harnessSkill
- tauri-desktopSkill
- tauri-mcp-cliSkill
- tauri-ptySkill
- tile-pixel-art-transitionsSkill
- train-sentence-transformersSkill
- typer-cli-patternsSkill
- using-dbt-for-analytics-engineeringSkill
- validate-evaluatorSkill
- visual-asset-pipelineSkill
- watchdog-file-watcher-patternsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 13 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 42
If no concrete checkout is available, use the repo shapes named in the prompt as the evidence surface and say which files you would inspect …
- Distinctive: line 43
Check the chosen host's auth or login state before deploying.
- Distinctive: line 44
Default to preview or the smallest safe non-production equivalent.
- Distinctive: line 45
Run the smallest trustworthy smoke check and only then report the URL as ready.
- Distinctive: line 46
If the repo shape or auth state is ambiguous, stop and name the blocker instead of guessing.
- Distinctive: line 49
Do not guess the host from habit or brand preference.
- Distinctive: line 50
Do not treat missing auth as a warning.
- Distinctive: line 51
Do not flatten preview and production into the same branch.
- Distinctive: line 52
Do not report a deployment URL as ready without smoke evidence.
- Distinctive: line 76
Read the repo-shape signals and select the smallest honest host path.
- Distinctive: line 77
Verify auth or login before attempting deploy.
- Distinctive: line 80
Run the smallest trustworthy smoke check for the deployed app.
- Distinctive: line 94
Start with the smallest decision that matters: host selection and auth.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deployment Preview Workflows
Purpose
Help agents choose the right deployment host, verify repo shape and auth before acting, default to preview or the smallest safe non-production equivalent, and require smoke evidence before calling a URL ready.
Use When
- the prompt asks you to choose between Netlify, Render, and Vercel
- the repo may contain
package.json,netlify.toml,render.yaml, orvercel.json - the prompt is a planning or review scenario that describes repo shapes even if no live checkout is attached
- the task is to deploy a preview, make a production deploy, or verify an existing deploy
- auth, Git remote linkage, or host-specific build detection could block the run
Do Not Use When
- the request is purely browser QA, GitHub PR publish flow, or generic cloud strategy with no web deployment decision
- the host is already fixed and the prompt only needs a host-specific command reference
- the repo is not a web app or service repo
Quick Start
- Classify the request first as
host selection,preview deploy,production deploy, ordeploy verification. - Inspect
git remote -v,package.json,netlify.toml,render.yaml, andvercel.jsonbefore choosing a path. If no concrete checkout is available, use the repo shapes named in the prompt as the evidence surface and say which files you would inspect in a real repo. - Check the chosen host's auth or login state before deploying.
- Default to preview or the smallest safe non-production equivalent; treat production as explicit opt-in only.
- Run the smallest trustworthy smoke check and only then report the URL as ready.
- If the repo shape or auth state is ambiguous, stop and name the blocker instead of guessing.
Operating Constraints
- Do not guess the host from habit or brand preference.
- Do not treat missing auth as a warning; it is a blocker.
- Do not flatten preview and production into the same branch.
- Do not report a deployment URL as ready without smoke evidence.
- For Render, do not pretend it has the same preview semantics as Netlify or Vercel; name the smallest honest non-production path explicitly.
- For Render, choose Blueprint when the repo needs reproducible infra, more than one service, a database, a worker, a cron job, or other shared resources; choose direct creation only for a single-service or static repo with simple env vars and no extra infra.
- Rejected trope: turn the skill into a vendor CLI manual.
- Better alternative: keep host-specific commands in references and keep the main body focused on decision quality and safety.
Inputs This Skill Expects
- The user request and whether production was explicitly requested.
- The repo-shape evidence from
git remote -v,package.json,netlify.toml,render.yaml, andvercel.json, or the repo shapes named in the prompt when the task is planning-only. - The chosen host's auth or login status.
- Any build, deploy, or smoke-test evidence already produced.
- Current docs or CLI behavior only when a command is version-sensitive.
Output Contract
- State the classification first.
- Name the chosen host and why it fits the repo shape.
- Name the auth and project-detection checks that passed or blocked the run.
- State preview versus production explicitly.
- Return the deploy URL only with smoke evidence.
- For planning/review prompts, do not block solely because the ambient workspace is empty; say what evidence you would inspect and continue with the scenario answer.
- End with the next verifier and the evidence it should capture.
Procedure
- Classify the request.
- Read the repo-shape signals and select the smallest honest host path.
- Verify auth or login before attempting deploy.
- Deploy as preview unless the user explicitly asked for production.
- For Render, choose Blueprint for multi-service, datastore, cron, worker, or IaC repos; choose direct creation only for the single-service or static case.
- Run the smallest trustworthy smoke check for the deployed app.
- Report the URL, the smoke evidence, and any remaining follow-up.
Pitfalls And Gotchas
- Rejected trope: pick the same host for every repo.
- Better alternative: let repo shape and existing config decide.
- Rejected trope: assume Netlify, Render, and Vercel have identical preview semantics.
- Better alternative: keep the host choice explicit and preview-first, then verify with host-appropriate smoke evidence.
- Rejected trope: use Render direct creation for a multi-service or datastore repo.
- Better alternative: use Blueprint when the repo needs reproducible infra or more than one service.
- Rejected trope: return only the deploy command output and call it done.
- Better alternative: capture smoke evidence before saying the URL is ready.
Progressive Disclosure
Start with the smallest decision that matters: host selection and auth. Expand only enough to choose preview versus production safely, then verify the deployed preview with the smallest proof step. Keep host-specific CLI details and fallback paths in references so the main skill stays compact.
Verification Pattern
- Confirm the task was classified first.
- Confirm repo-shape evidence was inspected before choosing a host.
- Confirm auth or login status was checked before deploy.
- Confirm preview was the default and production required explicit opt-in.
- Confirm smoke evidence exists before the URL is reported as ready.
- Next verifier: deploy checker or smoke-test consumer; capture the repo-shape evidence, auth status, deploy URL, and smoke result.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

