What problem does it solve?
This Skill automates the detection of a repository's stack and generates CI/CD pipeline templates for GitHub Actions and GitLab CI, eliminating manual guesswork and speeding up deployment processes.
Core Features & Use Cases
- Stack Detection: Automatically identify language, runtime, and tooling from repository files.
- Pipeline Generation: Create GitHub Actions or GitLab CI workflows based on detected stack.
- Caching and Matrix Strategy: Apply caching and matrix strategies to optimize pipeline performance.
- Machine-Readable Output: Provide detection results in a machine-readable format for further automation.
- Environment-Aware Deployment: Ensure pipeline logic aligns with project lockfiles and build commands.
- Use Case: When setting up CI for a new repository or migrating between CI platforms, this Skill can quickly generate a baseline pipeline that can be further customized.
Quick Start
Detect your repository stack and generate a GitHub Actions workflow:
python3 scripts/stack_detector.py --repo . --format json > stack.json
python3 scripts/pipeline_generator.py --input stack.json --platform github --output .github/workflows/ci.yml --format text