deploy-preview
БесплатноЗапускает вложенные скриптыНе проверенDeploy a preview branch to the staging environment for review. Use when a feature branch is ready for visual review, when someone asks to "deploy this for…
от zakelfassi★ 18 звёзд на GitHubОб этом скилле
Deploy Preview
Deploy the current branch to a preview URL for review before merging.
Inputs
- Branch name (defaults to current branch)
- Environment (defaults to
staging)
Steps
Verify branch is clean
git status --porcelainIf dirty, commit or stash before proceeding.
Run tests locally
npm testDo not deploy if tests fail.
Push to remote
git push origin HEADTrigger preview deploy
scripts/deploy-preview.shThis builds, uploads, and returns a preview URL.
Verify the preview
- Open the preview URL
- Check: page loads, no console errors, key feature works
- If broken: fix locally, re-push, re-deploy
Share the preview URL
- Post in the PR description
- Or share in the team channel
Conventions
- Preview URLs follow the pattern:
preview-{branch}.staging.example.com - Preview deploys expire after 7 days
- Only one preview per branch (re-deploying replaces the previous)
Edge Cases
- Branch name has slashes: The deploy script sanitizes
/to- - Large assets: Preview deploys skip video files >50MB
- Environment variables: Preview uses staging env vars, not production
Установить deploy-preview в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл deploy-preview?
Deploy a preview branch to the staging environment for review. Use when a feature branch is ready for visual review, when someone asks to "deploy this for review", or before opening a PR.
Как установить скилл deploy-preview?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл deploy-preview запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub