doubao-dpa-drafter

Drafts China-compliant data processing agreements with legal analysis and Word output.

2|Updated Aug 9, 2026
One-click install
npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill doubao-dpa-drafter-deepjh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doubao-dpa-drafter
Source: https://github.com/DeepJH/doubao-skill-and-info/tree/main/skills/doubao-dpa-drafter
Command: npx skills add https://github.com/DeepJH/doubao-skill-and-info --skill doubao-dpa-drafter-deepjh

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Drafting data processing agreements (DPA) under China's Personal Information Protection Law requires correctly classifying the processing relationship, applying the right legal rules, and allocating responsibilities between parties. This Skill guides the AI through a structured legal workflow to produce signable, responsibility-clear DPA documents instead of mechanically copying templates. ## Core Features & Use Cases - Relationship Classification: Distinguishes entrusted processing, external provision, and joint processing through targeted questions before drafting, preventing role mischaracterization. - Rule Trigger Analysis: Identifies triggered obligations such as PIA assessments, separate consent, sensitive personal information rules, and cross-border transfer requirements, then maps each to concrete contract clauses. - Guided Drafting with References: Uses type-specific drafting guides, statutory definition libraries, and review checklists to produce complete agreements with annexes, then formats output as Word documents via a python-docx script. - Use Case: A company outsourcing customer service to a vendor asks for a DPA; the Skill asks one round of clarifying questions, analyzes applicable PIPL rules, and outputs a balanced entrusted-processing agreement as a formatted .docx file. ## Quick Start Ask the AI to draft a data processing agreement for your scenario, describing both parties' roles, the data involved, and whether sensitive information or cross-border transfer is present.

Frequently Asked Questions about doubao-dpa-drafter

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

FAQPage Schema
How do I draft a data processing agreement under China's PIPL?

Describe your business scenario including both parties' roles, data types, and data flows. The Skill asks one round of clarifying questions to classify the relationship as entrusted processing, external provision, or joint processing, then drafts a complete agreement with annexes.

What is the difference between entrusted processing and external data provision?

In entrusted processing, the recipient processes data only per the entrusting party's instructions with no independent purpose. In external provision, the recipient is an independent handler processing data for its own business purposes, which triggers separate consent under PIPL Article 23.

Does a DPA require a personal information protection impact assessment?

Yes, almost all DPA scenarios trigger PIA obligations under PIPL Article 55, including entrusted processing, providing data to others, sensitive information handling, and cross-border transfers. The Skill identifies the responsible party and includes PIA clauses in the contract.

Can this Skill handle cross-border data transfer clauses?

Yes, it analyzes cross-border factors, asks about data volume and CIIO status to determine the compliance path, and allocates responsibilities based on which party initiates the transfer. It distinguishes Article 23 and Article 39 separate consent requirements.

What output format does the DPA drafting produce?

The Skill outputs a legal analysis summary followed by the full contract text, then converts it to a formatted Word document using a python-docx script with Song typeface, structured headings, tables, page numbers, and signature blocks.

When should I not use this DPA drafting skill?

Do not use it for general commercial contracts, contract review, or non-data-related agreements. It is scoped exclusively to data compliance agreements such as DPAs, entrusted processing, joint processing, and data provision agreements.