regulation-engine
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 "regulation-engine" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-5528c88310c05e40a3a434e391720287bbf94f9748e1a1dcf2d2bfda68601e8f. Verify the upstream source and version against https://skillhub.cn/skills/user_3ef96d5c/regulation-engine 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
Regulation analysis engine. Scans regulatory sources, structures documents into a standard format, and maintains compliance law libraries with lifecycle tracking.
Introduction source: third_party · user_3ef96d5c · 1.0.1 Reference
SkillPi interpretation
- Tasks
- Intelligent regulation analysis engine: scan regulatory sources, structure docs into standard format, maintain compliance law libraries with lifecycle tracking.
- Audience
- Translation pending; see source documentation.
- Software, accounts and paid services
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: regulation-engine
description: "Intelligent regulation analysis engine: scan regulatory sources, structure docs into standard format, maintain compliance law libraries with lifecycle tracking."
metadata:
version: 2.0.0
author: hecatexiong
license: MIT
homepage: https://iwiki.woa.com/p/4021840070
tags:
- compliance
- regulation
- finance
- legal
- monitoring
platforms:
- iwiki
- notion
- local-file
allowed-tools:
- exec
- read
- write
- edit
- web_fetch
- web_search
- pdf
- cron
- message
- sessions_spawn
- sessions_yieldregulation-engine · 智能法规分析体系
一套通用法规分析引擎:巡检 → 整理 → 建库,三合一。
触发条件
用户意图涉及"法规""监管""合规"相关内容时激活本 skill。
能力模块
| 模块 | 入口关键词 | 说明 |
|---|---|---|
| 巡检(radar) | "法规雷达""有什么新法规""巡检" | 定时/手动扫描监管数据源,发现新法规并推送 |
| 整理(organizer) | "整理XX法规""帮我分析这个文件" | 对单篇法规进行结构化整理,输出标准化文档 |
| 建库(library) | "更新法规库""把XX加入体系""更新索引" | 维护法规体系框架索引页,管理子页生命周期 |
调用路由
用户触发 → 读取 profile(profiles/<instance>/profile.md)
→ 判断意图:
├─ 巡检类 → engine/radar.md
├─ 整理类 → engine/organizer.md(先执行 Step 0 分级)
├─ 建库类 → engine/library.md
└─ 配置类 / 无 profile → 首次配置引导(见下文)
首次配置引导
当检测到 profiles/ 下无实例配置时,自动启动交互式引导:
- 业务身份:主体名称 + 业务类型 + 关联主体
- 监控范围:关注哪些监管机构?(给常见选项 + 自定义)
- 法规库位置:iWiki docid / 新建 / 其他平台
- 业务线分类:参考已有分类 + 自定义
- 推送配置:渠道 + 目标 + 时间(可选,跳过则手动触发)
引导完成 → 自动生成 profiles/<instance>/profile.md → 确认 → 可用。
快速批量配置:直接复制
profiles/_template.md填写,跳过交互。
❗ 运行时分叉必须主动问询(强制,适用所有模块)
凡是 skill 里存在“模式 / 逻辑 / 方案”分叉的环节,运行时必须主动把选项摆出来、引导用户选择,不得擅自默认。
- 用户不会预先知道这些分叉的存在,“默认沉默选一个”等于替用户做了他不知情的决定。
- 分叉场景包括但不限于:
- 建库:索引页组织方式(方式A 按业务线 / 方式B 按效力层级 / 两者并存)
- 整理:多篇拆分 vs 合并为一篇(子页内容量大时)
- 整理:分析视角 / 主体范围(若 profile 未明确)
- 取不到的子页/附件如何处理(跳过标注待补 vs 等用户提供)
- 问询方式:先读出模板/profile 里的准确选项(不凭印象),用一句话列出每个选项的适用场景 + 推荐项,让用户一句话能选。
- 仅当 profile 里已明确预设该选择时,才可不重复问(但须在交付时告知“按 profile 预设的…执行”)。
通用规则引用
各模块共享的原则和标准不在模块内重复,统一引用:
- 核心原则 →
guides/principles.md - 分级标准 →
guides/classification.md - 工具备忘 →
guides/tools-notes.md - 子agent硬约束清单 →
engine/subagent-checklist.md
❗ 子agent 整理规范(强制)
当需要用子agent并行整理多篇法规时,必须遵循以下规范:
前置约束:子agent task 最小指令模板
派发给子agent 的 task 必须包含以下内容(缺一不可):
1. 强制引用:"整理前先读并严格遵循 {skill绝对路径}/engine/subagent-checklist.md"
2. 主体名称:明确写出“主体:XXX”
3. 分析视角:给出 profile 中的分析视角提示词原文
4. 源文件列表:每篇的路径 + 一句话说明
5. 输出路径:每篇整理稿的保存位置
后置验收:主 agent 收回后质检
子agent 产出收回后,主 agent 必须在发布到 iWiki 之前执行质检:
检查项(逐篇核对,任一不通过则补正后再发布):
| # | 检查项 | 判定方式 |
|---|---|---|
| 1 | 分级已标注 | 文档前部是否有“分级:🔴/🟠/🟡”明确标注 |
| 2 | 诊断标签已标注 | 文档前部是否有“诊断标签:📋/🔄/🔗/🆕”明确标注 |
| 3 | 三大板块职责边界 | “主要内容”部分不含分析性语言;“合规影响分析”不复述条文 |
| 4 | Q&A 数量 | A级≥5条、B级≥5条、C级可无 |
| 5 | 命名格式 | 标题含法规全称 + 发布机构 + 文号/编号 + 年份 |
| 6 | 分析视角一致 | 影响分析/Q&A 是否基于指定主体视角 |
| 7 | 信息交叉检验表 | 是否存在 |
补正范围:
- 缺分级/标签:主 agent 根据 profile 和法规内容直接补上
- 板块越线:主 agent 将越线内容移动到正确板块
- Q&A 不足:主 agent 补充到最低数量
- 命名不规范:发布时用正确标题覆盖
ℹ️ 质检不需要逻字审核,只查结构性合规。内容准确性依赖 subagent-checklist 中的“必须核对源文件原文”约束。
文件索引
regulation-engine/
├── SKILL.md ← 你在这里
├── engine/
│ ├── radar.md ← 巡检能力流程
│ ├── organizer.md ← 整理能力流程(七步)
│ ├── library.md ← 建库能力流程
│ └── subagent-checklist.md ← 子agent整理硬约束清单
├── templates/
│ ├── doc-A.md ← A级(完整)整理模板
│ ├── doc-B.md ← B级(标准)整理模板
│ ├── doc-C.md ← C级(简版)整理模板
│ ├── framework-index.md ← 框架索引页模板
│ └── radar-output.md ← 巡检推送格式模板
├── guides/
│ ├── principles.md ← 核心原则(去重,唯一来源)
│ ├── classification.md ← 法规分级标准(A/B/C)
│ └── tools-notes.md ← iWiki/mcporter 操作备忘
├── tracking/
│ └── README.md ← 埋点方案
├── scripts/
│ └── track.sh ← 埋点上报脚本
└── profiles/
└── _template.md ← 空白配置模板(用户建库时复制此文件创建自己的 profile)
埋点上报(强制)
在以下节点完成后,立即调用 scripts/track.sh 上报:
| 节点 | 事件 | 参数示例 |
|---|---|---|
| 任一能力被触发 | skill_invoked |
intent=radar profile_id=cft |
| 新用户完成配置 | profile_created |
profile_id=wphk |
| 巡检跑完 | radar_scan_completed |
sources_checked=7 new_found=2 status=success |
| 整理完成 | doc_organized |
grade=A duration_minutes=5 regulation_id=cap584 |
| 索引页更新 | library_updated |
action=add total_count=5 |
| 任何异常 | task_failed |
phase=organizer error_type=pdf_extract error_message="timeout" |
上报时机为“完成后立即”,不阻塞主流程。失败时静默忽略(不影响用户体验)。
Current listing version
1.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供智能法规分析引擎,涵盖巡检、整理、建库三大核心模块
- 面向合规、监管、法律等高频刚需场景,具有明确实际价值和广泛受众
Highlights
- 触发条件描述清晰,模块入口关键词明确,覆盖合理
Highlights
- Phase/步骤清晰,有调用路由和首次配置引导,含端到端示例和文件索引
Highlights
- 工具来源明确,参数正确,覆盖主要异常,不可逆操作有确认机制
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.
- iwiki.woa.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Translation pending; see source documentation.
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.