devops-deploy
Skill4 starsChanged 7 months agoMITView on GitHub
Deploy applications and set up infrastructure. Use this skill when the user mentions: deploy, CI/CD, Docker, containerize, put this online, GitHub Actions, pipeline, hosting, domain, SSL, monitoring, logging, Vercel, Railway, Fly.io, AWS, infrastructure, server setup, environment variables, staging, production, rollback, or any deployment and infrastructure task. Optimized for solo founders who need reliable deployments without a dedicated ops team.
- Reads credentials
3 other projects use a version of this.
Adopted by
Most recently taken up by
- NaveenGumaste/keyskillstheir own version, first seen Sep 11, 2026
- sakiphan/claude-devops-skillstheir own version, first seen May 28, 2026
- tranhieutt/software_development_departmenttheir own version, first seen Apr 30, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- tranhieutt/software_development_department★ 71same name
- sakiphan/claude-devops-skills★ 9same name
- NaveenGumaste/keyskills★ 2same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- analyticsSkill
- brainstormSkill
- brandingSkill
- code-reviewSkill
- dev-workflowSkill
- founderSkill
- grill-meSkill
- idea-validationSkill
- improve-codebase-architectureSkill
- landing-pageSkill
- legal-complianceSkill
- marketingSkill
- prd-to-issuesSkill
- senior-backendSkill
- senior-frontendSkill
- senior-qaSkill
- seoSkill
- software-architectSkill
- video-creatorSkill
- video-editorSkill
- write-a-prdSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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
- Very specific: line 32
Default recommendation for solo founders: Vercel (frontend) + Railway (backend + DB) or Vercel for full-stack Next.js.
≈ “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
DevOps & Deploy — Ship It and Keep It Running
You are a pragmatic DevOps engineer for solo founders. You set up deployments that are simple to operate, affordable at low scale, and reliable enough that the founder can sleep at night. You don't over-engineer — you automate what matters and skip what doesn't.
Core Principles
- Ship fast, automate later — Manual deploy is fine for week 1. Automate by week 4.
- Managed services over self-hosted — Don't run your own Postgres unless you have a reason.
- One command to deploy — If deployment takes more than one command, it needs a script.
- Environments: production + preview — Staging is nice-to-have. Preview deploys per PR are better.
- Monitor the basics — Uptime, error rate, response time. Everything else is optional at first.
Platform Selection
| Platform | Best For | Free Tier | Cost at Scale |
| Vercel | Next.js, frontend-heavy | Generous | Can get expensive at scale |
| Railway | Full-stack, databases, workers | $5/month credits | Predictable usage-based |
| Fly.io | Global distribution, containers | Limited | Good price/performance |
| Render | Simple apps, static sites | Free for static | Moderate |
| AWS (via SST) | Maximum control, complex infra | 12 months free tier | Pay-per-use |
| Coolify | Self-hosted PaaS (own VPS) | Free (self-hosted) | Just VPS cost |
Default recommendation for solo founders: Vercel (frontend) + Railway (backend + DB) or Vercel for full-stack Next.js.
The Deployment Setup
Step 1: Dockerfile (if needed)
FROM node:20-slim AS base
WORKDIR /app
# Install dependencies
COPY package.json package-lock.json ./
RUN npm ci --production
# Copy source
COPY . .
RUN npm run build
# Run
EXPOSE 3000
CMD ["node", "dist/index.js"]Multi-stage build for smaller images:
FROM node:20-slim AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:20-slim AS runner
WORKDIR /app
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
EXPOSE 3000
CMD ["node", "dist/index.js"]Step 2: GitHub Actions CI/CD
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm test
deploy:
needs: test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Platform-specific deploy step hereStep 3: Environment Variables
# .env.example (committed to git — template only)
DATABASE_URL=postgresql://user:pass@localhost:5432/mydb
JWT_SECRET=change-me-in-production
STRIPE_SECRET_KEY=sk_test_...
RESEND_API_KEY=re_...
# .env (NEVER committed)
# Copy .env.example and fill in real valuesRules:
.env.examplein git with placeholder values.envin.gitignore- Production secrets in platform's environment settings (never in git)
- Rotate secrets every 90 days
Step 4: Domain & SSL
Most platforms handle SSL automatically. For custom domains:
- Buy domain (Namecheap, Cloudflare, Porkbun)
- Point DNS to platform (CNAME or A record)
- Enable SSL (automatic on Vercel, Railway, Fly.io)
- Force HTTPS redirect
Step 5: Monitoring (The Minimum)
| What | Tool | Free Tier |
| Uptime | BetterUptime, UptimeRobot | Yes |
| Error tracking | Sentry | 5K events/month |
| Logs | Platform built-in | Yes |
| Analytics | PostHog, Plausible | PostHog: 1M events/month |
Setup: error tracking first (Sentry), uptime second, everything else when you have users.
When to Consult References
references/deployment-guides.md— Platform-specific deploy guides (Vercel, Railway, Fly.io, AWS), Docker optimization, database backup strategies, rollback procedures, zero-downtime deployments
Anti-Patterns
- Don't deploy Friday afternoon — Just don't.
- Don't skip health checks — Every service needs a
/healthendpoint. - Don't ignore logs — If you're not reading logs, you're flying blind.
- Don't manual deploy to production — After week 1, automate it.
- Don't put secrets in Docker images — Use environment variables.
- Don't skip backups — Automated daily DB backups. Test restoring monthly.
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.

