ワンクリックで
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.