GitHub Actions Workflow Generator
Description
Creates GitHub Actions CI/CD workflows for testing, building, and deploying applications. Includes caching, matrix builds, and deployment steps.
Code
Skill Code
Workflow includes: 1. Trigger configuration 2. Environment setup 3. Dependency caching 4. Test execution 5. Build steps 6. Deployment 7. Notifications
Usage Examples
Examples
User: create CI/CD "keyword">for my Node.js app Claude: *creates workflow* ```yaml # .github/workflows/ci.yml name: CI/CD on: [push, pull_request] jobs: test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 20 cache: npm - run: npm ci - run: npm test deploy: needs: test "keyword">if: github.ref == 'refs/heads/main' # ... deployment steps ```
Installation
Add the following to your CLAUDE.md file (project root or ~/.claude/CLAUDE.md for global):
CLAUDE.md
# CI/CD Pipeline Generator When creating CI/CD workflows: 1. Detect project type (Node, Python, Go, etc.) 2. Create .github/workflows/ci.yml with: - Appropriate triggers (push, PR) - Dependency caching - Test execution - Build steps - Code coverage reporting 3. Add deployment workflow if requested 4. Include status badges for README
Get the full source code and documentation on GitHub:
🔗 View on GitHub
Clone: git clone https://github.com/actions/starter-workflows
Comments (0)
No comments yet. Be the first to share your thoughts!
Leave a Comment