skills/ci-cd-pipeline/SKILL.md
Use when setting up or improving CI/CD pipelines - GitHub Actions, automated testing, deployment, release automation
npx skillsauth add kienbui1995/magic-powers ci-cd-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.
Automate everything between code push and production deployment. A good pipeline catches bugs early and deploys confidently.
Push → Lint → Test → Build → Security Scan → Deploy Staging → Deploy Production
name: CI
on: [push, pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4 # or setup-python, etc.
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build
actions/cache for node_modules, pip cache, etc.| Strategy | Risk | Rollback | Use When | |----------|------|----------|----------| | Rolling | Low | Slow | Default for most apps | | Blue/Green | Low | Instant | Need instant rollback | | Canary | Lowest | Fast | High-traffic production | | Recreate | High | Slow | Dev/staging only |
content-media
Use when designing for XR (AR/VR/MR), choosing interaction modes, or adapting 2D UI patterns for spatial computing
testing
Use when creating new skills, editing existing skills, or verifying skills work before deployment
development
Use when you have a spec or requirements for a multi-step task, before touching code
development
Use when executing a structured workflow — select and run a feature, bugfix, refactor, research, or incident template with correct agent and model assignments per phase.