Skip to content
Back to skills

Devops

ASecurity

Deploy to Vercel (frontends, serverless), Railway (backends, services), Supabase (database, auth, storage), GitHub Actions CI/CD. Use for deployments, infrastructure, monitoring, CI/CD.

  • 43 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 26, 2026
devopstypescriptshellbashsqlnextjsrailsdebugginggitapidatabase

Works with

  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add NikitaDmitrieff/auto-co-meta --skill devops --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Devops?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Devops
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nikitadmitrieff-devops/badge)](https://www.skillsdirectory.com/skills/nikitadmitrieff-devops)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: devops
description: Deploy to Vercel (frontends, serverless), Railway (backends, services), Supabase (database, auth, storage), GitHub Actions CI/CD. Use for deployments, infrastructure, monitoring, CI/CD.
license: MIT
version: 3.0.0
---

# DevOps Skill

Deploy and manage cloud infrastructure across Vercel, Railway, Supabase, and GitHub Actions.

## When to Use

- Deploy frontends and serverless functions to Vercel
- Deploy backend services to Railway
- Manage databases, auth, and storage with Supabase
- Set up CI/CD pipelines with GitHub Actions
- Monitor deployments and debug production issues
- Manage environment variables and secrets

## Platform Selection

| Need | Choose |
|------|--------|
| Frontend / Next.js / static sites | Vercel |
| Serverless API routes / edge functions | Vercel |
| Long-running backend services | Railway |
| Background workers / cron jobs | Railway |
| PostgreSQL database | Supabase |
| User authentication | Supabase Auth |
| File/image storage | Supabase Storage |
| Realtime subscriptions | Supabase Realtime |
| Edge functions (Deno) | Supabase Edge Functions |
| CI/CD pipelines | GitHub Actions |

## Quick Start

```bash
# Vercel - deploy frontend
vercel deploy              # Preview deployment
vercel deploy --prod       # Production deployment

# Railway - deploy backend
railway up                 # Deploy current directory
railway logs               # View service logs

# Supabase - manage database
supabase db push           # Push migrations to remote
supabase migration new feat_name  # Create new migration

# GitHub Actions - CI/CD
gh workflow run deploy.yml  # Trigger workflow manually
gh run list                # View recent runs
```

## Command Reference

### Vercel

```bash
# Deployments
vercel deploy                           # Deploy to preview
vercel deploy --prod                    # Deploy to production
vercel ls                               # List recent deployments
vercel inspect <url>                    # Deployment details
vercel logs <url>                       # View function logs
vercel redeploy                         # Redeploy latest

# Environment variables
vercel env pull .env.local              # Pull env vars locally
vercel env add SECRET_KEY               # Add env var (interactive)
vercel env rm SECRET_KEY                # Remove env var

# Project management
vercel link                             # Link local dir to project
vercel project ls                       # List all projects

# Domains
vercel domains add example.com          # Add custom domain
vercel domains ls                       # List domains
```

### Railway

```bash
# Deployments
railway up                              # Deploy current directory
railway up --detach                     # Deploy without tailing logs
railway logs                            # View service logs
railway logs --tail                     # Follow live logs
railway status                          # Service status

# Environment variables
railway variables                       # List all env vars
railway variables set KEY=VALUE         # Set env var
railway variables get KEY               # Get specific var

# Services
railway service                         # Current service info
railway open                            # Open in browser

# Database
railway connect postgres                # Connect to Postgres shell
```

### Supabase

```bash
# Database
supabase db push                        # Push migrations to remote
supabase db reset                       # Reset LOCAL db only (never production!)
supabase migration new <name>           # Create migration file
supabase migration list                 # List migrations

# Edge Functions
supabase functions deploy <name>        # Deploy edge function
supabase functions serve                # Local dev server
supabase functions list                 # List deployed functions

# Auth
supabase auth list                      # List auth providers

# Storage
supabase storage create <bucket>        # Create storage bucket

# General
supabase link --project-ref <ref>       # Link to remote project
supabase db diff                        # Show schema diff
supabase gen types typescript           # Generate TS types from schema
```

### GitHub Actions

```bash
# Workflows
gh workflow list                        # List all workflows
gh workflow run <name>                  # Trigger workflow
gh run list                             # List recent runs
gh run view <id>                        # View run details
gh run view <id> --log                  # View run logs
gh run watch                            # Watch running workflow

# Secrets
gh secret set SECRET_KEY                # Set repo secret
gh secret list                          # List secrets
```

## Best Practices

**Security:** Never commit .env files, use platform-managed secrets, rotate keys regularly, use Supabase RLS policies
**Performance:** Use Vercel edge caching, Railway health checks, Supabase connection pooling (pgBouncer)
**Cost:** Stay on free tiers when possible, monitor usage in platform dashboards, use preview deployments to test before prod
**Development:** Use `vercel dev` / `supabase start` for local development, branch deploys for PRs

## Safety Guardrails

**NEVER do these:**
- `vercel remove` / `vercel project rm` -- deletes the project
- `railway delete` -- deletes the service
- `supabase db reset` on production -- destroys all data
- Commit secrets to git -- use platform env vars instead

**ALWAYS do these:**
- Test on preview/staging before production
- Use migrations for database changes (never raw SQL on prod)
- Keep deployment logs for debugging
- Set up health check endpoints

## Resources

- Vercel: https://vercel.com/docs
- Railway: https://docs.railway.com
- Supabase: https://supabase.com/docs
- GitHub Actions: https://docs.github.com/en/actions

Files in this skill

  • SKILL.md5.8 KB
  • references/docker-basics.md5.7 KB
  • references/docker-compose.md4.7 KB
  • references/gcloud-platform.md6.9 KB
  • references/gcloud-services.md5.8 KB
  • references/kubernetes-basics.md1.7 KB
  • references/kubernetes-helm-advanced.md1.7 KB
  • references/kubernetes-helm.md1.8 KB
  • references/kubernetes-kubectl.md1.7 KB
  • references/kubernetes-security-advanced.md1.8 KB
  • references/kubernetes-security.md1.7 KB
  • references/kubernetes-troubleshooting-advanced.md1.4 KB
  • references/kubernetes-troubleshooting.md1.4 KB
  • references/kubernetes-workflows-advanced.md1.3 KB
  • references/kubernetes-workflows.md1.6 KB
  • scripts/docker_optimize.py11.5 KB
  • scripts/requirements.txt471 B
  • scripts/tests/requirements.txt52 B
  • scripts/tests/test_cloudflare_deploy.py9 KB
  • scripts/tests/test_docker_optimize.py12.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.