skills/deploy-pipeline/SKILL.md
Sets up CI/CD pipelines, deployment configuration, and automated deploy workflows. GitHub Actions, platform-specific deploy (Vercel, Railway, Fly.io, AWS, VPS), secrets management in CI. Use when: "подготовь деплой", "настрой автодеплой", "настрой CI/CD", "setup deploy", "configure deployment", "настрой пайплайн"
npx skillsauth add pavel-molyanov/molyanov-ai-dev deploy-pipelineInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Read project-knowledge to understand the deployment target:
.claude/skills/project-knowledge/references/deployment.md.claude/skills/project-knowledge/references/architecture.md.claude/skills/project-knowledge/references/patterns.mdIf deployment target is not documented, ask the user:
After gathering answers, immediately update deployment.md before proceeding with setup.
Create .github/workflows/ci.yml following this structure:
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
check-skip:
runs-on: ubuntu-latest
outputs:
should_skip: ${{ steps.check.outputs.should_skip }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 2
- id: check
run: |
FILES=$(git diff --name-only HEAD~1 HEAD 2>/dev/null || git diff --name-only HEAD)
if echo "$FILES" | grep -vqE '\.(md|txt)$|^\.claude/|^\.spec/|^docs/'; then
echo "should_skip=false" >> $GITHUB_OUTPUT
else
echo "should_skip=true" >> $GITHUB_OUTPUT
fi
test:
needs: check-skip
if: needs.check-skip.outputs.should_skip != 'true'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# setup, install, lint, type-check, test, build
deploy:
needs: test
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# platform-specific deploy action
Adapt: add language setup, install steps, platform-specific deploy action.
| Platform | Choose when | |----------|------------| | Vercel | Next.js, React, static sites, serverless | | Railway | Full-stack apps needing managed DB | | Fly.io | Docker containers, global edge | | AWS ECS | Enterprise, full infrastructure control | | Custom VPS | Persistent sessions, multi-device | | NPM | Node.js packages or CLI tools | | Chrome Web Store | Browser extensions |
For VPS deployments: server-specific details (IPs, SSH keys, paths) go to deployment.md.
Document all required secrets in .claude/skills/project-knowledge/references/deployment.md. For each secret:
Guide user to add secrets in GitHub repository settings. Create .env.example with application-level variable names.
After configuring, update project-knowledge references. Append to existing content.
deployment.md: deploy target, pipeline overview, required secrets table, manual deploy command, rollback steps.
patterns.md (Git Workflow section): CI triggers, pipeline jobs, skip logic pattern, PR workflow.
Add deploy job? YES if: deployment target defined, user requests it, stable main branch. NO if: early development, manual deploys preferred, manual review step needed (Chrome Web Store).
Use matrix strategy? YES if: NPM package, cross-platform library. NO if: single-environment app, internal tool.
Add staging? YES if: project uses main + dev branches (default workflow). NO if: Vercel preview deploys sufficient.
development
Creates user-spec.md through adaptive interview with codebase scanning and dual validation. Use when: "сделай юзер спек", "проведи интервью для юзер спека", "создай юзерспек", "user spec", "detailed planning", "хочу продумать фичу", "опиши требования к фиче", "сделай описание фичи", "/new-user-spec" For tech planning use tech-spec-planning. For project planning use project-planning.
testing
Testing methodology: when to write which tests, how to ensure test quality, test pyramid strategy. Use when: "напиши тесты", "как тестировать", "проанализируй тесты", "проверь качество тестов", "ревью тестов", "тестовая стратегия"
testing
Creates tech-spec.md with architecture, decisions, testing strategy, and implementation plan. Use when: "сделай техспек", "составь техспек", "техническая спецификация", "tech spec", "создай тз", "составь тз", "new-tech-spec", "/new-tech-spec" Requires existing user-spec.md as input (create with user-spec-planning skill first if missing).
tools
Decompose approved tech-spec into atomic task files with parallel creation and validation. Use when: "разбей на задачи", "декомпозиция", "decompose tech-spec", "создай задачи из техспека", "/decompose-tech-spec"