testing-cicd-init
Installation
SKILL.md
Testing & CI/CD Initialization
Automatically sets up comprehensive test infrastructure for TypeScript projects including Vitest, coverage thresholds, and GitHub Actions CI/CD.
Contract
Inputs:
- Project root directory (current working directory by default).
- Project type is auto-detected from
package.jsonand config files; can be specified explicitly (nextjs, nestjs, react, node).
Outputs:
vitest.config.tsconfigured for detected environment.- Test setup file (
src/test/setup.tsfor Next.js/React,test/setup.tsfor NestJS). .github/workflows/ci.ymlwith Bun-based pipeline and coverage enforcement.- Updated
package.jsonscripts (test,test:coverage,typecheck).
Creates/Modifies: