Skip to content
Back to skills

Draft Agreement

ASecurity

Draft a new agreement or PRC litigation document from deal terms — bilingual PRC-first contracts (NDA, services, license, employment and other commercial agreements) built from the clause library, plus PRC 文书生成 (民事起诉状 / 答辩状 skeletons per Civil Procedure Law formalities). Use when the user supplies a term sheet, deal points, or case facts and wants a complete first draft (起草合同 / 合同起草 / 文书生成 / draft an NDA). For reviewing an existing contract use /review-contract instead.

  • 19 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added August 31, 2026
ai-agentsgo

Works with

  • cli

Security analysis

A100/100

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

Scanned November 12, 2026

npx -y skills add WenzhuoXu/lawgent --skill draft-agreement --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Draft Agreement?

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

Security grade badge for Draft Agreement
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wenzhuoxu-draft-agreement/badge)](https://www.skillsdirectory.com/skills/wenzhuoxu-draft-agreement)

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: draft-agreement
description: Draft a new agreement or PRC litigation document from deal terms — bilingual PRC-first contracts (NDA, services, license, employment and other commercial agreements) built from the clause library, plus PRC 文书生成 (民事起诉状 / 答辩状 skeletons per Civil Procedure Law formalities). Use when the user supplies a term sheet, deal points, or case facts and wants a complete first draft (起草合同 / 合同起草 / 文书生成 / draft an NDA). For reviewing an existing contract use /review-contract instead.
argument-hint: "<term sheet / deal terms / case facts> [--type nda|services|license|employment|起诉状|答辩状] [--side <party>] [--language zh|en|bilingual]"
allowed_connectors: ["pkulaw_*"]
rag_collections: [general]
---

# /draft-agreement — Agreement & PRC Filing Drafting

Produce a complete, clause-annotated first draft as a `.docx` artifact,
with the drafting decisions stated alongside it; the prose lives in the
document.

**Not legal advice.** Drafts must be reviewed and adapted by qualified
counsel before signature or filing.

## Output Contract (binding)

As a specialist, emit the harness's bundle contract (Findings · Issues ·
Artefacts · Out of scope · Sources), supplied with your task.

## Artefacts

The draft header block — `path` (absolute .docx under outputs/), `type`, `language` (controlling version stated), `clauses`, `basis_verified`.

## Clause-basis contract (binding)

- Every operative clause carries a **法律依据** (legal basis): statute /
  regulation + pinpoint (第N条 / art. / §), recorded in the draft's
  `Drafting Notes` annex and rolled up into the bundle `Sources`.
- PRC statutory pinpoints are re-verified before the draft is emitted —
  `legal_fetch` of the official statute text (`legal_search` jurisdiction
  CN), or `pkulaw_citation_validator` where held. Unverifiable → `pinpoint unavailable` inline, and the clause
  is softened, never propped up by an invented article number.
- Clause ids reuse the `/review-contract` clause buckets, so a
  draft → review round-trip shares vocabulary.
- Mandatory-content rules (e.g. statutory required terms for employment
  or filings) are checked as a gate, not a suggestion: a missing
  mandatory item is a `risk` Finding even if the client did not ask.

## Inputs

- **Deal terms** — term sheet, bullet points, or prior correspondence;
  for filings, the case facts, parties, and requested relief (诉讼请求).
- **Type** — contract family or PRC filing type; propose one if absent.
- **Side** the draft favours (discloser / recipient, licensor / licensee,
  employer / employee, 原告 / 被告) and risk posture.
- **Jurisdiction + governing law** (PRC default per general playbook §0)
  and **language** — zh, en, or bilingual; for PRC-law-governed bilingual
  drafts the Chinese version controls unless instructed otherwise.

## Workflow

1. Read the general playbook §0–§3a and the active domain-pack playbook;
   confirm type, side, governing law, and language before drafting.
2. Build the clause plan: start from the matching preset in
   `resources/clause_library/` (or `resources/prc_filings/` skeletons for
   起诉状 / 答辩状), then add / drop clauses per the deal terms. Never
   draft from memory of "typical" contracts when a library entry exists.
3. Draft clause-by-clause: adapt library text to the deal terms, keep the
   clause's `legal_basis` current, and record every deviation from the
   library default as a Finding with its rationale.
4. Verify each 法律依据 per the clause-basis contract above; check
   mandatory-content rules for the type (see `references/methodology.md`).
5. Assemble with `write_docx`: title page, operative clauses in plan
   order, signature / 具状人 block, then a `Drafting Notes` annex listing
   each clause's basis and open points. State the controlling language.
   A filing (起诉状 / 答辩状 / 上诉状) or anything to be served or signed takes
   `disclaimer="none"` with a `disclaimer_reason`; an AI notice never sits in
   an instrument.
6. Sanity check per general playbook §3; the automatic `/cite-check`
   gate runs on the final answer — never bypass it. Then emit the bundle.

## Pointers

- Full methodology — intake, clause-plan discipline, bilingual /
  controlling-language rules, PRC mandatory-content checks, filing
  formalities, QA: `references/methodology.md`.
- Clause presets: `resources/clause_library/` (schema in its `README.md`);
  filing skeletons: `resources/prc_filings/`.
- Authority hierarchy + citation: `/playbook/general_playbook.md` §0 + §2;
  document production defaults §7.
- When the **aviation** pack is active, also apply
  `/domains/aviation/overlays/draft-agreement.md`.

Draft language follows the user and the deal; reasoning and tool calls
may use whichever language fits the material.

Files in this skill

  • SKILL.md5.2 KB
  • references/methodology.md7.5 KB
  • resources/clause_library/README.md1.7 KB
  • resources/clause_library/employment.yaml8.1 KB
  • resources/clause_library/license.yaml8 KB
  • resources/clause_library/nda.yaml9.3 KB
  • resources/clause_library/services.yaml9.8 KB
  • resources/prc_filings/README.md1.3 KB
  • resources/prc_filings/dabianzhuang.md1.6 KB
  • resources/prc_filings/qisuzhuang.md2.4 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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.