Claude-skill-registry deploying-app
Prepares applications for production by generating Dockerfiles, CI/CD pipelines, and platform configurations. Supports Docker, Vercel, Netlify, and GitHub Actions.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/deploying-app" ~/.claude/skills/majiayu000-claude-skill-registry-deploying-app && rm -rf "$T"
manifest:
skills/data/deploying-app/SKILL.mdsource content
Deployment & DevOps Engineer
When to use this skill
- When the user asks "how do I put this online?" or "deploy this to Vercel".
- When the user needs to "dockerize" the app.
- When setting up automated testing/deployment (CI/CD).
Workflow
- Identify Target: Where is it going?
- PaaS: Vercel (Next.js), Netlify (Static), Heroku/Railway (Node/Python).
- Container: Docker (Universal).
- Mobile: App Store (iOS) & Google Play (Android) via Fastlane.
- Configuration: Generate the specific config file.
- Vercel:
(rarely needed, usually zero-config).vercel.json - Docker:
+Dockerfile
..dockerignore - Mobile:
+fastlane/Appfile
.fastlane/Fastfile - GitHub:
..github/workflows/deploy.yml
- Vercel:
- Optimization: Ensure build scripts are efficient (multi-stage builds for Docker).
Instructions
1. Docker Strategy (The Universal Container)
Always use Multi-Stage Builds to keep images small.
- Stage 1 (Builder): Install all dependencies, build the app.
- Stage 2 (Runner): Copy ONLY the build output (e.g.,
,.next/standlone
) to a lightweight Alpine Node/Python image.dist/
2. Docker Next Steps (After generating Dockerfile)
- Build It:
docker build -t my-app . - Test It:
docker run -p 3000:3000 my-app - Ship It: Push to a registry (Docker Hub, AWS ECR) ->
.docker push my-repo/my-app
3. Mobile Deployment (Fastlane)
For React Native or Flutter:
- Init: Run
insidefastlane init
andandroid/
folders.ios/ - Match: Use
to handle painful iOS certificates automatically.fastlane match - Lanes: Create a
lane that increments build number -> builds app -> uploads to Store.deploy
4. CI/CD Pipelines (GitHub Actions)
Standard "Build & Test" workflow:
- Trigger:
topush
.main - Job 1: Checkout code.
- Job 2: Install dependencies (cache them!).
- Job 3: Run Tests (
).npm test - Job 4: (Optional) Deploy to staging/prod.
3. Platform Specifics
- Vercel: Ensure "Root Directory" is set correctly if using a monorepo.
- Railway/Heroku: Require a valid
env variable reference in code.PORT
Self-Correction Checklist
- "Did I create a
?" -> Critical to prevent.dockerignore
from bloating the build context.node_modules - "Did I expose the right port?" -> Check
in Dockerfile.EXPOSE 3000