원클릭으로
gen-tests
Generate tests for a module or function. Focuses on edge cases and real failure modes, not happy paths.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Generate tests for a module or function. Focuses on edge cases and real failure modes, not happy paths.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Deep analysis of current changes before committing. Goes beyond lint — catches logic bugs, architectural violations, security, and performance issues.
Create a pull request from the current branch, matching the repo's PR conventions (What/Why/Testing for features, Summary/Test-plan for small PRs).
Review staged or unstaged changes before committing. Catches bugs, style drift, and missing coverage.
Cut a release — promote Unreleased → versioned in CHANGELOG, bump version, commit. CI auto-tags and publishes from the version-bump commit.
Create a release-tracking issue that organizes open issues into a phased roadmap. Pass a target version (e.g., `0.5.0`) to scope the plan.
Run the full quality gate — format, lint, tests, types. Use after changes to verify nothing is broken.
| name | gen-tests |
| description | Generate tests for a module or function. Focuses on edge cases and real failure modes, not happy paths. |
Generate tests for the file or module specified in $ARGUMENTS. (Testing stack — pytest, pytest-asyncio auto mode, respx — is documented in CLAUDE.md.)
get_state_snapshot)tests/conftest.py (MockProvider, mock_gateway, etc.) rather than rebuilding them.test_circuit_breaker_resets_after_timeout, not test_cb_1.For each uncovered line, pick one:
FakeStream-style doubles for socket I/O.if notify is None: return) → # pragma: no cover — <reason>.# pragma: no cover — prom fallback.# pragma: no cover — fires on OTel export.Never a bare # pragma: no cover — always include the reason after the em dash.
If the work includes a bug fix, a Copilot/review finding, or a branch that was silently broken:
test_<scenario>_regression or test_<bug>_does_not_<recur>.assert True.uv run pytest tests/<file> -v then /check.