@nguyenphp/antigravity-marketing 1.0.18 → 1.0.20

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.
Files changed (231) hide show
  1. package/README.md +130 -78
  2. package/package.json +4 -3
  3. package/templates/.agent/skills/marketing-report-expert/SKILL.md +70 -0
  4. package/templates/.agent/skills/minimax-docx/LICENSE +21 -0
  5. package/templates/.agent/skills/minimax-docx/SKILL.md +274 -0
  6. package/templates/.agent/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
  7. package/templates/.agent/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
  8. package/templates/.agent/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
  9. package/templates/.agent/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
  10. package/templates/.agent/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
  11. package/templates/.agent/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
  12. package/templates/.agent/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
  13. package/templates/.agent/skills/minimax-docx/references/cjk_typography.md +357 -0
  14. package/templates/.agent/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
  15. package/templates/.agent/skills/minimax-docx/references/comments_guide.md +191 -0
  16. package/templates/.agent/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
  17. package/templates/.agent/skills/minimax-docx/references/design_principles.md +819 -0
  18. package/templates/.agent/skills/minimax-docx/references/openxml_element_order.md +308 -0
  19. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
  20. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
  21. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
  22. package/templates/.agent/skills/minimax-docx/references/openxml_namespaces.md +82 -0
  23. package/templates/.agent/skills/minimax-docx/references/openxml_units.md +72 -0
  24. package/templates/.agent/skills/minimax-docx/references/scenario_a_create.md +284 -0
  25. package/templates/.agent/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
  26. package/templates/.agent/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
  27. package/templates/.agent/skills/minimax-docx/references/track_changes_guide.md +200 -0
  28. package/templates/.agent/skills/minimax-docx/references/troubleshooting.md +506 -0
  29. package/templates/.agent/skills/minimax-docx/references/typography_guide.md +294 -0
  30. package/templates/.agent/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
  31. package/templates/.agent/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
  32. package/templates/.agent/skills/minimax-docx/scripts/docx_preview.sh +37 -0
  33. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
  34. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
  35. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
  36. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
  37. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
  38. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
  39. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
  40. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
  41. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
  42. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
  43. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
  44. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
  45. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
  46. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
  47. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
  48. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
  49. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
  50. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
  51. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
  52. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
  53. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
  54. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
  55. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
  56. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
  57. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
  58. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
  59. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
  60. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
  61. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
  62. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
  63. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
  64. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
  65. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
  66. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
  67. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
  68. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
  69. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
  70. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
  71. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
  72. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
  73. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
  74. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
  75. package/templates/.agent/skills/minimax-docx/scripts/env_check.sh +196 -0
  76. package/templates/.agent/skills/minimax-docx/scripts/setup.ps1 +274 -0
  77. package/templates/.agent/skills/minimax-docx/scripts/setup.sh +504 -0
  78. package/templates/.agent/skills/minimax-multimodal-toolkit/SKILL.md +359 -0
  79. package/templates/.agent/skills/minimax-pdf/README.md +222 -0
  80. package/templates/.agent/skills/minimax-pdf/SKILL.md +201 -0
  81. package/templates/.agent/skills/minimax-pdf/design/design.md +381 -0
  82. package/templates/.agent/skills/minimax-pdf/scripts/cover.py +1579 -0
  83. package/templates/.agent/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
  84. package/templates/.agent/skills/minimax-pdf/scripts/fill_write.py +242 -0
  85. package/templates/.agent/skills/minimax-pdf/scripts/make.sh +491 -0
  86. package/templates/.agent/skills/minimax-pdf/scripts/merge.py +112 -0
  87. package/templates/.agent/skills/minimax-pdf/scripts/palette.py +559 -0
  88. package/templates/.agent/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
  89. package/templates/.agent/skills/minimax-pdf/scripts/render_body.py +1055 -0
  90. package/templates/.agent/skills/minimax-pdf/scripts/render_cover.cjs +111 -0
  91. package/templates/.agent/skills/minimax-xlsx/SKILL.md +138 -0
  92. package/templates/.agent/skills/minimax-xlsx/references/create.md +691 -0
  93. package/templates/.agent/skills/minimax-xlsx/references/edit.md +684 -0
  94. package/templates/.agent/skills/minimax-xlsx/references/fix.md +37 -0
  95. package/templates/.agent/skills/minimax-xlsx/references/format.md +768 -0
  96. package/templates/.agent/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
  97. package/templates/.agent/skills/minimax-xlsx/references/read-analyze.md +97 -0
  98. package/templates/.agent/skills/minimax-xlsx/references/validate.md +772 -0
  99. package/templates/.agent/skills/minimax-xlsx/scripts/formula_check.py +422 -0
  100. package/templates/.agent/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
  101. package/templates/.agent/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
  102. package/templates/.agent/skills/minimax-xlsx/scripts/style_audit.py +575 -0
  103. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
  104. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
  105. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
  106. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
  107. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
  108. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
  109. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
  110. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
  111. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
  112. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
  113. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
  114. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
  115. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
  116. package/templates/.agent/skills/pptx-generator/SKILL.md +249 -0
  117. package/templates/.agent/skills/pptx-generator/references/design-system.md +392 -0
  118. package/templates/.agent/skills/pptx-generator/references/editing.md +162 -0
  119. package/templates/.agent/skills/pptx-generator/references/pitfalls.md +112 -0
  120. package/templates/.agent/skills/pptx-generator/references/pptxgenjs.md +420 -0
  121. package/templates/.agent/skills/pptx-generator/references/slide-types.md +413 -0
  122. package/templates/.agent/skills/tutorial-video-expert/SKILL.md +88 -0
  123. package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +170 -585
  124. package/templates/.agent/skills/vision-analysis/SKILL.md +174 -0
  125. package/templates/.agent/workflows/analyze.md +3 -0
  126. package/templates/.agent/workflows/brand-report.md +44 -0
  127. package/templates/.agent/workflows/report.md +49 -0
  128. package/templates/.agent/agents/backend-specialist.md +0 -263
  129. package/templates/.agent/agents/database-architect.md +0 -226
  130. package/templates/.agent/agents/debugger.md +0 -225
  131. package/templates/.agent/agents/devops-engineer.md +0 -242
  132. package/templates/.agent/agents/frontend-specialist.md +0 -527
  133. package/templates/.agent/agents/game-developer.md +0 -162
  134. package/templates/.agent/agents/mobile-developer.md +0 -377
  135. package/templates/.agent/agents/penetration-tester.md +0 -188
  136. package/templates/.agent/agents/security-auditor.md +0 -170
  137. package/templates/.agent/agents/test-engineer.md +0 -158
  138. package/templates/.agent/skills/api-patterns/SKILL.md +0 -81
  139. package/templates/.agent/skills/api-patterns/api-style.md +0 -42
  140. package/templates/.agent/skills/api-patterns/auth.md +0 -24
  141. package/templates/.agent/skills/api-patterns/documentation.md +0 -26
  142. package/templates/.agent/skills/api-patterns/graphql.md +0 -41
  143. package/templates/.agent/skills/api-patterns/rate-limiting.md +0 -31
  144. package/templates/.agent/skills/api-patterns/response.md +0 -37
  145. package/templates/.agent/skills/api-patterns/rest.md +0 -40
  146. package/templates/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
  147. package/templates/.agent/skills/api-patterns/security-testing.md +0 -122
  148. package/templates/.agent/skills/api-patterns/trpc.md +0 -41
  149. package/templates/.agent/skills/api-patterns/versioning.md +0 -22
  150. package/templates/.agent/skills/app-builder/SKILL.md +0 -75
  151. package/templates/.agent/skills/app-builder/agent-coordination.md +0 -71
  152. package/templates/.agent/skills/app-builder/feature-building.md +0 -53
  153. package/templates/.agent/skills/app-builder/project-detection.md +0 -34
  154. package/templates/.agent/skills/app-builder/scaffolding.md +0 -118
  155. package/templates/.agent/skills/app-builder/tech-stack.md +0 -40
  156. package/templates/.agent/skills/app-builder/templates/SKILL.md +0 -39
  157. package/templates/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  158. package/templates/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  159. package/templates/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  160. package/templates/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  161. package/templates/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  162. package/templates/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  163. package/templates/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  164. package/templates/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -82
  165. package/templates/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -100
  166. package/templates/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -106
  167. package/templates/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -101
  168. package/templates/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  169. package/templates/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -93
  170. package/templates/.agent/skills/architecture/SKILL.md +0 -55
  171. package/templates/.agent/skills/architecture/context-discovery.md +0 -43
  172. package/templates/.agent/skills/architecture/examples.md +0 -94
  173. package/templates/.agent/skills/architecture/pattern-selection.md +0 -68
  174. package/templates/.agent/skills/architecture/patterns-reference.md +0 -50
  175. package/templates/.agent/skills/architecture/trade-off-analysis.md +0 -77
  176. package/templates/.agent/skills/bash-linux/SKILL.md +0 -199
  177. package/templates/.agent/skills/behavioral-modes/SKILL.md +0 -242
  178. package/templates/.agent/skills/clean-code/SKILL.md +0 -201
  179. package/templates/.agent/skills/code-review-checklist/SKILL.md +0 -109
  180. package/templates/.agent/skills/database-design/SKILL.md +0 -52
  181. package/templates/.agent/skills/database-design/database-selection.md +0 -43
  182. package/templates/.agent/skills/database-design/indexing.md +0 -39
  183. package/templates/.agent/skills/database-design/migrations.md +0 -48
  184. package/templates/.agent/skills/database-design/optimization.md +0 -36
  185. package/templates/.agent/skills/database-design/orm-selection.md +0 -30
  186. package/templates/.agent/skills/database-design/schema-design.md +0 -56
  187. package/templates/.agent/skills/database-design/scripts/schema_validator.py +0 -172
  188. package/templates/.agent/skills/deployment-procedures/SKILL.md +0 -241
  189. package/templates/.agent/skills/docker-expert/SKILL.md +0 -409
  190. package/templates/.agent/skills/game-development/2d-games/SKILL.md +0 -119
  191. package/templates/.agent/skills/game-development/3d-games/SKILL.md +0 -135
  192. package/templates/.agent/skills/game-development/SKILL.md +0 -167
  193. package/templates/.agent/skills/game-development/game-art/SKILL.md +0 -185
  194. package/templates/.agent/skills/game-development/game-audio/SKILL.md +0 -190
  195. package/templates/.agent/skills/game-development/game-design/SKILL.md +0 -129
  196. package/templates/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
  197. package/templates/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
  198. package/templates/.agent/skills/game-development/pc-games/SKILL.md +0 -144
  199. package/templates/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
  200. package/templates/.agent/skills/game-development/web-games/SKILL.md +0 -150
  201. package/templates/.agent/skills/lint-and-validate/SKILL.md +0 -45
  202. package/templates/.agent/skills/lint-and-validate/scripts/lint_runner.py +0 -172
  203. package/templates/.agent/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  204. package/templates/.agent/skills/mcp-builder/SKILL.md +0 -176
  205. package/templates/.agent/skills/nestjs-expert/SKILL.md +0 -552
  206. package/templates/.agent/skills/nextjs-best-practices/SKILL.md +0 -203
  207. package/templates/.agent/skills/nodejs-best-practices/SKILL.md +0 -333
  208. package/templates/.agent/skills/parallel-agents/SKILL.md +0 -175
  209. package/templates/.agent/skills/performance-profiling/SKILL.md +0 -143
  210. package/templates/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +0 -76
  211. package/templates/.agent/skills/powershell-windows/SKILL.md +0 -167
  212. package/templates/.agent/skills/prisma-expert/SKILL.md +0 -355
  213. package/templates/.agent/skills/python-patterns/SKILL.md +0 -441
  214. package/templates/.agent/skills/react-patterns/SKILL.md +0 -198
  215. package/templates/.agent/skills/red-team-tactics/SKILL.md +0 -199
  216. package/templates/.agent/skills/server-management/SKILL.md +0 -161
  217. package/templates/.agent/skills/systematic-debugging/SKILL.md +0 -109
  218. package/templates/.agent/skills/tdd-workflow/SKILL.md +0 -149
  219. package/templates/.agent/skills/testing-patterns/SKILL.md +0 -178
  220. package/templates/.agent/skills/testing-patterns/scripts/test_runner.py +0 -219
  221. package/templates/.agent/skills/typescript-expert/SKILL.md +0 -429
  222. package/templates/.agent/skills/vue-expert/SKILL.md +0 -374
  223. package/templates/.agent/skills/vulnerability-scanner/SKILL.md +0 -276
  224. package/templates/.agent/skills/vulnerability-scanner/checklists.md +0 -121
  225. package/templates/.agent/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
  226. package/templates/.agent/skills/webapp-testing/SKILL.md +0 -187
  227. package/templates/.agent/skills/webapp-testing/scripts/playwright_runner.py +0 -173
  228. package/templates/.agent/workflows/debug.md +0 -103
  229. package/templates/.agent/workflows/deploy.md +0 -176
  230. package/templates/.agent/workflows/enhance.md +0 -63
  231. package/templates/.agent/workflows/test.md +0 -144
