← スキル一覧に戻る

ci-pipeline-generator
by AmnadTaowsoam
⭐ 0🍴 0📅 2026年1月24日
SKILL.md
name: CI Pipeline Generator description: Generator สำหรับสร้าง CI/CD pipeline configs (GitHub Actions, GitLab CI) พร้อม testing, linting, building และ deployment
CI Pipeline Generator
Overview
สร้าง CI/CD pipeline configuration อัตโนมัติสำหรับ GitHub Actions, GitLab CI, หรือ Jenkins
Why This Matters
- Speed: Pipeline พร้อมใช้ใน 1 นาที
- Best practices: Testing, linting, security scans
- Consistency: Same pipeline ทุก project
- Complete: Build, test, deploy ครบ
Quick Start
# Generate GitHub Actions pipeline
npx generate-ci --platform github
# Output:
.github/workflows/
├── ci.yml # PR checks
├── deploy.yml # Deployment
└── release.yml # Release automation
Generated Pipeline
GitHub Actions
# .github/workflows/ci.yml
name: CI
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint
- name: Test
run: npm test
- name: Build
run: npm run build
- name: Upload coverage
uses: codecov/codecov-action@v3
Deployment Pipeline
# .github/workflows/deploy.yml
name: Deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build Docker image
run: docker build -t myapp:${{ github.sha }} .
- name: Push to registry
run: docker push myapp:${{ github.sha }}
- name: Deploy to production
run: kubectl set image deployment/myapp myapp=myapp:${{ github.sha }}
Features
Auto-generated Stages
1. Lint (ESLint, Prettier)
2. Test (Jest, coverage)
3. Security scan (npm audit)
4. Build (Docker)
5. Deploy (Kubernetes)
Environment-specific
# Generate for staging
npx generate-ci --env staging
# Generate for production
npx generate-ci --env production
Summary
CI Pipeline Generator: สร้าง CI/CD configs อัตโนมัติ
Platforms:
- GitHub Actions
- GitLab CI
- Jenkins
- CircleCI
Includes:
- Lint + Test
- Build + Push
- Deploy
- Security scans
Usage:
npx generate-ci --platform github
git add .github/workflows/
git commit -m "Add CI pipeline"
スコア
総合スコア
60/100
リポジトリの品質指標に基づく評価
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
レビュー
💬
レビュー機能は近日公開予定です