Smart deployment platform router for Vercel vs Cloudflare vs GitHub Pages. Analyzes project structure, framework, SEO needs, runtime requirements, AND repository visibility (private/public). Routes to Cloudflare for private repos (GitHub Pages requires paid plan), Vercel for dynamic SEO, GitHub Pages only for public repos. Activates for deploy, vercel vs cloudflare, where to deploy, cloudflare workers, cloudflare pages, vercel deployment, edge deployment, SSR deployment, static site deployment, which hosting, deployment recommendation, github pages, private repo deployment.
View on GitHubanton-abyzov/specweave
sw-infra
January 25, 2026
Select agents to install to:
npx add-skill https://github.com/anton-abyzov/specweave/blob/main/plugins/specweave-infrastructure/skills/deploy-router/SKILL.md -a claude-code --skill deploy-routerInstallation paths:
.claude/skills/deploy-router/# Deploy Router - Vercel vs Cloudflare vs GitHub Pages Decision Engine
I intelligently route your deployment to the optimal platform based on project analysis, **including repository visibility** (private vs public).
## When to Use This Skill
Ask me when you need help with:
- **Platform Decision**: "Should I deploy to Vercel or Cloudflare?"
- **Project Analysis**: "Analyze my project for deployment"
- **SEO-Aware Routing**: "I need dynamic SEO for my Next.js app"
- **Cost Optimization**: "What's the cheapest deployment option?"
- **Edge-First**: "I want global edge deployment"
- **Private Repo Deployment**: "Where can I deploy my private repo for free?"
---
## ๐จ CRITICAL: Repository Visibility Check (ALWAYS DO FIRST)
**GitHub Pages has a major limitation**: Free GitHub accounts can ONLY deploy GitHub Pages from **public repositories**. Private repo deployment requires GitHub Pro, Team, or Enterprise.
### Priority Decision Based on Visibility
```
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ STEP 0: CHECK REPOSITORY VISIBILITY โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Is the repository PRIVATE? โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ
YES NO (Public)
โ โ
โผ โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ GitHub Pages FREE โ โ โ
All platforms available โ
โ โ
Cloudflare Pages โ โ GitHub Pages is an option โ
โ โ
Vercel โ โ for static public sites โ
โ โ
Netlify โ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
### How to Detect Repository Visibility
```bash
# Check if git remote exists