Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计通过

deploy部署

Agent Skill

用于辅助云资源、部署、容器、基础设施和运维自动化任务。它适合让 Agent 检查配置、整理部署步骤、分析资源状态、生成排障思路或辅助云服务接入。使用时需要明确目标环境、账号权限、区域和资源组,区分本地测试与生产操作;涉及删除资源、重启服务、修改网络或权限配置时,应先确认影响范围。

总安装

261

周安装

11

GitHub Stars

168

下载量

92
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:deploy(部署)
来源仓库:https://github.com/whawkinsiv/claude-code-skills
仓库路径:skills/deploy
安装命令:
npx skills add https://github.com/whawkinsiv/claude-code-skills --skill deploy
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/whawkinsiv/claude-code-skills --skill deploy

简介

deploy 用于辅助云资源、部署和基础设施任务。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中检查配置或整理部署步骤。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用时需明确目标环境和账号权限,区分本地测试与生产操作。
  • 涉及删除资源或修改网络配置时应先确认影响范围。

SKILL.md

Deployment & Going Live

The gap between "it works on my screen" and "anyone can use it" feels enormous. It's not. This skill walks you through choosing a host, deploying, connecting a domain, and setting up backups — step by step.

This skill is for deployment and hosting. For pre-launch quality checks, use go-live. For monitoring after deploy, use monitor. For database setup, use database. For security hardening, use secure.

Core Principles

  • The best hosting platform is the one that matches how you built. Don't migrate unless you have to.
  • Managed beats self-managed every time for solo founders. Pay more, worry less.
  • Your first deployment should take under 30 minutes. If it's taking hours, you're overcomplicating it.
  • Custom domains are not optional for a real business. yourapp.vercel.app is not professional.
  • Backups are not optional. If you don't have them, you don't have a business.

Don't Do Yet

  • Don't set up Kubernetes, Docker Swarm, or "infrastructure as code." Managed platforms handle this. You're shipping a product, not building a data center.
  • Don't set up a staging environment until you have paying users. Deploy straight to production. You can add staging later.
  • Don't optimize for scale before you have traffic. A $5/month Railway plan handles thousands of users. Worry about scaling when it becomes a real problem.
  • Don't self-host your database. Use a managed service (Supabase, Railway Postgres, PlanetScale). Self-hosting means you're on call for backups, upgrades, and outages.

Choose Your Hosting

If You Built With These Tools

Built WithDeploy ToWhy
LovableLovable's built-in hostingAlready deployed. Just connect your domain.
ReplitReplit DeploymentsOne-click deploy from your Repl. Built in.
Bolt / StackblitzNetlify or VercelExport code, connect git repo, auto-deploys.
Claude Code (Next.js, React)VercelBuilt for Next.js. Git push = deploy.
Claude Code (any framework)RailwaySupports everything. Simple dashboard.
Claude Code (static site)Netlify or Cloudflare PagesFree tier is generous. Fast global CDN.
Claude Code (Python/Django/Flask)Railway or RenderGood Python support with managed databases.

Hosting Comparison for Solo Founders

PlatformFree TierEaseDatabaseCustom DomainBest For
VercelGenerousVery easyNo (use Supabase)YesNext.js, React apps
Railway$5 credit/moEasyYes (Postgres)YesFull-stack apps, any framework
NetlifyGenerousVery easyNoYesStatic sites, JAMstack
RenderFree tierEasyYes (Postgres)YesFull-stack, background jobs
Fly.ioLimited freeModerateYes (Postgres)YesGlobal distribution, Docker
Cloudflare PagesVery generousEasyNo (use D1 or Supabase)YesStatic sites, edge functions
ReplitIncludedEasiestYes (built-in)YesApps built in Replit
LovableIncludedEasiestYes (Supabase)YesApps built in Lovable

Recommendation for most solo founders: Vercel (for Next.js) or Railway (for everything else).


Deployment: Step by Step

Path 1: Lovable / Replit (Already Deployed)

