/tdd-workflow:setup-cifrom TDD Workflow
Create or improve a GitHub Actions quality workflow from the target repository's actual package manager and scripts.
Ships in TDD Workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
현재 프로젝트의 실제 도구와 script를 탐지해 GitHub Actions 품질 검증 워크플로를 생성하거나 개선한다.
로컬 quality-check skill과 CI가 동일한 검사를 실행하도록 맞추고, Pull Request에서 format, lint, typecheck, test, build 실패를 확인할 수 있게 한다.
프로젝트 설정을 탐색한다.
node "${CLAUDE_PLUGIN_ROOT}/scripts/detect-project.mjs" --pretty 결과AGENTS.md, CLAUDE.md, README.github/workflows/*.{yml,yaml}package.json#packageManager, engines, scripts.nvmrc, .node-versionpnpm-lock.yaml, package-lock.json, yarn.lock, bun.lock, bun.lockb기존 CI가 있으면 덮어쓰지 말고 다음을 분석한다.
패키지 매니저와 설치 명령을 결정한다.
| Package manager | Immutable install |
|---|---|
| pnpm | pnpm install --frozen-lockfile |
| npm | npm ci |
| yarn | yarn install --immutable |
| bun | bun install --frozen-lockfile |
lockfile이 없거나 여러 종류가 충돌하면 워크플로를 만들기 전에 문제를 보고한다.
프로젝트에 실제로 존재하는 검사 script만 선택한다.
quality-check와 같은 우선순위를 사용한다.format 대신 format:check 계열만 사용한다..github/workflows/ci.yml을 생성하거나 기존 CI에 통합한다.
pull_request와 기본 브랜치 push에서 실행한다.workflow_dispatch를 포함해 수동 재현을 허용한다.permissions: contents: read를 기본값으로 사용한다.concurrency를 설정한다.생성한 YAML을 검토한다.
pull_request_target은 명확한 보안 이유가 없으면 사용하지 않는다.가능한 경우 로컬에서 YAML 문법과 명령을 검증한다.
quality-check skill로 실행한다.완료 후 다음을 보고한다.
## ✅ GitHub Actions CI 구성 완료
- Workflow: `.github/workflows/ci.yml`
- Package manager: pnpm
- Trigger: pull_request, main push, workflow_dispatch
- Checks: format-check, lint, typecheck, test, build
GitHub 저장소의 branch protection/ruleset에서 이 workflow의 check를
required status check로 지정하면 실패한 PR의 머지를 차단할 수 있습니다.
Node.js + pnpm 프로젝트의 출발점은 다음 파일을 참고한다.
${CLAUDE_PLUGIN_ROOT}/skills/setup-ci/templates/node-pnpm-ci.yml
템플릿을 그대로 복사하지 말고 기본 브랜치, Node 버전과 실제 script에 맞게 조정한다.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
6 skills in this plugin
/fixApply only safe mechanical fixes for failures reported by quality-check, then rerun validation./greenImplement the smallest correct change that makes the current Red-phase tests pass./quality-checkRun repository-defined non-mutating format, lint, type, test, and build checks before commit or pull request./redWrite a focused failing test before implementation. Use when starting a scoped feature or bug fix with test-first development.npx claudepluginhub gulsam00/sham-agent-tools --plugin tdd-workflow