vercel/next.js/.agents/skills/deploy-release-test/SKILL.md
deploy-release-test
Validate a commit-specific Next.js preview package and manually trigger the entire Next.js deployment test suite through the test_e2e_deploy_release.yml GitHub Actions workflow. Use only when asked to run the full deploy test suite or this workflow specifically from an internal vercel/next.js PR branch. Do not use for focused deployment-test sanity checks; run the relevant tests locally with pnpm test-deploy instead. Covers resolving the latest branch SHA, waiting for vercel-packages, preserving
- Source repository stars
- 141,971
- Declared platforms
- 0
- Static risk flags
- 2
- Last source update
- 2026-08-28
- Source checked
- 2026-08-28
Decision brief
What it does: where it fits
Use this skill only when manually running the entire Next.js deployment test suite for a pull request. Treat package validation as a hard gate: never dispatch the workflow until the exact commit's redirected tarball responds successfully.
Not for
- Do not use for focused deployment-test sanity checks; run the relevant tests locally with pnpm test-deploy instead.
Compatibility matrix
Platform support, with evidence labels
| Platform | Status | Evidence | What to check |
|---|---|---|---|
| Codex | Not declared | No explicit evidence | Portability before use |
| Claude Code | Not declared | No explicit evidence | Portability before use |
| Cursor | Not declared | No explicit evidence | Portability before use |
| Gemini CLI | Not declared | No explicit evidence | Portability before use |
Installation
Inspect first. Install second.
The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.
npx skills add https://github.com/vercel/next.js --skill ".agents/skills/deploy-release-test"Inspect the Agent Skill "deploy-release-test" from https://github.com/vercel/next.js/blob/1cb20a1d1431f9216f44230a1e5a698c23ba9f70/.agents/skills/deploy-release-test/SKILL.md at commit 1cb20a1d1431f9216f44230a1e5a698c23ba9f70. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.
Workflow
What the source asks the agent to do
- 01
Workflow
1. Resolve the PR branch and its latest commit from GitHub, not merely from the local checkout:
Resolve the PR branch and its latest commit from GitHub, not merely from theConstruct the exact package URL:Wait for the package to become downloadable before dispatching anything: - 02
Scope
Do not use this workflow to sanity-check one deployment test or a focused group of tests. Follow Running Deploy Tests Locally instead:
Do not use this workflow to sanity-check one deployment test or a focused group of tests. Follow Running Deploy Tests Locally instead:If a request to "run deploy tests" does not explicitly call for the entire suite, prefer the focused local workflow and scope it to the affected tests. - 03
Inputs
Accept a PR number or determine the PR from the current branch.
Accept a PR number or determine the PR from the current branch.Use repository vercel/next.js and workflowRequire the PR head branch to exist in vercel/next.js. A fork branch cannot - 04
Completion Report
Report the PR branch, validated SHA and package URL, workflow run URL, and its current status. Do not wait for the full deployment suite unless the user asks you to monitor it.
Report the PR branch, validated SHA and package URL, workflow run URL, and its current status. Do not wait for the full deployment suite unless the user asks you to monitor it. - 05
Related Skills
$pr-status-triage - Inspect failures if the deployment workflow does not pass.
$pr-status-triage - Inspect failures if the deployment workflow does not pass.$create-pr - Create or update the internal PR branch before deployment testing.- $pr-status-triage - Inspect failures if the deployment workflow does not pass. - $create-pr - Create or update the internal PR branch before deployment testing.
Permission review
Static risk signals and limitations
Network access
The documentation includes network, browsing, or remote request actions.
NEXT_TEST_VERSION=https://vercel-packages.vercel.app/next/commits/<commit-sha>/next pnpm test-deploy <path-to-test>Network access
The documentation includes network, browsing, or remote request actions.
https://vercel-packages.vercel.app/next/commits/<commit-sha>/nextRuns scripts
The documentation asks the agent to run terminal commands or scripts.
node scripts/wait-for-preview-tarball.mjs --commit-sha <commit-sha>Evidence record
Why each signal appears
| Signal | Value | Evidence type | Meaning |
|---|---|---|---|
| Quality score | 93/100 | Computed | Documentation, specificity, maintenance, and trust rules |
| Repository stars | 141,971 | Source | Repository attention, not individual Skill quality |
| Compatibility | 0 platforms | Source | Declared in the catalog source record |
| Usage guide | automated source guide | Editorial | Generated or reviewed according to the visible evidence level |
Pinned source
Provenance and original SKILL.md
- Repository
- vercel/next.js
- Skill path
- .agents/skills/deploy-release-test/SKILL.md
- Commit
- 1cb20a1d1431f9216f44230a1e5a698c23ba9f70
- License
- MIT
- Collected
- 2026-08-28
- Default branch
- canary
View the original SKILL.md
Deploy Release Test
Use this skill only when manually running the entire Next.js deployment test suite for a pull request. Treat package validation as a hard gate: never dispatch the workflow until the exact commit's redirected tarball responds successfully.
Scope
Do not use this workflow to sanity-check one deployment test or a focused group of tests. Follow Running Deploy Tests Locally instead:
NEXT_TEST_VERSION=https://vercel-packages.vercel.app/next/commits/<commit-sha>/next pnpm test-deploy <path-to-test>
If a request to "run deploy tests" does not explicitly call for the entire suite, prefer the focused local workflow and scope it to the affected tests.
Inputs
- Accept a PR number or determine the PR from the current branch.
- Use repository
vercel/next.jsand workflow.github/workflows/test_e2e_deploy_release.yml. - Require the PR head branch to exist in
vercel/next.js. A fork branch cannot run this secret-bearing workflow; use the repository's PR adoption process first when appropriate.
Workflow
-
Resolve the PR branch and its latest commit from GitHub, not merely from the local checkout:
gh pr view <pr-number> --repo vercel/next.js \ --json number,url,headRefName,headRefOid,isCrossRepositoryIf no PR number was supplied, omit
<pr-number>to detect the PR from the current branch. Stop ifisCrossRepositoryistrue. RecordheadRefNameas the branch andheadRefOidas the commit SHA. -
Construct the exact package URL:
https://vercel-packages.vercel.app/next/commits/<commit-sha>/next -
Wait for the package to become downloadable before dispatching anything:
node scripts/wait-for-preview-tarball.mjs --commit-sha <commit-sha>Keep the wait in an ongoing terminal session and poll it so the user still receives progress updates. The helper uses
HEAD, follows the redirect to Vercel Blob, and only succeeds when the final artifact is available. Do not substitute a check that accepts the initial redirect: that endpoint can redirect even while the blob still returns 404.If the helper times out or reports an authorization or build failure, do not dispatch the workflow. Report the failure and inspect the commit's
build-and-deploy/upload-preview-tarballschecks if useful. -
Resolve the PR again immediately after validation. Compare the current
headRefNameandheadRefOidwith the recorded values. If either changed, return to step 2 and validate the new commit-specific URL. Never reuse the old package URL for a moved branch. -
Trigger the workflow from the PR branch and pass only
nextVersion:gh workflow run test_e2e_deploy_release.yml \ --repo vercel/next.js \ --ref <pr-branch> \ -f nextVersion=https://vercel-packages.vercel.app/next/commits/<commit-sha>/nextDo not pass any other
-fvalues. Leaving them unspecified preserves the workflow defaults, includingvercelCliVersion: vercel@latestand empty optional overrides. -
Find and verify the newly created run:
gh run list --repo vercel/next.js \ --workflow test_e2e_deploy_release.yml \ --branch <pr-branch> \ --event workflow_dispatch \ --limit 5 \ --json databaseId,url,status,conclusion,headBranch,headSha,displayTitle,createdAtConfirm that the newest matching run has:
headBranchequal to the PR branchheadShaequal to the validated commit SHAdisplayTitlecontaining the exact commit-specific package URL
A race can still move the branch between the final check and dispatch. If the run's
headShadiffers, report the mismatch and do not trigger another run until the new SHA's package has been validated.
Completion Report
Report the PR branch, validated SHA and package URL, workflow run URL, and its current status. Do not wait for the full deployment suite unless the user asks you to monitor it.
Related Skills
$pr-status-triage- Inspect failures if the deployment workflow does not pass.$create-pr- Create or update the internal PR branch before deployment testing.
Frequently asked questions
What to verify before installation and use
What does the deploy-release-test source document cover?
Use this skill only when manually running the entire Next.js deployment test suite for a pull request. Treat package validation as a hard gate: never dispatch the workflow until the exact commit's redirected tarball responds successfully.
How do I install deploy-release-test?
The source record exposes this install command: npx skills add https://github.com/vercel/next.js --skill ".agents/skills/deploy-release-test". Inspect the command and pinned source before running it.
Which permission-related actions were detected?
Static rules flagged network, exec-script in the source; the page lists the matching lines and excerpts.
Alternatives
Compare before choosing
microsoft/Sico
android-tester
Execute Android UI workflows on a sandbox device, review results, and produce a structured execution report.
upex-galaxy/agentic-qa-boilerplate
regression-testing
Execute regression test suites via CI/CD, analyze results, classify failures, and produce GO/NO-GO release decisions. Use when running regression, smoke, or sanity suites through GitHub Actions, monitoring workflow runs, downloading Allure or Playwright artifacts, classifying failures (REGRESSION vs FLAKY vs KNOWN vs ENVIRONMENT vs NEW TEST), computing pass-rate and trend metrics, deciding release readiness, generating executive quality reports, or creating regression issues. Triggers on: run re
K-Dense-AI/scientific-agent-skills
simpy
Build, inspect, test, and analyze bounded process-based discrete-event simulations with SimPy, including events, resources, interrupts, monitoring, replications, warm-up, and reproducible output analysis.
aAAaqwq/AGI-Super-Team
trade-prediction-markets
Build and test Polymarket prediction market trading strategies for YES/NO token trading. Provides 6 tools: get_all_prediction_events (browse markets, $0.001), get_prediction_market_data (analyze price history, $0.001), create_prediction_market_strategy (generate code, $1-$4.50), run_prediction_market_backtest (test performance, $0.001). Trade on real-world events (politics, economics, sports, crypto). Currently simulation only (live deployment coming soon).