Your app is already running. You just need a custom domain:

  1. Buy a domain (Namecheap, Cloudflare, or Google Domains)
  2. In your Lovable/Replit dashboard, go to Settings → Custom Domain
  3. Add your domain name
  4. Update DNS records at your domain registrar (they'll tell you what to add)
  5. Wait 5-30 minutes for DNS propagation
  6. SSL certificate is automatic — your site will be HTTPS

Path 2: Vercel (Next.js / React)

Deployment Checklist — Vercel:
- [ ] Push your code to a GitHub repository
- [ ] Go to vercel.com → "Add New Project"
- [ ] Connect your GitHub repo
- [ ] Vercel auto-detects framework and configures build settings
- [ ] Add environment variables (Settings → Environment Variables)
- [ ] Click "Deploy"
- [ ] Connect custom domain (Settings → Domains)
- [ ] Update DNS (Vercel gives you the records)
- [ ] Verify HTTPS is working

Tell AI:

Help me deploy my Next.js app to Vercel. My app uses:
- Framework: [Next.js version]
- Database: [Supabase/PlanetScale/etc.]
- Environment variables I need: [list them]
Walk me through the steps and tell me what environment variables
to set in the Vercel dashboard.

Path 3: Railway (Any Framework)

Deployment Checklist — Railway:
- [ ] Push code to GitHub repository
- [ ] Go to railway.app → "New Project"
- [ ] Choose "Deploy from GitHub Repo"
- [ ] Select your repo
- [ ] Add environment variables in the Railway dashboard
- [ ] If you need a database: click "New" → "Database" → "PostgreSQL"
- [ ] Railway gives you a DATABASE_URL — add it to your app's env vars
- [ ] Click "Deploy"
- [ ] Connect custom domain (Settings → Networking → Custom Domain)
- [ ] Update DNS records

Environment Variables

Environment variables store secrets (API keys, database passwords) that should never be in your code.

What Goes in Environment Variables

Common Environment Variables:
DATABASE_URL=postgresql://user:password@host:5432/dbname
STRIPE_SECRET_KEY=sk_live_...
STRIPE_PUBLISHABLE_KEY=pk_live_...
STRIPE_WEBHOOK_SECRET=whsec_...
NEXT_PUBLIC_SUPABASE_URL=https://xxx.supabase.co
SUPABASE_SERVICE_ROLE_KEY=eyJ...
EMAIL_API_KEY=re_...
NEXTAUTH_SECRET=random-string-here
NEXTAUTH_URL=https://yourdomain.com
NODE_ENV=production

Rules

  • Never commit secrets to git. Add .env and .env.local to .gitignore.
  • Each environment (dev/staging/prod) has its own variables. Don't share them.
  • Use your hosting platform's dashboard to set production variables. Not a file on a server.
  • Rotate keys if you accidentally commit them. Immediately. Git history preserves secrets even if you delete the file.

Tell AI:

List all the environment variables my app needs for production deployment.
My app uses: [list your services — Supabase, Stripe, email provider, etc.]
Show me which ones are public (safe for client-side) and which are secret
(server-only).

Custom Domains

Buying a Domain

  • Namecheap or Cloudflare Registrar — cheapest, no markup
  • Get a .com if possible. .io and .co are fine for SaaS
  • Avoid hyphens, numbers, and hard-to-spell names
  • Budget: $10-15/year for a.com

DNS Setup

Your hosting platform will tell you exactly which DNS records to add. Typical setup:

Record TypeNameValuePurpose
A@76.76.21.21 (example)Points root domain to host
CNAMEwwwcname.vercel-dns.com (example)Points www to host

Where to add DNS records: Log in to wherever you bought your domain (Namecheap, Cloudflare, etc.) → DNS Settings → Add the records your hosting platform gives you.

DNS propagation takes 5 minutes to 48 hours (usually under 30 minutes). Be patient.

Tell AI:

I bought a domain on [Namecheap/Cloudflare/Google Domains] and I'm hosting on [Vercel/Railway/Netlify].
Walk me through connecting the domain step by step. Tell me exactly which DNS records
to add and where.

SSL / HTTPS

  • Every modern hosting platform provides free SSL certificates automatically
  • If your site shows "Not Secure" after connecting a domain, wait 30 minutes for SSL to provision
  • If it still doesn't work after an hour, check that your DNS records are correct

Database in Production

If You're Using Supabase

Supabase is already hosted. Your production app connects to the same Supabase project (or a separate one for production):

Production Database Checklist — Supabase:
- [ ] Create a separate Supabase project for production (don't share with dev)
- [ ] Run your migrations on the production database
- [ ] Enable Row Level Security (RLS) on all tables
- [ ] Set up database backups (Supabase Pro plan includes daily backups)
- [ ] Use the production URL and keys in your production env vars

If You Need a Hosted Database

ServiceFree TierBest For
Supabase500MB, 2 projectsPostgres + auth + storage
Railway PostgresIncluded with $5 creditApps already on Railway
PlanetScale1 billion row reads/moMySQL, branching workflow
Neon512MBServerless Postgres
Render Postgres1GB, 90-day limitApps already on Render

Backups

If you don't have backups, a single mistake can destroy your business.

Backup Checklist:
- [ ] Database backups enabled (daily minimum)
- [ ] Verified you can restore from a backup (test this!)
- [ ] Code is in a git repository (GitHub/GitLab)
- [ ] Environment variables documented (not in code, but you know what they all are)
- [ ] File uploads stored in cloud storage (S3, Supabase Storage, Cloudflare R2)

Database backups by platform:

  • Supabase: Daily backups on Pro plan. Point-in-time recovery on Team plan.
  • Railway: Daily backups included. One-click restore.
  • Render: Daily backups. 7-day retention on paid plans.
  • PlanetScale: Automatic backups with branching.

Monitoring Your Live App

Once deployed, set up basic monitoring (see monitor skill for full guidance):

Minimum Viable Monitoring:
- [ ] Uptime check — Use BetterUptime, UptimeRobot (free), or Checkly
- [ ] Error tracking — Use Sentry (free tier) to catch production errors
- [ ] Alerts — Get notified by email or Slack when your site goes down
- [ ] Check your app once daily — log in and use it like a customer

When Things Go Wrong

"My site is down"

  1. Check your hosting dashboard for deploy errors or resource limits
  2. Check your database — is it running? Is it full?
  3. Check environment variables — did any API keys expire?
  4. Check Stripe/Supabase/other service status pages
  5. If you can't figure it out within 30 minutes, check your hosting platform's logs

Tell AI:

My app at [URL] is showing [error]. I'm hosted on [platform] with
[database]. Here are the error logs: [paste logs]. Help me figure out
what's wrong and how to fix it.

"I deployed but it looks broken"

  • Blank page: Check browser console (F12) for JavaScript errors. Usually a missing environment variable.
  • API errors: Environment variables are probably not set in production.
  • Works locally but not in production: 99% of the time it's environment variables.
  • Styling looks wrong: Check that your CSS/Tailwind build step is running in the deploy.

"I need to roll back"

  • Vercel: Dashboard → Deployments → click on previous deployment → "Promote to Production"
  • Railway: Dashboard → Deployments → click on previous deployment → "Rollback"
  • Netlify: Dashboard → Deploys → click on previous deploy → "Publish deploy"

Common Mistakes

MistakeFix
Committing API keys to GitHubAdd .env to .gitignore. Rotate any leaked keys immediately
Using the same database for dev and productionCreate separate environments. One bad query shouldn't break production
No backupsEnable database backups today. Not tomorrow. Today
Skipping custom domainBuy one. $10/year. yourapp.com builds trust
Overcomplicating deploymentUse the platform that matches your build tool. Don't migrate unnecessarily
Not testing after deployAlways click through your app after every deployment
Ignoring deploy logsWhen something breaks, logs tell you why. Learn to read them

Success Looks Like

  • Your app is live at your custom domain with HTTPS
  • Deploys happen automatically when you push code (or click a button)
  • Environment variables are set in the hosting dashboard, not in code
  • Database is backed up daily
  • You get an alert within 5 minutes if your site goes down
  • You can roll back to a previous version in under 2 minutes

Related Skills

  • compliance — Check hosting requirements for regulated industries before choosing a provider
  • monitor — Set up error tracking, uptime checks, and alerts after deploying
  • database — Set up your production database and backups
  • secure — Security checklist before going live
  • debug — When something breaks after deploy

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.86%
按下载量换算34

Claude

32.57%
按下载量换算30

Cursor

17.45%
按下载量换算16

Gemini CLI

8.94%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills