원클릭으로
pytest-coverage
Run pytest with coverage, identify uncovered lines, and iteratively add tests until 100% coverage is reached.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run pytest with coverage, identify uncovered lines, and iteratively add tests until 100% coverage is reached.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
When the user wants to review, edit, or improve existing website and marketing copy, especially requests like "review copy", "audit copy website", "polish landing page copy", "improve messaging", "tighten this text", or "copy feedback". Use this for existing copy in frontend/src and frontend/docs. For rewriting from scratch, hand off to copywriting. For structural conversion issues (section flow, CTA placement, friction), hand off to page-cro.
Generate a conventional commit message from staged/unstaged changes and automatically commit.
Create a structured implementation plan for a new feature, refactor, or infrastructure change. Outputs a machine-readable markdown plan with phases, tasks, requirements, and testing criteria.
Create optimized multi-stage Dockerfiles for Next.js frontend and FastAPI backend. Smaller images, non-root user, healthcheck, pinned versions.
Generate a Playwright TypeScript E2E test for a given scenario. Navigates the app step-by-step, uses role-based locators, and saves the test in tests/e2e/.
PostgreSQL query optimization and schema review. Covers EXPLAIN ANALYZE, indexing strategy, JSONB, pagination, and security (parameterized queries).
| name | pytest-coverage |
| description | Run pytest with coverage, identify uncovered lines, and iteratively add tests until 100% coverage is reached. |
Ensure all lines of code in the backend are covered by tests.
For the entire backend:
cd backend
pytest --cov --cov-report=annotate:cov_annotate
For a specific module:
pytest --cov=app.services.credit_service --cov-report=annotate:cov_annotate
For specific tests:
pytest tests/test_credit_service.py --cov=app.services.credit_service --cov-report=annotate:cov_annotate
cov_annotate/ directory.! are not covered by tests.For each uncovered line:
pytest-asyncio with async def test_....Keep running and improving until no ! lines remain:
pytest --cov --cov-report=annotate:cov_annotate
test_credit_service.py) should mock external calls (fal_client, S3, etc.).pytest.mark.asyncio for async FastAPI endpoints.