Skip to content
Back to skills

Data Compliance Reviewer

ASecurity

Offline product-form skill for ComplianceAI. Use when the user wants to run data-compliance, privacy-policy, data-processing agreement, SDK/third-party sharing, cross-border transfer, or source-code compliance review without the web frontend. The skill outputs JSON and Markdown reports and uses its bundled Chinese data-compliance regulation knowledge base.

  • 57 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 11, 2026
securitypythonrustbashsqldatabasefrontendsecurity

Security analysis

A100/100

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

Scanned September 11, 2026

npx -y skills add sunyifeisb-art/legalwork --skill data-compliance-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Data Compliance Reviewer?

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

Security grade badge for Data Compliance Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/sunyifeisb-art-data-compliance-reviewer/badge)](https://www.skillsdirectory.com/skills/sunyifeisb-art-data-compliance-reviewer)

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: data-compliance-reviewer
description: Offline product-form skill for ComplianceAI. Use when the user wants to run data-compliance, privacy-policy, data-processing agreement, SDK/third-party sharing, cross-border transfer, or source-code compliance review without the web frontend. The skill outputs JSON and Markdown reports and uses its bundled Chinese data-compliance regulation knowledge base.
---

# Data Compliance Reviewer

Use this skill as the no-frontend form of the ComplianceAI product. It runs locally, reads an input file or text, applies rule-based compliance review, enriches findings with the bundled regulation knowledge base, and writes report files.

## Run

```bash
python3 skills/data-compliance-reviewer/scripts/run_review.py \
  --file /path/to/input.txt \
  --output-dir /path/to/output
```

For pasted text:

```bash
python3 skills/data-compliance-reviewer/scripts/run_review.py \
  --text-file /path/to/input.txt \
  --name "某 App 隐私政策" \
  --output-dir /path/to/output
```

For code review:

```bash
python3 skills/data-compliance-reviewer/scripts/run_review.py \
  --file /path/to/source.ts \
  --review-type code \
  --output-dir /path/to/output
```

## Outputs

The script always writes:

- `report.json`: structured risk report with statistics, findings, evidence, suggestions, and supporting regulations.
- `report.md`: human-readable Markdown report.
- `remediation_tasks.json`: prioritized engineering/legal remediation tasks.

The script prints a small JSON object containing the output paths.

## Bundled Resources

- `references/knowledge-base/local-regulations.sqlite3`: local searchable regulation database.
- `references/knowledge-base/regulations-md/`: Markdown regulation corpus for traceability and later maintenance.

Do not call the web app or desktop app for this workflow. This skill is a separate product form, not a packaging/release step.

## Review Scope

Default document review covers:

- notice and disclosure completeness
- purpose/scope/minimum necessity
- consent and separate consent
- sensitive personal information
- third-party sharing, SDK, entrusted processing
- cross-border transfer
- retention, deletion, account cancellation
- automated decision-making and profiling
- security measures and incident response

Default code review covers:

- hardcoded secrets or credentials
- plaintext HTTP endpoints
- personal-information collection without nearby consent/permission traces
- sensitive logging
- local persistence of personal or credential data
- dynamic execution or unsafe rendering surfaces

The report is an auxiliary compliance review artifact and does not replace legal advice or final legal judgment.

Files in this skill

  • SKILL.md2.6 KB
  • references/knowledge-base/README.md2.6 KB
  • references/knowledge-base/data-outbound/README.md396 B
  • references/knowledge-base/local-regulations-import-stats.json823 B
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/20241231国家数据基础设施建设指引-9d3abc1845.md29.9 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/2025年数字经济工作要点-b01611ac89.md1.1 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/​​国家互联网信息办公室关于公开征求《网络安全标识管理办法》-征求意见稿-意见的通知_中央网络安全和信息化委员会办公室-cc38ec3aae.md10.8 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《个人信息保护合规审计管理办法》-6d640cf14d.md23.9 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《互联网军事信息传播管理办法》-9a6abac31a.md23.1 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《人工智能安全标准体系-V1.0-》-240450a2cb.md41.1 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《人工智能科技伦理管理服务办法-试行-》-2960f0c6de.md5.5 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《公共数据资源授权运营实施规范-试行-》-63c3490a8a.md1.9 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《公共数据资源登记管理暂行办法》-eee525c119.md1.9 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《关于加强互联网数据中心客户数据安全保护的通知》-2105e7b5e3.md11 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《卫星网络国内协调管理办法-暂行-》-027352154b.md26 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《国家网络身份认证公共服务管理办法》-de72845fa3.md8.7 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《政务数据共享条例》-af97b59ed1.md20.2 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《智能制造典型场景参考指引-2025年版-》-8a9a620641.md18.3 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《智能社会发展与治理标准化指引-2025-版-》-58aa69f4a8.md22.6 KB
  • references/knowledge-base/regulations-md/一、国家法律、法规、规范文件/《汽车数据出境安全指引-2025-版-》-a7542f2463.md38.2 KB

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…