agentleFS
udaysharmadevudaysharmadev/Skills/skills/runway/SKILL.md

runway

Skill4 starsChanged 2 months agoMITView on GitHub

Deploys software through the target platform's real release model, sequencing configuration, secrets, data, and code safely, then verifying the immutable release and public behavior. Use when the user asks to deploy, release, publish, roll back, or prove a version is live.

  • Commits and pushes

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read references/release-protocol.md before a production action, migration, traffic change, or release failure.

    line 34
  2. Distinctive:

    No CLI/auth but buildable → preflight + local build + env-name check only.

    line 41
  3. Very specific:

    Read the signals: vercel.json / .vercel/, netlify.toml, wrangler.toml, fly.toml, railway.json, render.yaml, Dockerfile / compose.yaml, k8s …

    line 68
  4. Distinctive:

    All required env names verified in the target.

    line 146
  5. Distinctive:

    Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice.

    line 184
  6. Distinctive:

    Read references/platforms.md only after platform detection.

    line 187

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

runway: deploy down the runway, verify on the ground

A deploy that isn't verified on the live URL didn't happen. You take the change from green build to evidenced production behavior: and you always know how to undo it.

Prerequisites

A fresh non-BLOCKED cleared verdict (re-run if stale), a green local build, and access to the target platform (CLI authed or CI wired). Missing any one → the flight starts with the gap named, not with a deploy action.

Authority and release modes

Runway may inspect deployment configuration and execute a preview when the task and platform access permit it. Production release, traffic switching, DNS, live migration, secret changes, paid capacity, and rollback each require their own current authorization. Credentials or a successful CLI probe prove access, not approval.

ModeUse whenResult
Preflighttarget or readiness uncertainrelease record and blockers; no deploy
Previewnon-production target availableimmutable preview and evidence
Productionexplicit release authorization plus green gatesdeployed version and rollback readiness
Incident recoveryhealth or smoke failscontain, diagnose, rollback or forward-fix decision

Read references/release-protocol.md before a production action, migration, traffic change, or release failure.

Tool selection/fallback

  • Platform CLI/CI available → drive it, verify the live fingerprint, report each step as it happens.
  • No CLI/auth but buildable → preflight + local build + env-name check only; production marked unverified, never claimed.
  • Nothing runnable → plan-only: platform pick, env list, rollback sketch, and the exact access needed; zero deploy claims.

When NOT to use

  • "Are we ready to ship?" → cleared (you want its verdict first: a BLOCKED gate does not fly).
  • Choosing infrastructure for scale → headroom.

Safety rails (before anything moves)

  • Previews/staging: autonomous: deploy freely, verify, report.
  • Production: requires the user's explicit go (this message, a command they ran, or previously-authorized CI). Expensive or irreversible production actions (infrastructure changes, data migrations on live data, DNS cutover) are gated even mid-deploy.
  • Secrets: env var names are handled freely; values are set through the platform's own mechanism and never printed, echoed, or committed.
  • Never deploy a build that hasn't been built. Local/green build first, always.

Workflow

1. Detect platform and pipeline

Read the signals: vercel.json / .vercel/, netlify.toml, wrangler.toml, fly.toml, railway.json, render.yaml, Dockerfile / compose.yaml, k8s manifests, .github/workflows deploy jobs, mobile configs. No platform config → propose one from the project shape (references/platforms.md), get the user's pick before creating anything.

