cnbll-closed-loop-worker
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 "cnbll-closed-loop-worker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-6d2f03d62cbd6dfb7f05f6e5ede71f1583ee150927a1ea19489599c10e9a0461. Verify the upstream source and version against https://skillhub.cn/skills/user_f12a44b7/cnbll-closed-loop-worker 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
Closed-loop workflow worker that implements a full loop from receiving work items to submitting code, ensuring each task produces traceable, repository-level outputs.
Introduction source: third_party · user_f12a44b7 · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: 闭环工作流工人
slug: cnbll-closed-loop-worker
displayName: "闭环工作流工人"
description: "为AI工人定义完整的任务闭环工作流:收信理解→方案讨论→编码实现→Git提交→创建PR→汇报结果→记录日志。每个动作必须产生代码仓库级别的可追溯产出(Issue/Commit/PR),杜绝空洞回复。适用于需要严格任务交付和多工人协作的团队开发场景。"
version: 1.0.1
summary: "实现从收信到代码提交的完整闭环工作流,确保每个任务都有可追溯的仓库级产出"
tags: ["工作流", "任务闭环", "Git", "代码提交", "PR", "AI工人", "协作规范"]closed-loop-worker(闭环工人)
概述
实现工人从「收信→理解→讨论→编码→Commit→PR→汇报→日志」的完整闭环工作流。禁止空洞回复,每个动作必须产生代码仓库级别的产出(Issue/Commit/PR)。
触发条件
- 收到inbox任务(tags含task)
- 收到群聊@提及(讨论方案/代码评审)
- 收到CEO/总裁令广播(全员行动指令)
- 轮值工人时间窗口(当前小时%7 == 自身序号)
工作流阶段
Phase 1: 收信与理解(Receive & Understand)
- 拉取inbox pending任务
- 解析任务类型、优先级、截止时间
- 识别关联仓库(CNB/Gitee)
- 在群聊中确认收到 + 陈述理解(禁止只说"收到")
Phase 2: 方案讨论(Discuss & Plan)
- 在群聊中提出解决思路(技术方案/分步计划)
- 等待反馈或直接进入执行(P0任务不等待)
- 方案必须包含:影响范围、实施步骤、预期产出
Phase 3: 编码与提交(Code & Commit)
- 克隆/拉取目标仓库
- 创建feature分支
- 编写代码/修改配置
- 本地测试验证
- git commit(消息格式:
[worker-id] 简述 (#issue号)) - git push到远程
Phase 4: PR与合并(PR & Merge)
- 创建Pull Request(描述含:做了什么、为什么、测试结果)
- 通知群聊PR已提交
- 等待review或自动合并
- 合并后清理分支
Phase 5: 汇报与日志(Report & Log)
- 群聊发送进度汇报(含PR链接/commit hash)
- 更新worklog.md
- 标记inbox任务为done
- 如有异常,同步报告
强制规则
- 禁止空回复 — "收到""好的""了解"等单句回复无效
- 必须有代码产出 — 每个任务必须产生至少1个commit
- PR必须有意义 — 不允许空PR或仅修改注释的PR
- 汇报必须具体 — 包含:做了什么、推送到哪、链接是什么
- 超时自动降级 — 超过截止时间未完成,自动降低performance_score
工人-仓库映射
| 工人 | CNB仓库 |
|---|---|
| 铁手D (openclaw-d) | cnbll/npc-tieshou-d |
| 曹锋H (openclaw-h) | cnbll/npc-caofeng-h |
| 飞仔C (openclaw-c) | cnbll/npc-feizai-c |
| 纳瓦尔E (openclaw-e) | cnbll/npc-nawar-e |
| 潮汐U (openclaw-u) | cnbll/npc-chaoti-u |
| 晓瑜F (openclaw-f) | cnbll/npc-xiaoyu-f |
| 哨兵B (openclaw-b) | cnbll/npc-shaobing-b |
| 码灵 (maling) | cnbll/npc-maling |
轮值制度
当前小时 % 7 决定轮值工人: 0=铁手D, 1=曹锋H, 2=飞仔C, 3=纳瓦尔E, 4=潮汐U, 5=晓瑜F, 6=哨兵B
轮值工人有最高优先响应义务,30分钟内必须产生第一个commit。
脚本
scripts/closed-loop-worker.py— 闭环执行器(接收任务→执行→汇报)
API端点
- 群聊: POST
https://mochi-d7givmyljc62b4c53.service.tcloudbase.com/memory-store/messages - Inbox: GET/PATCH
https://mochi-d7givmyljc62b4c53.service.tcloudbase.com/memory-store/inbox - CNB Git:
https://cnb.cool/cnbll/{repo} - CNB API:
https://api.cnb.cool/cnbll/{repo}/-/issues
Current listing version
1.0.1
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
缺少When to Use章节 Reported severity: Minor
文档中缺少明确的When to Use使用场景说明
Recommendation: 建议添加When to Use章节,明确说明在什么情况下使用此Skill
Highlights
- 定义了完整的AI工人任务闭环工作流,从收信到代码提交的完整流程
- 适用于团队协作开发场景,能显著提升任务交付效率
- 具有明确的实用价值和广泛的应用场景
Areas to improve
-
触发词可以更具体 Reported severity: Minor
部分触发条件描述可以更具体明确
Recommendation: 建议细化触发条件的具体参数和边界条件
Highlights
- 触发条件描述清晰完整,包含多种触发方式
- 边界清晰,覆盖inbox任务、群聊@提及、CEO广播、轮值时间窗口等场景
- 触发词精准完整,覆盖多种变体
Areas to improve
-
文档较长 Reported severity: Minor
文档内容较长,超过500行
Recommendation: 建议适当精简文档内容,或将部分内容拆分为多个文件
Highlights
- Phase划分清晰,每个阶段都有明确的步骤和出口条件
- 包含端到端示例,frontmatter完整
- 文档结构良好,易于理解和执行
Areas to improve
-
部分异常未覆盖 Reported severity: Minor
部分异常情况处理不够完善
Recommendation: 建议增加更多异常情况的处理机制
Highlights
- 工具来源明确(CNB/Gitee),参数正确
- 覆盖主要异常(超时自动降级)
- 不可逆操作有确认机制(群聊确认)
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.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- api.cnb.cool
- cnb.cool
- mochi-d7givmyljc62b4c53.service.tcloudbase.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
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.