security-compliance-cn-data

Guide compliance with China's data protection laws and cross-border transfer assessments.

Updated May 28, 2026
One-click install
npx skills add https://github.com/SensLiao/Claude-code-setting --skill security-compliance-cn-data
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-compliance-cn-data
Source: https://github.com/SensLiao/Claude-code-setting/tree/main/skills/security-compliance-cn-data
Command: npx skills add https://github.com/SensLiao/Claude-code-setting --skill security-compliance-cn-data

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a comprehensive framework for ensuring compliance with China's data protection laws and regulations, including the Personal Information Protection Law (PIPL), Data Security Law (DSL), Cybersecurity Law (CSL), and various cross-border data transfer regulations.

Core Features & Use Cases

  • Legal Compliance Overlay: Offers guidance on applicable regulations for projects processing Chinese user personal information or with China-resident users.
  • Data Export Path Decision: Assists in determining the correct data export path according to regulatory requirements.
  • Data Classification and Lawful Basis: Provides guidance on data classification and lawful basis for data processing activities.
  • Notice and Consent Mechanism: Assists in designing privacy policies and consent mechanisms in compliance with PIPL.
  • Cross-border Transfer Assessment: Helps in evaluating the necessity and security of cross-border data transfers.

Quick Start

Activate the security-compliance-cn-data skill when processing Chinese user personal information or data export from China.

Frequently Asked Questions about security-compliance-cn-data

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure PIPL compliance when processing data from China-resident users?

To ensure PIPL compliance, you must classify data, establish a lawful processing basis, and implement proper notice and consent mechanisms. This framework guides you through these regulatory requirements for Chinese user personal information.

What is the correct data export path for cross-border data transfer from China?

The correct data export path depends on regulatory requirements and data classification. This framework helps evaluate the necessity and security of cross-border data transfers to determine the appropriate route.

How do I design a privacy policy and consent mechanism that aligns with China's Personal Information Protection Law?

Designing a PIPL-compliant consent mechanism requires clear notice regarding data processing activities. This framework assists in structuring privacy policies and consent flows that meet Chinese regulatory standards.

Do I need Python to assess DSL and CSL data security requirements for my project?

Yes, Python is required to run this compliance framework. It utilizes Python scripts and regulatory references to interpret Data Security Law and Cybersecurity Law requirements for your project.

What is the best way to classify data according to China's Data Security Law?

Data classification under the Data Security Law involves categorizing information based on its importance and sensitivity. This framework provides guidance on proper classification and identifying lawful processing bases.

When do I need a cross-border data transfer assessment for China compliance?

A cross-border data transfer assessment is needed when exporting data out of China. This framework helps evaluate transfer necessity and security to ensure compliance with applicable regulations.