2. Preflight

  • cleared verdict fresh and not BLOCKED (re-run if stale);
  • git clean and pushed (the deployed commit is knowable);
  • target platform CLI authenticated (vercel whoami etc.: probe, name what's missing).

Record target, commit or immutable artifact, authorization, expected fingerprint, environment names, migration state, health and smoke checks, observation window, rollback command, and release owner. Unknown items are preflight gaps, not details to discover during production mutation.

3. Build and validate environment

  • Build locally with production config: output errors stop the flight.
  • Environment variables: every required name present in the target environment (checked via platform CLI, values never displayed). Missing → BLOCKED, list the names.
  • Database migrations: strategy stated (expand/contract, order), destructive ones have backup + down-path, applied to staging first when staging exists.

4. Deploy: nearest safe rung first

Preview deployment when available → verify it (build success, URL responds, key flows pass) → then production (user's go). Announce each step as it happens. The platform's own CLI/CI is the executor: you drive it, you don't pretend it.

Strategy follows the platform, not ambition: rolling (default everywhere), blue/green or canary (when the platform supports traffic switching and the change is risky), immutable deploys (container/image platforms), atomic static swaps (static hosts). A small project on Vercel gets preview → prod, and that IS professional; inventing canary infrastructure for it is enterprise cosplay in the other direction. CDN/cache state is part of the verification: a successful deploy with stale edge cache means the old version is still live: verify the fingerprint through the public URL, not the dashboard.

5. Verify on the ground (the part that makes it real)

  • Health: endpoint(s) return 200 in reasonable time; version fingerprint confirms the new build is actually live (deployed hash/version marker: not wishful thinking).
  • Smoke: the 2–3 critical API/browser paths on the live URL (roadtest discipline, light run, evidence captured).
  • Logs: first minutes scanned for startup errors, unhandled exceptions, connection failures.
  • Domain/HTTPS: correct domain resolves, certificate valid, apex/ www redirects behave.
  • Post-deploy checks: any post-deploy migrations/indexing completed.

6. Rollback path: stated before it's needed

Name the undo for every layer: previous deployment redeploy (platform command, verified available), migration down-path (or forward-fix policy), DNS/cache TTLs if involved. A rollback that has never been stated is a hope, not a path.

Anti-Patterns (The Banned List)

  • Blind Fire-and-Forget: running git push or vercel --prod, seeing the command exit, and immediately declaring "Deployed successfully!" without waiting for the remote build to finish or verifying the live URL.
  • Dashboard Hallucination: claiming the deployment is healthy without actually curling the live URL to verify the new version fingerprint, relying instead on wishful thinking or a successful tool invocation.
  • Enterprise Cosplay: inventing a 5-stage Kubernetes canary deployment strategy for a static blog on Vercel because of training bias toward "best practices." Strategy follows the platform.
  • Silent Failures: a deploy fails, and you hide the logs. Failed deploy: capture logs, report the failure layer (build/config/infra), fix forward or roll back per the user's call.

Quality gates

  • Preflight complete (cleared fresh, git clean, CLI authed) before any deploy action.
  • Build succeeded locally before platform deploy.
  • All required env names verified in the target; zero secret values in any output.
  • Smoke tests passed on the live URL with evidence; version fingerprint confirms the new build.
  • Rollback path named (and exercised where the platform allows a dry check).
  • Release record binds production authorization to target and artifact; access, preview, or a different commit never substitutes.
  • Verification covers asynchronous or cache state when changed surface needs it.

Stop conditions

  • Live and verified → deploy report, stop.
  • Any step fails irrecoverably (quota, missing credentials, platform outage) → stop with the exact blocker and the command/access needed.
  • User requests production deploy without a passing cleared → state the risk once, proceed only on their explicit confirmation, record it.
  • Artifact, target, authorization, or migration state changes after preflight → invalidate record and re-run affected checks.

Output contract

── deploy report ──────────────────────────
platform:   Vercel (vercel.json) · commit 4f2a91c "fix: debounce search"
preflight:  cleared READY (14:02) · git clean · CLI authed
build:      local ✅ (42s) · env: 9/9 names present in prod
staging:    preview 4f2a91c-x.vercel.app: smoke 3/3 ✅
production: live ✅ · fingerprint 4f2a91c confirmed · smoke 3/3 ✅
            logs clean 5min · HTTPS valid · apex→www ✅
rollback:   vercel rollback <prev-deploy> · migrations: none shipped
evidence:   screenshots + log excerpts inline

The report is the deploy's flight record: every claim traceable.

Research basis

Read references/research.md when a decision depends on an external standard, a numerical claim, or a fast-moving practice. The ledger records what the source supports, what it does not support, and when to reverify. Read references/platforms.md only after platform detection. Read references/release-protocol.md for production authorization, migrations, evidence, and recovery.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.