← 返回 Skills 市场
lanyasheng

Quality Verification

作者 _silhouette · GitHub ↗ · v2.4.0 · MIT-0
cross-platform ⚠ suspicious
130
总下载
0
收藏
0
当前安装
4
版本数
在 OpenClaw 中安装
/install quality-verification
功能描述
输出质量保障与验证。编辑后检查、提交前测试、session 指标测量。不适用于工具重试(用 tool-governance)或 agent 提前停止(用 execution-loop)。参见 tool-governance(错误追踪)。
安全使用建议
What to consider before installing: - This skill runs local linters and project test commands. test-before-commit will execute repository test runners (npm/pytest/cargo/go test/make), which can run arbitrary code from the repo — avoid enabling this on repositories you don't trust. TEST_BEFORE_COMMIT is disabled by default; only set TEST_BEFORE_COMMIT=1 if you understand and accept this behavior. - The skill writes session state under $HOME/.openclaw/shared-context/sessions (creates/updates bracket.json and session dirs). Review and control permissions for that directory if sensitive. - Documentation mentions runtime profile controls (HARNESS_PROFILE, HARNESS_DISABLED_HOOKS) and a session-cleanup script, but those controls are not consistently enforced across all shipped scripts; expect some manual configuration or code review to align behavior with your security posture. - Recommended actions: review the three provided scripts (post-edit-check.sh, test-before-commit.sh, bracket-hook.sh), run them in a safe sandbox or test repo first, and keep TEST_BEFORE_COMMIT disabled until you confirm tests/lint commands are safe. If you open untrusted workspaces, disable Bash hooks or enforce a workspace-trust policy so hooks cannot execute repository-provided test code.
功能分析
Type: OpenClaw Skill Name: quality-verification Version: 2.4.0 The quality-verification skill bundle provides legitimate development workflow enhancements, including automated linting (post-edit-check.sh), pre-commit test validation (test-before-commit.sh), and session performance tracking (bracket-hook.sh). The scripts use standard development tools like ruff, tsc, and pytest, and their behavior is strictly aligned with the documented purpose of ensuring code quality and session monitoring without any signs of data exfiltration, unauthorized persistence, or malicious prompt injection.
能力评估
Purpose & Capability
The skill's name/description (quality verification: post-edit checks, test-before-commit, session metrics) match the included scripts and docs. The scripts implement post-edit lint/type checks, per-turn bracket metrics, and an optional test-before-commit gate. Minor incoherences: documentation references environment flags (HARNESS_PROFILE, HARNESS_DISABLED_HOOKS) and a session-cleanup script, but those controls are not consistently enforced across all scripts (e.g., many scripts don't check HARNESS_PROFILE), and session-cleanup exists only in docs.
Instruction Scope
Hook scripts read hook JSON input, run linters and test commands, and write session state under $HOME/.openclaw/shared-context/sessions. test-before-commit.sh will execute project test runners (npm, pytest, cargo, go test, make) which can run arbitrary code from the repository; this is expected for a test gate but is a high-risk action when opening untrusted projects. Scripts do not send data to external endpoints, nor request credentials, but they do invoke local binaries and mutate files under the user's home directory (create/modify bracket.json and other session files).
Install Mechanism
Instruction-only skill with no install spec. All behavior comes from provided scripts; nothing is downloaded or installed automatically by the skill itself.
Credentials
The skill declares no required environment variables or credentials. In practice scripts rely on HOME and NC_SESSION and optionally on TEST_BEFORE_COMMIT, HARNESS_PROFILE, and HARNESS_DISABLED_HOOKS. TEST_BEFORE_COMMIT is intentionally opt-in (feature disabled by default). No external tokens/credentials are requested, which is proportional, but the implicit reliance on HOME for session state and optional env toggles should be noted.
Persistence & Privilege
The skill writes and updates session state under $HOME/.openclaw/shared-context/sessions (creates bracket.json, session dirs). That is reasonable for session metrics, but these files persist on disk. The docs include a session-cleanup script which can delete stale session files and run git worktree prune; the cleanup behavior is present in documentation though not shipped as an executable script in the manifest. always:false and no elevated privileges requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install quality-verification
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /quality-verification 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.4.0
Add settings.json configs, hookSpecificOutput formats, manual workarounds, failure modes
v2.2.0
SKILL.md: real usage examples replacing TODO, expanded patterns with reference links
v2.1.0
CRC knowledge补充 + SKILL.md结构优化 (Workflow/example/Output/Related) + 新 pattern (3.8 auto-compact breaker, 5.7 anti-stampede)
v2.0.0
v2.0.0: independent axis skill from execution-harness monorepo
元数据
Slug quality-verification
版本 2.4.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 4
常见问题

Quality Verification 是什么?

输出质量保障与验证。编辑后检查、提交前测试、session 指标测量。不适用于工具重试(用 tool-governance)或 agent 提前停止(用 execution-loop)。参见 tool-governance(错误追踪)。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 130 次。

如何安装 Quality Verification?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install quality-verification」即可一键安装,无需额外配置。

Quality Verification 是免费的吗?

是的,Quality Verification 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Quality Verification 支持哪些平台?

Quality Verification 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Quality Verification?

由 _silhouette(@lanyasheng)开发并维护,当前版本 v2.4.0。

💬 留言讨论