@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,174 @@
1
+ ---
2
+ name: vision-analysis
3
+ description: >
4
+ Analyze, describe, and extract information from images using the MiniMax vision MCP tool.
5
+ Use when: user shares an image file path or URL (any message containing .jpg, .jpeg, .png,
6
+ .gif, .webp, .bmp, or .svg file extension) or uses any of these words/phrases near an image:
7
+ "analyze", "analyse", "describe", "explain", "understand", "look at", "review",
8
+ "extract text", "OCR", "what is in", "what's in", "read this image", "see this image",
9
+ "tell me about", "explain this", "interpret this", in connection with an image, screenshot,
10
+ diagram, chart, mockup, wireframe, or photo.
11
+ Also triggers for: UI mockup review, wireframe analysis, design critique, data extraction
12
+ from charts, object detection, person/animal/activity identification.
13
+ Triggers: any message with an image file extension (jpg, jpeg, png, gif, webp, bmp, svg),
14
+ or any request to analyze/describ/understand/review/extract text from an image, screenshot,
15
+ diagram, chart, photo, mockup, or wireframe.
16
+ license: MIT
17
+ metadata:
18
+ version: "1.0"
19
+ category: ai-vision
20
+ sources:
21
+ - MiniMax Token Plan MCP (understand_image tool)
22
+ ---
23
+
24
+ # Vision Analysis
25
+
26
+ Analyze images using the MiniMax `MiniMax_understand_image` MCP tool available in the MiniMax Token Plan.
27
+
28
+ ## Prerequisites
29
+
30
+ - MiniMax Token Plan subscription with valid `MINIMAX_API_KEY`
31
+ - MiniMax MCP configured (`MiniMax_understand_image` tool available)
32
+
33
+ ### If MCP tool is not configured
34
+
35
+ **Step 1:** The agent should fetch setup instructions from:
36
+ **https://platform.minimaxi.com/docs/token-plan/mcp-guide**
37
+
38
+ **Step 2:** Detect the user's environment (OpenCode, Cursor, Claude Code, etc.) and output the exact commands needed. Common examples:
39
+
40
+ **OpenCode** — add to `~/.config/opencode/opencode.json` or `package.json`:
41
+ ```json
42
+ {
43
+ "mcp": {
44
+ "MiniMax": {
45
+ "type": "local",
46
+ "command": ["uvx", "minimax-coding-plan-mcp", "-y"],
47
+ "environment": {
48
+ "MINIMAX_API_KEY": "YOUR_TOKEN_PLAN_KEY",
49
+ "MINIMAX_API_HOST": "https://api.minimaxi.com"
50
+ },
51
+ "enabled": true
52
+ }
53
+ }
54
+ }
55
+ ```
56
+
57
+ **Claude Code**:
58
+ ```bash
59
+ claude mcp add -s user MiniMax --env MINIMAX_API_KEY=your-key --env MINIMAX_API_HOST=https://api.minimaxi.com -- uvx minimax-coding-plan-mcp -y
60
+ ```
61
+
62
+ **Cursor** — add to MCP settings:
63
+ ```json
64
+ {
65
+ "mcpServers": {
66
+ "MiniMax": {
67
+ "command": "uvx",
68
+ "args": ["minimax-coding-plan-mcp"],
69
+ "env": {
70
+ "MINIMAX_API_KEY": "your-key",
71
+ "MINIMAX_API_HOST": "https://api.minimaxi.com"
72
+ }
73
+ }
74
+ }
75
+ }
76
+ ```
77
+
78
+ **Step 3:** After configuration, tell the user to restart their app and verify with `/mcp`.
79
+
80
+ **Important:** If the user does not have a MiniMax Token Plan subscription, inform them that the `understand_image` tool requires one — it cannot be used with free or other tier API keys.
81
+
82
+ ## Analysis Modes
83
+
84
+ | Mode | When to use | Prompt strategy |
85
+ |---|---|---|
86
+ | `describe` | General image understanding | Ask for detailed description |
87
+ | `ocr` | Text extraction from screenshots, documents | Ask to extract all text verbatim |
88
+ | `ui-review` | UI mockups, wireframes, design files | Ask for design critique with suggestions |
89
+ | `chart-data` | Charts, graphs, data visualizations | Ask to extract data points and trends |
90
+ | `object-detect` | Identify objects, people, activities | Ask to list and locate all elements |
91
+
92
+ ## Workflow
93
+
94
+ ### Step 1: Auto-detect image
95
+
96
+ The skill triggers automatically when a message contains an image file path or URL with extensions:
97
+ `.jpg`, `.jpeg`, `.png`, `.gif`, `.webp`, `.bmp`, `.svg`
98
+
99
+ Extract the image path from the message.
100
+
101
+ ### Step 2: Select analysis mode and call MCP tool
102
+
103
+ Use the `MiniMax_understand_image` tool with a mode-specific prompt:
104
+
105
+ **describe:**
106
+ ```
107
+ Provide a detailed description of this image. Include: main subject, setting/background,
108
+ colors/style, any text visible, notable objects, and overall composition.
109
+ ```
110
+
111
+ **ocr:**
112
+ ```
113
+ Extract all text visible in this image verbatim. Preserve structure and formatting
114
+ (headers, lists, columns). If no text is found, say so.
115
+ ```
116
+
117
+ **ui-review:**
118
+ ```
119
+ You are a UI/UX design reviewer. Analyze this interface mockup or design. Provide:
120
+ (1) Strengths — what works well, (2) Issues — usability or design problems,
121
+ (3) Specific, actionable suggestions for improvement. Be constructive and detailed.
122
+ ```
123
+
124
+ **chart-data:**
125
+ ```
126
+ Extract all data from this chart or graph. List: chart title, axis labels, all
127
+ data points/series with values if readable, and a brief summary of the trend.
128
+ ```
129
+
130
+ **object-detect:**
131
+ ```
132
+ List all distinct objects, people, and activities you can identify. For each,
133
+ describe what it is and its approximate location in the image.
134
+ ```
135
+
136
+ ### Step 3: Present results
137
+
138
+ Return the analysis clearly. For `describe`, use readable prose. For `ocr`, preserve structure. For `ui-review`, use a structured critique format.
139
+
140
+ ## Output Format Example
141
+
142
+ For describe mode:
143
+ ```
144
+ ## Image Description
145
+
146
+ [Detailed description of the image contents...]
147
+ ```
148
+
149
+ For ocr mode:
150
+ ```
151
+ ## Extracted Text
152
+
153
+ [Preserved text structure from the image]
154
+ ```
155
+
156
+ For ui-review mode:
157
+ ```
158
+ ## UI Design Review
159
+
160
+ ### Strengths
161
+ - ...
162
+
163
+ ### Issues
164
+ - ...
165
+
166
+ ### Suggestions
167
+ - ...
168
+ ```
169
+
170
+ ## Notes
171
+
172
+ - Images up to 20MB supported (JPEG, PNG, GIF, WebP)
173
+ - Local file paths work if MiniMax MCP is configured with file access
174
+ - The `MiniMax_understand_image` tool is provided by the `minimax-coding-plan-mcp` package
@@ -73,6 +73,7 @@ Create actionable report:
73
73
  2. **Performance**: Metrics vs goals
