clawhong-quality-gate
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "clawhong-quality-gate" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-c00d8933958ba7d2b366997f0874fff7de9f094fe759e28ab90c91c08e9a3380. Verify the upstream source and version against https://skillhub.cn/skills/user_f12a44b7/clawhong-quality-gate before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Quality Gate: Automatically checks output integrity, timeliness, and consistency after a worker submits a task; rejects nonconforming results for redo and escalates alerts on repeated rejections. Suited for task delivery quality control scenarios.
Introduction source: third_party · user_f12a44b7 · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Inputs and outputs
- python3 scripts/quality_gate.py --json
- Software, accounts and paid services
- Dashboard API: GET inbox (done job) + POST send (callback) + POST Chat (publicity)
- Testing
- Not tested
Browse files
Frontmatter
name: gate
slug: clawhong-quality-gate
description: "质量关卡:工人提交任务后自动检查质量(产出完整性、时效性、一致性),不合格自动打回重做,连续打回升级告警。适用于任务交付质量管控场景。"
version: 1.0.0
displayName: "Clawhong Quality Gate"quality-gate
质量关卡Skill:工人提交任务后自动检查质量,不合格打回重做,形成闭环。
触发条件
- cron定时触发(推荐每15分钟)
- 手动触发质量检查时
- 关键词:质量检查、质量关卡、验收、recheck
检查流程
工人标记done → quality-gate扫描 → 3项检查 → 合格/打回
↓
打回inbox + 群聊公示
三项检查规则
1. 产出完整性(必须通过)
- 群聊回复长度 < 50字 且 无代码/文件链接 → 不合格
- 回复仅含"收到"/"确认"/"OK"等确认词 → 不合格
- 标记done但群聊无任何产出汇报 → 不合格
2. 时效性
- 任务创建到done超过4小时但产出极简(<200字) → 警告
- 超过24小时才完成 → 记录但通过(标注延迟)
3. 一致性
- 任务要求包含"push到CNB"但群聊无CNB相关链接 → 不合格
- 任务要求包含"文章"但回复字数 < 800 → 不合格
- 任务要求包含"脚本/Skill"但无代码块或文件路径 → 警告
打回机制
- 不合格任务:重新发inbox给原工人,subject加[质量打回]前缀
- 群聊公示:@原工人说明打回原因
- 连续2次被打回:升级告警给VP
API依赖
- Dashboard API: GET inbox(done任务) + POST send(打回) + POST chat(公示)
- 认证: Authorization: Bearer {TOKEN}
使用方法
# 检查最近完成的任务
python3 scripts/quality_gate.py
# 检查并执行打回
python3 scripts/quality_gate.py --enforce
# JSON输出
python3 scripts/quality_gate.py --json
# 指定工人检查
python3 scripts/quality_gate.py --worker openclaw-d
配置
- DASHBOARD_TOKEN: API认证token
- MIN_OUTPUT_LENGTH: 最短产出字数(默认50)
- REJECT_KEYWORDS: 纯确认词列表(默认:收到/确认/OK/好的/了解)
- MAX_ACCEPTABLE_DELAY: 最大可接受延迟(秒,默认86400)
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 针对任务交付质量管控场景,提供自动化质量检查、打回重做、连续打回告警等闭环机制
- 解决实际管理痛点,提升任务交付效率和质量
Highlights
- 触发条件包含cron定时、手动触发及关键词,覆盖合理,边界清晰
Highlights
- Phase/步骤清晰,有检查流程图和三项检查规则
- 含端到端示例,frontmatter完整,单文件未超500行
Highlights
- API依赖明确,参数正确,覆盖主要异常
- 打回机制有确认和公示,连续打回有升级告警
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Dashboard API: GET inbox (done job) + POST send (callback) + POST Chat (publicity)
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.