Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
日本語の概要は準備中です。原文の説明を表示しています。
Write focused, deterministic, well-documented pytest tests for AI-authored code.
インストールする前に、エージェントに与えられる指示の中身を確認できます。
I help with three pytest workflows:
Supporting files in this skill:
assets/pytest.ini.template — ready-to-copy pytest configurationscripts/analyze_coverage.sh [path] — coverage analysis helper (whole src or specific folder/module)
./.claude/skills/python-testing/scripts/analyze_coverage.sh [path]"$(git rev-parse --show-toplevel)/.claude/skills/python-testing/scripts/analyze_coverage.sh" [path]Use when you want to:
"Write tests for the slugify function in src/utils/text.py"
"Check coverage for src/services/payment.py"
"Set up pytest for this project with coverage and async support"
test_<module_or_feature>.pytest_<unit>__<behavior>__<condition>@pytest.mark.aiThree-part format:
Purpose: What this test verifies.
Why this matters: Business or technical consequence if it breaks.
Setup summary: What's arranged and what's asserted.
<domain>_fixtures.pypytest_plugins = ["tests.fixtures"] in conftest.pymocker fixture (pytest-mock)spec=True for type safety./.claude/skills/python-testing/scripts/analyze_coverage.sh — full src coverage./.claude/skills/python-testing/scripts/analyze_coverage.sh src/services — coverage for a specific folder./.claude/skills/python-testing/scripts/analyze_coverage.sh src/utils/text.py — coverage for a single filepytest-mock's mocker or hand-rolled fixturespytest.mark.asyncio or trio)scripts/analyze_coverage.sh when changes affect multiple modulesuv add --dev pytest pytest-cov pytest-asyncio pytest-mockpip install pytest pytest-cov pytest-asyncio pytest-mockassets/pytest.ini.template → pytest.ini at the project roottests/ directory with an empty __init__.py and conftest.pyまだレビューはありません。使ってみた感想をお寄せください。
概要と使いどころ
Implement comprehensive error handling for Python code paths to keep services resilient and user-friendly. Use when failures are currently silent or exceptions leak through.
日本語の概要は準備中です。原文の説明を表示しています。
Tabular and numerical data analysis with descriptive statistics and insights. Use when the user provides data, tables, CSVs, or numbers and wants analysis.
日本語の概要は準備中です。原文の説明を表示しています。
Financial factsheet analysis with key metrics extraction and investment rationale
日本語の概要は準備中です。原文の説明を表示しています。
Diagnose and fix CI failures without leaving your editor.
日本語の概要は準備中です。原文の説明を表示しています。
Reproduce ai-repo PR checks locally with Poe and CI scripts, including per-package typecheck and coverage behavior. Use when validating changes before push or when user asks which local commands match CI.
日本語の概要は準備中です。原文の説明を表示しています。
Ask clarifying questions before implementing to ensure Python requirements are understood. Use when a task lacks detail, dependencies are unclear, or multiple interpretations are possible.
日本語の概要は準備中です。原文の説明を表示しています。