balagnanas/localmachineaisetup/ci-pipeline

Claude Code and agent skill by balagnanas/localmachineaisetup

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Generate CI/CD pipeline config for detected platform with lint, test, build, and deploy stages

Install

npx vskill@latest install balagnanas/localmachineaisetup/ci-pipeline

SKILL.md

The same SKILL.md was published earlier as fajarmelfiano/opencode-config/ci-pipeline.

What I do

  • Detect the project type, language, and CI/CD platform
  • Generate a complete pipeline configuration with standard stages
  • Configure caching for faster builds
  • Set up environment-specific deployment gates
  • Include security scanning and artifact publishing steps

When to use me

Use this skill when you need to:

  • Set up CI/CD for a new project from scratch
  • Add missing stages (lint, test, security scan) to an existing pipeline
  • Migrate a pipeline from one CI platform to another
  • Optimize pipeline performance with caching and parallelism

Process

  1. Detect project type: Analyze the repository
  • Language: check for package.json, pom.xml, go.mod, Cargo.toml, etc.
  • Framework: check for framework-specific config files
  • CI platform: check for .github/workflows/, .gitlab-ci.yml, Jenkinsfile
  • Test runner: check for test configuration files
  1. Define stages: Standard pipeline stages
  • Lint: Static analysis and formatting checks
  • Test: Unit tests with coverage reporting
  • Build: Compile/bundle the application
  • Security: Dependency audit and SAST scan
  • Deploy: Environment-specific deployment
  1. Configure caching: Speed up repeated runs
  • Cache dependency directories (node_modules, .m2, ~/.cache/go-build)
  • Use lockfile hashes as cache keys
  • Cache build outputs where safe
  1. Add environment gates: Control deployment flow
  • main branch -> staging (automatic)
  • main branch -> production (manual approval)
  • Feature branches -> preview/ephemeral (optional)
  1. Generate config: Write the pipeline file

GitHub Actions Template

yaml
name: CI/CD
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
lint:
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 run lint
- run: npm run format:check
test:
runs-on: ubuntu-latest
needs: lint
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm test -- --coverage
- uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage/
build:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- run: npm ci
- run: npm run build
- uses: actions/upload-artifact@v4
with:
name: build
path: dist/
deploy-staging:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
environment: staging
steps:
- uses: actions/download-artifact@v4
with:
name: build
- name: Deploy to staging
run: echo "Deploy to staging"
deploy-production:
runs-on: ubuntu-latest
needs: deploy-staging
if: github.ref == 'refs/heads/main'
environment:
name: production
url: https://example.com
steps:
- uses: actions/download-artifact@v4
with:
name: build
- name: Deploy to production
run: echo "Deploy to production"

GitLab CI Template

yaml
stages:
- lint
- test
- build
- deploy
variables:
NODE_VERSION: "20"
cache:
key: ${CI_COMMIT_REF_SLUG}
paths:
- node_modules/
lint:
stage: lint
image: node:${NODE_VERSION}-alpine
script:
- npm ci
- npm run lint
- npm run format:check
test:
stage: test
image: node:${NODE_VERSION}-alpine
script:
- npm ci
- npm test -- --coverage
coverage: '/All files[^|]*\|[^|]*\s+([\d\.]+)/'
artifacts:
reports:
coverage_report:
coverage_format: cobertura
path: coverage/cobertura-coverage.xml
build:
stage: build
image: node:${NODE_VERSION}-alpine
script:
- npm ci
- npm run build
artifacts:
paths:
- dist/
deploy-staging:
stage: deploy
environment: staging
script:
- echo "Deploy to staging"
only:
- main
deploy-production:
stage: deploy
environment: production
script:
- echo "Deploy to production"
when: manual
only:
- main

Rules

  • Always run lint before test, and test before build
  • Cache dependencies using lockfile hashes for reliable invalidation
  • Use concurrency or equivalent to cancel redundant runs on the same branch
  • Pin action versions to full SHA or major version tag
  • Store secrets in CI platform's secret management, never in config files
  • Include timeout limits on all jobs to prevent hung pipelines
  • Upload test coverage and build artifacts for traceability

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/balagnanas/localmachineaisetup/ci-pipeline/badge)](https://verified-skill.com/skills/balagnanas/localmachineaisetup/ci-pipeline)

Something wrong with this skill or its page? Tell us.