zcode-app-cli 3.3.5-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +24 -0
- package/README.md +642 -0
- package/bin/zcode.js +848 -0
- package/config.example.json +110 -0
- package/package.json +81 -0
- package/vendor/.node-bundle-meta.json +6 -0
- package/vendor/extraction.json +11 -0
- package/vendor/node_modules/@zcode/tui/dist/index.js +161875 -0
- package/vendor/node_modules/@zcode/tui/package.json +14 -0
- package/vendor/packages/android-emulator-plugin/.mcp.json +19 -0
- package/vendor/packages/android-emulator-plugin/.zcode-plugin/plugin.json +63 -0
- package/vendor/packages/android-emulator-plugin/README.md +134 -0
- package/vendor/packages/android-emulator-plugin/commands/android-dev.md +11 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/path.d.ts +4 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/path.js +17 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/result.d.ts +5 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/result.js +22 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/run.d.ts +18 -0
- package/vendor/packages/android-emulator-plugin/dist/lib/run.js +99 -0
- package/vendor/packages/android-emulator-plugin/dist/mcp/server.d.ts +3 -0
- package/vendor/packages/android-emulator-plugin/dist/mcp/server.js +47607 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/app.d.ts +39 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/app.js +50 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/avd.d.ts +37 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/avd.js +185 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/build.d.ts +68 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/build.js +131 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/config.d.ts +7 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/config.js +29 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/device.d.ts +20 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/device.js +91 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/logs.d.ts +15 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/logs.js +31 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/preflight.d.ts +15 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/preflight.js +123 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/project-template.d.ts +13 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/project-template.js +211 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/project.d.ts +33 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/project.js +195 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/screenshot.d.ts +14 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/screenshot.js +73 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/sdk.d.ts +14 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/sdk.js +185 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/ui.d.ts +92 -0
- package/vendor/packages/android-emulator-plugin/dist/providers/ui.js +146 -0
- package/vendor/packages/android-emulator-plugin/hooks/hooks.json +3 -0
- package/vendor/packages/android-emulator-plugin/package.json +35 -0
- package/vendor/packages/android-emulator-plugin/skills/android-dev/INSTALL_ENVIRONMENT.md +357 -0
- package/vendor/packages/android-emulator-plugin/skills/android-dev/SKILL.md +73 -0
- package/vendor/packages/android-emulator-plugin/templates/compose-app/README.md +5 -0
- package/vendor/packages/document-skills-plugin/.zcode-plugin/plugin.json +8 -0
- package/vendor/packages/document-skills-plugin/package.json +8 -0
- package/vendor/packages/document-skills-plugin/skills/docx/LICENSE.txt +13 -0
- package/vendor/packages/document-skills-plugin/skills/docx/SKILL.md +201 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/chart-templates.md +386 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/common-rules.md +419 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/decorations.md +537 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/design-system.md +1797 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/docx-js-advanced.md +257 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/docx-js-core.md +332 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/faq.md +323 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/math-formulas.md +276 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/ooxml.md +222 -0
- package/vendor/packages/document-skills-plugin/skills/docx/references/toc.md +264 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/comment.md +88 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/create.md +207 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/edit.md +115 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/format.md +120 -0
- package/vendor/packages/document-skills-plugin/skills/docx/routes/read.md +114 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/academic.md +783 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/contract.md +463 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/copywriting.md +139 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/exam.md +698 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/official-doc.md +411 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/report.md +340 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scenes/resume.md +534 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/__init__.py +1 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/add_toc_placeholders.py +749 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/document.py +1333 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/postcheck.py +807 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/templates/comments.xml +3 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/templates/commentsExtended.xml +3 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/templates/commentsIds.xml +3 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/templates/people.xml +3 -0
- package/vendor/packages/document-skills-plugin/skills/docx/scripts/utilities.py +374 -0
- package/vendor/packages/document-skills-plugin/skills/docx/setup.sh +177 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/LICENSE.txt +13 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/SKILL.md +919 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/academic.md +1058 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/creative.md +770 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/poster.md +702 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/process-advanced.md +284 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/process.md +319 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/briefs/report.md +1659 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/configs/components.md +153 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/configs/fonts.md +93 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/configs/visual_framework.md +263 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/references/resume-academic.tex +130 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/references/resume-altacv.tex +190 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/cover_validate.js +367 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/design_engine.py +2816 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/html2pdf-next.js +754 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/html2poster.js +256 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/pdf.py +2959 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/pdf_qa.py +901 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/poster_validate.py +1337 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/setup.sh +269 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/scripts/toc_validate.py +2075 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/charts.md +320 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/cover-backgrounds.md +384 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/cover.md +1442 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/fill-engine.md +527 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/geometry.md +142 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/overflow.md +630 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/pagination.md +367 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/palette.md +217 -0
- package/vendor/packages/document-skills-plugin/skills/pdf/typesetting/typography.md +20 -0
- package/vendor/packages/ios-simulator-plugin/.mcp.json +15 -0
- package/vendor/packages/ios-simulator-plugin/.zcode-plugin/plugin.json +34 -0
- package/vendor/packages/ios-simulator-plugin/README.md +111 -0
- package/vendor/packages/ios-simulator-plugin/commands/ios-dev.md +11 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/path.d.ts +4 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/path.js +18 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/result.d.ts +5 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/result.js +20 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/run.d.ts +17 -0
- package/vendor/packages/ios-simulator-plugin/dist/lib/run.js +83 -0
- package/vendor/packages/ios-simulator-plugin/dist/mcp/server.d.ts +3 -0
- package/vendor/packages/ios-simulator-plugin/dist/mcp/server.js +46833 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/build.d.ts +112 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/build.js +99 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/logs.d.ts +21 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/logs.js +26 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/preflight.d.ts +12 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/preflight.js +62 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/project.d.ts +35 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/project.js +288 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/screenshot.d.ts +22 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/screenshot.js +30 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/sim.d.ts +60 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/sim.js +116 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/ui.d.ts +57 -0
- package/vendor/packages/ios-simulator-plugin/dist/providers/ui.js +67 -0
- package/vendor/packages/ios-simulator-plugin/hooks/hooks.json +3 -0
- package/vendor/packages/ios-simulator-plugin/package.json +35 -0
- package/vendor/packages/ios-simulator-plugin/skills/ios-dev/SKILL.md +45 -0
- package/vendor/packages/ios-simulator-plugin/templates/swiftui-app/README.md +5 -0
- package/vendor/packages/restore-legacy-sessions-plugin/.zcode-plugin/plugin.json +9 -0
- package/vendor/packages/restore-legacy-sessions-plugin/README.md +35 -0
- package/vendor/packages/restore-legacy-sessions-plugin/commands/restore-legacy-sessions.md +11 -0
- package/vendor/packages/restore-legacy-sessions-plugin/package.json +8 -0
- package/vendor/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions/SKILL.md +92 -0
- package/vendor/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions/scripts/restore-conversation.mjs +648 -0
- package/vendor/packages/restore-legacy-sessions-plugin/skills/restore-legacy-sessions/scripts/scan-legacy-sessions.mjs +422 -0
- package/vendor/packages/skill-creator-plugin/.zcode-plugin/plugin.json +8 -0
- package/vendor/packages/skill-creator-plugin/package.json +8 -0
- package/vendor/packages/skill-creator-plugin/skills/skill-creator/SKILL.md +159 -0
- package/vendor/packages/zcode-guide-plugin/.zcode-plugin/plugin.json +8 -0
- package/vendor/packages/zcode-guide-plugin/README.md +22 -0
- package/vendor/packages/zcode-guide-plugin/package.json +8 -0
- package/vendor/packages/zcode-guide-plugin/skills/diagnosing-commands/SKILL.md +66 -0
- package/vendor/packages/zcode-guide-plugin/skills/diagnosing-hooks/SKILL.md +66 -0
- package/vendor/packages/zcode-guide-plugin/skills/diagnosing-mcp/SKILL.md +97 -0
- package/vendor/packages/zcode-guide-plugin/skills/diagnosing-plugins/SKILL.md +59 -0
- package/vendor/packages/zcode-guide-plugin/skills/diagnosing-skills/SKILL.md +61 -0
- package/vendor/packages/zcode-guide-plugin/skills/zcode-configuration-guide/SKILL.md +99 -0
- package/vendor/zcode.cjs +2926 -0
- package/zcode-runtime.lock.json +8 -0
|
@@ -0,0 +1,463 @@
|
|
|
1
|
+
# Scene: Contract / Agreement
|
|
2
|
+
|
|
3
|
+
## Goal
|
|
4
|
+
|
|
5
|
+
Generate a complete, formal, well-structured legal document with clear clauses, rigorous logic, and proper formatting. Must simultaneously meet:
|
|
6
|
+
- Complete structure, clear clauses, formal language, explicit responsibilities
|
|
7
|
+
- Identifiable risk boundaries, proper Word formatting
|
|
8
|
+
- Ready for review, revision, circulation, or signing preparation
|
|
9
|
+
|
|
10
|
+
**Forbidden:** Producing outlines-only / sample clauses / drafting advice / risk summaries; outputting chat-style explanations or filler phrases.
|
|
11
|
+
|
|
12
|
+
→ Font profile: **A (Formal)** — see `references/common-rules.md`
|
|
13
|
+
→ Default layout: standard margins — see `references/common-rules.md`
|
|
14
|
+
→ Placeholder convention & universal prohibitions — see `references/common-rules.md`
|
|
15
|
+
|
|
16
|
+
---
|
|
17
|
+
|
|
18
|
+
## Contract Type Routing
|
|
19
|
+
|
|
20
|
+
```js
|
|
21
|
+
function selectContractType(keywords, topic) {
|
|
22
|
+
if (/confidential|NDA|non-disclosure/.test(keywords)) return "nda";
|
|
23
|
+
if (/transfer|equity|asset|rights/.test(keywords)) return "transfer";
|
|
24
|
+
if (/framework|strategic|cooperation agreement/.test(keywords)) return "framework";
|
|
25
|
+
if (/terms|platform rules|user agreement|privacy/.test(keywords)) return "terms";
|
|
26
|
+
return "bilateral"; // default: bilateral commercial contract
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
### 5 Contract Types
|
|
31
|
+
|
|
32
|
+
| Type | Use Case | Structure Focus |
|
|
33
|
+
|------|----------|----------------|
|
|
34
|
+
| bilateral | Service/sale/development/procurement contracts | Subject → Consideration → Performance → Acceptance → Breach → Dispute |
|
|
35
|
+
| transfer | Equity/debt/asset/rights transfer | Subject → Consideration → Closing & Registration → Representations → Tax |
|
|
36
|
+
| nda | Non-disclosure agreements | Definition of Confidential Info → Obligations → Use Restrictions → Exceptions → Duration |
|
|
37
|
+
| framework | Cooperation framework / strategic alliance | Scope → Division of Work → Mechanism → Subsequent Agreements |
|
|
38
|
+
| terms | Platform rules / Terms of Service / User agreements | Definitions → Services → Rights & Obligations → Liability Limits → Amendments |
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
## Standard Template Structures
|
|
43
|
+
|
|
44
|
+
### Template A: Bilateral Commercial Contract
|
|
45
|
+
1. Header (title, contract number, date, location)
|
|
46
|
+
2. Party Information (Party A, Party B)
|
|
47
|
+
3. Recitals ("Whereas" clauses)
|
|
48
|
+
4. Definitions & Interpretation
|
|
49
|
+
5. Subject Matter & Scope of Services/Delivery
|
|
50
|
+
6. Contract Price & Payment Terms
|
|
51
|
+
7. Rights & Obligations of Both Parties
|
|
52
|
+
8. Timeline, Delivery & Acceptance
|
|
53
|
+
9. Invoicing, Tax & Settlement
|
|
54
|
+
10. Intellectual Property & Confidentiality
|
|
55
|
+
11. Representations & Warranties (if applicable)
|
|
56
|
+
12. Liability for Breach
|
|
57
|
+
13. Force Majeure
|
|
58
|
+
14. Termination & Dissolution
|
|
59
|
+
15. Notices & Service
|
|
60
|
+
16. Dispute Resolution
|
|
61
|
+
17. Miscellaneous
|
|
62
|
+
18. Signature Block
|
|
63
|
+
|
|
64
|
+
### Template B: Rights Transfer Agreement
|
|
65
|
+
1. Header & Parties
|
|
66
|
+
2. Recitals
|
|
67
|
+
3. Definitions & Interpretation
|
|
68
|
+
4. Subject of Transfer
|
|
69
|
+
5. Consideration & Payment Arrangement
|
|
70
|
+
6. Closing & Registration/Transfer
|
|
71
|
+
7. Representations & Warranties
|
|
72
|
+
8. Tax Allocation
|
|
73
|
+
9. Liability for Breach
|
|
74
|
+
10. Dispute Resolution
|
|
75
|
+
11. Miscellaneous
|
|
76
|
+
12. Signature Block
|
|
77
|
+
|
|
78
|
+
### Template C: Non-Disclosure Agreement (NDA)
|
|
79
|
+
1. Header & Parties
|
|
80
|
+
2. Recitals
|
|
81
|
+
3. Definition of Confidential Information
|
|
82
|
+
4. Confidentiality Obligations
|
|
83
|
+
5. Use Restrictions
|
|
84
|
+
6. Return, Deletion & Destruction of Information
|
|
85
|
+
7. Exceptions
|
|
86
|
+
8. Confidentiality Period
|
|
87
|
+
9. Liability for Breach
|
|
88
|
+
10. Dispute Resolution
|
|
89
|
+
11. Miscellaneous
|
|
90
|
+
12. Signature Block
|
|
91
|
+
|
|
92
|
+
### Template D: Framework / Cooperation Agreement
|
|
93
|
+
1. Header & Parties
|
|
94
|
+
2. Recitals
|
|
95
|
+
3. Purpose & Principles
|
|
96
|
+
4. Scope of Cooperation
|
|
97
|
+
5. Division of Work & Responsibilities
|
|
98
|
+
6. Project Advancement Mechanism
|
|
99
|
+
7. Commercial Arrangements / Subsequent Agreements
|
|
100
|
+
8. Confidentiality, IP & Compliance
|
|
101
|
+
9. Term, Amendment & Termination
|
|
102
|
+
10. Liability for Breach
|
|
103
|
+
11. Dispute Resolution
|
|
104
|
+
12. Miscellaneous
|
|
105
|
+
13. Signature Block
|
|
106
|
+
|
|
107
|
+
### Template E: Unilateral Terms / Platform Rules
|
|
108
|
+
1. Document Title
|
|
109
|
+
2. Definitions & Scope
|
|
110
|
+
3. Service/Rule Content
|
|
111
|
+
4. User Rights & Obligations / Platform Rights & Obligations
|
|
112
|
+
5. Liability Limitations & Disclaimers
|
|
113
|
+
6. Fees & Payment (if applicable)
|
|
114
|
+
7. Intellectual Property
|
|
115
|
+
8. Termination, Suspension & Amendment
|
|
116
|
+
9. Notices & Service
|
|
117
|
+
10. Dispute Resolution
|
|
118
|
+
11. Miscellaneous
|
|
119
|
+
|
|
120
|
+
**Note:** Unilateral/boilerplate terms require special attention to adhesion clause risks — avoid creating extremely one-sided documents.
|
|
121
|
+
|
|
122
|
+
**If the user provides an existing template, historical agreement, or company standard, always follow it first.**
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
## Input Recognition & Completion
|
|
127
|
+
|
|
128
|
+
### Processing Rules
|
|
129
|
+
1. If user provides a template, historical agreement, or company standard → **always follow it first**
|
|
130
|
+
2. If information is incomplete, fill conservatively — must be **restrained, natural, professional, consistent with transaction logic**
|
|
131
|
+
3. **Never fabricate** unrealistic commercial terms, regulatory requirements, approval conclusions, qualification status, tax treatment results, payment facts, or performance facts
|
|
132
|
+
4. If critical info is missing → use standardized placeholders
|
|
133
|
+
5. If user does not specify jurisdiction → default to PRC commercial writing conventions, but avoid making specific legal conclusions
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
## Legal Writing Standards
|
|
138
|
+
|
|
139
|
+
### Register
|
|
140
|
+
1. Use formal legal document register
|
|
141
|
+
2. Use clear party designations: "Party A", "Party B", "both parties", "either party", "non-breaching party", "breaching party"
|
|
142
|
+
3. **Forbidden:** Colloquial expressions ("you", "me", "they", "pay up", "cancel the contract", "handle ASAP")
|
|
143
|
+
4. Preferred terms: "pay consideration", "perform obligations", "constitute a breach", "terminate the contract", "assume liability for damages", "written notice", "deliver and accept", "representations and warranties"
|
|
144
|
+
|
|
145
|
+
### Precision
|
|
146
|
+
1. Eliminate vague adjectives: avoid "quality", "reasonable", "enormous", "appropriate", "ASAP" unless necessary for legal flexibility
|
|
147
|
+
2. Each obligation must specify: who, when, how, what
|
|
148
|
+
3. Consistent legal phrasing:
|
|
149
|
+
- Mandatory obligation → "shall"
|
|
150
|
+
- Right authorization → "has the right to"
|
|
151
|
+
- Prohibition → "shall not"
|
|
152
|
+
- Discretionary → "may"
|
|
153
|
+
4. Amounts, dates, percentages, deadlines, business days vs. calendar days must be as specific as possible
|
|
154
|
+
|
|
155
|
+
### Clear Subjects
|
|
156
|
+
1. Every clause must have an explicit responsible party — avoid vague subjects ("relevant parties", "relevant personnel", "when necessary")
|
|
157
|
+
2. Joint obligations: explicitly write "both parties agree" or "both parties shall"
|
|
158
|
+
3. Unilateral obligations: explicitly write "Party A shall" or "Party B shall"
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Transaction Closure & Risk Control
|
|
163
|
+
|
|
164
|
+
A contract must not only describe the transaction — it must ensure logical closure. Check the following:
|
|
165
|
+
|
|
166
|
+
1. If a performance deadline is specified → specify consequences of delay
|
|
167
|
+
2. If payment milestones are specified → specify payment conditions, method, invoice requirements
|
|
168
|
+
3. If a delivery obligation exists → specify delivery standards, method, acceptance rules, objection period
|
|
169
|
+
4. If termination rights exist → specify conditions, notice, effective date, post-termination settlement
|
|
170
|
+
5. If breach liability exists → must correspond to main obligations in preceding clauses
|
|
171
|
+
6. If IP/technology/data/trade secrets are involved → separately address ownership, license scope, use restrictions
|
|
172
|
+
7. If confidentiality obligations exist → define scope, exceptions, duration, breach consequences
|
|
173
|
+
8. If force majeure clause exists → specify notice obligation, mitigation duty, subsequent negotiation mechanism
|
|
174
|
+
9. If notice/service arrangements exist → specify address, contact person, email, or other delivery method
|
|
175
|
+
10. If user requests significantly one-sided adhesion/disclaimer clauses → add a note near the clause:
|
|
176
|
+
`[Note: This clause may involve adhesion terms or liability limitations. Manual review recommended for the specific transaction.]`
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
## Truthfulness & Legal Caution
|
|
181
|
+
|
|
182
|
+
1. **Never fabricate** specific statute article numbers, judicial interpretation numbers, or regulatory document numbers
|
|
183
|
+
2. Legal bases should use general references, e.g.: "In accordance with the Civil Code of the PRC and relevant laws and regulations..."
|
|
184
|
+
3. **Never** pretend to provide formal legal opinions, litigation success predictions, or definitive validity/invalidity conclusions
|
|
185
|
+
4. **Never** state definitive legality conclusions for high-risk clauses (adhesion terms, penalty clauses, disclaimers, non-compete, exclusivity, unilateral interpretation rights)
|
|
186
|
+
5. **Never** fabricate that regulatory approvals are obtained, title is unencumbered, tax compliance is assured, or third-party consent is secured
|
|
187
|
+
6. When critical info is insufficient → use placeholders, never present as confirmed fact
|
|
188
|
+
7. For high-risk areas (equity, debt, licenses, data compliance, labor, personal information, cross-border) → maintain restrained language, do not add rigid commitments without user confirmation
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
192
|
+
## Special Clause Requirements
|
|
193
|
+
|
|
194
|
+
### Definitions Clause
|
|
195
|
+
If the document repeatedly uses specialized terms ("deliverables", "service results", "confidential information", "source code", "project milestones", "acceptance criteria", "trade secrets"), include a "Definitions & Interpretation" clause near the beginning.
|
|
196
|
+
|
|
197
|
+
### Dispute Resolution
|
|
198
|
+
1. Must be explicit
|
|
199
|
+
2. Choose between litigation OR arbitration — never mix both
|
|
200
|
+
3. Litigation → specify jurisdictional connection point
|
|
201
|
+
4. Arbitration → specify arbitration institution
|
|
202
|
+
5. If user hasn't specified → use placeholder for confirmation
|
|
203
|
+
|
|
204
|
+
### Tax Clause
|
|
205
|
+
1. If the transaction involves taxes → specify which party bears them, whether price includes tax, invoice type and conditions
|
|
206
|
+
2. Avoid vague "taxes borne as required by law" without transaction-specific detail
|
|
207
|
+
|
|
208
|
+
### Breach Liability
|
|
209
|
+
1. Must correspond to main obligations in preceding clauses
|
|
210
|
+
2. Penalty amounts should be restrained — avoid obviously exaggerated or severely imbalanced figures
|
|
211
|
+
3. If fundamental breach exists → consider corresponding termination rights and damages
|
|
212
|
+
|
|
213
|
+
### Appendices
|
|
214
|
+
1. For complex subjects/pricing/technical requirements/deliverables → use "Appendix 1, Appendix 2..." format
|
|
215
|
+
2. Explicitly state appendix-contract relationship (typically: "Appendices form an integral part of this contract")
|
|
216
|
+
3. If appendix content is unknown → use placeholder
|
|
217
|
+
|
|
218
|
+
---
|
|
219
|
+
|
|
220
|
+
## Palette
|
|
221
|
+
|
|
222
|
+
**Legal Wood** (Warm + Heavy + Calm) — for decorative elements only; body text must be pure black.
|
|
223
|
+
|
|
224
|
+
```js
|
|
225
|
+
const palette = { primary:"#28201C", body:"#000000", secondary:"#6E6560", accent:"#7A5C3A", surface:"#FBF9F7" };
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
⚠️ **ALL visible text in contracts must be pure black `"000000"`.** This includes:
|
|
229
|
+
- Contract title (SimHei, black, NOT accent color)
|
|
230
|
+
- Contract number (black)
|
|
231
|
+
- Clause headings (black)
|
|
232
|
+
- Body text (black)
|
|
233
|
+
- Party information (black)
|
|
234
|
+
- Signature block text (black)
|
|
235
|
+
|
|
236
|
+
**The only exception** is red-header official documents (红头文件), which follow their own GB/T 9704 color rules. For standard contracts, NO colored text is permitted — no red, no accent color, no dark-blue-grey.
|
|
237
|
+
|
|
238
|
+
```js
|
|
239
|
+
// ✅ Contract title — always pure black
|
|
240
|
+
new Paragraph({ alignment: AlignmentType.CENTER,
|
|
241
|
+
spacing: { line: Math.ceil(22 * 23), lineRule: "atLeast" }, // ★ Rule 8: prevent clipping
|
|
242
|
+
children: [new TextRun({ text: "Training Cooperation Framework Agreement",
|
|
243
|
+
size: 44, bold: true, color: "000000", // ← MUST be "000000"
|
|
244
|
+
font: { eastAsia: "SimHei", ascii: "Times New Roman" } })]
|
|
245
|
+
})
|
|
246
|
+
|
|
247
|
+
// ❌ FORBIDDEN — accent/palette color on contract text
|
|
248
|
+
new TextRun({ text: "Training Cooperation Framework Agreement", color: palette.accent }) // ← WRONG
|
|
249
|
+
new TextRun({ text: "Contract No.:", color: palette.primary }) // ← WRONG (if primary ≠ "000000")
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
---
|
|
253
|
+
|
|
254
|
+
## Scene-Specific Font Overrides
|
|
255
|
+
|
|
256
|
+
Beyond Profile A defaults:
|
|
257
|
+
|
|
258
|
+
| Element | Font | Size | Style |
|
|
259
|
+
|---------|------|------|-------|
|
|
260
|
+
| Contract title | SimHei | Er Hao 22pt (size: 44) | Bold, centered |
|
|
261
|
+
| Contract number | SimSun | Wu Hao 10.5pt (size: 21) | Right-aligned |
|
|
262
|
+
| Clause heading | SimHei | Xiao Si 12pt (size: 24) | Bold |
|
|
263
|
+
| Monetary amount | SimSun | Xiao Si 12pt (size: 24) | Bold |
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## Document Structure
|
|
268
|
+
|
|
269
|
+
1. **Title**: "XXX Contract" or "XXX Agreement" — Er Hao SimHei, centered
|
|
270
|
+
2. **Contract number**: right-aligned, Wu Hao
|
|
271
|
+
3. **Preamble**: Party information with placeholders
|
|
272
|
+
4. **Recitals** (summarize transaction background and purpose)
|
|
273
|
+
5. **Definitions** (if specialized terms recur)
|
|
274
|
+
6. **Substantive clauses** (per selected template)
|
|
275
|
+
7. **Signature block**
|
|
276
|
+
8. **Appendices** (if any)
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Clause Numbering System
|
|
281
|
+
|
|
282
|
+
Use stable, consistent, pure-text numbering suitable for Chinese legal documents.
|
|
283
|
+
|
|
284
|
+
```
|
|
285
|
+
Article 1 Subject Matter
|
|
286
|
+
1.1 xxxxxxxxxx
|
|
287
|
+
1.2 xxxxxxxxxx
|
|
288
|
+
(1) xxxxxxxxxx
|
|
289
|
+
(2) xxxxxxxxxx
|
|
290
|
+
① xxxxxxxxxx
|
|
291
|
+
② xxxxxxxxxx
|
|
292
|
+
Article 2 Price and Payment
|
|
293
|
+
2.1 ...
|
|
294
|
+
```
|
|
295
|
+
|
|
296
|
+
**Numbering discipline:**
|
|
297
|
+
1. No level-skipping
|
|
298
|
+
2. **Forbidden:** Using Markdown list markers (`-` `*` `1.`) for clause hierarchy
|
|
299
|
+
3. No switching from "Article X" to `-` or `*` or auto-list mid-document
|
|
300
|
+
4. Numbering style must be consistent throughout the entire document
|
|
301
|
+
5. Clause headings should be clean and simple
|
|
302
|
+
|
|
303
|
+
---
|
|
304
|
+
|
|
305
|
+
## Party Information Layout (Table-Based Alignment — Mandatory)
|
|
306
|
+
|
|
307
|
+
Party A and Party B information MUST be laid out using a **borderless table** so that labels align vertically. Never use plain paragraphs with indentation — this causes misalignment between parties.
|
|
308
|
+
|
|
309
|
+
```js
|
|
310
|
+
// ✅ Correct — borderless table ensures "统一社会信用代码:", "地址:", "法定代表人:" align
|
|
311
|
+
function partyInfoBlock(partyLabel, partyName, fields) {
|
|
312
|
+
// fields: [["Unified Social Credit Code", value], ["Address", value], ["Legal Representative", value]]
|
|
313
|
+
const NB = { style: BorderStyle.NONE, size: 0, color: "FFFFFF" };
|
|
314
|
+
const noBorders = { top: NB, bottom: NB, left: NB, right: NB };
|
|
315
|
+
|
|
316
|
+
const headerPara = new Paragraph({ spacing: { before: 200, after: 120 },
|
|
317
|
+
children: [new TextRun({ text: `${partyLabel}: ${safeText(partyName, "【Company full name】")}`,
|
|
318
|
+
size: 24, font: { eastAsia: "SimSun", ascii: "Times New Roman" } })]
|
|
319
|
+
});
|
|
320
|
+
|
|
321
|
+
const infoTable = new Table({
|
|
322
|
+
width: { size: 90, type: WidthType.PERCENTAGE },
|
|
323
|
+
borders: { top: NB, bottom: NB, left: NB, right: NB, insideHorizontal: NB, insideVertical: NB },
|
|
324
|
+
rows: fields.map(([label, value]) => new TableRow({
|
|
325
|
+
children: [
|
|
326
|
+
new TableCell({
|
|
327
|
+
width: { size: 35, type: WidthType.PERCENTAGE },
|
|
328
|
+
borders: noBorders,
|
|
329
|
+
margins: { top: 40, bottom: 40, left: 420, right: 60 },
|
|
330
|
+
children: [new Paragraph({
|
|
331
|
+
children: [new TextRun({ text: `${label}:`, size: 24,
|
|
332
|
+
font: { eastAsia: "SimSun", ascii: "Times New Roman" } })],
|
|
333
|
+
})],
|
|
334
|
+
}),
|
|
335
|
+
new TableCell({
|
|
336
|
+
borders: noBorders,
|
|
337
|
+
margins: { top: 40, bottom: 40, left: 60, right: 120 },
|
|
338
|
+
children: [new Paragraph({
|
|
339
|
+
children: [new TextRun({ text: safeText(value, `【Please fill in: ${label}】`), size: 24,
|
|
340
|
+
font: { eastAsia: "SimSun", ascii: "Times New Roman" } })],
|
|
341
|
+
})],
|
|
342
|
+
}),
|
|
343
|
+
],
|
|
344
|
+
})),
|
|
345
|
+
});
|
|
346
|
+
|
|
347
|
+
return [headerPara, infoTable];
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
// Usage:
|
|
351
|
+
const partyAChildren = partyInfoBlock("Party A (甲方)", config.partyA?.name, [
|
|
352
|
+
["Unified Social Credit Code (统一社会信用代码)", config.partyA?.creditCode],
|
|
353
|
+
["Address (地址)", config.partyA?.address],
|
|
354
|
+
["Legal Representative (法定代表人/负责人)", config.partyA?.legalRep],
|
|
355
|
+
]);
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
**Rules:**
|
|
359
|
+
1. Party A and Party B info blocks must use the **same table column widths** — labels align across both blocks
|
|
360
|
+
2. Use `safeText()` for all field values — never output `undefined`
|
|
361
|
+
3. Label column width should accommodate the longest label (e.g., "统一社会信用代码")
|
|
362
|
+
4. The indent (`margins.left: 420`) simulates sub-level nesting under the party name
|
|
363
|
+
|
|
364
|
+
---
|
|
365
|
+
|
|
366
|
+
## Signature Block
|
|
367
|
+
|
|
368
|
+
Left-right symmetric, structured, easy to adjust in Word. Never write as scattered paragraphs.
|
|
369
|
+
|
|
370
|
+
Required fields for each party:
|
|
371
|
+
- Party name (seal)
|
|
372
|
+
- Legal representative / Authorized representative
|
|
373
|
+
- Contact person
|
|
374
|
+
- Contact information
|
|
375
|
+
- Signing location
|
|
376
|
+
- Date: 【____/____/____】
|
|
377
|
+
|
|
378
|
+
Use a borderless 2-column table for symmetry. **Every field value must use `safeText()`** — never output `undefined` or empty string. If a field is not provided, use the appropriate `【Please fill in】` placeholder.
|
|
379
|
+
|
|
380
|
+
```js
|
|
381
|
+
// ✅ Correct signature block — safeText for all values
|
|
382
|
+
function buildSignatureBlock(partyA, partyB) {
|
|
383
|
+
const fields = ["Party (Seal)", "Legal Rep / Authorized Rep (Signature)", "Contact Person", "Contact Info", "Signing Location", "Date"];
|
|
384
|
+
const NB = { style: BorderStyle.NONE, size: 0, color: "FFFFFF" };
|
|
385
|
+
const noBorders = { top: NB, bottom: NB, left: NB, right: NB };
|
|
386
|
+
|
|
387
|
+
return new Table({
|
|
388
|
+
width: { size: 100, type: WidthType.PERCENTAGE },
|
|
389
|
+
borders: { top: NB, bottom: NB, left: NB, right: NB, insideHorizontal: NB, insideVertical: NB },
|
|
390
|
+
rows: fields.map((label, i) => {
|
|
391
|
+
const aVal = i === fields.length - 1 ? "【____/____/____】" : safeText(partyA?.[i], "");
|
|
392
|
+
const bVal = i === fields.length - 1 ? "【____/____/____】" : safeText(partyB?.[i], "");
|
|
393
|
+
const displayA = i === 0 ? `Party A (甲方): ${aVal}` : `${label}: ${aVal}`;
|
|
394
|
+
const displayB = i === 0 ? `Party B (乙方): ${bVal}` : `${label}: ${bVal}`;
|
|
395
|
+
return new TableRow({
|
|
396
|
+
children: [
|
|
397
|
+
new TableCell({ width: { size: 50, type: WidthType.PERCENTAGE }, borders: noBorders,
|
|
398
|
+
margins: { top: 80, bottom: 80, left: 120, right: 60 },
|
|
399
|
+
children: [new Paragraph({ children: [new TextRun({ text: displayA, size: 24, color: "000000" })] })] }),
|
|
400
|
+
new TableCell({ width: { size: 50, type: WidthType.PERCENTAGE }, borders: noBorders,
|
|
401
|
+
margins: { top: 80, bottom: 80, left: 60, right: 120 },
|
|
402
|
+
children: [new Paragraph({ children: [new TextRun({ text: displayB, size: 24, color: "000000" })] })] }),
|
|
403
|
+
],
|
|
404
|
+
});
|
|
405
|
+
}),
|
|
406
|
+
});
|
|
407
|
+
}
|
|
408
|
+
```
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## Monetary Amount Format
|
|
413
|
+
|
|
414
|
+
Contracts must show amounts in **both uppercase Chinese and numeric format**:
|
|
415
|
+
|
|
416
|
+
```
|
|
417
|
+
Contract amount: RMB One Million Two Hundred Thirty-Four Thousand Five Hundred Sixty-Seven Yuan (¥1,234,567.00)
|
|
418
|
+
```
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
## Style Rules
|
|
423
|
+
|
|
424
|
+
- **NO cover page** — title page is the first page (title + contract number at top)
|
|
425
|
+
- **NO TOC** unless >20 clauses
|
|
426
|
+
- **NO decorative elements** — contracts must be formal and clean
|
|
427
|
+
- **Line spacing**: 1.5x (line: 360) — ⚠️ scene override (Profile A default is 1.3x/312; contracts use 1.5x for readability and annotation space)
|
|
428
|
+
- **Body**: Justified, first-line indent 480 twips
|
|
429
|
+
- **Color**: pure black "000000" throughout — no colored text
|
|
430
|
+
|
|
431
|
+
---
|
|
432
|
+
|
|
433
|
+
## Scene-Specific Quality Checks
|
|
434
|
+
|
|
435
|
+
In addition to universal checks (see `references/common-rules.md`):
|
|
436
|
+
|
|
437
|
+
### Format
|
|
438
|
+
- [ ] Party information complete (full name / address / legal representative / contact)
|
|
439
|
+
- [ ] Signature block properly formatted, symmetrical, all fields present
|
|
440
|
+
- [ ] Monetary amounts shown in both uppercase and numeric format
|
|
441
|
+
- [ ] Clause numbering sequential with no gaps
|
|
442
|
+
- [ ] No cover page (title page is first page)
|
|
443
|
+
- [ ] No Markdown list markers mixed into clause hierarchy
|
|
444
|
+
|
|
445
|
+
### Content
|
|
446
|
+
- [ ] Clause numbering system consistent, no mixing
|
|
447
|
+
- [ ] Transaction closure complete (subject → consideration → performance → acceptance → breach → dispute)
|
|
448
|
+
- [ ] Breach liability corresponds to main obligations
|
|
449
|
+
- [ ] Dispute resolution explicitly stated (or placeholder for confirmation)
|
|
450
|
+
- [ ] All unconfirmed variables use `【】` placeholders consistently
|
|
451
|
+
- [ ] Language is formal, restrained, subjects are explicit
|
|
452
|
+
- [ ] No fabricated statute numbers or overreaching legal conclusions
|
|
453
|
+
- [ ] High-risk clauses include manual review notes
|
|
454
|
+
- [ ] Terminology consistent throughout
|
|
455
|
+
- [ ] Appendix-contract relationship explicitly stated
|
|
456
|
+
|
|
457
|
+
### Closure
|
|
458
|
+
- [ ] Performance deadline → delay consequences specified
|
|
459
|
+
- [ ] Payment milestones → conditions and invoice requirements specified
|
|
460
|
+
- [ ] Delivery obligation → acceptance rules and objection period specified
|
|
461
|
+
- [ ] Termination right → conditions and post-termination handling specified
|
|
462
|
+
- [ ] Confidentiality obligation → scope, exceptions, duration, breach consequences specified
|
|
463
|
+
- [ ] Force majeure → notice and mitigation duties specified
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
# Scene: Copywriting / Script
|
|
2
|
+
|
|
3
|
+
## Scope
|
|
4
|
+
|
|
5
|
+
Broadcast scripts, product promotion copy, livestream scripts, presentation scripts, speeches, hosting scripts, short video scripts — any document where the goal is **spoken delivery**.
|
|
6
|
+
|
|
7
|
+
→ Placeholder convention & universal prohibitions — see `references/common-rules.md`
|
|
8
|
+
→ Font profile: **B (Visual)** — see `references/common-rules.md`
|
|
9
|
+
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
## 1. Core Principles
|
|
13
|
+
|
|
14
|
+
⚠️ **A broadcast script is NOT a report, NOT a spec sheet, NOT an encyclopedia.**
|
|
15
|
+
|
|
16
|
+
The goal is for the audience to **understand on first listen, remember key points, and take action.** Therefore:
|
|
17
|
+
|
|
18
|
+
1. **Highlight selling points, don't pile specs:** Each paragraph covers only 1–2 core points with relatable scenario descriptions
|
|
19
|
+
2. **Conversational tone:** Use "you" not "the user"; use natural speech, not corporate jargon
|
|
20
|
+
3. **Rhythm:** Alternate long and short sentences, insert pause markers, avoid wall-of-text paragraphs
|
|
21
|
+
4. **Length discipline:** ~250–300 words per minute of speech; a 5-minute script should not exceed 1500 words
|
|
22
|
+
5. **Information consistency:** All data, model numbers, prices must be consistent throughout — no self-contradiction
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## 2. Document Structure
|
|
27
|
+
|
|
28
|
+
Completely different from reports:
|
|
29
|
+
|
|
30
|
+
```
|
|
31
|
+
Title (centered, short and punchy)
|
|
32
|
+
────────────────────
|
|
33
|
+
[Opening] ← Grab attention, 1–2 sentences
|
|
34
|
+
[Core Para 1] ← One selling point/opinion + scenario
|
|
35
|
+
[Core Para 2] ← One selling point/opinion + scenario
|
|
36
|
+
[Core Para 3] ← One selling point/opinion + scenario (max 3–5 paras)
|
|
37
|
+
[Closing] ← Summary + Call to Action (CTA)
|
|
38
|
+
────────────────────
|
|
39
|
+
[Notes] ← Supplementary info, data sources (optional, small grey text)
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
### Decisions
|
|
43
|
+
- **Cover:** ❌ Not needed
|
|
44
|
+
- **TOC:** ❌ Not needed
|
|
45
|
+
- **Header/footer:** Optional, minimal
|
|
46
|
+
- **Sections:** Single section sufficient
|
|
47
|
+
- **Line spacing:** `line: 400` (slightly larger than standard 1.5x for reading/marking ease)
|
|
48
|
+
|
|
49
|
+
---
|
|
50
|
+
|
|
51
|
+
## 3. Layout Standards
|
|
52
|
+
|
|
53
|
+
### Font Specifications
|
|
54
|
+
|
|
55
|
+
| Element | Font | Size | Style |
|
|
56
|
+
|---------|------|------|-------|
|
|
57
|
+
| Title | SimHei | 18pt (size:36) | Bold, centered |
|
|
58
|
+
| Section heading / highlight | SimHei | 14pt (size:28) | Bold |
|
|
59
|
+
| Body | Microsoft YaHei | 12pt (size:24) | Left-aligned |
|
|
60
|
+
| Rhythm markers | Microsoft YaHei | 10.5pt (size:21) | Grey 999999, italic |
|
|
61
|
+
| Notes | Microsoft YaHei | 10pt (size:20) | Grey 666666 |
|
|
62
|
+
|
|
63
|
+
### Paragraph Spacing
|
|
64
|
+
```js
|
|
65
|
+
// Generous spacing between paragraphs for reading/breathing pauses
|
|
66
|
+
spacing: { before: 200, after: 200, line: 400 }
|
|
67
|
+
// Larger gap between core sections
|
|
68
|
+
sectionGap: { before: 400, after: 200 }
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### Key Point Highlighting
|
|
72
|
+
Use **bold** or **accent-colored text** to mark key selling points:
|
|
73
|
+
```js
|
|
74
|
+
new TextRun({ text: "Key selling point", bold: true, color: c(P.accent) })
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### Rhythm Markers (optional)
|
|
78
|
+
Insert small grey markers where pauses, emphasis, or tone changes are needed:
|
|
79
|
+
```js
|
|
80
|
+
new Paragraph({ spacing: { before: 60, after: 60 },
|
|
81
|
+
children: [new TextRun({ text: "[Pause 2 sec]", size: 21, color: "999999", italics: true })] })
|
|
82
|
+
// Or inline: new TextRun({ text: " [emphasis] ", size: 18, color: "999999", italics: true })
|
|
83
|
+
```
|
|
84
|
+
|
|
85
|
+
---
|
|
86
|
+
|
|
87
|
+
## 4. Content Quality Rules
|
|
88
|
+
|
|
89
|
+
### Information Density Guide
|
|
90
|
+
|
|
91
|
+
| Script Type | Duration | Word Count | Core Paragraphs |
|
|
92
|
+
|-------------|----------|-----------|----------------|
|
|
93
|
+
| Short video | 30–60 sec | 150–300 | 1–2 |
|
|
94
|
+
| Product promotion | 2–3 min | 500–800 | 3–4 |
|
|
95
|
+
| Presentation / Speech | 5–10 min | 1200–2500 | 5–8 |
|
|
96
|
+
| Hosting script | Per agenda | Per segment | Per segment |
|
|
97
|
+
|
|
98
|
+
### Scene-Specific Prohibitions
|
|
99
|
+
|
|
100
|
+
1. **No spec dumping:** Do not list all product specifications in tables. Select 2–3 most persuasive data points and express them through scenarios
|
|
101
|
+
2. **No information contradiction:** Model numbers, prices, data appearing multiple times must be perfectly consistent
|
|
102
|
+
3. **No report tone:** No "in conclusion", "research indicates", "as mentioned above" — this is spoken word
|
|
103
|
+
4. **No lengthy citations:** Broadcast scripts do not need quotes, footnotes, or references
|
|
104
|
+
5. **No dense layout:** Paragraphs must have visible spacing — no screen-filling text walls
|
|
105
|
+
|
|
106
|
+
### Product Promotion Specific Rules
|
|
107
|
+
- **Opening:** Lead with pain point / scenario ("Does your washing machine still smell after a cycle?"), not self-introduction
|
|
108
|
+
- **Product intro:** Compare only 1–2 competitive dimensions at a time — not a full review
|
|
109
|
+
- **Price anchor:** State original/market price first, then discount price — create contrast
|
|
110
|
+
- **CTA:** Explicitly state the action ("Click the link below", "Type 1 in comments")
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## 5. Palette
|
|
115
|
+
|
|
116
|
+
Broadcast scripts use clean, simple colors — no complex visual design needed:
|
|
117
|
+
|
|
118
|
+
```js
|
|
119
|
+
const P = {
|
|
120
|
+
primary: "#1A1A1A", // Title
|
|
121
|
+
body: "#333333", // Body
|
|
122
|
+
secondary: "#666666", // Notes
|
|
123
|
+
accent: "#E85D3A", // Key highlight (warm, energetic)
|
|
124
|
+
surface: "#FFF8F5", // Background (if needed)
|
|
125
|
+
};
|
|
126
|
+
```
|
|
127
|
+
|
|
128
|
+
---
|
|
129
|
+
|
|
130
|
+
## 6. Scene-Specific Quality Checks
|
|
131
|
+
|
|
132
|
+
In addition to universal checks (see `references/common-rules.md`):
|
|
133
|
+
|
|
134
|
+
- [ ] Total word count within target range (not exceeding)
|
|
135
|
+
- [ ] Each core paragraph has only 1–2 selling points (no dumping)
|
|
136
|
+
- [ ] Conversational tone present (not report/formal style)
|
|
137
|
+
- [ ] Information consistent throughout (model, price, data — no contradictions)
|
|
138
|
+
- [ ] Paragraph spacing sufficient (visually not crowded)
|
|
139
|
+
- [ ] Clear attention-grabbing opening + closing CTA
|