cicd-integration
Installation
SKILL.md
CI/CD Integration Patterns
Integrate Claude Code into CI/CD pipelines for automated PR reviews, code generation, test validation, security scanning, and documentation updates. This skill covers GitHub Actions, GitLab CI, pre-commit hooks, and headless execution modes.
GitHub Actions Integration
Use the official anthropics/claude-code-action@v1 action for turnkey GitHub integration.
Supported Features
- Trigger on pull requests, push, schedule, or workflow dispatch
- Environment variable support:
ANTHROPIC_API_KEY,CLAUDE_MODEL - Pipe mode (
claude -p) with JSON output - Tool access filtering via
--allowedTools - Multiple model routing (Opus for reviews, Haiku for checks)
- Cost tracking and budget enforcement