From tac
Sets up validation commands for testing, linting, type-checking, and building in Node.js, Python, Go, Rust, Java projects. Detects stack and generates CI/CD or agent workflow commands.
npx claudepluginhub melodic-software/claude-code-plugins --plugin tacThis skill is limited to using the following tools:
Help set up test validation for any project to enable closed-loop workflows.
Checks and configures testing frameworks like Vitest, Jest, pytest, and nextest against best practices. Supports setup, migration to modern stacks, coverage validation, and auto-fixes for JS/TS, Python, Rust projects.
Sets up testing infrastructure: pre-commit hooks, unit/integration/e2e test directories, GitHub Actions CI/CD with coverage/Codecov, docs workflows, and badges for Python/JS/Go/Rust projects.
Share bugs, ideas, or general feedback.
Help set up test validation for any project to enable closed-loop workflows.
Look for configuration files to identify the stack:
| File | Project Type |
|---|---|
package.json | Node.js / TypeScript |
pyproject.toml | Python (modern) |
requirements.txt | Python (pip) |
go.mod | Go |
Cargo.toml | Rust |
pom.xml | Java (Maven) |
build.gradle | Java (Gradle) |
Check for test directories and configurations:
# Common test locations
ls -la tests/ test/ __tests__/ spec/
# Check for test config files
ls -la pytest.ini jest.config.* vitest.config.* .mocharc.*
For Node.js projects:
# Show available npm scripts
cat package.json | grep -A 30 '"scripts"'
For Python projects:
# Check pyproject.toml for tools
cat pyproject.toml | grep -A 10 '\[tool\.'
Create a validation stack appropriate for the project:
Template:
## Validation Commands
Execute every command to validate with 100% confidence
- `[lint command]` - Code style and syntax
- `[type check command]` - Type safety (if applicable)
- `[test command]` - Behavior correctness
- `[build command]` - Production readiness
## Validation Commands
- `uv run ruff check .` - Linting
- `uv run mypy .` - Type checking
- `uv run pytest -v` - Tests
## Validation Commands
- `flake8 .` or `ruff check .` - Linting
- `mypy .` - Type checking
- `pytest -v` - Tests
## Validation Commands
- `npm run lint` - ESLint
- `npx tsc --noEmit` - Type checking
- `npm test` - Tests
- `npm run build` - Build verification
## Validation Commands
- `bun run lint` - Linting
- `bun tsc --noEmit` - Type checking
- `bun test` - Tests
- `bun run build` - Build verification
## Validation Commands
- `go fmt ./...` - Formatting
- `go vet ./...` - Static analysis
- `go test ./... -v` - Tests
- `go build ./...` - Build verification
## Validation Commands
- `cargo fmt --check` - Formatting
- `cargo clippy` - Linting
- `cargo test` - Tests
- `cargo build --release` - Build verification
If no test infrastructure exists, recommend setup:
# Install pytest
uv add --dev pytest pytest-cov
# Create test directory
mkdir tests
touch tests/__init__.py
touch tests/test_example.py
# Install vitest (modern, fast)
npm install -D vitest
# Or Jest
npm install -D jest @types/jest ts-jest
# Create test directory
mkdir __tests__
After setup, verify the validation stack works:
# Run each command and confirm success
[lint command] # Should exit 0
[type command] # Should exit 0
[test command] # Should exit 0
[build command] # Should exit 0
Date: 2025-12-26 Model: claude-opus-4-5-20251101