Skip to content
Back to skills

Compliance Checker Zx

ASecurity

提供10个包含真实算法实现的合规检查工具,覆盖倒排索引+TF-IDF法规检索、多因子风险评估模型、K-匿名/L-多样性/T-接近性数据脱敏、隐私影响评估(PIA)、合同智能分析等合规领域核心算法。

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 25, 2026
toolspython

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 25, 2026

npx -y skills add CSlawyer1985/legal-skillhub --skill compliance-checker-zx --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Compliance Checker Zx?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Compliance Checker Zx
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cslawyer1985-compliance-checker-zx/badge)](https://www.skillsdirectory.com/skills/cslawyer1985-compliance-checker-zx)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: compliance-checker-zx
displayName: 行业合规工具
summary: 10个高级合规算法:合同智能分析/法规检索(倒排索引+TF-IDF)/多因子风险评估/合规清单/PIA隐私影响评估/K-匿名-L-多样性-T-接近性数据脱敏/法规术语解释/条款生成/义务追踪/合规报告
tags:
  - compliance
  - legal
  - audit
  - privacy
  - data-anonymization
version: 2.0.0
language: python
---

# 行业合规工具 (compliance-checker-zx)

## 描述

提供10个包含真实算法实现的合规检查工具,覆盖倒排索引+TF-IDF法规检索、多因子风险评估模型、K-匿名/L-多样性/T-接近性数据脱敏、隐私影响评估(PIA)、合同智能分析等合规领域核心算法。

## 功能

1. **合同智能分析** - 正则解析+规则引擎+条件判断树,提取当事人/金额/期限/违约/争议
2. **法规检索引擎** - 倒排索引+TF-IDF评分+短语匹配+法规层级权重
3. **风险评估模型** - 多因子加权+sigmoid非线性变换+5级分类+风险矩阵
4. **合规清单生成器** - 行业匹配+规模筛选+检查项生成+优先级排序
5. **隐私影响评估(PIA)** - 4维度评估(数据最小化/目的限制/存储限制/安全性)+缓解措施
6. **数据脱敏器** - K-匿名(泛化+抑制)+L-多样性+T-接近性(EMD)三种匿名化模型
7. **法规术语解释器** - 术语词典+上下文消歧+相关法规引用
8. **合规条款生成器** - 模板引擎+参数插值+法律条款库+管辖区适配
9. **合规义务追踪器** - 指数衰减紧急度模型+优先级排序+SLA监控
10. **合规报告生成器** - 数据聚合+加权风险评分+Markdown/HTML双格式

## 使用

```python
from main import contract_analyzer, regulation_search_engine, data_anonymizer

result = contract_analyzer(contract_text)
results = regulation_search_engine("个人信息保护", reg_db, top_k=5)
anon = data_anonymizer(data, {"k": 5, "l": 3, "t": 0.2}, ["disease"])
```

## 依赖

无外部依赖,仅使用Python标准库。

Files in this skill

  • README.md4.1 KB
  • SKILL.md2 KB
  • main.py60.2 KB
  • requirements.txt88 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…