dimcode-darwin-arm64 0.2.19-beta.0 → 0.2.20-beta.0

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 (109) hide show
  1. package/bin/dimcode +0 -0
  2. package/bin/skills-assets/chrome-control/SKILL.md +96 -0
  3. package/bin/skills-assets/dim-workflow/SKILL.md +78 -30
  4. package/bin/skills-assets/officecli/SKILL.md +423 -0
  5. package/package.json +1 -1
  6. package/bin/skills-assets/docx/SKILL.md +0 -273
  7. package/bin/skills-assets/docx/assets/styles/academic_styles.xml +0 -250
  8. package/bin/skills-assets/docx/assets/styles/corporate_styles.xml +0 -284
  9. package/bin/skills-assets/docx/assets/styles/default_styles.xml +0 -449
  10. package/bin/skills-assets/docx/assets/xsd/aesthetic-rules.xsd +0 -470
  11. package/bin/skills-assets/docx/assets/xsd/business-rules.xsd +0 -130
  12. package/bin/skills-assets/docx/assets/xsd/common-types.xsd +0 -159
  13. package/bin/skills-assets/docx/assets/xsd/wml-subset.xsd +0 -589
  14. package/bin/skills-assets/docx/references/cjk_typography.md +0 -357
  15. package/bin/skills-assets/docx/references/cjk_university_template_guide.md +0 -184
  16. package/bin/skills-assets/docx/references/comments_guide.md +0 -191
  17. package/bin/skills-assets/docx/references/design_good_bad_examples.md +0 -829
  18. package/bin/skills-assets/docx/references/design_principles.md +0 -819
  19. package/bin/skills-assets/docx/references/openxml_element_order.md +0 -308
  20. package/bin/skills-assets/docx/references/openxml_encyclopedia_part1.md +0 -4061
  21. package/bin/skills-assets/docx/references/openxml_encyclopedia_part2.md +0 -2820
  22. package/bin/skills-assets/docx/references/openxml_encyclopedia_part3.md +0 -3381
  23. package/bin/skills-assets/docx/references/openxml_namespaces.md +0 -82
  24. package/bin/skills-assets/docx/references/openxml_units.md +0 -72
  25. package/bin/skills-assets/docx/references/scenario_a_create.md +0 -284
  26. package/bin/skills-assets/docx/references/scenario_b_edit_content.md +0 -295
  27. package/bin/skills-assets/docx/references/scenario_c_apply_template.md +0 -456
  28. package/bin/skills-assets/docx/references/track_changes_guide.md +0 -200
  29. package/bin/skills-assets/docx/references/troubleshooting.md +0 -506
  30. package/bin/skills-assets/docx/references/typography_guide.md +0 -294
  31. package/bin/skills-assets/docx/references/xsd_validation_guide.md +0 -158
  32. package/bin/skills-assets/docx/scripts/doc_to_docx.sh +0 -40
  33. package/bin/skills-assets/docx/scripts/docx_preview.sh +0 -37
  34. package/bin/skills-assets/docx/scripts/dotnet/Docx.Cli/Docx.Cli.csproj +0 -19
  35. package/bin/skills-assets/docx/scripts/dotnet/Docx.Cli/Program.cs +0 -18
  36. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/AnalyzeCommand.cs +0 -147
  37. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/ApplyTemplateCommand.cs +0 -322
  38. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/CreateCommand.cs +0 -324
  39. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/DiffCommand.cs +0 -155
  40. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/EditContentCommand.cs +0 -487
  41. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/FixOrderCommand.cs +0 -108
  42. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/MergeRunsCommand.cs +0 -122
  43. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Commands/ValidateCommand.cs +0 -107
  44. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Docx.Core.csproj +0 -15
  45. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/CommentSynchronizer.cs +0 -169
  46. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/ElementOrder.cs +0 -80
  47. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/NamespaceConstants.cs +0 -42
  48. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/RunMerger.cs +0 -81
  49. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/StyleAnalyzer.cs +0 -81
  50. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/TrackChangesHelper.cs +0 -99
  51. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/OpenXml/UnitConverter.cs +0 -23
  52. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples.cs +0 -1832
  53. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch1.cs +0 -910
  54. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch2.cs +0 -999
  55. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch3.cs +0 -1048
  56. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/AestheticRecipeSamples_Batch4.cs +0 -1038
  57. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/CharacterFormattingSamples.cs +0 -1020
  58. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/DocumentCreationSamples.cs +0 -1121
  59. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/FieldAndTocSamples.cs +0 -624
  60. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/FootnoteAndCommentSamples.cs +0 -675
  61. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/HeaderFooterSamples.cs +0 -838
  62. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ImageSamples.cs +0 -917
  63. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ListAndNumberingSamples.cs +0 -826
  64. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/ParagraphFormattingSamples.cs +0 -1199
  65. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/StyleSystemSamples.cs +0 -1487
  66. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/TableSamples.cs +0 -1163
  67. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Samples/TrackChangesSamples.cs +0 -595
  68. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/CjkHelper.cs +0 -39
  69. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/FontDefaults.cs +0 -24
  70. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Typography/PageSizes.cs +0 -20
  71. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/BusinessRuleValidator.cs +0 -224
  72. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/GateCheckValidator.cs +0 -148
  73. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/ValidationResult.cs +0 -23
  74. package/bin/skills-assets/docx/scripts/dotnet/Docx.Core/Validation/XsdValidator.cs +0 -69
  75. package/bin/skills-assets/docx/scripts/dotnet/Docx.slnx +0 -4
  76. package/bin/skills-assets/docx/scripts/env_check.sh +0 -196
  77. package/bin/skills-assets/docx/scripts/setup.ps1 +0 -274
  78. package/bin/skills-assets/docx/scripts/setup.sh +0 -504
  79. package/bin/skills-assets/pptx-generator/SKILL.md +0 -248
  80. package/bin/skills-assets/pptx-generator/references/design-system.md +0 -392
  81. package/bin/skills-assets/pptx-generator/references/editing.md +0 -162
  82. package/bin/skills-assets/pptx-generator/references/pitfalls.md +0 -112
  83. package/bin/skills-assets/pptx-generator/references/pptxgenjs.md +0 -420
  84. package/bin/skills-assets/pptx-generator/references/slide-types.md +0 -413
  85. package/bin/skills-assets/xlsx/SKILL.md +0 -137
  86. package/bin/skills-assets/xlsx/references/create.md +0 -691
  87. package/bin/skills-assets/xlsx/references/edit.md +0 -684
  88. package/bin/skills-assets/xlsx/references/fix.md +0 -37
  89. package/bin/skills-assets/xlsx/references/format.md +0 -768
  90. package/bin/skills-assets/xlsx/references/ooxml-cheatsheet.md +0 -231
  91. package/bin/skills-assets/xlsx/references/read-analyze.md +0 -97
  92. package/bin/skills-assets/xlsx/references/validate.md +0 -772
  93. package/bin/skills-assets/xlsx/scripts/formula_check.py +0 -422
  94. package/bin/skills-assets/xlsx/scripts/libreoffice_recalc.py +0 -248
  95. package/bin/skills-assets/xlsx/scripts/shared_strings_builder.py +0 -163
  96. package/bin/skills-assets/xlsx/scripts/style_audit.py +0 -575
  97. package/bin/skills-assets/xlsx/scripts/xlsx_add_column.py +0 -395
  98. package/bin/skills-assets/xlsx/scripts/xlsx_insert_row.py +0 -274
  99. package/bin/skills-assets/xlsx/scripts/xlsx_pack.py +0 -87
  100. package/bin/skills-assets/xlsx/scripts/xlsx_reader.py +0 -362
  101. package/bin/skills-assets/xlsx/scripts/xlsx_shift_rows.py +0 -396
  102. package/bin/skills-assets/xlsx/scripts/xlsx_unpack.py +0 -130
  103. package/bin/skills-assets/xlsx/templates/minimal_xlsx/[Content_Types].xml +0 -9
  104. package/bin/skills-assets/xlsx/templates/minimal_xlsx/_rels/.rels +0 -6
  105. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +0 -19
  106. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +0 -33
  107. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/styles.xml +0 -160
  108. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/workbook.xml +0 -30
  109. package/bin/skills-assets/xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +0 -70
@@ -1,191 +0,0 @@
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.