Set up test validation commands for any project type. Use when configuring test runners, setting up validation commands for a new project, or enabling closed-loop agent workflows.
Automatically discovers and configures test validation commands for any project type. Triggers when setting up test runners, enabling CI/CD workflows, or creating validation stacks for new codebases.
/plugin marketplace add melodic-software/claude-code-plugins/plugin install google-ecosystem@melodic-softwareThis skill is limited to using the following tools:
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
This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.