askill
ci-cd

ci-cdSafety 95Repository

CI/CD pipeline patterns for GitHub Actions including test, build, deploy stages, caching, matrix testing, and release automation. Use when setting up or modifying CI/CD pipelines.

1 stars
1.2k downloads
Updated 2/6/2026

Package Files

Loading files...
SKILL.md

CI/CD

Decision Tree

Need CI/CD → What stack?
    ├─ Node/TypeScript → Use assets/ci-node.yml.template
    ├─ Python → Use assets/ci-python.yml.template
    └─ Multi-stack → Combine relevant templates

Pipeline Stages

Push/PR → Lint → Test → Build → Deploy (main only)

Key Patterns

Caching

- uses: actions/cache@v4
  with:
    path: ~/.npm
    key: npm-${{ hashFiles('**/package-lock.json') }}
    restore-keys: npm-

Branch Protection

  • Require PR reviews before merge
  • Require status checks to pass
  • Require branch is up to date
  • No force pushes to main

Secrets

  • Use GitHub Secrets (never echo in logs)
  • Use OIDC for cloud deployments (no static credentials)
  • Scope secrets to environments (staging, production)

Anti-Patterns

Anti-PatternFix
No cachingCache dependencies
npm install in CIUse npm ci (deterministic)
Skip tests for speedParallelize instead
Deploy on every pushUse tags/releases
Manual version bumpsAutomate with semantic-release

Templates:

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

79/100Analyzed 2 weeks ago

High-quality CI/CD reference skill with clear decision tree, practical patterns for caching/secrets/branch protection, and anti-patterns table. Provides reusable templates for Node/Python stacks. Scores well on safety and reusability. Slightly limited by referencing external templates rather than including them inline. Good example of a structured technical reference skill."

95
80
85
65
70

Metadata

Licenseunknown
Version-
Updated2/6/2026
PublisherBigPapiCB

Tags

ci-cdgithublintingtesting