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 ★
- AI Contribution Skills (Engram) — branch-pr: clean branch and PR workflow 2.5k ★
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 Suite Generator
Generate a comprehensive test suite with unit, integration and e2e coverage, plus skipped-test cleanup.
Flow Content
記事制作フローを強制実行(Copywriter → Copy Editor → Human Voice Checker → Editor → QA)
Test Matrix
Review or expand the verification matrix for the live harness surface
Test Matrix Planning
Turn a growing harness surface into a realistic verification matrix instead of a few lucky spot checks.
QA Gate
QA verification for G4 — execute the test plan, build the AC-to-test traceability matrix, run an exploratory c
Related Agents
Testing
Test development with pytest/Jest/Vitest, coverage analysis, and bug reproduction workflows
Pytest Writer
Expert pytest test writer. Use when writing new tests, adding test coverage, or creating test suites for Pytho
Grays
Multi-framework test runner agent. Auto-detects pytest, jest, vitest, go test. Runs tests with coverage, gener