Imported from tony363/superclaude (
.claude/skills/sc-cicd-setup/SKILL.md). Install upstream withnpx skills add tony363/superclaude --skill sc-cicd-setup. Copyright stays with the author.
SC:CICD-Setup Skill
Bootstrap GitHub CI/CD workflows and pre-commit hooks for any project using battle-tested templates.
When to Use
- Setting up a new project with CI/CD
- Adding GitHub Actions to an existing repository
- Standardizing CI/CD across multiple projects
- User requests: "set up CI", "add GitHub Actions", "configure pipelines"
Invocation
/sc:cicd-setup [--lang <language>] [--yes] [--force] [--minimal|--full]
Flags
| Flag | Description |
|---|---|
--lang |
Force project language: python, node, go, rust |
--yes |
Accept defaults, skip confirmation prompts |
--force |
Overwrite existing workflow files (backs up originals) |
--minimal |
Only essential CI workflow |
--full |
All workflows including publish/release |
Supported Languages
Python
- CI: ruff lint/format, mypy, pytest, coverage
- Security: CodeQL, pip-audit, Bandit
- AI Review: Claude-powered PR review
- Publish: PyPI release automation
- Pre-commit: ruff, mypy, bandit hooks
Node.js
- CI: ESLint, tests, build
- Security: npm audit, CodeQL
- AI Review: Claude-powered PR review
- Publish: npm publish automation
- Pre-commit: ESLint, Prettier hooks
Go
- CI: go vet, golangci-lint, tests, cross-compile
- Security: gosec, govulncheck, CodeQL
- AI Review: Claude-powered PR review
- Pre-commit: gofmt, golangci-lint hooks
Rust
- CI: rustfmt, clippy, tests, cross-compile
- Security: cargo-audit, cargo-deny
- AI Review: Claude-powered PR review
- Publish: crates.io automation
- Pre-commit: rustfmt, clippy hooks
Workflow
- Detect project type from manifest files
- Configure based on flags (minimal/full/default)
- Validate check for existing files
- Present summary of what will be created
- Confirm (skip with
--yes) - Generate workflow files from templates
- Report next steps
Examples
# Auto-detect and setup (interactive)
/sc:cicd-setup
# Python project, non-interactive
/sc:cicd-setup --lang python --yes
# Full suite with publish workflow
/sc:cicd-setup --full
# Minimal CI only
/sc:cicd-setup --minimal
# Force overwrite existing
/sc:cicd-setup --force
Post-Setup
After running, you may need to:
- Add
ANTHROPIC_API_KEYsecret for AI review - Run
pre-commit installto enable hooks - Add
PYPI_API_TOKEN/NPM_TOKEN/CARGO_REGISTRY_TOKENfor publishing - Add
CODECOV_TOKENfor coverage reporting
Template Location
Templates are in templates/workflows/{python,node,go,rust}/:
ci.yml.j2- Main CI pipelinesecurity.yml.j2- Security scanningai-review.yml.j2- AI code reviewpublish.yml.j2- Package publishingpre-commit-config.yaml.j2- Pre-commit hooks