AGENT SKILL

测试体系合规审计

test-conformance

使用可复用协议、源码与测试运行器核对、抽样审查测试预言(oracle)以及有证据支撑的合规报告,对代码库的测试体系进行审计。

适用职业测试工程师
License 许可
MIT
所属仓库
jmagly/aiwg
最近更新
2026-11-14
Stars
★ 229
Forks
36

01 前言 Front Matter

name
test-conformance
version
2.0.0
namespace
aiwg
platforms
[ "all" ]
description
Audit a codebase's testing regime using a reusable protocol, source/runner reconciliation, sampled oracle review and evidence-backed conformance reports.

03 SKILL.md 正文

Test conformance

Use the testing-quality CLI namespace aiwg test-conformance. For an undeployed addon, use the installed use skill to deploy testing-quality. Read the workflow for command contracts and the evidence rule before making conformance claims.

  1. Read target instructions and existing runner/CI configuration. Initialize a protocol with init; review platform/system identity, source and test globs, areas, lane argv, result/discovery formats, timeouts, policy and research paths using protocol review. Existing commands may build or import target code, even during discovery.
  2. Run inventory and reconcile statically found files with each lane. Run sample with a saved seed and requested quota (default 20 per area); use a census for smaller areas. Explain the area definition before sampling. Unsupported syntax remains visible.
  3. Run collect for authorized lanes. Preserve actual exit status, empty/setup-failed runs, skips, timeouts, raw result hashes, versions and coverage denominator. Registration and execution are separate evidence. Do not silently install a missing tool during collection.
  4. Review cases with test-oracle-reviewer using test review. A sample cannot satisfy whole-scope requireReview; expand review coverage or report it incomplete. Review helper behavior and actual SUT, not only assertion tokens.
  5. Run assess, validate and report. Validation means an artifact satisfies its contract; substantive assessment additionally needs current, sufficient evidence. Use report template to expose test types, systems, evidence gaps, findings and scope limits.
  6. When cleanup is requested, invoke test-normalize with concrete findings. Keep the initial audit evidence intact and produce new run artifacts after repair.

Do not present inventory candidates as confirmed defects, passing cases as proof of oracle quality, or optional missing discovery as proven registration. Use test-platform-research for a platform adapter/template or additional tooling recommendation.

04 同仓库更多 Skills