원클릭으로
ci-cd-template
Generate GitHub Actions pipeline config จาก tech stack ของ project — ครอบคลุม test, lint, build, deploy stages
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate GitHub Actions pipeline config จาก tech stack ของ project — ครอบคลุม test, lint, build, deploy stages
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Pre/Post execution validation + Phase Gate enforcement — ป้องกันการข้าม step, auto-validate output, ให้คะแนน quality score
สแกน code ใน Scaffold/ ด้วย 53 security rules (6 หมวด) — secrets, permissions, injection, AI-specific, config, dependencies — ก่อน deploy หรือหลัง Dev report
Coordinate PM/Dev/QA agents แบบ Pipeline Pattern — auto-route งานตาม role, ส่งต่ออัตโนมัติเมื่อ status เปลี่ยน, track progress ทุก handoff
Create color-coded teaching scripts / presenter talking-point documents (.md) that serve as a "live reading book" for speakers. The output is a markdown file where each color tells the presenter what to do: blue = speak this line, red = pronunciation guide, dark blue = slide header, black = stage direction & audience engagement, yellow box = terminology. Use this skill whenever the user mentions: teaching script, talking points, presenter script, key talking point, speaker notes, lecture script, training script, presentation script, สคริปต์การสอน, สคริปต์วิทยากร, คำพูดที่ต้องอ่าน, หนังสือสำหรับพูด, or any request to create a document that guides a speaker through a slide deck with exact words to say, pronunciation help, and stage directions. Also trigger when the user uploads a PowerPoint (.pptx) and asks to write a script, narration, or talking points for it.
Use for QA evidence, release readiness, rollback review, and close-out decisions.
Use for build completion evidence, code review readiness, and ready-for-QA checks.
| name | CI/CD Template |
| description | Generate GitHub Actions pipeline config จาก tech stack ของ project — ครอบคลุม test, lint, build, deploy stages |
Purpose: สร้าง CI/CD pipeline config ให้แต่ละ project PM กรอก tech stack → AI generate GitHub Actions workflow ที่พร้อมใช้
┌─────────┐ ┌──────┐ ┌───────┐ ┌────────┐ ┌────────┐
│ Install │ → │ Lint │ → │ Test │ → │ Build │ → │ Deploy │
└─────────┘ └──────┘ └───────┘ └────────┘ └────────┘
| Stage | What | Fail Action |
|---|---|---|
| Install | Install dependencies | Block pipeline |
| Lint | Run linter (ESLint, Ruff, golangci-lint) | Block pipeline |
| Test | Run unit + integration tests, coverage report | Block if < 80% |
| Build | Build application, Docker image | Block pipeline |
| Deploy | Deploy to staging/production | Manual approval for production |
# .github/workflows/ci.yml
name: CI Pipeline
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
lint-and-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 run lint
- run: npm run test -- --coverage
- run: npm run build
docker:
needs: lint-and-test
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: docker/build-push-action@v5
with:
push: true
tags: ${{ github.repository }}:latest
name: CI Pipeline
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
services:
postgres:
image: postgres:16
env:
POSTGRES_PASSWORD: test
ports: ['5432:5432']
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.12'
- run: pip install -r requirements.txt
- run: ruff check .
- run: pytest --cov --cov-report=xml
- run: ruff format --check .
name: CI Pipeline
on:
push:
branches: [main, develop]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- run: golangci-lint run
- run: go test -race -coverprofile=coverage.out ./...
- run: go build ./...
| File | Purpose |
|---|---|
.github/workflows/ci.yml | Main CI pipeline |
.github/workflows/deploy-staging.yml | Staging deployment (auto on develop) |
.github/workflows/deploy-prod.yml | Production deployment (manual trigger) |
.github/dependabot.yml | Auto dependency updates |
Dockerfile | Multi-stage build |
docker-compose.yml | Local dev environment |
.dockerignore | Exclude unnecessary files |
pmo-coding-standards (ถ้ามี) เพื่อ align linter config{ProjectFolder}/Scaffold/.github/ และ root{ProjectFolder}/Scaffold/ (AI-Managed)