跳到正文
cccskills
OpenClaw 官方免费在 GitHub 公开

test-audit

Write or review Windows regression tests for observable contracts, independent expectations, faithful fixtures, and distinct coverage without weakening native proof or architecture guards.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md3.6 KB

SKILL.md(原文)

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

Windows test audit

Use when adding, changing, or reviewing tests. A review does not authorize test deletion or production refactoring.

Before adding a test

Answer these questions:

  1. What observable behavior or independent contract does it protect?
  2. What credible regression makes it fail, and does it fail for that reason rather than a broken fixture?
  3. Which production owner is exercised? Why does existing coverage miss this risk?
  4. Are the expected values independent of the implementation under test?
  5. Does another layer add a distinct transport, persistence, lifecycle, permission, or rendering risk, rather than repeat the same assertion?

Prefer an existing table, fixture, or owner regression over another process boot. Avoid mocks supplying the behavior being asserted, production helpers computing their own expected values, and test-only exports without a genuine production boundary.

Read regression authoring and use the existing fixture guide when the behavior crosses the application boundary.

Preserve valuable contracts

  • Keep independent protocol, CLI, storage, migration, defaults, packaging, security, architecture, and user-visible ordering contracts.
  • Static does not mean disposable. WinUI source-shape guards are appropriate for a concrete prohibited pattern with the ledger's retirement condition. The shipped winnode command-to-registry contract must remain covered.
  • Local MCP output does not prove Gateway pairing. A state snapshot is not a rendered UI assertion. Synthetic Gateway proof is not live provider, MXC, installer, or production credential-resolution proof.
  • Use isolated settings, loopback listeners, owned processes, and existing temporary-directory/environment helpers. Do not introduce arbitrary sleeps or parallel native input tests on a shared desktop.
  • Do not make a failure green through weaker assertions, hidden skips, blind retries, broadened mocks, or an unrelated baseline update.

Review and validation

For a bug fix, demonstrate the intended pre-fix failure and post-fix pass, or report why baseline reproduction was unavailable. For a refactor, preserve the contract without pinning incidental implementation names.

Run focused owner tests, then the required validation. Respect explicit skip policies: an allowed ordinary CI skip is not complete custom proof. Measure cost when performance is the claim; do not import JavaScript timing budgets or worker rules into native Windows suites.

Report protected behavior, fixture limits, exact commands and execution counts, and remaining proof gaps. Do not claim tests ran from an exit code alone.

Source and maintenance

Windows-owned adaptation of concepts from the MIT-licensed upstream test-audit workflow and test-authoring guide. Windows retains its mandatory local closeout, native proof, and legitimate source guards. This file does not inherit upstream publication permissions.

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

autoreview

OpenClaw 官方免费

Structured code review through the shared OpenClaw agent-skills installation.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

crabbox

OpenClaw 官方免费

Use Crabbox from macOS, Linux, or native Windows controllers to run OpenClaw Windows node builds, tests, and targeted proof on remote native Windows or WSL2 hosts, including Azure or brokered AWS leases and static SSH hosts. Use when remote Windows validation is needed or the user asks for Crabbox validation. Always report the actual provider, lease id, run URL, command, and result.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

global-repo-triage

OpenClaw 官方免费

Run complete OpenClaw Windows Node issue and PR triage, including landing queues, proof pools, ownership audits, and release planning.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

hanselman-code-review

OpenClaw 官方免费

Adversarial dual-model code review that runs two AI models in parallel, cross-references findings, and produces a consensus severity table with fix confidence ratings. Use when asked for a thorough code review, adversarial review, dual-model review, confidence-rated review, or 'Hanselman review'.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

native-gateway-from-source

OpenClaw 官方免费

Build the native MSIX isolated-session Gateway from npm latest, a published packaging release with -GatewayChannel Packaged, or explicit openclaw sources. Register it beside the Store Gateway and run Companion with OPENCLAW_NATIVE_GATEWAY_DEV_PATCH. Use for native Gateway development, release-channel compatibility, unreleased source changes, or removing a development Gateway.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

openclaw-proof-validation

OpenClaw 官方免费

Plan and collect OpenClaw Windows validation/proof: tests, rubber-duck review, UI evidence, MCP output, and gateway runtime proof.

中文简介正在准备中。当前显示原文说明。

openclaw/openclaw-windows-node21662026年10月21日 更新

查看 openclaw 的全部技能

报告此技能的问题