test-coverage-improver

tarafından openai

Improve test coverage in the OpenAI Agents JS monorepo: run `pnpm test:coverage`, inspect coverage artifacts, identify low-coverage files and branches, propose…

npx skills add https://github.com/openai/openai-agents-js --skill test-coverage-improver

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 pnpm test: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-summary.json or coverage/coverage-final.json, coverage/lcov.info, and any recorded command/environment evidence. Reuse them only when they represent the relevant source and test state. If missing or stale, run pnpm test: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 the JSON report, coverage/lcov.info, or coverage/lcov-report/index.html to locate gaps. Place tests under the relevant packages/<pkg>/test/ directory.
  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 pnpm test: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.

openai tarafından daha fazla skill

release
openai
Symphony sürümünü, taahhüt edilen sürümü yükselterek, onu indirerek, birleştirilmiş commit'i etiketleyerek ve Burrito sürüm iş akışını doğrulayarak kesin. İstendiğinde kullanın…
signing-entitlements
openai
macOS uygulamaları için imzalama, yetkilendirmeler, sertleştirilmiş çalışma zamanı ve Gatekeeper sorunlarını inceleyin. Kod imzalama hatalarını, eksik yetkilendirmeleri teşhis etmesi istendiğinde kullanın…
building-ai-agent-on-cloudflare
openai
Cloudflare üzerinde Agents SDK kullanarak durum yönetimi, gerçek zamanlı WebSockets, zamanlanmış görevler, araç entegrasyonu ve sohbet ile AI ajanları oluşturur…
epigraphdb-skill
openai
Ontoloji, literatür, MR, gen-ilaç ve destek-yol kanıtları için kompakt EpiGraphDB API istekleri gönderin. Kullanıcının kısa EpiGraphDB özetleri istediğinde kullanın.
runtime-behavior-probe
openai
Geçici izleme betikleri, doğrulama matrisleri, durum kontrolleri ve bulguları öncelikli raporlarla çalışma zamanı davranış araştırmalarını planlayın ve yürütün. Yalnızca şu durumlarda kullanın…
deep-security-scan
openai
Kullanıcı derinlemesine, kapsamlı, çok geçişli veya varyans azaltıcı bir depo genelinde veya kapsamlı yol Codex Güvenlik taraması istediğinde kullanın. Tekrarlanan bağımsız…
define-security-policy
openai
Bir depo veya bileşen için SECURITY.md rehberliğini tanımlayın, gözden geçirin veya güncelleyin. Kullanıcının Codex Security'nin neyi incelemesi gerektiğini, neyin kapsam dışı olduğunu netleştirmek istediğinde kullanın…
validation
openai
Codex'in bir güvenlik taramasının doğrulama aşamasında olduğunda veya kullanıcı açıkça bir veya daha fazla aday güvenlik bulgusunun belirlenmesini istediğinde kullanın…