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.
한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.