74
74
  3. **Insights**: Why it happened
75
75
  4. **Recommendations**: What to do next
76
+ 5. **High-Fidelity PDF**: Use `minimax-pdf` to generate a professional, print-ready report for stakeholders.
76
77
 
77
78
  ## Output
78
79
 
@@ -80,9 +81,11 @@ Create actionable report:
80
81
  - Dashboard updates
81
82
  - Action items
82
83
  - Test hypotheses
84
+ - **Professional PDF Report** (via `/report`)
83
85
 
84
86
  ## Skills Used
85
87
 
86
88
  - analytics-marketing
87
89
  - growth-hacking
88
90
  - conversion-optimization
91
+ - minimax-pdf
@@ -0,0 +1,44 @@
1
+ ---
2
+ description: Workflow tạo báo cáo tự động bằng cách "clone" phong cách từ website thương hiệu.
3
+ ---
4
+
5
+ # /brand-report - Báo cáo Theo Phong cách Thương hiệu
6
+
7
+ Sử dụng workflow này khi bạn muốn tạo một báo cáo có thiết kế y hệt một công ty nào đó chỉ bằng cách cung cấp URL website của họ.
8
+
9
+ ## Quy trình "One-Prompt" Tự động
10
+
11
+ Bạn chỉ cần cung cấp thông tin theo mẫu:
12
+ > "Chạy /brand-report cho dữ liệu trong file [tên_file] theo style của website [địa_chỉ_url]"
13
+
14
+ ### Các bước AI sẽ thực hiện tự động:
15
+
16
+ 1. **Crawl Thương hiệu**: AI sử dụng `browser_subagent` truy cập website để lấy:
17
+ - Logo chính thức.
18
+ - Bảng màu đặc trưng (màu Primary, Secondary).
19
+ - Font chữ và phong cách thiết kế (Dark/Light mode).
20
+
21
+ 2. **Thiết kế Layout**: Sử dụng `ui-ux-pro-max` để áp dụng các thông tin trên vào một hệ thống thiết kế báo cáo đồng bộ.
22
+
23
+ 3. **Xử lý Dữ liệu**: Đọc file text của bạn và chuyển đổi thành các block nội dung chuyên nghiệp (biểu đồ, bảng, callout).
24
+
25
+ 4. **Xuất bản PDF**: Dùng `minimax-pdf` để render kết quả cuối cùng ra file PDF chất lượng cao.
26
+
27
+ ## Ví dụ thực tế
28
+
29
+ **Input**:
30
+ - File: `marketing_results_q1.txt`
31
+ - Website: `https://www.tesla.com`
32
+
33
+ **Kết quả**: AI sẽ tạo một báo cáo PDF với:
34
+ - Logo Tesla ở trang bìa.
35
+ - Tông màu đỏ/đen/trắng đặc trưng của Tesla.
36
+ - Font chữ hiện đại, tối giản.
37
+ - Các biểu đồ được render theo màu của thương hiệu.
38
+
39
+ ## Skills Used
40
+
41
+ - marketing-report-expert (Điều phối chính)
42
+ - minimax-pdf (Xuất bản)
43
+ - browser_subagent (Crawl brand)
44
+ - ui-ux-pro-max (Hệ thống thiết kế)
@@ -0,0 +1,49 @@
1
+ ---
2
+ description: Workflow tạo báo cáo PDF chuyên nghiệp từ HTML/Markdown.
3
+ ---
4
+
5
+ # /report - Tạo Báo cáo Chuyên nghiệp
6
+
7
+ Sử dụng workflow này để chuyển đổi các nội dung marketing, kết quả phân tích hoặc đề xuất thành tệp PDF chất lượng cao.
8
+
9
+ ## Bước 1: Xác định loại báo cáo
10
+
11
+ Chọn một trong các định dạng có sẵn để có thiết kế phù hợp:
12
+ - `report`: Báo cáo chỉ số, thiết kế hiện đại, nhiều bảng biểu.
13
+ - `proposal`: Đề xuất dự án, thiết kế trang trọng.
14
+ - `resume`: CV hoặc giới thiệu chuyên gia.
15
+ - `portfolio`: Trình bày dự án trực quan.
16
+ - `magazine`: Thiết kế dạng tạp chí, nhiều hình ảnh.
17
+ - `minimal`: Thiết kế tối giản, sạch sẽ.
18
+
19
+ ## Bước 2: Chuẩn bị nội dung
20
+
21
+ 1. **Tiêu đề (Title)**: Tên chính của báo cáo.
22
+ 2. **Tác giả (Author)**: Tên người hoặc đội ngũ thực hiện.
23
+ 3. **Nội dung (Content)**: Cung cấp văn bản theo cấu trúc:
24
+ - Các đề mục (H1, H2, H3)
25
+ - Văn bản nội dung (Body)
26
+ - Các điểm chính (Bullet points)
27
+ - Kết quả (Tables/Charts)
28
+
29
+ ## Bước 3: Tinh chỉnh thiết kế
30
+
31
+ 1. **Màu nhấn (Accent Color)**: Chọn mã màu HEX phù hợp với thương hiệu (ví dụ: `#2D5F8A` cho công nghệ, `#2E5E3A` cho môi trường).
32
+ 2. **Hình ảnh bìa**: Cung cấp đường dẫn hoặc mô tả hình ảnh cho trang bìa.
33
+
34
+ ## Bước 4: Thực thi tạo PDF
35
+
36
+ Sử dụng công cụ `minimax-pdf` để render:
37
+ 1. Tổng hợp dữ liệu vào tệp `content.json`.
38
+ 2. Chạy lệnh tạo báo cáo.
39
+ 3. Kiểm tra tệp xuất ra (`out.pdf`).
40
+
41
+ ## Kết quả đầu ra
42
+
43
+ - Tệp PDF chuyên nghiệp, sẵn sàng in ấn hoặc gửi khách hàng.
44
+ - Báo cáo với bìa đẹp, mục lục tự động và dàn trang tinh tế.
45
+
46
+ ## Skills Used
47
+
48
+ - minimax-pdf
49
+ - vision-analysis (nếu cần phân tích ảnh bìa)