一键导入
coverage-analysis
Running coverage tools, interpreting coverage reports, identifying high-risk gaps, and prioritizing which uncovered code to test first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Running coverage tools, interpreting coverage reports, identifying high-risk gaps, and prioritizing which uncovered code to test first.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Translate natural language image descriptions into detailed, structured DALL-E prompts with subject, style, composition, lighting, and mood specifications.
Decompose mathematical problems into sub-expressions, evaluate each one with the calculator tool, and present the full working chain. Handles arithmetic, trigonometry, logarithms, and financial formulas.
Compare two or more PDF documents by extracting targeted sections, building a structured comparison matrix, and highlighting differences with page references.
Extract structured data from web pages using browser snapshot and text tools, then process it into tables, comparisons, or summaries using Python.
Analyze endpoint latency trends using historical check data from memory. Detects slow degradation, spikes vs sustained issues, and calculates baseline deviations.
Validate API response structure and content. Detects schema drift, unexpected null values, and abnormal response sizes.
| name | coverage-analysis |
| description | Running coverage tools, interpreting coverage reports, identifying high-risk gaps, and prioritizing which uncovered code to test first. |
| requires | {"bins":["python"]} |
Coverage analysis for identifying and prioritizing untested code.
Use this skill after tests pass, or when asked to analyze coverage gaps and determine which untested code should be covered next.
pytest --cov=<package> --cov-report=term-missingMISS column shows uncovered line ranges (e.g. 45-52, 78)..coveragerc or pyproject.toml under [tool.coverage]:
set omit to exclude vendored code, migrations, and test files from
the report.--cov-branch to detect branches where only one
path is tested.--cov-report=html generates htmlcov/index.html for
visual inspection.npx jest --coverage -- outputs a table and generates coverage/
directory.npx vitest run --coverage -- requires @vitest/coverage-v8 or
@vitest/coverage-istanbul.% Stmts, % Branch, % Funcs, % Lines, and
Uncovered Line #s.jest.config.* or vitest.config.* with
coverageThreshold to enforce minimums.__init__.py files that only re-export, and
vendored third-party code.Rank uncovered code by risk, not by line count:
Python:
pytest --cov=mypackage --cov-branch --cov-report=term-missing
JavaScript (Jest):
npx jest --coverage --coverageReporters=text
JavaScript (Vitest):
npx vitest run --coverage