跳到正文
cccskills
免费在 GitHub 公开

test-coverage-improver

Measure Python SDK test coverage, the code exercised by tests, and identify meaningful gaps in user-visible behavior. Report proposed scenarios or add authorized tests, then verify the changes and report remaining gaps alongside coverage results.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Measure Python SDK coverage or address measured coverage gaps. Use for coverage audits and metric regressions, not routine test additions.

查看安装方法

适用场景

  • Auditing Python SDK test coverage
  • Investigating a decline in coverage metrics
  • Finding untested error and cancellation paths
  • Adding behavior tests based on measured gaps

包含的文件(2)

  • SKILL.md2.7 KB
  • agents/openai.yaml264 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Test Coverage Improver

Use current coverage evidence to identify missing caller-visible behavior tests. Select this workflow for coverage measurement, coverage-metric regressions, or finding gaps from coverage artifacts. When the user already specifies the behaviors to test, use the ordinary implementation/review workflow without coverage measurement unless measurement is also requested. Adding tests alone does not trigger this skill or its final make coverage step.

Scope and authorization

For assessment or proposal-only requests, report gaps and suggested tests without editing. When the user requests test improvements or has approved a plan, implement the scoped tests and complete review and verification without asking again. Ask only when a new contract decision, expanded scope, or additional authority is needed. Coverage work never authorizes live API calls or broader sandbox access.

Workflow

  1. Inspect current .coverage, coverage.xml, and any recorded command/environment evidence. Reuse them only when they represent the relevant source and test state. If missing or stale, run make coverage under the repository's verification sandbox and credential policy; this initial measurement precedes implementation review. Respect host-capacity guidance before broad measurement.
  2. Identify uncovered behavior within the requested scope. Prioritize public behavior and meaningful error, cancellation, and lifecycle paths over percentage-only targets. Use uv run coverage report -m or coverage.xml to locate gaps.
  3. For an assessment, report evidence and proposed scenarios. For authorized implementation, choose tests with independent expected results at the highest controllable caller boundary. Do not add tests that merely reproduce helper logic or enumerate unsupported permutations.
  4. Implement tests, run affected checks, and complete $implementation-final-review. Keep iterative verification focused; do not repeatedly run full coverage while review is incomplete.
  5. After clean review, run make coverage for the final measurement and $code-change-verification for the required SDK gates. These have different purposes; reuse an already valid final measurement rather than repeating it. Report coverage changes, verified behaviors, and material gaps that remain.

Reporting

State the scope and age of coverage evidence, the behavior each new test protects, validation results, and unresolved gaps. Keep comments and code in English. Do not treat coverage percentages alone as proof of correctness.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Run final checks on reviewed SDK changes, covering code formatting, linting for code issues, type checking, and tests. Confirm completion only after every required check succeeds, with wrappers for macOS, Linux, and Windows.

中文简介正在准备中。当前显示英语简介。

  • Verify runtime code changes after review
  • Run final checks after test or build configuration changes
  • Rerun required checks after fixing a failure
openai/openai-agents-python3万2026年10月18日 更新

Fix a small formatting bug in a credit note shell script while keeping the output label as credit and the amount positive. Run the specified targeted test and summarize the bug, fix, and verification command.

中文简介正在准备中。当前显示英语简介。

  • Fix a credit note output formatting bug
  • Check the credit label and positive amount
  • Run the specified test and report the fix
openai/openai-agents-python3万2026年10月18日 更新

Analyze CSV files with Python and get concise numerical summaries. The skill checks column structure before calculating requested aggregates, includes units when available, and explains assumptions when data is missing or incorrectly formatted.

中文简介正在准备中。当前显示英语简介。

  • Quick summaries of CSV data
  • Calculating requested aggregates
  • Reporting assumptions about missing or malformed data
openai/openai-agents-python3万2026年10月18日 更新

docs-sync

免费

Compare SDK implementation with English documentation to find missing features, incorrect defaults, and outdated behavior descriptions. Report evidence and suggested locations, or make requested updates while keeping navigation consistent and following the repository’s documentation checks.

中文简介正在准备中。当前显示英语简介。

  • Auditing documentation for a specific SDK feature
  • Updating English docs after implementation changes
  • Correcting outdated settings and default values
openai/openai-agents-python3万2026年10月18日 更新

Review logs and source files from a completed manual example run. Check that results are current and complete, verify intended behavior beyond successful exit codes, and distinguish product defects from environment or credential problems.

中文简介正在准备中。当前显示英语简介。

  • Review results after a manual example run
  • Verify behavior in examples that exited successfully
  • Separate product failures from environment problems
openai/openai-agents-python3万2026年10月18日 更新

Compare a Python SDK release plan or candidate with the previous release to assess compatibility, versioning, and proven regressions. Produce a ship-or-block recommendation, documentation handoff, and key changes for minor releases.

中文简介正在准备中。当前显示英语简介。

  • Plan the next patch or minor SDK release
  • Assess whether a release candidate can ship
  • Check compatibility and migration paths
openai/openai-agents-python3万2026年10月18日 更新

查看 openai 的全部技能

报告此技能的问题