/sdlc:cifrom sdlc
Provides standards and configuration guidance for CI/CD pipelines, including required jobs, concurrency controls, caching, pinned versions, and multi-platform testing.
Ships in sdlc. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Guidance for implementing compliant CI/CD pipelines that meet SDLC requirements.
Available Tools: If using Claude Code, the
gh:ci-assistskill can help migrate and configure CI pipelines. Also seegh:migratefor CI/CD migration from other platforms.
CI MUST run on:
CI MUST implement concurrency controls to cancel superseded runs:
# GitHub Actions example
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
CI pipelines MUST include these jobs in order:
| Order | Job | Purpose | Required |
|---|---|---|---|
| 1 | Format check | Verify code formatting | MUST |
| 2 | Lint | Static analysis with errors | MUST |
| 3 | Test | Run all tests | MUST |
| 4 | Documentation | Verify docs build | MUST |
| 5 | Security audit | Check for vulnerabilities | MUST |
| 6 | MSV check | Verify minimum version support | MUST |
| 7 | Coverage | Measure test coverage | SHOULD |
| 8 | Benchmarks | Performance regression check | SHOULD |
All CI jobs MUST pass before a PR can be merged. Configure branch protection to enforce this.
CI workflows MUST use pinned action versions. Prefer commit SHAs over tags:
# Good - SHA pinned
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
# Acceptable - tag pinned
- uses: actions/[email protected]
# Bad - floating tag
- uses: actions/checkout@v4
CI MUST cache dependencies and build artifacts:
# Example: Rust caching
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
CI MUST test on all supported operating systems and architectures:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
# Add architecture if cross-compiling
CI environment variables MUST be explicitly configured (no reliance on runner defaults):
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
CI: true
Sensitive values MUST be stored as secrets, never in workflow files:
# Good
env:
API_KEY: ${{ secrets.API_KEY }}
# Bad - never do this
env:
API_KEY: "sk-abc123..."
CI MUST use minimal permissions (principle of least privilege):
permissions:
contents: read
pull-requests: write # Only if needed
# Verify CI workflow exists
ls -la .github/workflows/
# Check for pinned versions (should see SHA or exact version)
grep -E "uses:.*@" .github/workflows/*.yml
# Verify permissions are set
grep -A5 "permissions:" .github/workflows/*.yml
# Check for secrets usage (should not see hardcoded values)
grep -E "(API_KEY|TOKEN|SECRET)" .github/workflows/*.yml
name: CI
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
schedule:
- cron: "0 0 * * *" # Daily security scan
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CI: true
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check formatting
run: make format-check
lint:
runs-on: ubuntu-latest
needs: format
steps:
- uses: actions/checkout@v4
- name: Lint
run: make lint-strict
test:
runs-on: ${{ matrix.os }}
needs: lint
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Test
run: make test
security:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- name: Security audit
run: make audit
See references/ci-workflows.md for complete workflow templates.
references/ci-workflows.md - Complete CI workflow templatesreferences/ci-caching.md - Caching strategies by languageexamples/ci-rust.yml - Rust CI workflowexamples/ci-typescript.yml - TypeScript CI workflowexamples/ci-python.yml - Python CI workflowexamples/ci-java.yml - Java CI workflowWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (zircote-plugins/sdlc-quality) — no native marketplace selected
npx claudepluginhub p/zircote-sdlc10 skills in this plugin
/aiThis skill should be used when the user asks about "AI development", "AI coding", "AI assistant", "CLAUDE.md", "AI context", "AI guidelines", "code generation", "AI workflow", "AI review", "AI configuration", or needs guidance on configuring AI assistants and AI-assisted development workflows./docsThis skill should be used when the user asks about "documentation", "README", "CHANGELOG", "CONTRIBUTING", "ADR", "architecture decision record", "changelog format", "keep a changelog", "doc comments", "API documentation", or needs guidance on project documentation requirements./observabilityThis skill should be used when the user asks about "observability", "logging", "metrics", "tracing", "monitoring", "structured logging", "log format", "log levels", "distributed tracing", "OpenTelemetry", "health checks", or needs guidance on implementing observability and monitoring requirements.Other plugins' skills for the same job