@nguyenphp/antigravity-marketing 1.0.18 → 1.0.19

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 (127) hide show
  1. package/README.md +186 -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
@@ -0,0 +1,191 @@
1
+ # Comments System Guide (4-File Architecture)
2
+
3
+ ## Overview
4
+
5
+ Word comments require coordination across **four XML files** plus references in `document.xml`, `[Content_Types].xml`, and `document.xml.rels`.
6
+
7
+ ---
8
+
9
+ ## The Four Comment Files
10
+
11
+ ### 1. `word/comments.xml` — Main Comment Content
12
+
13
+ Contains the actual comment text:
14
+
15
+ ```xml
16
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
17
+ <w:comments xmlns:w="http://schemas.openxmlformats.org/wordprocessingml/2006/main"
18
+ xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">
19
+ <w:comment w:id="1" w:author="Alice" w:date="2026-03-21T09:00:00Z" w:initials="A">
20
+ <w:p>
21
+ <w:pPr><w:pStyle w:val="CommentText" /></w:pPr>
22
+ <w:r>
23
+ <w:rPr><w:rStyle w:val="CommentReference" /></w:rPr>
24
+ <w:annotationRef />
25
+ </w:r>
26
+ <w:r>
27
+ <w:t>This needs clarification.</w:t>
28
+ </w:r>
29
+ </w:p>
30
+ </w:comment>
31
+ </w:comments>
32
+ ```
33
+
34
+ Key attributes: `w:id` (unique integer), `w:author`, `w:date` (ISO 8601), `w:initials`.
35
+
36
+ ### 2. `word/commentsExtended.xml` — W15 Extensions
37
+
38
+ Links comments to paragraphs and tracks resolved status:
39
+
40
+ ```xml
41
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
42
+ <w15:commentsEx xmlns:w15="http://schemas.microsoft.com/office/word/2012/wordml">
43
+ <w15:commentEx w15:paraId="1A2B3C4D" w15:done="0" />
44
+ </w15:commentsEx>
45
+ ```
46
+
47
+ - `w15:paraId` — matches the `w14:paraId` of the comment's paragraph in `comments.xml`
48
+ - `w15:done` — `"0"` = open, `"1"` = resolved
49
+
50
+ ### 3. `word/commentsIds.xml` — Persistent ID Mapping
51
+
52
+ Provides durable IDs that survive copy/paste across documents:
53
+
54
+ ```xml
55
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
56
+ <w16cid:commentsIds xmlns:w16cid="http://schemas.microsoft.com/office/word/2016/wordml/cid">
57
+ <w16cid:commentId w16cid:paraId="1A2B3C4D" w16cid:durableId="12345678" />
58
+ </w16cid:commentsIds>
59
+ ```
60
+
61
+ - `w16cid:paraId` — same as `w15:paraId`
62
+ - `w16cid:durableId` — globally unique identifier (8-digit hex)
63
+
64
+ ### 4. `word/commentsExtensible.xml` — W16 Extensions
65
+
66
+ Modern comment extensions (used in newer Word versions):
67
+
68
+ ```xml
69
+ <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
70
+ <w16cex:commentsExtensible xmlns:w16cex="http://schemas.microsoft.com/office/word/2018/wordml/cex">
71
+ <w16cex:commentExtensible w16cex:durableId="12345678" w16cex:dateUtc="2026-03-21T09:00:00Z" />
72
+ </w16cex:commentsExtensible>
73
+ ```
74
+
75
+ ---
76
+
77
+ ## Document.xml References
78
+
79
+ Comments are anchored in document content using three elements:
80
+
81
+ ```xml
82
+ <w:p>
83
+ <w:commentRangeStart w:id="1" />
84
+ <w:r><w:t>This text has a comment.</w:t></w:r>
85
+ <w:commentRangeEnd w:id="1" />
86
+ <w:r>
87
+ <w:rPr><w:rStyle w:val="CommentReference" /></w:rPr>
88
+ <w:commentReference w:id="1" />
89
+ </w:r>
90
+ </w:p>
91
+ ```
92
+
93
+ - `w:commentRangeStart` — marks where the commented text begins
94
+ - `w:commentRangeEnd` — marks where the commented text ends
95
+ - `w:commentReference` — the visible comment marker (superscript number), placed in a run after the range end
96
+
97
+ The `w:id` on all three must match the `w:id` in `comments.xml`.
98
+
99
+ ---
100
+
101
+ ## Content Types Registration
102
+
103
+ Add to `[Content_Types].xml`:
104
+
105
+ ```xml
106
+ <Override PartName="/word/comments.xml"
107
+ ContentType="application/vnd.openxmlformats-officedocument.wordprocessingml.comments+xml" />
108
+ <Override PartName="/word/commentsExtended.xml"
109
+ ContentType="application/vnd.ms-word.commentsExtended+xml" />
110
+ <Override PartName="/word/commentsIds.xml"
111
+ ContentType="application/vnd.ms-word.commentsIds+xml" />
112
+ <Override PartName="/word/commentsExtensible.xml"
113
+ ContentType="application/vnd.ms-word.commentsExtensible+xml" />
114
+ ```
115
+
116
+ ---
117
+
118
+ ## Relationship Registration
119
+
120
+ Add to `word/_rels/document.xml.rels`:
121
+
122
+ ```xml
123
+ <Relationship Id="rId20" Type="http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments"
124
+ Target="comments.xml" />
125
+ <Relationship Id="rId21" Type="http://schemas.microsoft.com/office/2011/relationships/commentsExtended"
126
+ Target="commentsExtended.xml" />
127
+ <Relationship Id="rId22" Type="http://schemas.microsoft.com/office/2016/09/relationships/commentsIds"
128
+ Target="commentsIds.xml" />
129
+ <Relationship Id="rId23" Type="http://schemas.microsoft.com/office/2018/08/relationships/commentsExtensible"
130
+ Target="commentsExtensible.xml" />
131
+ ```
132
+
133
+ ---
134
+
135
+ ## Step-by-Step: Adding a New Comment
136
+
137
+ 1. **Choose a unique comment ID** (scan existing `w:id` values, use max + 1)
138
+ 2. **Generate a paraId** (8-character hex, e.g., `"1A2B3C4D"`) and durableId (8-digit hex)
139
+ 3. **Add to `comments.xml`**: Create `w:comment` element with content
140
+ 4. **Add to `commentsExtended.xml`**: Create `w15:commentEx` with `paraId`, `done="0"`
141
+ 5. **Add to `commentsIds.xml`**: Create `w16cid:commentId` with `paraId` and `durableId`
142
+ 6. **Add to `commentsExtensible.xml`**: Create `w16cex:commentExtensible` with `durableId` and `dateUtc`
143
+ 7. **Add to `document.xml`**: Insert `w:commentRangeStart`, `w:commentRangeEnd`, and `w:commentReference` around target text
144
+ 8. **Verify `[Content_Types].xml`** and `document.xml.rels` have entries for all 4 files
145
+
146
+ ---
147
+
148
+ ## Step-by-Step: Adding a Reply
149
+
150
+ Replies are comments whose paragraph's `w14:paraId` links to a parent comment:
151
+
152
+ 1. Create a new `w:comment` in `comments.xml` with a new `w:id`
153
+ 2. In `commentsExtended.xml`, add `w15:commentEx` with:
154
+ - `w15:paraId` = new paragraph ID
155
+ - `w15:paraIdParent` = the `paraId` of the comment being replied to
156
+ - `w15:done="0"`
157
+ 3. Add entries in `commentsIds.xml` and `commentsExtensible.xml`
158
+ 4. In `document.xml`, the reply does NOT need its own range markers — it shares the parent's range
159
+
160
+ ```xml
161
+ <!-- In commentsExtended.xml -->
162
+ <w15:commentEx w15:paraId="5E6F7A8B" w15:paraIdParent="1A2B3C4D" w15:done="0" />
163
+ ```
164
+
165
+ ---
166
+
167
+ ## Step-by-Step: Resolving a Comment
168
+
169
+ Set `w15:done="1"` on the comment's `w15:commentEx` entry:
170
+
171
+ ```xml
172
+ <!-- Before -->
173
+ <w15:commentEx w15:paraId="1A2B3C4D" w15:done="0" />
174
+
175
+ <!-- After -->
176
+ <w15:commentEx w15:paraId="1A2B3C4D" w15:done="1" />
177
+ ```
178
+
179
+ This marks the comment (and all its replies) as resolved. The comment remains visible but appears grayed out in Word.
180
+
181
+ ---
182
+
183
+ ## Minimum Viable Comment
184
+
185
+ At minimum, a working comment requires:
186
+ 1. `comments.xml` with the `w:comment` element
187
+ 2. `document.xml` with range markers and reference
188
+ 3. Relationship in `document.xml.rels`
189
+ 4. Content type in `[Content_Types].xml`
190
+
191
+ The extended files (`commentsExtended`, `commentsIds`, `commentsExtensible`) are optional but recommended for full compatibility with modern Word.