@@ -0,0 +1,274 @@
1
+ ---
2
+ name: minimax-docx
3
+ license: MIT
4
+ metadata:
5
+ version: "1.0.0"
6
+ category: document-processing
7
+ author: MiniMaxAI
8
+ sources:
9
+ - "ECMA-376 Office Open XML File Formats"
10
+ - "GB/T 9704-2012 Layout Standard for Official Documents"
11
+ - "IEEE / ACM / APA / MLA / Chicago / Turabian Style Guides"
12
+ - "Springer LNCS / Nature / HBR Document Templates"
13
+ description: >
14
+ Professional DOCX document creation, editing, and formatting using OpenXML SDK (.NET).
15
+ Three pipelines: (A) create new documents from scratch, (B) fill/edit content in existing
16
+ documents, (C) apply template formatting with XSD validation gate-check.
17
+ MUST use this skill whenever the user wants to produce, modify, or format a Word document —
18
+ including when they say "write a report", "draft a proposal", "make a contract",
19
+ "fill in this form", "reformat to match this template", or any task whose final output
20
+ is a .docx file. Even if the user doesn't mention "docx" explicitly, if the task
21
+ implies a printable/formal document, use this skill.
22
+ triggers:
23
+ - Word
24
+ - docx
25
+ - document
26
+ - 文档
27
+ - Word文档
28
+ - 报告
29
+ - 合同
30
+ - 公文
31
+ - 排版
32
+ - 套模板
33
+ ---
34
+
35
+ # minimax-docx
36
+
37
+ Create, edit, and format DOCX documents via CLI tools or direct C# scripts built on OpenXML SDK (.NET).
38
+
39
+ ## Setup
40
+
41
+ **First time:** `bash scripts/setup.sh` (or `powershell scripts/setup.ps1` on Windows, `--minimal` to skip optional deps).
42
+
43
+ **First operation in session:** `scripts/env_check.sh` — do not proceed if `NOT READY`. (Skip on subsequent operations within the same session.)
44
+
45
+ ## Quick Start: Direct C# Path
46
+
47
+ When the task requires structural document manipulation (custom styles, complex tables, multi-section layouts, headers/footers, TOC, images), write C# directly instead of wrestling with CLI limitations. Use this scaffold:
48
+
49
+ ```csharp
50
+ // File: scripts/dotnet/task.csx (or a new .cs in a Console project)
51
+ // dotnet run --project scripts/dotnet/MiniMaxAIDocx.Cli -- run-script task.csx
52
+ #r "nuget: DocumentFormat.OpenXml, 3.2.0"
53
+
54
+ using DocumentFormat.OpenXml;
55
+ using DocumentFormat.OpenXml.Packaging;
56
+ using DocumentFormat.OpenXml.Wordprocessing;
57
+
58
+ using var doc = WordprocessingDocument.Create("output.docx", WordprocessingDocumentType.Document);
59
+ var mainPart = doc.AddMainDocumentPart();
60
+ mainPart.Document = new Document(new Body());
61
+
62
+ // --- Your logic here ---
63
+ // Read the relevant Samples/*.cs file FIRST for tested patterns.
64
+ // See Samples/ table in References section below.
65
+ ```
66
+
67
+ **Before writing any C#, read the relevant `Samples/*.cs` file** — they contain compilable, SDK-version-verified patterns. The Samples table in the References section below maps topics to files.
68
+
69
+ ## CLI shorthand
70
+
71
+ All CLI commands below use `$CLI` as shorthand for:
72
+ ```bash
73
+ dotnet run --project scripts/dotnet/MiniMaxAIDocx.Cli --
74
+ ```
75
+
76
+ ## Pipeline routing
77
+
78
+ Route by checking: does the user have an input .docx file?
79
+
80
+ ```
81
+ User task
82
+ ├─ No input file → Pipeline A: CREATE
83
+ │ signals: "write", "create", "draft", "generate", "new", "make a report/proposal/memo"
84
+ │ → Read references/scenario_a_create.md
85
+
86
+ └─ Has input .docx
87
+ ├─ Replace/fill/modify content → Pipeline B: FILL-EDIT
88
+ │ signals: "fill in", "replace", "update", "change text", "add section", "edit"
89
+ │ → Read references/scenario_b_edit_content.md
90
+
91
+ └─ Reformat/apply style/template → Pipeline C: FORMAT-APPLY
92
+ signals: "reformat", "apply template", "restyle", "match this format", "套模板", "排版"
93
+ ├─ Template is pure style (no content) → C-1: OVERLAY (apply styles to source)
94
+ └─ Template has structure (cover/TOC/example sections) → C-2: BASE-REPLACE
95
+ (use template as base, replace example content with user content)
96
+ → Read references/scenario_c_apply_template.md
97
+ ```
98
+
99
+ If the request spans multiple pipelines, run them sequentially (e.g., Create then Format-Apply).
100
+
101
+ ## Pre-processing
102
+
103
+ Convert `.doc` → `.docx` if needed: `scripts/doc_to_docx.sh input.doc output_dir/`
104
+
105
+ Preview before editing (avoids reading raw XML): `scripts/docx_preview.sh document.docx`
106
+
107
+ Analyze structure for editing scenarios: `$CLI analyze --input document.docx`
108
+
109
+ ## Scenario A: Create
110
+
111
+ Read `references/scenario_a_create.md`, `references/typography_guide.md`, and `references/design_principles.md` first. Pick an aesthetic recipe from `Samples/AestheticRecipeSamples.cs` that matches the document type — do not invent formatting values. For CJK, also read `references/cjk_typography.md`.
112
+
113
+ **Choose your path:**
114
+ - **Simple** (plain text, minimal formatting): use CLI — `$CLI create --type report --output out.docx --config content.json`
115
+ - **Structural** (custom styles, multi-section, TOC, images, complex tables): write C# directly. Read the relevant `Samples/*.cs` first.
116
+
117
+ CLI options: `--type` (report|letter|memo|academic), `--title`, `--author`, `--page-size` (letter|a4|legal|a3), `--margins` (standard|narrow|wide), `--header`, `--footer`, `--page-numbers`, `--toc`, `--content-json`.
118
+
119
+ Then run the **validation pipeline** (below).
120
+
121
+ ## Scenario B: Edit / Fill
122
+
123
+ Read `references/scenario_b_edit_content.md` first. Preview → analyze → edit → validate.
124
+
125
+ **Choose your path:**
126
+ - **Simple** (text replacement, placeholder fill): use CLI subcommands.
127
+ - **Structural** (add/reorganize sections, modify styles, manipulate tables, insert images): write C# directly. Read `references/openxml_element_order.md` and the relevant `Samples/*.cs`.
128
+
129
+ Available CLI edit subcommands:
130
+ - `replace-text --find "X" --replace "Y"`
131
+ - `fill-placeholders --data '{"key":"value"}'`
132
+ - `fill-table --data table.json`
133
+ - `insert-section`, `remove-section`, `update-header-footer`
134
+
135
+ ```bash
136
+ $CLI edit replace-text --input in.docx --output out.docx --find "OLD" --replace "NEW"
137
+ $CLI edit fill-placeholders --input in.docx --output out.docx --data '{"name":"John"}'
138
+ ```
139
+
140
+ Then run the **validation pipeline**. Also run diff to verify minimal changes:
141
+ ```bash
142
+ $CLI diff --before in.docx --after out.docx
143
+ ```
144
+
145
+ ## Scenario C: Apply Template
146
+
147
+ Read `references/scenario_c_apply_template.md` first. Preview and analyze both source and template.
148
+
149
+ ```bash
150
+ $CLI apply-template --input source.docx --template template.docx --output out.docx
151
+ ```
152
+
153
+ For complex template operations (multi-template merge, per-section headers/footers, style merging), write C# directly — see Critical Rules below for required patterns.
154
+
155
+ Run the **validation pipeline**, then the **hard gate-check**:
156
+ ```bash
157
+ $CLI validate --input out.docx --gate-check assets/xsd/business-rules.xsd
158
+ ```
159
+ Gate-check is a **hard requirement**. Do NOT deliver until it passes. If it fails: diagnose, fix, re-run.
160
+
161
+ Also diff to verify content preservation: `$CLI diff --before source.docx --after out.docx`
162
+
163
+ ## Validation pipeline
164
+
165
+ Run after every write operation. For Scenario C the full pipeline is **mandatory**; for A/B it is **recommended** (skip only if the operation was trivially simple).
166
+
167
+ ```bash
168
+ $CLI merge-runs --input doc.docx # 1. consolidate runs
169
+ $CLI validate --input doc.docx --xsd assets/xsd/wml-subset.xsd # 2. XSD structure
170
+ $CLI validate --input doc.docx --business # 3. business rules
171
+ ```
172
+
173
+ If XSD fails, auto-repair and retry:
174
+ ```bash
175
+ $CLI fix-order --input doc.docx
176
+ $CLI validate --input doc.docx --xsd assets/xsd/wml-subset.xsd
177
+ ```
178
+
179
+ If XSD still fails, fall back to business rules + preview:
180
+ ```bash
181
+ $CLI validate --input doc.docx --business
182
+ scripts/docx_preview.sh doc.docx
183
+ # Verify: font contamination=0, table count correct, drawing count correct, sectPr count correct
184
+ ```
185
+
186
+ Final preview: `scripts/docx_preview.sh doc.docx`
187
+
188
+ ## Critical rules
189
+
190
+ These prevent file corruption — OpenXML is strict about element ordering.
191
+
192
+ **Element order** (properties always first):
193
+
194
+ | Parent | Order |
195
+ |--------|-------|
196
+ | `w:p` | `pPr` → runs |
197
+ | `w:r` | `rPr` → `t`/`br`/`tab` |
198
+ | `w:tbl`| `tblPr` → `tblGrid` → `tr` |
199
+ | `w:tr` | `trPr` → `tc` |
200
+ | `w:tc` | `tcPr` → `p` (min 1 `<w:p/>`) |
201
+ | `w:body` | block content → `sectPr` (LAST child) |
202
+
203
+ **Direct format contamination:** When copying content from a source document, inline `rPr` (fonts, color) and `pPr` (borders, shading, spacing) override template styles. Always strip direct formatting — keep only `pStyle` reference and `t` text. Clean tables too (including `pPr/rPr` inside cells).
204
+
205
+ **Track changes:** `<w:del>` uses `<w:delText>`, never `<w:t>`. `<w:ins>` uses `<w:t>`, never `<w:delText>`.
206
+
207
+ **Font size:** `w:sz` = points × 2 (12pt → `sz="24"`). Margins/spacing in DXA (1 inch = 1440, 1cm ≈ 567).
208
+
209
+ **Heading styles MUST have OutlineLevel:** When defining heading styles (Heading1, ThesisH1, etc.), always include `new OutlineLevel { Val = N }` in `StyleParagraphProperties` (H1→0, H2→1, H3→2). Without this, Word sees them as plain styled text — TOC and navigation pane won't work.
210
+
211
+ **Multi-template merge:** When given multiple template files (font, heading, breaks), read `references/scenario_c_apply_template.md` section "Multi-Template Merge" FIRST. Key rules:
212
+ - Merge styles from all templates into one styles.xml. Structure (sections/breaks) comes from the breaks template.
213
+ - Each content paragraph must appear exactly ONCE — never duplicate when inserting section breaks.
214
+ - NEVER insert empty/blank paragraphs as padding or section separators. Output paragraph count must equal input. Use section break properties (`w:sectPr` inside `w:pPr`) and style spacing (`w:spacing` before/after) for visual separation.
215
+ - Insert oddPage section breaks before EVERY chapter heading, not just the first. Even if a chapter has dual-column content, it MUST start with oddPage; use a second continuous break after the heading for column switching.
216
+ - Dual-column chapters need THREE section breaks: (1) oddPage in preceding para's pPr, (2) continuous+cols=2 in the chapter HEADING's pPr, (3) continuous+cols=1 in the last body para's pPr to revert.
217
+ - Copy `titlePg` settings from the breaks template for EACH section. Abstract and TOC sections typically need `titlePg=true`.
218
+
219
+ **Multi-section headers/footers:** Templates with 10+ sections (e.g., Chinese thesis) have DIFFERENT headers/footers per section (Roman vs Arabic page numbers, different header text per zone). Rules:
220
+ - Use C-2 Base-Replace: copy the TEMPLATE as output base, then replace body content. This preserves all sections, headers, footers, and titlePg settings automatically.
221
+ - NEVER recreate headers/footers from scratch — copy template header/footer XML byte-for-byte.
222
+ - NEVER add formatting (borders, alignment, font size) not present in the template header XML.
223
+ - Non-cover sections MUST have header/footer XML files (at least empty header + page number footer).
224
+ - See `references/scenario_c_apply_template.md` section "Multi-Section Header/Footer Transfer".
225
+
226
+ ## References
227
+
228
+ Load as needed — don't load all at once. Pick the most relevant files for the task.
229
+
230
+ **The C# samples and design references below are the project's knowledge base ("encyclopedia").** When writing OpenXML code, ALWAYS read the relevant sample file first — it contains compilable, SDK-version-verified patterns that prevent common errors. When making aesthetic decisions, read the design principles and recipe files — they encode tested, harmonious parameter sets from authoritative sources (IEEE, ACM, APA, Nature, etc.), not guesses.
231
+
232
+ ### Scenario guides (read first for each pipeline)
233
+
234
+ | File | When |
235
+ |------|------|
236
+ | `references/scenario_a_create.md` | Pipeline A: creating from scratch |
237
+ | `references/scenario_b_edit_content.md` | Pipeline B: editing existing content |
238
+ | `references/scenario_c_apply_template.md` | Pipeline C: applying template formatting |
239
+
240
+ ### C# code samples (compilable, heavily commented — read when writing code)
241
+
242
+ | File | Topic |
243
+ |------|-------|
244
+ | `Samples/DocumentCreationSamples.cs` | Document lifecycle: create, open, save, streams, doc defaults, settings, properties, page setup, multi-section |
245
+ | `Samples/StyleSystemSamples.cs` | Styles: Normal/Heading chain, character/table/list styles, DocDefaults, latentStyles, CJK 公文, APA 7th, import, resolve inheritance |
246
+ | `Samples/CharacterFormattingSamples.cs` | RunProperties: fonts, size, bold/italic, all underlines, color, highlight, strike, sub/super, caps, spacing, shading, border, emphasis marks |
247
+ | `Samples/ParagraphFormattingSamples.cs` | ParagraphProperties: justification, indentation, line/paragraph spacing, keep/widow, outline level, borders, tabs, numbering, bidi, frame |
248
+ | `Samples/TableSamples.cs` | Tables: borders, grid, cell props, margins, row height, header repeat, merge (H+V), nested, floating, three-line 三线表, zebra striping |
249
+ | `Samples/HeaderFooterSamples.cs` | Headers/footers: page numbers, "Page X of Y", first/even/odd, logo image, table layout, 公文 "-X-", per-section |
250
+ | `Samples/ImageSamples.cs` | Images: inline, floating, text wrapping, border, alt text, in header/table, replace, SVG fallback, dimension calc |
251
+ | `Samples/ListAndNumberingSamples.cs` | Numbering: bullets, multi-level decimal, custom symbols, outline→headings, legal, Chinese 一/(一)/1./(1), restart/continue |
252
+ | `Samples/FieldAndTocSamples.cs` | Fields: TOC, SimpleField vs complex field, DATE/PAGE/REF/SEQ/MERGEFIELD/IF/STYLEREF, TOC styles |
253
+ | `Samples/FootnoteAndCommentSamples.cs` | Footnotes, endnotes, comments (4-file system), bookmarks, hyperlinks (internal + external) |
254
+ | `Samples/TrackChangesSamples.cs` | Revisions: insertions (w:t), deletions (w:delText!), formatting changes, accept/reject all, move tracking |
255
+ | `Samples/AestheticRecipeSamples.cs` | 13 aesthetic recipes from authoritative sources: ModernCorporate, AcademicThesis, ExecutiveBrief, ChineseGovernment (GB/T 9704), MinimalModern, IEEE Conference, ACM sigconf, APA 7th, MLA 9th, Chicago/Turabian, Springer LNCS, Nature, HBR — each with exact values from official style guides |
256
+
257
+ Note: `Samples/` path is relative to `scripts/dotnet/MiniMaxAIDocx.Core/`.
258
+
259
+ ### Markdown references (read when you need specifications or design rules)
260
+
261
+ | File | When |
262
+ |------|------|
263
+ | `references/openxml_element_order.md` | XML element ordering rules (prevents corruption) |
264
+ | `references/openxml_units.md` | Unit conversion: DXA, EMU, half-points, eighth-points |
265
+ | `references/openxml_encyclopedia_part1.md` | Detailed C# encyclopedia: document creation, styles, character & paragraph formatting |
266
+ | `references/openxml_encyclopedia_part2.md` | Detailed C# encyclopedia: page setup, tables, headers/footers, sections, doc properties |
267
+ | `references/openxml_encyclopedia_part3.md` | Detailed C# encyclopedia: TOC, footnotes, fields, track changes, comments, images, math, numbering, protection |
268
+ | `references/typography_guide.md` | Font pairing, sizes, spacing, page layout, table design, color schemes |
269
+ | `references/cjk_typography.md` | CJK fonts, 字号 sizes, RunFonts mapping, GB/T 9704 公文 standard |
270
+ | `references/cjk_university_template_guide.md` | Chinese university thesis templates: numeric styleIds (1/2/3 vs Heading1), document zone structure (cover→abstract→TOC→body→references), font expectations, common mistakes |
271
+ | `references/design_principles.md` | **Aesthetic foundations**: 6 design principles (white space, contrast/scale, proximity, alignment, repetition, hierarchy) — teaches WHY, not just WHAT |
272
+ | `references/design_good_bad_examples.md` | **Good vs Bad comparisons**: 10 categories of typography mistakes with OpenXML values, ASCII mockups, and fixes |
273
+ | `references/track_changes_guide.md` | Revision marks deep dive |
274
+ | `references/troubleshooting.md` | **Symptom-driven fixes**: 13 common problems indexed by what you SEE (headings wrong, images missing, TOC broken, etc.) — search by symptom, find the fix |
@@ -0,0 +1,250 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
2
+ <w:styles xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
3
+ xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"
4
+ xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
5
+
6
+ <!-- Document Defaults -->
7
+ <w:docDefaults>
8
+ <w:rPrDefault>
9
+ <w:rPr>
10
+ <w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" w:eastAsia="SimSun" w:cs="Times New Roman" />
11
+ <w:sz w:val="24" />
12
+ <w:szCs w:val="24" />
13
+ <w:lang w:val="en-US" w:eastAsia="zh-CN" w:bidi="ar-SA" />
14
+ </w:rPr>
15
+ </w:rPrDefault>
16
+ <w:pPrDefault>
17
+ <w:pPr>
18
+ <w:spacing w:after="0" w:line="480" w:lineRule="auto" />
19
+ </w:pPr>
20
+ </w:pPrDefault>
21
+ </w:docDefaults>
22
+
23
+ <w:latentStyles w:defLockedState="0" w:defUIPriority="99" w:defSemiHidden="0" w:defUnhideWhenUsed="0" w:defQFormat="0" w:count="376" />
24
+
25
+ <!-- Normal — Times New Roman 12pt, double spaced, first line indent -->
26
+ <w:style w:type="paragraph" w:default="1" w:styleId="Normal">
27
+ <w:name w:val="Normal" />
28
+ <w:qFormat />
29
+ <w:pPr>
30
+ <w:spacing w:after="0" w:line="480" w:lineRule="auto" />
31
+ <w:ind w:firstLine="720" />
32
+ </w:pPr>
33
+ <w:rPr>
34
+ <w:rFonts w:ascii="Times New Roman" w:hAnsi="Times New Roman" />
35
+ <w:sz w:val="24" />
36
+ <w:szCs w:val="24" />
37
+ </w:rPr>
38
+ </w:style>
39
+
40
+ <!-- Default Paragraph Font -->
41
+ <w:style w:type="character" w:default="1" w:styleId="DefaultParagraphFont">
42
+ <w:name w:val="Default Paragraph Font" />
43
+ <w:uiPriority w:val="1" />
44
+ <w:semiHidden />
45
+ <w:unhideWhenUsed />
46
+ </w:style>
47
+
48
+ <!-- Heading 1 — Bold, 14pt, no color, no indent -->
49
+ <w:style w:type="paragraph" w:styleId="Heading1">
50
+ <w:name w:val="heading 1" />
51
+ <w:basedOn w:val="Normal" />
52
+ <w:next w:val="Normal" />
53
+ <w:qFormat />
54
+ <w:uiPriority w:val="9" />
55
+ <w:pPr>
56
+ <w:keepNext />
57
+ <w:keepLines />
58
+ <w:spacing w:before="480" w:after="240" w:line="480" w:lineRule="auto" />
59
+ <w:ind w:firstLine="0" />
60
+ <w:jc w:val="center" />
61
+ <w:outlineLvl w:val="0" />
62
+ </w:pPr>
63
+ <w:rPr>
64
+ <w:b />
65
+ <w:sz w:val="28" />
66
+ <w:szCs w:val="28" />
67
+ </w:rPr>
68
+ </w:style>
69
+
70
+ <!-- Heading 2 — Bold, 13pt -->
71
+ <w:style w:type="paragraph" w:styleId="Heading2">
72
+ <w:name w:val="heading 2" />
73
+ <w:basedOn w:val="Normal" />
74
+ <w:next w:val="Normal" />
75
+ <w:qFormat />
76
+ <w:uiPriority w:val="9" />
77
+ <w:pPr>
78
+ <w:keepNext />
79
+ <w:keepLines />
80
+ <w:spacing w:before="360" w:after="120" w:line="480" w:lineRule="auto" />
81
+ <w:ind w:firstLine="0" />
82
+ <w:outlineLvl w:val="1" />
83
+ </w:pPr>
84
+ <w:rPr>
85
+ <w:b />
86
+ <w:sz w:val="26" />
87
+ <w:szCs w:val="26" />
88
+ </w:rPr>
89
+ </w:style>
90
+
91
+ <!-- Heading 3 — Bold, 12pt -->
92
+ <w:style w:type="paragraph" w:styleId="Heading3">
93
+ <w:name w:val="heading 3" />
94
+ <w:basedOn w:val="Normal" />
95
+ <w:next w:val="Normal" />
96
+ <w:qFormat />
97
+ <w:uiPriority w:val="9" />
98
+ <w:pPr>
99
+ <w:keepNext />
100
+ <w:keepLines />
101
+ <w:spacing w:before="240" w:after="80" w:line="480" w:lineRule="auto" />
102
+ <w:ind w:firstLine="0" />
103
+ <w:outlineLvl w:val="2" />
104
+ </w:pPr>
105
+ <w:rPr>
106
+ <w:b />
107
+ <w:sz w:val="24" />
108
+ <w:szCs w:val="24" />
109
+ </w:rPr>
110
+ </w:style>
111
+
112
+ <!-- Title — Centered, bold, 14pt (academic title page) -->
113
+ <w:style w:type="paragraph" w:styleId="Title">
114
+ <w:name w:val="Title" />
115
+ <w:basedOn w:val="Normal" />
116
+ <w:next w:val="Normal" />
117
+ <w:qFormat />
118
+ <w:uiPriority w:val="10" />
119
+ <w:pPr>
120
+ <w:spacing w:after="480" w:line="480" w:lineRule="auto" />
121
+ <w:ind w:firstLine="0" />
122
+ <w:jc w:val="center" />
123
+ </w:pPr>
124
+ <w:rPr>
125
+ <w:b />
126
+ <w:sz w:val="28" />
127
+ <w:szCs w:val="28" />
128
+ </w:rPr>
129
+ </w:style>
130
+
131
+ <!-- Subtitle -->
132
+ <w:style w:type="paragraph" w:styleId="Subtitle">
133
+ <w:name w:val="Subtitle" />
134
+ <w:basedOn w:val="Normal" />
135
+ <w:next w:val="Normal" />
136
+ <w:qFormat />
137
+ <w:uiPriority w:val="11" />
138
+ <w:pPr>
139
+ <w:spacing w:after="240" w:line="480" w:lineRule="auto" />
140
+ <w:ind w:firstLine="0" />
141
+ <w:jc w:val="center" />
142
+ </w:pPr>
143
+ <w:rPr>
144
+ <w:sz w:val="24" />
145
+ <w:szCs w:val="24" />
146
+ </w:rPr>
147
+ </w:style>
148
+
149
+ <!-- Quote — Block quote, indented 0.5 inch on both sides -->
150
+ <w:style w:type="paragraph" w:styleId="Quote">
151
+ <w:name w:val="Quote" />
152
+ <w:basedOn w:val="Normal" />
153
+ <w:next w:val="Normal" />
154
+ <w:qFormat />
155
+ <w:uiPriority w:val="29" />
156
+ <w:pPr>
157
+ <w:spacing w:before="240" w:after="240" w:line="480" w:lineRule="auto" />
158
+ <w:ind w:left="720" w:right="720" w:firstLine="0" />
159
+ </w:pPr>
160
+ </w:style>
161
+
162
+ <!-- Table Normal -->
163
+ <w:style w:type="table" w:default="1" w:styleId="TableNormal">
164
+ <w:name w:val="Normal Table" />
165
+ <w:uiPriority w:val="99" />
166
+ <w:semiHidden />
167
+ <w:unhideWhenUsed />
168
+ <w:tblPr>
169
+ <w:tblInd w:w="0" w:type="dxa" />
170
+ <w:tblCellMar>
171
+ <w:top w:w="0" w:type="dxa" />
172
+ <w:left w:w="108" w:type="dxa" />
173
+ <w:bottom w:w="0" w:type="dxa" />
174
+ <w:right w:w="108" w:type="dxa" />
175
+ </w:tblCellMar>
176
+ </w:tblPr>
177
+ </w:style>
178
+
179
+ <!-- Table Grid — Simple borders, no color -->
180
+ <w:style w:type="table" w:styleId="TableGrid">
181
+ <w:name w:val="Table Grid" />
182
+ <w:basedOn w:val="TableNormal" />
183
+ <w:uiPriority w:val="39" />
184
+ <w:tblPr>
185
+ <w:tblBorders>
186
+ <w:top w:val="single" w:sz="4" w:space="0" w:color="auto" />
187
+ <w:left w:val="single" w:sz="4" w:space="0" w:color="auto" />
188
+ <w:bottom w:val="single" w:sz="4" w:space="0" w:color="auto" />
189
+ <w:right w:val="single" w:sz="4" w:space="0" w:color="auto" />
190
+ <w:insideH w:val="single" w:sz="4" w:space="0" w:color="auto" />
191
+ <w:insideV w:val="single" w:sz="4" w:space="0" w:color="auto" />
192
+ </w:tblBorders>
193
+ </w:tblPr>
194
+ </w:style>
195
+
196
+ <!-- Header -->
197
+ <w:style w:type="paragraph" w:styleId="Header">
198
+ <w:name w:val="header" />
199
+ <w:basedOn w:val="Normal" />
200
+ <w:uiPriority w:val="99" />
201
+ <w:semiHidden />
202
+ <w:unhideWhenUsed />
203
+ <w:pPr>
204
+ <w:tabs>
205
+ <w:tab w:val="center" w:pos="4680" />
206
+ <w:tab w:val="right" w:pos="9360" />
207
+ </w:tabs>
208
+ <w:spacing w:after="0" w:line="240" w:lineRule="auto" />
209
+ <w:ind w:firstLine="0" />
210
+ </w:pPr>
211
+ <w:rPr>
212
+ <w:sz w:val="24" />
213
+ <w:szCs w:val="24" />
214
+ </w:rPr>
215
+ </w:style>
216
+
217
+ <!-- Footer -->
218
+ <w:style w:type="paragraph" w:styleId="Footer">
219
+ <w:name w:val="footer" />
220
+ <w:basedOn w:val="Normal" />
221
+ <w:uiPriority w:val="99" />
222
+ <w:semiHidden />
223
+ <w:unhideWhenUsed />
224
+ <w:pPr>
225
+ <w:tabs>
226
+ <w:tab w:val="center" w:pos="4680" />
227
+ <w:tab w:val="right" w:pos="9360" />
228
+ </w:tabs>
229
+ <w:spacing w:after="0" w:line="240" w:lineRule="auto" />
230
+ <w:ind w:firstLine="0" />
231
+ <w:jc w:val="center" />
232
+ </w:pPr>
233
+ <w:rPr>
234
+ <w:sz w:val="24" />
235
+ <w:szCs w:val="24" />
236
+ </w:rPr>
237
+ </w:style>
238
+
239
+ <!-- Hyperlink -->
240
+ <w:style w:type="character" w:styleId="Hyperlink">
241
+ <w:name w:val="Hyperlink" />
242
+ <w:uiPriority w:val="99" />
243
+ <w:unhideWhenUsed />
244
+ <w:rPr>
245
+ <w:color w:val="0563C1" />
246
+ <w:u w:val="single" />
247
+ </w:rPr>
248
+ </w:style>
249
+
250
+ </w:styles>