Test Matrix Generator — Testing skill for Claude Code
pytest test matrix scaffolder + coverage checker for Claude Code.
How to install Test Matrix Generator
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open chickengir1/test-matrix-generator and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Test Matrix Generator does
pytest test matrix scaffolder + coverage checker for Claude Code.
Alternatives in Testing
- Test Runner — Run Python tests with pytest, unittest, or other testing frameworks 23.4k ★
- Deslop Reborn — One iteration of the IronClaw Reborn de-slop loop — take ONE Reborn crate, fan out parallel review sub-agents 12.6k ★
- Test Full — Run the full test suite across all tox environments with coverage enabled 1.1k ★
README
test-matrix-generator
시나리오 기반 pytest 테스트 매트릭스 scaffolder + 커버리지 검증 도구.
Given/When/Then 구조의 테스트를 생성하고, variation axes로 조합을 만듭니다. API 호출/페이로드 검증은 Postman MCP에 위임하며, 이 도구는 **로직 검증**에 집중합니다.
설치
# 도구
mkdir -p ~/.claude/tools/test-matrix
cp generate.py ~/.claude/tools/test-matrix/
# 스킬
mkdir -p ~/.claude/skills/test-matrix
cp skill.md ~/.claude/skills/test-matrix/
# (선택) ~/.claude/settings.json의 permissions.allow에 추가:
# "Bash(*python3 ~/.claude/tools/test-matrix/generate.py*)"
사용법
Claude Code 스킬
/test-matrix
Claude가 UI 흐름(component → service → API)을 추적하고, 시나리오 정의 → 로직 포팅 → 테스트 실행까지 처리합니다.
CLI 직접 사용
init — scaffold 생성
cat <<'EOF' | python3 generate.py init -
{
"name": "bulk-update",
"output_dir": "tests/bulk_update",
"scenarios": [
{
"id": "bulk_update",
"desc": "user bulk-updates a list",
"given": "editor role, 3 items exist",
"when": "update name field",
"then": "3 changed, 0 failed",
"axes": [
{
"name": "role",
"items": [
{"id": "editor", "desc": "editor role"},
{"id": "viewer", "desc": "viewer role", "expect_fail": true},
{"id": "admin", "desc": "admin role"}
]
},
{
"name": "item_count",
"items": [
{"id": "empty", "desc": "0 items"},
{"id": "single", "desc": "1 item"},
{"id": "bulk", "desc": "100 items"}
]
}
]
}
]
}
EOF
출력:
init: tests/bulk_update/
bulk_update: role(3) x item_count(3) = 9 cases
total: 9 cases
files: __init__.py, mocks.py, logic.py, test_scenarios.py
check — 커버리지 검증
python3 generate.py check tests/bulk_update/
출력:
check: tests/bulk_update/
unfilled:
! mocks.py: 6 TODO(s)
! logic.py: has NotImplementedError
axes:
role: 3 items
item_count: 3 items
scenarios:
standalone: 1 tests, 9 cases (axes: item_count, r
Related Skills
Fec Plan
Unified front-end planning entrance - implementation/architecture plan or testing strategy. The implementation
Test Cases
Use when writing test cases, generating tests, supplementing test coverage, or improving test completeness — a
Test Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
Five Bugs
A 10-minute smoke test for AI coding agents. Five seeded Python bugs, one checker the agent sees and one it ne
Create Agentic Playwright Project
Free scaffolder for a Playwright + TypeScript agentic-QA project with Claude Code agents and skills, MCP, eval
Flow Content
記事制作フローを強制実行(Copywriter → Copy Editor → Human Voice Checker → Editor → QA)
Related Agents
Coverage Aggregator
Synthesis agent that combines the outputs of all selected test planners (02-05) into one requirement-to-test c
Testing
Test development with pytest/Jest/Vitest, coverage analysis, and bug reproduction workflows
Test Writer Pytest
Use when writing new tests or improving coverage for gsc-mcp. Knows the pytest fixtures, Google API mocking pa