This skill produces contracts as
packages. Follow the
k2f skill for authoring: unpack or init a workspace, edit the semantic tree, run pack/verify, then export. K2F keeps agents on
meaning (articles, defined terms, exhibits, signature blocks)—not pixel coordinates—while the engine compiles layout, typography, and theme into consistent export-ready output.
Before you build, install the core skill:
npx skills add suzheng/k2f --skill k2f
.
Single blueprint for semantic content and aesthetic intent. Use labeled blocks the k2f skill can map to articles and pages later.
-
Agreement frame — Type (NDA, MSA, SOW, license, SaaS, procurement, etc.), effective date logic, and which party you draft for (supplier, customer, licensor, licensee). State governing jurisdiction and currency only if user provided. Omit entire article families the type does not need (e.g., skip payment schedules on a mutual NDA).
-
Parties & recitals — Legal names, entity types, addresses, and defined short names. Recitals: background facts from user inputs only—no invented deal size or strategic narrative. Flag missing signatory authority or entity details as
.
-
Defined terms block — Centralize capitalized terms used across articles (Services, Deliverables, Confidential Information, Fees). One definition per term; no duplicate glossaries in body text.
-
Clause architecture (include / cut / order) — Plan articles before drafting prose. Default stack; trim per frame:
- Scope / Services → Fees & payment → Term & termination → IP → Confidentiality → Data protection (or DPA exhibit pointer) → Warranties → Limitation of liability → Indemnification → Insurance → General (assignment, notices, force majeure, entire agreement, amendments, counterparts).
- Cut duplicate obligations and marketing language.
- Cross-link: liability cap vs indemnity; survival vs termination—no contradictions.
-
Commercial & risk allocation (user-sourced) — Payment, caps, indemnity, IP, termination, and data terms verbatim or TBD. Label playbook clauses must-have, negotiable, or placeholder—do not soften must-haves.
-
Exhibits & schedules — Move long tables (SOW milestones, SLA, DPA, pricing) to exhibits with stable labels (Exhibit A, Schedule 1). Body references exhibits by label; avoid orphan exhibits or terms defined only in attachments.
-
Execution block — Signature lines, name/title/date per party; witness/notary only if user requested. Match party order to the preamble.
-
Design intent — Formal document tone and hierarchy for the engine:
- Tone: precise, neutral, institution-grade; no sales voice inside operative articles.
- Hierarchy: agreement title and party block strongest on cover/first pages; article numbers (1, 1.1, 1.1(a)) as primary scan anchors; defined-terms section visually distinct; exhibits and signatures clearly terminal.
- Density: moderate legal density—short paragraphs, numbered lists for obligations; avoid wall-of-text articles; tables for fees and deliverables only in exhibits.
- Palette: restrained neutrals, minimal accent (signature/date fields); high contrast for body text; WCAG AA; no decorative graphics that compete with clause numbers.