소스 정보
- 저장소
- hpsgd/turtlestack
- 최근 소스 활동
- 2026년 4월 16일 11:04
- 감지된 SKILL.md 언어
- 영어
- 스타
- 0
- 포크
- 0
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/hpsgd/turtlestack --skill write-pipeline명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | write-pipeline |
| description | Write a CI/CD pipeline configuration — build, test, lint, deploy stages. |
| argument-hint | [service or project to create pipeline for, and platform e.g. 'GitHub Actions'] |
| user-invocable | true |
| allowed-tools | Read, Write, Edit, Bash, Glob, Grep |
Write a CI/CD pipeline for $ARGUMENTS.
Before writing any pipeline configuration:
.github/workflows/, .gitlab-ci.yml, Jenkinsfile, azure-pipelines.ymlpackage.json scripts, Makefile, Taskfile, scripts/ directoryEvery pipeline follows this ordering principle: fail fast — cheapest checks first.
Lint/Format → Build → Unit Tests → Integration Tests → Security Scan → Deploy
If any stage fails, subsequent stages do not run. Total pipeline time budget: under 10 minutes for the fast path (lint + build + unit tests).
# Purpose: catch style and type errors in <30 seconds
- name: Lint
run: |
npm run lint
npm run typecheck
npm run format:check # --check flag, never auto-fix in CI
Rules:
# Purpose: compile/bundle and verify the artifact is producible
- name: Build
run: npm run build
Rules:
- name: Unit Tests
run: CI=true npm test -- --coverage
Rules:
CI=true or explicit --run flag)- name: Integration Tests
run: CI=true npm run test:integration
services:
postgres:
image: postgres:16-alpine
env:
POSTGRES_PASSWORD: test
Rules:
- name: Security Scan
run: |
npm audit --audit-level=high
# or: trivy fs . --severity HIGH,CRITICAL
Rules:
- name: Deploy
if: github.ref == 'refs/heads/main' && success()
run: ./scripts/deploy.sh
Rules:
Cache aggressively to reduce pipeline time:
# Node.js
- uses: actions/cache@v4
with:
path: node_modules
key: node-${{ hashFiles('package-lock.json') }}
# .NET
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: nuget-${{ hashFiles('**/*.csproj') }}
# Python
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: pip-${{ hashFiles('requirements*.txt') }}
# Docker layers
- uses: docker/build-push-action@v5
with:
cache-from: type=gha
cache-to: type=gha,mode=max
Rules:
Use matrix builds for multi-version or multi-project testing:
# Multi-version testing
strategy:
matrix:
node-version: [20, 22]
fail-fast: true # Stop all jobs if one fails
# Monorepo auto-discovery
strategy:
matrix:
project: ${{ fromJson(needs.detect-changes.outputs.projects) }}
Rules:
fail-fast: true — no point running other versions if one failsFor monorepo projects:
git diffmoon ci) or similar task runners that resolve the dependency graph automaticallyIf using Moon:
# Moon handles change detection + dependency graph resolution
- name: Run affected checks
run: moon ci # builds/tests all projects affected by changes, in dependency order
Without a task runner, use path filters as a fallback:
# GitHub Actions path filter (manual, no dependency graph awareness)
on:
push:
paths:
- 'services/api/**'
- 'packages/shared/**' # shared dependency — must be listed manually
# Pin action versions to full SHA (not tags)
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
# Pin tool versions
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc' # or package.json engines
Rules:
.nvmrc, global.json, .python-version)CI=true or --runPipeline design affects all four DORA metrics: deployment frequency (how often the pipeline runs), lead time for changes (pipeline duration), change failure rate (test/gate effectiveness), and time to restore service (rollback speed).
Deliver:
.github/workflows/*.yml or equivalent).dockerignore or equivalent if building containers/devops:write-dockerfile — pipelines that build containers need a Dockerfile. Ensure the pipeline's build stage matches the Dockerfile's target.