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

behavior-validator

Source-blind user behavior validation against a prewritten contract for apps, CLIs, APIs, and generated artifacts.

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

查看安装方法

包含的文件(4)

  • SKILL.md3.7 KB
  • agents/openai.yaml232 B
  • references/contract-template.md1.4 KB
  • references/report-schema.md1.4 KB

SKILL.md(原文)

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

Behavior Validator

Validate observable behavior without inspecting source. Use this as the black-box companion to code-aware review: autoreview judges the change bundle, while behavior-validator judges the running product, CLI, API, or generated artifact against a behavior contract.

Contract

  • Read the behavior contract first. If none exists, write a short one from the user request before testing. See references/contract-template.md.
  • Stay source-blind. Do not inspect source files, diffs, tests, git history, implementation notes, build internals, or review bundles.
  • Interact only through user-visible or operator-visible surfaces: browser, CLI, API, generated files, public logs, screenshots, accessibility trees, or documented runtime output.
  • Treat implementation-looking evidence as contamination. If source access is required to continue, stop and report blocked_source_required.
  • Report findings against contract clauses and observable steps, not code locations.
  • Do not mark a workflow as passing until each relevant contract clause is pass, fail, blocked, or out of scope.

Isolation

Prefer a source-blind workspace:

validator_dir="$(mktemp -d "${TMPDIR:-/tmp}/behavior-validator-run.XXXXXX")"
chmod 700 "$validator_dir"
cp behavior-contract.md "$validator_dir/"
cd "$validator_dir"

Launch or connect to the target from the contract. Keep only the contract, allowed fixtures, and redacted captured evidence in the private validator workspace. Supply credentials through approved secret tooling or exact environment variables; never copy credential values into the workspace, report, screenshots, or logs. Do not use fixed shared paths for contracts or captured evidence. If the app must be started from the source checkout, start it from a separate terminal and do not read source while validating.

Workflow

  1. Parse the contract into user tasks, expected behavior, anti-cheat probes, setup, and evidence requirements.
  2. Prepare runtime access: target URL, CLI command, API endpoint, fixture data, credentials, or generated artifact path.
  3. Exercise each user task as a real user or operator would.
  4. Run anti-cheat probes: vary fixture data, refresh/retry, test empty and invalid inputs, verify persistence, inspect generated output, and confirm buttons/commands perform real work rather than only displaying success text.
  5. Capture evidence as compact redacted notes, screenshots, terminal excerpts, response summaries, file summaries, or accessibility observations. Omit credentials, tokens, cookies, private user data, and unrelated log content.
  6. Emit a structured report. Use references/report-schema.md when a machine-readable report is useful.
  7. If the orchestrator fixes a finding, rerun only the affected contract clauses plus any nearby regression probes.

Finding Rules

  • Fail when observable behavior violates the contract, a task cannot be completed, expected state is fake/static, or evidence is insufficient for a claimed pass.
  • Block when required runtime access, credentials, fixtures, network, or tools are missing.
  • Mark out of scope only when the contract explicitly excludes the behavior or the task depends on a user-owned product decision.
  • Reject purely aesthetic, code-quality, or implementation-style concerns; those belong to code-aware review.

Final Report

Include:

  • target exercised
  • contract file or inline contract used
  • pass/fail/blocked/out-of-scope summary
  • accepted behavioral findings with reproduction steps and evidence
  • anti-cheat probes run
  • remaining blockers, if any

评价

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

评论

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

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

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

0 / 1000 字

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

同一仓库的技能

agent-transcript

OpenClaw 官方免费

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

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

openclaw/agent-skills11082026年10月21日 更新

autoreview

OpenClaw 官方免费

Structured code review when explicitly requested, preferring OpenAI/Codex before Claude.

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

openclaw/agent-skills11082026年10月21日 更新

beam

OpenClaw 官方免费

Publish a redacted local coding session to an authenticated read-only Beam catalog.

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

openclaw/agent-skills11082026年10月21日 更新

crabbox

OpenClaw 官方免费

Crabbox/Testbox remote proof: portable provider routing, untrusted isolation, Linux/macOS/Windows/WSL2, live E2E, diagnostics, cleanup.

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

openclaw/agent-skills11082026年10月21日 更新

handoff

OpenClaw 官方免费

Clipboard-ready handoff prompt for another agent to investigate or continue a task.

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

openclaw/agent-skills11082026年10月21日 更新

readme-standard

OpenClaw 官方免费

House README standard: structure, badge row, tone, per-archetype templates, and verification gates for steipete/openclaw repos.

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

openclaw/agent-skills11082026年10月21日 更新

查看 openclaw 的全部技能

报告此技能的问题