benisenstein/pgonrails/deploy
Claude Code and agent skill by benisenstein/pgonrails
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Deploy the application to production using Docker, Supabase hosted, and environment configuration
Install
npx vskill@latest install benisenstein/pgonrails/deploySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as benisenstein/pgonrails/deploy.
Deploy
Deploy the application to production.
Architecture (Production)
Workflow
1. Build production image
The production Dockerfile (in project root) does a multi-stage build:
- Installs dependencies
- Runs
pnpm vite build - Copies built output to a slim runtime image
2. Push migrations to hosted Supabase
This applies any new migrations to the remote database.
3. Set environment variables
Required production env vars:
4. Run the container
Pre-deploy Checklist
- [ ]
pnpm vite buildsucceeds locally - [ ]
pnpm tsc --noEmitpasses (no type errors) - [ ] All migrations applied:
npx supabase db push - [ ] Environment variables set in hosting platform
- [ ]
SITE_URLmatches actual production domain (used in auth emails) - [ ] Storage buckets exist on remote (created by migrations)
Key Files
Dockerfile— Production multi-stage builddev.Dockerfile— Development only (NOT for production)docker-compose.yml— Local dev onlyapp/.env.example— Template for required env varsapp/supabase/config.toml— Supabase project config
Hosting Options
The production Docker image is a standard Node.js container. Deploy to:
- Railway, Render, Fly.io (Docker support)
- AWS ECS / GCP Cloud Run
- Any VPS with Docker installed
Pitfalls
- Never deploy with
SERVICE_ROLE_KEYexposed to the client (only server-side) VITE_prefixed vars are baked into the client bundle at build time — they must be set at build, not just runtime- If auth emails show wrong URLs, check
SITE_URLin both your app env and Supabase dashboard (Authentication → URL Configuration) - The production image does NOT include Supabase CLI — migrations are pushed separately, not at runtime
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsite/.opencode/skills/deploy/SKILL.md
Popularity
- Repository stars
- 53
- Repository forks
- 17
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/benisenstein/pgonrails/deploy)