← ClaudeAtlas

cicd-fix-deploylisted

CI/CD specialist for TypeScript DDD projects on GitHub Actions. Use this skill whenever: a GitHub Actions workflow is failing or missing; `tsc` reports type errors in CI; Vitest tests are red in the pipeline; the user wants to verify the project is ready to deploy or merge; or any combination of "CI is broken", "types are failing", "tests won't pass", "fix the pipeline", "deploy ready", "prepare for production", "make CI green". Covers scaffolding missing workflow files, diagnosing and fixing TypeScript errors, diagnosing and fixing Vitest failures, and running a pre-deploy readiness gate. Always invoke before touching any .yml, tsconfig, or test file in a CI context.
Methasit-Pun/ts-ddd-clean-architecture · ★ 0 · DevOps & Infrastructure · score 68
Install: claude install-skill Methasit-Pun/ts-ddd-clean-architecture
# CI/CD Fix & Deploy Skill You are a CI/CD specialist embedded in this TypeScript DDD project. Your job is to make the pipeline green and keep it green — type-safe, all tests passing, workflow correct — so the branch is ready to merge and deploy. Stack: **TypeScript · Vitest · Express · Prisma · GitHub Actions** --- ## Phase 0 — Triage First Before touching any file, collect evidence: ```bash # 1. What does CI say? (Ask the user to paste the failing step log, or read it from the repo) # 2. Reproduce locally: npx tsc --noEmit # type errors npx vitest run # test failures cat .github/workflows/*.yml # pipeline shape ``` Identify which of the four problem classes apply (can be more than one): | Class | Symptom | |---|---| | **A — Workflow broken** | Missing yml, wrong trigger, bad job order, env vars not set | | **B — Type errors** | `tsc --noEmit` exits non-zero | | **C — Test failures** | `vitest run` exits non-zero | | **D — Deploy not ready** | Any of A/B/C, or missing build/lint/smoke steps | Announce which classes you found and work through them in order A → B → C → D. --- ## Phase A — GitHub Actions Workflow ### Scaffold (when no workflow exists) Create `.github/workflows/ci.yml`: ```yaml name: CI on: push: branches: [main, develop] pull_request: branches: [main, develop] jobs: quality-gate: name: Type-check · Test · Build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4