brand-analyzer
This skill should be used when the user requests brand analysis, brand guidelines creation,…
This skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Actions workflows, GitLab CI configs, CircleCI configs, or other CI/CD platform configurations. Ideal for setting up
$ npx -y skills add ailabs-393/ai-labs-claude-skills --skill cicd-pipeline-generator --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/cicd-pipeline-generatorContext preview
The summary Claude sees to decide when to auto-load this skill.
This skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Actions workflows, GitLab CI configs, CircleCI configs, or other CI/CD platform configurations. Ideal for setting up
name: cicd-pipeline-generator description: This skill should be used when creating or configuring CI/CD pipeline files for automated testing, building, and deployment. Use this for generating GitHub Actions workflows, GitLab CI configs, CircleCI configs, or other CI/CD platform configurations. Ideal for setting up automated pipelines for Node.js/Next.js applications, including linting, testing, building, and deploying to platforms like Vercel, Netlify, or AWS.
Generate production-ready CI/CD pipeline configuration files for various platforms (GitHub Actions, GitLab CI, CircleCI, Jenkins). This skill provides templates and guidance for setting up automated workflows that handle linting, testing, building, and deployment for modern web applications, particularly Node.js/Next.js projects.
Choose the appropriate CI/CD platform based on project requirements:
Refer to `references/platform-comparison.md` for detailed platform comparisons, pros/cons, and use case recommendations.
Generate pipeline configs following these principles:
Structure pipelines with these standard stages:
1. **Install Dependencies**
2. **Lint**
3. **Test**
4. **Build**
5. **Deploy**
Implement effective caching to speed up builds:
# Cache node_modules based on package-lock.json
cache:
key: ${{ hashFiles('package-lock.json') }}
paths:
- node_modules/
- .npm/Configure necessary environment variables:
Use provided templates from `assets/` directory:
**GitHub Actions Template** (`assets/github-actions-nodejs.yml`):
**GitLab CI Template** (`assets/gitlab-ci-nodejs.yml`):
To use a template: 1. Copy the appropriate template file 2. Place in the correct location:
3. Customize deployment targets, environment variables, and branch names 4. Add required secrets to platform settings
For GitHub Actions:
- uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod'**Required Secrets**:
- run: |
npm install -g netlify-cli
netlify deploy --prod --dir=.next
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}- uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1
- run: |
aws s3 sync .next/static s3://${{ secrets.S3_BUCKET }}/static
aws cloudfront create-invalidation --distribution-id ${{ secrets.CF_DIST_ID }} --paths "/*"Configure test execution with proper reporting:
**Jest Configuration**:
- name: Run tests with coverage
run: npm test -- --coverage --coverageReporters=text --coverageReporters=lcov
- name: Upload coverage
uses: codecov/codecov-action@v4
with:
files: ./coverage/lcov.info
flags: unittests**Fail Fast Strategy**:
# Run quick tests first
jobs:
lint: # Fails in ~30 seconds
test: # Fails in ~2 minutes
build: # Fails in ~5 minutes
needs: [lint, test]
deploy:
needs: [build]Implement different behaviors per branch:
**Feature Branches / PRs**:
**Develop Branch**:
**Main Branch**:
**Example**:
deploy_staging: if: github.ref == 'refs/heads/develop' # Deploy to staging deploy_production: if: github.ref == 'refs/heads/main' environment: production # Requires manual approval # Deploy to production
Follow this decision tree to generate the appropriate pipeline:
1. **Which platform?**
🧠 A collection of reusable "skills" for Claude AI and developer tooling. Each skill is a focused, modular package that brings automation to your dev workflows — from SEO analysis to document parsing, CI/CD generation, Docker automation, and more.
Repo: ailabs-393/ai-labs-claude-skills
This skill should be used when the user requests brand analysis, brand guidelines creation,…
This skill should be used when analyzing business sales and revenue data from CSV files to…
This skill should be used when the user requests to create professional business documents…
This skill should be used when writing documentation for codebases, including README files,…
This skill should be used when working with CSV files to create interactive data…
This skill should be used when analyzing CSV datasets, handling missing values through…