Data compliance reviewer

From sunyifeisb-art/legalwork · View interactive version

Data compliance reviewer is an AI agent skill from the GitHub repository sunyifeisb-art/legalwork. 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

How to use this skill

Skill file

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

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

For pasted text:

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:

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:

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

Bundled Resources

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:

Default code review covers:

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.