myagent-ai 1.0.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 (486) hide show
  1. package/Dockerfile +30 -0
  2. package/README.md +333 -0
  3. package/agents/__init__.py +6 -0
  4. package/agents/__pycache__/main_agent.cpython-312.pyc +0 -0
  5. package/agents/base.py +115 -0
  6. package/agents/main_agent.py +695 -0
  7. package/agents/memory_agent.py +313 -0
  8. package/agents/tool_agent.py +248 -0
  9. package/chatbot/__init__.py +5 -0
  10. package/chatbot/base.py +124 -0
  11. package/chatbot/discord_bot.py +146 -0
  12. package/chatbot/feishu_bot.py +548 -0
  13. package/chatbot/manager.py +164 -0
  14. package/chatbot/qq_bot.py +189 -0
  15. package/chatbot/telegram_bot.py +167 -0
  16. package/chatbot/wechat_bot.py +558 -0
  17. package/communication/__init__.py +66 -0
  18. package/communication/channel.py +576 -0
  19. package/communication/crypto.py +347 -0
  20. package/communication/manager.py +397 -0
  21. package/communication/peer.py +156 -0
  22. package/config.py +464 -0
  23. package/core/__init__.py +10 -0
  24. package/core/config_broadcast.py +276 -0
  25. package/core/llm.py +878 -0
  26. package/core/logger.py +241 -0
  27. package/core/task_queue.py +362 -0
  28. package/core/utils.py +184 -0
  29. package/executor/__init__.py +4 -0
  30. package/executor/__pycache__/engine.cpython-312.pyc +0 -0
  31. package/executor/engine.py +1215 -0
  32. package/groups/__init__.py +15 -0
  33. package/groups/manager.py +724 -0
  34. package/knowledge/__init__.py +4 -0
  35. package/knowledge/rag.py +444 -0
  36. package/main.py +801 -0
  37. package/memory/__init__.py +4 -0
  38. package/memory/manager.py +840 -0
  39. package/organization/__init__.py +4 -0
  40. package/organization/manager.py +350 -0
  41. package/package.json +58 -0
  42. package/requirements.txt +59 -0
  43. package/setup.py +40 -0
  44. package/skills/ASR/LICENSE.txt +21 -0
  45. package/skills/ASR/SKILL.md +580 -0
  46. package/skills/ASR/scripts/asr.ts +27 -0
  47. package/skills/LLM/LICENSE.txt +21 -0
  48. package/skills/LLM/SKILL.md +856 -0
  49. package/skills/LLM/scripts/chat.ts +32 -0
  50. package/skills/TTS/LICENSE.txt +21 -0
  51. package/skills/TTS/SKILL.md +735 -0
  52. package/skills/TTS/tts.ts +25 -0
  53. package/skills/VLM/LICENSE.txt +21 -0
  54. package/skills/VLM/SKILL.md +588 -0
  55. package/skills/VLM/scripts/vlm.ts +57 -0
  56. package/skills/__init__.py +5 -0
  57. package/skills/agent-browser/SKILL.md +328 -0
  58. package/skills/ai-news-collectors/SKILL.md +157 -0
  59. package/skills/ai-news-collectors/_meta.json +6 -0
  60. package/skills/ai-news-collectors/references/sources.md +128 -0
  61. package/skills/aminer-open-academic/SKILL.md +312 -0
  62. package/skills/aminer-open-academic/_meta.json +6 -0
  63. package/skills/aminer-open-academic/evals/evals.json +46 -0
  64. package/skills/aminer-open-academic/references/api-catalog.md +1032 -0
  65. package/skills/aminer-open-academic/scripts/__pycache__/aminer_client.cpython-312.pyc +0 -0
  66. package/skills/aminer-open-academic/scripts/aminer_client.py +875 -0
  67. package/skills/auto-target-tracker/SKILL.md +317 -0
  68. package/skills/base.py +147 -0
  69. package/skills/blog-writer/2024-02-17-radical-transparency-sales.md +35 -0
  70. package/skills/blog-writer/2024-02-17-raycast-spotlight-superpowers.md +33 -0
  71. package/skills/blog-writer/2024-02-17-short-form-content-marketing.md +47 -0
  72. package/skills/blog-writer/2024-02-17-typing-speed-benefits.md +33 -0
  73. package/skills/blog-writer/2024-03-14-effective-ai-prompts.md +55 -0
  74. package/skills/blog-writer/2024-11-08-ai-revolutionizing-entry-level-sales.md +43 -0
  75. package/skills/blog-writer/2025-11-12-why-ai-art-is-useless.md +49 -0
  76. package/skills/blog-writer/README.md +2 -0
  77. package/skills/blog-writer/SKILL.md +158 -0
  78. package/skills/blog-writer/__pycache__/manage_examples.cpython-312.pyc +0 -0
  79. package/skills/blog-writer/_meta.json +6 -0
  80. package/skills/blog-writer/manage_examples.py +90 -0
  81. package/skills/blog-writer/style-guide.md +160 -0
  82. package/skills/browser_skill.py +146 -0
  83. package/skills/coding-agent/SKILL.md +120 -0
  84. package/skills/coding-agent/_meta.json +6 -0
  85. package/skills/coding-agent/criteria.md +48 -0
  86. package/skills/coding-agent/execution.md +42 -0
  87. package/skills/coding-agent/memory-template.md +38 -0
  88. package/skills/coding-agent/planning.md +31 -0
  89. package/skills/coding-agent/state.md +60 -0
  90. package/skills/coding-agent/verification.md +39 -0
  91. package/skills/content-strategy/SKILL.md +181 -0
  92. package/skills/content-strategy/_meta.json +6 -0
  93. package/skills/contentanalysis/ExtractWisdom/SKILL.md +229 -0
  94. package/skills/contentanalysis/ExtractWisdom/Workflows/Extract.md +60 -0
  95. package/skills/contentanalysis/SKILL.md +14 -0
  96. package/skills/docx/CHANGELOG.md +85 -0
  97. package/skills/docx/LICENSE.txt +30 -0
  98. package/skills/docx/SKILL.md +455 -0
  99. package/skills/docx/docx-js.md +681 -0
  100. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  101. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  102. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  103. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  104. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  105. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  106. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  107. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  108. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  109. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  110. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  111. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  112. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  113. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  114. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  115. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  116. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  117. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  118. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  119. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  120. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  121. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  122. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  123. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  124. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  125. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  126. package/skills/docx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  127. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  128. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  129. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  130. package/skills/docx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  131. package/skills/docx/ooxml/schemas/mce/mc.xsd +75 -0
  132. package/skills/docx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  133. package/skills/docx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  134. package/skills/docx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  135. package/skills/docx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  136. package/skills/docx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  137. package/skills/docx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  138. package/skills/docx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  139. package/skills/docx/ooxml/scripts/__pycache__/pack.cpython-312.pyc +0 -0
  140. package/skills/docx/ooxml/scripts/__pycache__/unpack.cpython-312.pyc +0 -0
  141. package/skills/docx/ooxml/scripts/__pycache__/validate.cpython-312.pyc +0 -0
  142. package/skills/docx/ooxml/scripts/pack.py +159 -0
  143. package/skills/docx/ooxml/scripts/unpack.py +29 -0
  144. package/skills/docx/ooxml/scripts/validate.py +69 -0
  145. package/skills/docx/ooxml/scripts/validation/__init__.py +15 -0
  146. package/skills/docx/ooxml/scripts/validation/__pycache__/__init__.cpython-312.pyc +0 -0
  147. package/skills/docx/ooxml/scripts/validation/__pycache__/base.cpython-312.pyc +0 -0
  148. package/skills/docx/ooxml/scripts/validation/__pycache__/docx.cpython-312.pyc +0 -0
  149. package/skills/docx/ooxml/scripts/validation/__pycache__/pptx.cpython-312.pyc +0 -0
  150. package/skills/docx/ooxml/scripts/validation/__pycache__/redlining.cpython-312.pyc +0 -0
  151. package/skills/docx/ooxml/scripts/validation/base.py +951 -0
  152. package/skills/docx/ooxml/scripts/validation/docx.py +274 -0
  153. package/skills/docx/ooxml/scripts/validation/pptx.py +315 -0
  154. package/skills/docx/ooxml/scripts/validation/redlining.py +279 -0
  155. package/skills/docx/ooxml.md +615 -0
  156. package/skills/docx/scripts/__init__.py +1 -0
  157. package/skills/docx/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
  158. package/skills/docx/scripts/__pycache__/add_toc_placeholders.cpython-312.pyc +0 -0
  159. package/skills/docx/scripts/__pycache__/document.cpython-312.pyc +0 -0
  160. package/skills/docx/scripts/__pycache__/utilities.cpython-312.pyc +0 -0
  161. package/skills/docx/scripts/add_toc_placeholders.py +220 -0
  162. package/skills/docx/scripts/document.py +1302 -0
  163. package/skills/docx/scripts/templates/comments.xml +3 -0
  164. package/skills/docx/scripts/templates/commentsExtended.xml +3 -0
  165. package/skills/docx/scripts/templates/commentsExtensible.xml +3 -0
  166. package/skills/docx/scripts/templates/commentsIds.xml +3 -0
  167. package/skills/docx/scripts/templates/people.xml +3 -0
  168. package/skills/docx/scripts/utilities.py +374 -0
  169. package/skills/dream-interpreter/SKILL.md +88 -0
  170. package/skills/dream-interpreter/assets/example_asset.txt +24 -0
  171. package/skills/dream-interpreter/references/api_reference.md +34 -0
  172. package/skills/dream-interpreter/references/interpretation-guide.md +83 -0
  173. package/skills/dream-interpreter/references/output-schema.md +65 -0
  174. package/skills/dream-interpreter/references/questioning-strategy.md +62 -0
  175. package/skills/dream-interpreter/references/visual-mapping.md +81 -0
  176. package/skills/dream-interpreter/scripts/__pycache__/example.cpython-312.pyc +0 -0
  177. package/skills/dream-interpreter/scripts/example.py +19 -0
  178. package/skills/dream-interpreter/skill.json +7 -0
  179. package/skills/file_skill.py +246 -0
  180. package/skills/finance/Finance_API_Doc.md +445 -0
  181. package/skills/finance/SKILL.md +53 -0
  182. package/skills/fullstack-dev/SKILL.md +205 -0
  183. package/skills/get-fortune-analysis/SKILL.md +370 -0
  184. package/skills/get-fortune-analysis/lunar_python.py +91 -0
  185. package/skills/gift-evaluator/SKILL.md +83 -0
  186. package/skills/gift-evaluator/__pycache__/html_tools.cpython-312.pyc +0 -0
  187. package/skills/gift-evaluator/html_tools.py +268 -0
  188. package/skills/image-edit/LICENSE.txt +21 -0
  189. package/skills/image-edit/SKILL.md +896 -0
  190. package/skills/image-edit/scripts/image-edit.ts +36 -0
  191. package/skills/image-generation/LICENSE.txt +21 -0
  192. package/skills/image-generation/SKILL.md +583 -0
  193. package/skills/image-generation/scripts/image-generation.ts +28 -0
  194. package/skills/image-understand/LICENSE.txt +21 -0
  195. package/skills/image-understand/SKILL.md +855 -0
  196. package/skills/image-understand/scripts/image-understand.ts +41 -0
  197. package/skills/interview-designer/README.md +70 -0
  198. package/skills/interview-designer/SKILL.md +53 -0
  199. package/skills/interview-designer/_meta.json +6 -0
  200. package/skills/interview-designer/references/design_rationale.md +43 -0
  201. package/skills/interview-designer/templates/interview_guide_template.md +62 -0
  202. package/skills/market-research-reports/SKILL.md +901 -0
  203. package/skills/market-research-reports/assets/FORMATTING_GUIDE.md +428 -0
  204. package/skills/market-research-reports/assets/market_report_template.tex +1380 -0
  205. package/skills/market-research-reports/assets/market_research.sty +564 -0
  206. package/skills/market-research-reports/references/data_analysis_patterns.md +548 -0
  207. package/skills/market-research-reports/references/report_structure_guide.md +999 -0
  208. package/skills/market-research-reports/references/visual_generation_guide.md +1077 -0
  209. package/skills/market-research-reports/scripts/__pycache__/generate_market_visuals.cpython-312.pyc +0 -0
  210. package/skills/market-research-reports/scripts/generate_market_visuals.py +529 -0
  211. package/skills/marketing-mode/README.md +49 -0
  212. package/skills/marketing-mode/SKILL.md +693 -0
  213. package/skills/marketing-mode/_meta.json +6 -0
  214. package/skills/marketing-mode/mode-prompt.md +39 -0
  215. package/skills/marketing-mode/skill.json +51 -0
  216. package/skills/mindfulness-meditation/SKILL.md +65 -0
  217. package/skills/mindfulness-meditation/_meta.json +6 -0
  218. package/skills/multi-search-engine/CHANGELOG.md +15 -0
  219. package/skills/multi-search-engine/CHANNELLOG.md +48 -0
  220. package/skills/multi-search-engine/SKILL.md +78 -0
  221. package/skills/multi-search-engine/_meta.json +6 -0
  222. package/skills/multi-search-engine/config.json +14 -0
  223. package/skills/multi-search-engine/metadata.json +7 -0
  224. package/skills/multi-search-engine/references/international-search.md +651 -0
  225. package/skills/pdf/LICENSE.txt +30 -0
  226. package/skills/pdf/SKILL.md +1534 -0
  227. package/skills/pdf/forms.md +205 -0
  228. package/skills/pdf/reference.md +765 -0
  229. package/skills/pdf/scripts/__pycache__/add_zai_metadata.cpython-312.pyc +0 -0
  230. package/skills/pdf/scripts/__pycache__/check_bounding_boxes.cpython-312.pyc +0 -0
  231. package/skills/pdf/scripts/__pycache__/check_bounding_boxes_test.cpython-312.pyc +0 -0
  232. package/skills/pdf/scripts/__pycache__/check_fillable_fields.cpython-312.pyc +0 -0
  233. package/skills/pdf/scripts/__pycache__/convert_pdf_to_images.cpython-312.pyc +0 -0
  234. package/skills/pdf/scripts/__pycache__/create_validation_image.cpython-312.pyc +0 -0
  235. package/skills/pdf/scripts/__pycache__/extract_form_field_info.cpython-312.pyc +0 -0
  236. package/skills/pdf/scripts/__pycache__/fill_fillable_fields.cpython-312.pyc +0 -0
  237. package/skills/pdf/scripts/__pycache__/fill_pdf_form_with_annotations.cpython-312.pyc +0 -0
  238. package/skills/pdf/scripts/__pycache__/sanitize_code.cpython-312.pyc +0 -0
  239. package/skills/pdf/scripts/add_zai_metadata.py +172 -0
  240. package/skills/pdf/scripts/check_bounding_boxes.py +70 -0
  241. package/skills/pdf/scripts/check_bounding_boxes_test.py +226 -0
  242. package/skills/pdf/scripts/check_fillable_fields.py +12 -0
  243. package/skills/pdf/scripts/convert_pdf_to_images.py +35 -0
  244. package/skills/pdf/scripts/create_validation_image.py +41 -0
  245. package/skills/pdf/scripts/extract_form_field_info.py +152 -0
  246. package/skills/pdf/scripts/fill_fillable_fields.py +114 -0
  247. package/skills/pdf/scripts/fill_pdf_form_with_annotations.py +108 -0
  248. package/skills/pdf/scripts/sanitize_code.py +110 -0
  249. package/skills/podcast-generate/LICENSE.txt +21 -0
  250. package/skills/podcast-generate/SKILL.md +198 -0
  251. package/skills/podcast-generate/generate.ts +661 -0
  252. package/skills/podcast-generate/package.json +30 -0
  253. package/skills/podcast-generate/readme.md +177 -0
  254. package/skills/podcast-generate/test_data/segments.jsonl +3 -0
  255. package/skills/podcast-generate/tsconfig.json +26 -0
  256. package/skills/pptx/LICENSE.txt +30 -0
  257. package/skills/pptx/SKILL.md +507 -0
  258. package/skills/pptx/html2pptx.md +625 -0
  259. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  260. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  261. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  262. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  263. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  264. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  265. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  266. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  267. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  268. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  269. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  270. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  271. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  272. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  273. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  274. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  275. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  276. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  277. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  278. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  279. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  280. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  281. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  282. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  283. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  284. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  285. package/skills/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  286. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  287. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  288. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  289. package/skills/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  290. package/skills/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  291. package/skills/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  292. package/skills/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  293. package/skills/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  294. package/skills/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  295. package/skills/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  296. package/skills/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  297. package/skills/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  298. package/skills/pptx/ooxml/scripts/__pycache__/pack.cpython-312.pyc +0 -0
  299. package/skills/pptx/ooxml/scripts/__pycache__/unpack.cpython-312.pyc +0 -0
  300. package/skills/pptx/ooxml/scripts/__pycache__/validate.cpython-312.pyc +0 -0
  301. package/skills/pptx/ooxml/scripts/pack.py +159 -0
  302. package/skills/pptx/ooxml/scripts/unpack.py +29 -0
  303. package/skills/pptx/ooxml/scripts/validate.py +69 -0
  304. package/skills/pptx/ooxml/scripts/validation/__init__.py +15 -0
  305. package/skills/pptx/ooxml/scripts/validation/__pycache__/__init__.cpython-312.pyc +0 -0
  306. package/skills/pptx/ooxml/scripts/validation/__pycache__/base.cpython-312.pyc +0 -0
  307. package/skills/pptx/ooxml/scripts/validation/__pycache__/docx.cpython-312.pyc +0 -0
  308. package/skills/pptx/ooxml/scripts/validation/__pycache__/pptx.cpython-312.pyc +0 -0
  309. package/skills/pptx/ooxml/scripts/validation/__pycache__/redlining.cpython-312.pyc +0 -0
  310. package/skills/pptx/ooxml/scripts/validation/base.py +951 -0
  311. package/skills/pptx/ooxml/scripts/validation/docx.py +274 -0
  312. package/skills/pptx/ooxml/scripts/validation/pptx.py +315 -0
  313. package/skills/pptx/ooxml/scripts/validation/redlining.py +279 -0
  314. package/skills/pptx/ooxml.md +427 -0
  315. package/skills/pptx/scripts/__pycache__/inventory.cpython-312.pyc +0 -0
  316. package/skills/pptx/scripts/__pycache__/inventory.cpython-313.pyc +0 -0
  317. package/skills/pptx/scripts/__pycache__/rearrange.cpython-312.pyc +0 -0
  318. package/skills/pptx/scripts/__pycache__/replace.cpython-312.pyc +0 -0
  319. package/skills/pptx/scripts/__pycache__/thumbnail.cpython-312.pyc +0 -0
  320. package/skills/pptx/scripts/html2pptx.js +1044 -0
  321. package/skills/pptx/scripts/inventory.py +1020 -0
  322. package/skills/pptx/scripts/rearrange.py +231 -0
  323. package/skills/pptx/scripts/replace.py +385 -0
  324. package/skills/pptx/scripts/thumbnail.py +450 -0
  325. package/skills/qingyan-research/SKILL.md +294 -0
  326. package/skills/qingyan-research/__pycache__/generate_html.cpython-312.pyc +0 -0
  327. package/skills/qingyan-research/generate_html.py +33 -0
  328. package/skills/registry.py +344 -0
  329. package/skills/search_skill.py +228 -0
  330. package/skills/seo-content-writer/SKILL.md +661 -0
  331. package/skills/seo-content-writer/_meta.json +6 -0
  332. package/skills/seo-content-writer/references/content-structure-templates.md +875 -0
  333. package/skills/seo-content-writer/references/title-formulas.md +339 -0
  334. package/skills/skill-creator/LICENSE.txt +202 -0
  335. package/skills/skill-creator/SKILL.md +485 -0
  336. package/skills/skill-creator/agents/analyzer.md +274 -0
  337. package/skills/skill-creator/agents/comparator.md +202 -0
  338. package/skills/skill-creator/agents/grader.md +223 -0
  339. package/skills/skill-creator/assets/eval_review.html +146 -0
  340. package/skills/skill-creator/eval-viewer/__pycache__/generate_review.cpython-312.pyc +0 -0
  341. package/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  342. package/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  343. package/skills/skill-creator/references/schemas.md +430 -0
  344. package/skills/skill-creator/scripts/__init__.py +0 -0
  345. package/skills/skill-creator/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
  346. package/skills/skill-creator/scripts/__pycache__/aggregate_benchmark.cpython-312.pyc +0 -0
  347. package/skills/skill-creator/scripts/__pycache__/generate_report.cpython-312.pyc +0 -0
  348. package/skills/skill-creator/scripts/__pycache__/improve_description.cpython-312.pyc +0 -0
  349. package/skills/skill-creator/scripts/__pycache__/package_skill.cpython-312.pyc +0 -0
  350. package/skills/skill-creator/scripts/__pycache__/quick_validate.cpython-312.pyc +0 -0
  351. package/skills/skill-creator/scripts/__pycache__/run_eval.cpython-312.pyc +0 -0
  352. package/skills/skill-creator/scripts/__pycache__/run_loop.cpython-312.pyc +0 -0
  353. package/skills/skill-creator/scripts/__pycache__/utils.cpython-312.pyc +0 -0
  354. package/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  355. package/skills/skill-creator/scripts/generate_report.py +326 -0
  356. package/skills/skill-creator/scripts/improve_description.py +236 -0
  357. package/skills/skill-creator/scripts/package_skill.py +136 -0
  358. package/skills/skill-creator/scripts/quick_validate.py +103 -0
  359. package/skills/skill-creator/scripts/run_eval.py +310 -0
  360. package/skills/skill-creator/scripts/run_loop.py +328 -0
  361. package/skills/skill-creator/scripts/utils.py +47 -0
  362. package/skills/skill-finder-cn/SKILL.md +66 -0
  363. package/skills/skill-finder-cn/_meta.json +6 -0
  364. package/skills/skill-finder-cn/package.json +5 -0
  365. package/skills/skill-finder-cn/scripts/search.sh +15 -0
  366. package/skills/skill-vetter/SKILL.md +137 -0
  367. package/skills/stock-analysis-skill/SKILL.md +156 -0
  368. package/skills/stock-analysis-skill/package.json +21 -0
  369. package/skills/stock-analysis-skill/src/analyzer.ts +264 -0
  370. package/skills/stock-analysis-skill/src/dataFetcher.ts +130 -0
  371. package/skills/stock-analysis-skill/src/dividend.ts +226 -0
  372. package/skills/stock-analysis-skill/src/index.ts +327 -0
  373. package/skills/stock-analysis-skill/src/rumorScanner.ts +200 -0
  374. package/skills/stock-analysis-skill/src/types.ts +167 -0
  375. package/skills/stock-analysis-skill/src/watchlist.ts +292 -0
  376. package/skills/stock-analysis-skill/tsconfig.json +15 -0
  377. package/skills/storyboard-manager/SKILL.md +532 -0
  378. package/skills/storyboard-manager/index.js +9 -0
  379. package/skills/storyboard-manager/package.json +11 -0
  380. package/skills/storyboard-manager/references/character_development.md +232 -0
  381. package/skills/storyboard-manager/references/story_structures.md +148 -0
  382. package/skills/storyboard-manager/scripts/__pycache__/consistency_checker.cpython-312.pyc +0 -0
  383. package/skills/storyboard-manager/scripts/__pycache__/timeline_tracker.cpython-312.pyc +0 -0
  384. package/skills/storyboard-manager/scripts/consistency_checker.py +391 -0
  385. package/skills/storyboard-manager/scripts/timeline_tracker.py +352 -0
  386. package/skills/system_skill.py +249 -0
  387. package/skills/ui-ux-pro-max/SKILL.md +43 -0
  388. package/skills/ui-ux-pro-max/_meta.json +6 -0
  389. package/skills/ui-ux-pro-max/assets/data/charts.csv +26 -0
  390. package/skills/ui-ux-pro-max/assets/data/colors.csv +97 -0
  391. package/skills/ui-ux-pro-max/assets/data/icons.csv +101 -0
  392. package/skills/ui-ux-pro-max/assets/data/landing.csv +31 -0
  393. package/skills/ui-ux-pro-max/assets/data/products.csv +97 -0
  394. package/skills/ui-ux-pro-max/assets/data/react-performance.csv +45 -0
  395. package/skills/ui-ux-pro-max/assets/data/stacks/astro.csv +54 -0
  396. package/skills/ui-ux-pro-max/assets/data/stacks/flutter.csv +53 -0
  397. package/skills/ui-ux-pro-max/assets/data/stacks/html-tailwind.csv +56 -0
  398. package/skills/ui-ux-pro-max/assets/data/stacks/jetpack-compose.csv +53 -0
  399. package/skills/ui-ux-pro-max/assets/data/stacks/nextjs.csv +53 -0
  400. package/skills/ui-ux-pro-max/assets/data/stacks/nuxt-ui.csv +51 -0
  401. package/skills/ui-ux-pro-max/assets/data/stacks/nuxtjs.csv +59 -0
  402. package/skills/ui-ux-pro-max/assets/data/stacks/react-native.csv +52 -0
  403. package/skills/ui-ux-pro-max/assets/data/stacks/react.csv +54 -0
  404. package/skills/ui-ux-pro-max/assets/data/stacks/shadcn.csv +61 -0
  405. package/skills/ui-ux-pro-max/assets/data/stacks/svelte.csv +54 -0
  406. package/skills/ui-ux-pro-max/assets/data/stacks/swiftui.csv +51 -0
  407. package/skills/ui-ux-pro-max/assets/data/stacks/vue.csv +50 -0
  408. package/skills/ui-ux-pro-max/assets/data/styles.csv +68 -0
  409. package/skills/ui-ux-pro-max/assets/data/typography.csv +58 -0
  410. package/skills/ui-ux-pro-max/assets/data/ui-reasoning.csv +101 -0
  411. package/skills/ui-ux-pro-max/assets/data/ux-guidelines.csv +100 -0
  412. package/skills/ui-ux-pro-max/assets/data/web-interface.csv +31 -0
  413. package/skills/ui-ux-pro-max/data/charts.csv +26 -0
  414. package/skills/ui-ux-pro-max/data/colors.csv +97 -0
  415. package/skills/ui-ux-pro-max/data/icons.csv +101 -0
  416. package/skills/ui-ux-pro-max/data/landing.csv +31 -0
  417. package/skills/ui-ux-pro-max/data/products.csv +97 -0
  418. package/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  419. package/skills/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  420. package/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  421. package/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  422. package/skills/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  423. package/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  424. package/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  425. package/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  426. package/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  427. package/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  428. package/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  429. package/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  430. package/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  431. package/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  432. package/skills/ui-ux-pro-max/data/styles.csv +68 -0
  433. package/skills/ui-ux-pro-max/data/typography.csv +58 -0
  434. package/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  435. package/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  436. package/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  437. package/skills/ui-ux-pro-max/references/upstream-README.md +488 -0
  438. package/skills/ui-ux-pro-max/references/upstream-skill-content.md +288 -0
  439. package/skills/ui-ux-pro-max/scripts/__init__.py +0 -0
  440. package/skills/ui-ux-pro-max/scripts/__pycache__/__init__.cpython-312.pyc +0 -0
  441. package/skills/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  442. package/skills/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-312.pyc +0 -0
  443. package/skills/ui-ux-pro-max/scripts/__pycache__/search.cpython-312.pyc +0 -0
  444. package/skills/ui-ux-pro-max/scripts/core.py +253 -0
  445. package/skills/ui-ux-pro-max/scripts/design_system.py +1071 -0
  446. package/skills/ui-ux-pro-max/scripts/search.py +111 -0
  447. package/skills/video-generation/LICENSE.txt +21 -0
  448. package/skills/video-generation/SKILL.md +1082 -0
  449. package/skills/video-generation/scripts/video.ts +168 -0
  450. package/skills/video-understand/LICENSE.txt +21 -0
  451. package/skills/video-understand/SKILL.md +916 -0
  452. package/skills/video-understand/scripts/video-understand.ts +41 -0
  453. package/skills/visual-design-foundations/SKILL.md +318 -0
  454. package/skills/visual-design-foundations/references/color-systems.md +417 -0
  455. package/skills/visual-design-foundations/references/spacing-iconography.md +425 -0
  456. package/skills/visual-design-foundations/references/typography-systems.md +432 -0
  457. package/skills/web-reader/LICENSE.txt +21 -0
  458. package/skills/web-reader/SKILL.md +1140 -0
  459. package/skills/web-reader/scripts/web-reader.ts +37 -0
  460. package/skills/web-search/LICENSE.txt +21 -0
  461. package/skills/web-search/SKILL.md +912 -0
  462. package/skills/web-search/scripts/web_search.ts +44 -0
  463. package/skills/web-shader-extractor/SKILL.md +145 -0
  464. package/skills/web-shader-extractor/references/config-extraction.md +50 -0
  465. package/skills/web-shader-extractor/references/encoded-definitions.md +53 -0
  466. package/skills/web-shader-extractor/references/extraction-workflow.md +61 -0
  467. package/skills/web-shader-extractor/references/porting-strategy.md +164 -0
  468. package/skills/web-shader-extractor/references/shader-injection.md +126 -0
  469. package/skills/web-shader-extractor/references/shaders-com.md +190 -0
  470. package/skills/web-shader-extractor/references/tech-signatures.md +54 -0
  471. package/skills/web-shader-extractor/references/tsl-extraction.md +41 -0
  472. package/skills/web-shader-extractor/references/unicorn-studio.md +353 -0
  473. package/skills/web-shader-extractor/scripts/fetch-rendered-dom.mjs +153 -0
  474. package/skills/web-shader-extractor/scripts/scan-bundle.sh +76 -0
  475. package/skills/writing-plans/SKILL.md +116 -0
  476. package/skills/writing-plans/_meta.json +6 -0
  477. package/skills/xlsx/LICENSE.txt +30 -0
  478. package/skills/xlsx/SKILL.md +496 -0
  479. package/skills/xlsx/__pycache__/recalc.cpython-312.pyc +0 -0
  480. package/skills/xlsx/recalc.py +178 -0
  481. package/start.sh +36 -0
  482. package/web/__init__.py +1 -0
  483. package/web/__pycache__/api_server.cpython-312.pyc +0 -0
  484. package/web/api_server.py +2043 -0
  485. package/web/ui/chat.html +3235 -0
  486. package/web/ui/index.html +458 -0
@@ -0,0 +1,901 @@
1
+ ---
2
+ name: market-research-reports
3
+ description: "Generate comprehensive market research reports (50+ pages) in the style of top consulting firms (McKinsey, BCG, Gartner). Features professional LaTeX formatting, extensive visual generation with scientific-schematics and generate-image, deep integration with research-lookup for data gathering, and multi-framework strategic analysis including Porter's Five Forces, PESTLE, SWOT, TAM/SAM/SOM, and BCG Matrix."
4
+ allowed-tools: [Read, Write, Edit, Bash]
5
+ ---
6
+
7
+ # Market Research Reports
8
+
9
+ ## Overview
10
+
11
+ Market research reports are comprehensive strategic documents that analyze industries, markets, and competitive landscapes to inform business decisions, investment strategies, and strategic planning. This skill generates **professional-grade reports of 50+ pages** with extensive visual content, modeled after deliverables from top consulting firms like McKinsey, BCG, Bain, Gartner, and Forrester.
12
+
13
+ **Key Features:**
14
+ - **Comprehensive length**: Reports are designed to be 50+ pages with no token constraints
15
+ - **Visual-rich content**: 5-6 key diagrams generated at start (more added as needed during writing)
16
+ - **Data-driven analysis**: Deep integration with research-lookup for market data
17
+ - **Multi-framework approach**: Porter's Five Forces, PESTLE, SWOT, BCG Matrix, TAM/SAM/SOM
18
+ - **Professional formatting**: Consulting-firm quality typography, colors, and layout
19
+ - **Actionable recommendations**: Strategic focus with implementation roadmaps
20
+
21
+ **Output Format:** LaTeX with professional styling, compiled to PDF. Uses the `market_research.sty` style package for consistent, professional formatting.
22
+
23
+ ## When to Use This Skill
24
+
25
+ This skill should be used when:
26
+ - Creating comprehensive market analysis for investment decisions
27
+ - Developing industry reports for strategic planning
28
+ - Analyzing competitive landscapes and market dynamics
29
+ - Conducting market sizing exercises (TAM/SAM/SOM)
30
+ - Evaluating market entry opportunities
31
+ - Preparing due diligence materials for M&A activities
32
+ - Creating thought leadership content for industry positioning
33
+ - Developing go-to-market strategy documentation
34
+ - Analyzing regulatory and policy impacts on markets
35
+ - Building business cases for new product launches
36
+
37
+ ## Visual Enhancement Requirements
38
+
39
+ **CRITICAL: Market research reports should include key visual content.**
40
+
41
+ Every report should generate **6 essential visuals** at the start, with additional visuals added as needed during writing. Start with the most critical visualizations to establish the report framework.
42
+
43
+ ### Visual Generation Tools
44
+
45
+ **Use `scientific-schematics` for:**
46
+ - Market growth trajectory charts
47
+ - TAM/SAM/SOM breakdown diagrams (concentric circles)
48
+ - Porter's Five Forces diagrams
49
+ - Competitive positioning matrices
50
+ - Market segmentation charts
51
+ - Value chain diagrams
52
+ - Technology roadmaps
53
+ - Risk heatmaps
54
+ - Strategic prioritization matrices
55
+ - Implementation timelines/Gantt charts
56
+ - SWOT analysis diagrams
57
+ - BCG Growth-Share matrices
58
+
59
+ ```bash
60
+ # Example: Generate a TAM/SAM/SOM diagram
61
+ python skills/scientific-schematics/scripts/generate_schematic.py \
62
+ "TAM SAM SOM concentric circle diagram showing Total Addressable Market $50B outer circle, Serviceable Addressable Market $15B middle circle, Serviceable Obtainable Market $3B inner circle, with labels and arrows pointing to each segment" \
63
+ -o figures/tam_sam_som.png --doc-type report
64
+
65
+ # Example: Generate Porter's Five Forces
66
+ python skills/scientific-schematics/scripts/generate_schematic.py \
67
+ "Porter's Five Forces diagram with center box 'Competitive Rivalry' connected to four surrounding boxes: 'Threat of New Entrants' (top), 'Bargaining Power of Suppliers' (left), 'Bargaining Power of Buyers' (right), 'Threat of Substitutes' (bottom). Each box should show High/Medium/Low rating" \
68
+ -o figures/porters_five_forces.png --doc-type report
69
+ ```
70
+
71
+ **Use `generate-image` for:**
72
+ - Executive summary hero infographics
73
+ - Industry/sector conceptual illustrations
74
+ - Abstract technology visualizations
75
+ - Cover page imagery
76
+
77
+ ```bash
78
+ # Example: Generate executive summary infographic
79
+ python skills/generate-image/scripts/generate_image.py \
80
+ "Professional executive summary infographic for market research report, showing key metrics in modern data visualization style, blue and green color scheme, clean minimalist design with icons representing market size, growth rate, and competitive landscape" \
81
+ --output figures/executive_summary.png
82
+ ```
83
+
84
+ ### Recommended Visuals by Section (Generate as Needed)
85
+
86
+ | Section | Priority Visuals | Optional Visuals |
87
+ |---------|-----------------|------------------|
88
+ | Executive Summary | Executive infographic (START) | - |
89
+ | Market Size & Growth | Growth trajectory (START), TAM/SAM/SOM (START) | Regional breakdown, segment growth |
90
+ | Competitive Landscape | Porter's Five Forces (START), Positioning matrix (START) | Market share chart, strategic groups |
91
+ | Risk Analysis | Risk heatmap (START) | Mitigation matrix |
92
+ | Strategic Recommendations | Opportunity matrix | Priority framework |
93
+ | Implementation Roadmap | Timeline/Gantt | Milestone tracker |
94
+ | Investment Thesis | Financial projections | Scenario analysis |
95
+
96
+ **Start with 6 priority visuals** (marked as START above), then generate additional visuals as specific sections are written and require visual support.
97
+
98
+ ---
99
+
100
+ ## Report Structure (50+ Pages)
101
+
102
+ ### Front Matter (~5 pages)
103
+
104
+ #### Cover Page (1 page)
105
+ - Report title and subtitle
106
+ - Hero visualization (generated)
107
+ - Date and classification
108
+ - Prepared for / Prepared by
109
+
110
+ #### Table of Contents (1-2 pages)
111
+ - Automated from LaTeX
112
+ - List of Figures
113
+ - List of Tables
114
+
115
+ #### Executive Summary (2-3 pages)
116
+ - **Market Snapshot Box**: Key metrics at a glance
117
+ - **Investment Thesis**: 3-5 bullet point summary
118
+ - **Key Findings**: Major discoveries and insights
119
+ - **Strategic Recommendations**: Top 3-5 actionable recommendations
120
+ - **Executive Summary Infographic**: Visual synthesis of report highlights
121
+
122
+ ---
123
+
124
+ ### Core Analysis (~35 pages)
125
+
126
+ #### Chapter 1: Market Overview & Definition (4-5 pages)
127
+
128
+ **Content Requirements:**
129
+ - Market definition and scope
130
+ - Industry ecosystem mapping
131
+ - Key stakeholders and their roles
132
+ - Market boundaries and adjacencies
133
+ - Historical context and evolution
134
+
135
+ **Required Visuals (2):**
136
+ 1. Market ecosystem/value chain diagram
137
+ 2. Industry structure diagram
138
+
139
+ **Key Data Points:**
140
+ - Market definition criteria
141
+ - Included/excluded segments
142
+ - Geographic scope
143
+ - Time horizon for analysis
144
+
145
+ ---
146
+
147
+ #### Chapter 2: Market Size & Growth Analysis (6-8 pages)
148
+
149
+ **Content Requirements:**
150
+ - Total Addressable Market (TAM) calculation
151
+ - Serviceable Addressable Market (SAM) definition
152
+ - Serviceable Obtainable Market (SOM) estimation
153
+ - Historical growth analysis (5-10 years)
154
+ - Growth projections (5-10 years forward)
155
+ - Growth drivers and inhibitors
156
+ - Regional market breakdown
157
+ - Segment-level analysis
158
+
159
+ **Required Visuals (4):**
160
+ 1. Market growth trajectory chart (historical + projected)
161
+ 2. TAM/SAM/SOM concentric circles diagram
162
+ 3. Regional market breakdown (pie chart or treemap)
163
+ 4. Segment growth comparison (bar chart)
164
+
165
+ **Key Data Points:**
166
+ - Current market size (with source)
167
+ - CAGR (historical and projected)
168
+ - Market size by region
169
+ - Market size by segment
170
+ - Key assumptions for projections
171
+
172
+ **Data Sources:**
173
+ Use `research-lookup` to find:
174
+ - Market research reports (Gartner, Forrester, IDC, etc.)
175
+ - Industry association data
176
+ - Government statistics
177
+ - Company financial reports
178
+ - Academic studies
179
+
180
+ ---
181
+
182
+ #### Chapter 3: Industry Drivers & Trends (5-6 pages)
183
+
184
+ **Content Requirements:**
185
+ - Macroeconomic factors
186
+ - Technology trends
187
+ - Regulatory drivers
188
+ - Social and demographic shifts
189
+ - Environmental factors
190
+ - Industry-specific trends
191
+
192
+ **Analysis Frameworks:**
193
+ - **PESTLE Analysis**: Political, Economic, Social, Technological, Legal, Environmental
194
+ - **Trend Impact Assessment**: Likelihood vs Impact matrix
195
+
196
+ **Required Visuals (3):**
197
+ 1. Industry trends timeline or radar chart
198
+ 2. Driver impact matrix
199
+ 3. PESTLE analysis diagram
200
+
201
+ **Key Data Points:**
202
+ - Top 5-10 growth drivers with quantified impact
203
+ - Emerging trends with timeline
204
+ - Disruption factors
205
+
206
+ ---
207
+
208
+ #### Chapter 4: Competitive Landscape (6-8 pages)
209
+
210
+ **Content Requirements:**
211
+ - Market structure analysis
212
+ - Major player profiles
213
+ - Market share analysis
214
+ - Competitive positioning
215
+ - Barriers to entry
216
+ - Competitive dynamics
217
+
218
+ **Analysis Frameworks:**
219
+ - **Porter's Five Forces**: Comprehensive industry analysis
220
+ - **Competitive Positioning Matrix**: 2x2 matrix on key dimensions
221
+ - **Strategic Group Mapping**: Cluster competitors by strategy
222
+
223
+ **Required Visuals (4):**
224
+ 1. Porter's Five Forces diagram
225
+ 2. Market share pie chart or bar chart
226
+ 3. Competitive positioning matrix (2x2)
227
+ 4. Strategic group map
228
+
229
+ **Key Data Points:**
230
+ - Market share by company (top 10)
231
+ - Competitive intensity rating
232
+ - Entry barriers assessment
233
+ - Supplier/buyer power assessment
234
+
235
+ ---
236
+
237
+ #### Chapter 5: Customer Analysis & Segmentation (4-5 pages)
238
+
239
+ **Content Requirements:**
240
+ - Customer segment definitions
241
+ - Segment size and growth
242
+ - Buying behavior analysis
243
+ - Customer needs and pain points
244
+ - Decision-making process
245
+ - Value drivers by segment
246
+
247
+ **Analysis Frameworks:**
248
+ - **Customer Segmentation Matrix**: Size vs Growth
249
+ - **Value Proposition Canvas**: Jobs, Pains, Gains
250
+ - **Customer Journey Mapping**: Awareness to Advocacy
251
+
252
+ **Required Visuals (3):**
253
+ 1. Customer segmentation breakdown (pie/treemap)
254
+ 2. Segment attractiveness matrix
255
+ 3. Customer journey or value proposition diagram
256
+
257
+ **Key Data Points:**
258
+ - Segment sizes and percentages
259
+ - Growth rates by segment
260
+ - Average deal size / revenue per customer
261
+ - Customer acquisition cost by segment
262
+
263
+ ---
264
+
265
+ #### Chapter 6: Technology & Innovation Landscape (4-5 pages)
266
+
267
+ **Content Requirements:**
268
+ - Current technology stack
269
+ - Emerging technologies
270
+ - Innovation trends
271
+ - Technology adoption curves
272
+ - R&D investment analysis
273
+ - Patent landscape
274
+
275
+ **Analysis Frameworks:**
276
+ - **Technology Readiness Assessment**: TRL levels
277
+ - **Hype Cycle Positioning**: Where technologies sit
278
+ - **Technology Roadmap**: Evolution over time
279
+
280
+ **Required Visuals (2):**
281
+ 1. Technology roadmap diagram
282
+ 2. Innovation/adoption curve or hype cycle
283
+
284
+ **Key Data Points:**
285
+ - R&D spending in the industry
286
+ - Key technology milestones
287
+ - Patent filing trends
288
+ - Technology adoption rates
289
+
290
+ ---
291
+
292
+ #### Chapter 7: Regulatory & Policy Environment (3-4 pages)
293
+
294
+ **Content Requirements:**
295
+ - Current regulatory framework
296
+ - Key regulatory bodies
297
+ - Compliance requirements
298
+ - Upcoming regulatory changes
299
+ - Policy trends
300
+ - Impact assessment
301
+
302
+ **Required Visuals (1):**
303
+ 1. Regulatory timeline or framework diagram
304
+
305
+ **Key Data Points:**
306
+ - Key regulations and effective dates
307
+ - Compliance costs
308
+ - Regulatory risks
309
+ - Policy change probability
310
+
311
+ ---
312
+
313
+ #### Chapter 8: Risk Analysis (3-4 pages)
314
+
315
+ **Content Requirements:**
316
+ - Market risks
317
+ - Competitive risks
318
+ - Regulatory risks
319
+ - Technology risks
320
+ - Operational risks
321
+ - Financial risks
322
+ - Risk mitigation strategies
323
+
324
+ **Analysis Frameworks:**
325
+ - **Risk Heatmap**: Probability vs Impact
326
+ - **Risk Register**: Comprehensive risk inventory
327
+ - **Mitigation Matrix**: Risk vs Mitigation strategy
328
+
329
+ **Required Visuals (2):**
330
+ 1. Risk heatmap (probability vs impact)
331
+ 2. Risk mitigation matrix
332
+
333
+ **Key Data Points:**
334
+ - Top 10 risks with ratings
335
+ - Risk probability scores
336
+ - Impact severity scores
337
+ - Mitigation cost estimates
338
+
339
+ ---
340
+
341
+ ### Strategic Recommendations (~10 pages)
342
+
343
+ #### Chapter 9: Strategic Opportunities & Recommendations (4-5 pages)
344
+
345
+ **Content Requirements:**
346
+ - Opportunity identification
347
+ - Opportunity sizing
348
+ - Strategic options analysis
349
+ - Prioritization framework
350
+ - Detailed recommendations
351
+ - Success factors
352
+
353
+ **Analysis Frameworks:**
354
+ - **Opportunity Attractiveness Matrix**: Attractiveness vs Ability to Win
355
+ - **Strategic Options Framework**: Build, Buy, Partner, Ignore
356
+ - **Priority Matrix**: Impact vs Effort
357
+
358
+ **Required Visuals (3):**
359
+ 1. Opportunity matrix
360
+ 2. Strategic options framework
361
+ 3. Priority/recommendation matrix
362
+
363
+ **Key Data Points:**
364
+ - Opportunity sizes
365
+ - Investment requirements
366
+ - Expected returns
367
+ - Timeline to value
368
+
369
+ ---
370
+
371
+ #### Chapter 10: Implementation Roadmap (3-4 pages)
372
+
373
+ **Content Requirements:**
374
+ - Phased implementation plan
375
+ - Key milestones and deliverables
376
+ - Resource requirements
377
+ - Timeline and sequencing
378
+ - Dependencies and critical path
379
+ - Governance structure
380
+
381
+ **Required Visuals (2):**
382
+ 1. Implementation timeline/Gantt chart
383
+ 2. Milestone tracker or phase diagram
384
+
385
+ **Key Data Points:**
386
+ - Phase durations
387
+ - Resource requirements
388
+ - Key milestones with dates
389
+ - Budget allocation by phase
390
+
391
+ ---
392
+
393
+ #### Chapter 11: Investment Thesis & Financial Projections (3-4 pages)
394
+
395
+ **Content Requirements:**
396
+ - Investment summary
397
+ - Financial projections
398
+ - Scenario analysis
399
+ - Return expectations
400
+ - Key assumptions
401
+ - Sensitivity analysis
402
+
403
+ **Required Visuals (2):**
404
+ 1. Financial projection chart (revenue, growth)
405
+ 2. Scenario analysis comparison
406
+
407
+ **Key Data Points:**
408
+ - Revenue projections (3-5 years)
409
+ - CAGR projections
410
+ - ROI/IRR expectations
411
+ - Key financial assumptions
412
+
413
+ ---
414
+
415
+ ### Back Matter (~5 pages)
416
+
417
+ #### Appendix A: Methodology & Data Sources (1-2 pages)
418
+ - Research methodology
419
+ - Data collection approach
420
+ - Data sources and citations
421
+ - Limitations and assumptions
422
+
423
+ #### Appendix B: Detailed Market Data Tables (2-3 pages)
424
+ - Comprehensive market data tables
425
+ - Regional breakdowns
426
+ - Segment details
427
+ - Historical data series
428
+
429
+ #### Appendix C: Company Profiles (1-2 pages)
430
+ - Brief profiles of key competitors
431
+ - Financial highlights
432
+ - Strategic focus areas
433
+
434
+ #### References/Bibliography
435
+ - All sources cited
436
+ - BibTeX format for LaTeX
437
+
438
+ ---
439
+
440
+ ## Workflow
441
+
442
+ ### Phase 1: Research & Data Gathering
443
+
444
+ **Step 1: Define Scope**
445
+ - Clarify market definition
446
+ - Set geographic boundaries
447
+ - Determine time horizon
448
+ - Identify key questions to answer
449
+
450
+ **Step 2: Conduct Deep Research**
451
+
452
+ Use `research-lookup` extensively to gather market data:
453
+
454
+ ```bash
455
+ # Market size and growth data
456
+ python skills/research-lookup/scripts/research_lookup.py \
457
+ "What is the current market size and projected growth rate for [MARKET] industry? Include TAM, SAM, SOM estimates and CAGR projections"
458
+
459
+ # Competitive landscape
460
+ python skills/research-lookup/scripts/research_lookup.py \
461
+ "Who are the top 10 competitors in the [MARKET] market? What is their market share and competitive positioning?"
462
+
463
+ # Industry trends
464
+ python skills/research-lookup/scripts/research_lookup.py \
465
+ "What are the major trends and growth drivers in the [MARKET] industry for 2024-2030?"
466
+
467
+ # Regulatory environment
468
+ python skills/research-lookup/scripts/research_lookup.py \
469
+ "What are the key regulations and policy changes affecting the [MARKET] industry?"
470
+ ```
471
+
472
+ **Step 3: Data Organization**
473
+ - Create `sources/` folder with research notes
474
+ - Organize data by section
475
+ - Identify data gaps
476
+ - Conduct follow-up research as needed
477
+
478
+ ### Phase 2: Analysis & Framework Application
479
+
480
+ **Step 4: Apply Analysis Frameworks**
481
+
482
+ For each framework, conduct structured analysis:
483
+
484
+ - **Market Sizing**: TAM → SAM → SOM with clear assumptions
485
+ - **Porter's Five Forces**: Rate each force High/Medium/Low with rationale
486
+ - **PESTLE**: Analyze each dimension with trends and impacts
487
+ - **SWOT**: Internal strengths/weaknesses, external opportunities/threats
488
+ - **Competitive Positioning**: Define axes, plot competitors
489
+
490
+ **Step 5: Develop Insights**
491
+ - Synthesize findings into key insights
492
+ - Identify strategic implications
493
+ - Develop recommendations
494
+ - Prioritize opportunities
495
+
496
+ ### Phase 3: Visual Generation
497
+
498
+ **Step 6: Generate All Visuals**
499
+
500
+ Generate visuals BEFORE writing the report. Use the batch generation script:
501
+
502
+ ```bash
503
+ # Generate all standard market report visuals
504
+ python skills/market-research-reports/scripts/generate_market_visuals.py \
505
+ --topic "[MARKET NAME]" \
506
+ --output-dir figures/
507
+ ```
508
+
509
+ Or generate individually:
510
+
511
+ ```bash
512
+ # 1. Market growth trajectory
513
+ python skills/scientific-schematics/scripts/generate_schematic.py \
514
+ "Bar chart showing market growth from 2020 to 2034, with historical bars in dark blue (2020-2024) and projected bars in light blue (2025-2034). Y-axis shows market size in billions USD. Include CAGR annotation" \
515
+ -o figures/01_market_growth.png --doc-type report
516
+
517
+ # 2. TAM/SAM/SOM breakdown
518
+ python skills/scientific-schematics/scripts/generate_schematic.py \
519
+ "TAM SAM SOM concentric circles diagram. Outer circle TAM Total Addressable Market, middle circle SAM Serviceable Addressable Market, inner circle SOM Serviceable Obtainable Market. Each labeled with acronym and description. Blue gradient" \
520
+ -o figures/02_tam_sam_som.png --doc-type report
521
+
522
+ # 3. Porter's Five Forces
523
+ python skills/scientific-schematics/scripts/generate_schematic.py \
524
+ "Porter's Five Forces diagram with center box 'Competitive Rivalry' connected to four surrounding boxes: Threat of New Entrants (top), Bargaining Power of Suppliers (left), Bargaining Power of Buyers (right), Threat of Substitutes (bottom). Color code by rating: High=red, Medium=yellow, Low=green" \
525
+ -o figures/03_porters_five_forces.png --doc-type report
526
+
527
+ # 4. Competitive positioning matrix
528
+ python skills/scientific-schematics/scripts/generate_schematic.py \
529
+ "2x2 competitive positioning matrix with X-axis 'Market Focus (Niche to Broad)' and Y-axis 'Solution Approach (Product to Platform)'. Plot 8-10 competitors as labeled circles of varying sizes. Include quadrant labels" \
530
+ -o figures/04_competitive_positioning.png --doc-type report
531
+
532
+ # 5. Risk heatmap
533
+ python skills/scientific-schematics/scripts/generate_schematic.py \
534
+ "Risk heatmap matrix. X-axis Impact (Low to Critical), Y-axis Probability (Unlikely to Very Likely). Color gradient: Green (low risk) to Red (critical risk). Plot 10-12 risks as labeled points" \
535
+ -o figures/05_risk_heatmap.png --doc-type report
536
+
537
+ # 6. (Optional) Executive summary infographic
538
+ python skills/generate-image/scripts/generate_image.py \
539
+ "Professional executive summary infographic for market research report, modern data visualization style, blue and green color scheme, clean minimalist design" \
540
+ --output figures/06_exec_summary.png
541
+ ```
542
+
543
+ ### Phase 4: Report Writing
544
+
545
+ **Step 7: Initialize Project Structure**
546
+
547
+ Create the standard project structure:
548
+
549
+ ```
550
+ writing_outputs/YYYYMMDD_HHMMSS_market_report_[topic]/
551
+ ├── progress.md
552
+ ├── drafts/
553
+ │ └── v1_market_report.tex
554
+ ├── references/
555
+ │ └── references.bib
556
+ ├── figures/
557
+ │ └── [all generated visuals]
558
+ ├── sources/
559
+ │ └── [research notes]
560
+ └── final/
561
+ ```
562
+
563
+ **Step 8: Write Report Using Template**
564
+
565
+ Use the `market_report_template.tex` as a starting point. Write each section following the structure guide, ensuring:
566
+
567
+ - **Comprehensive coverage**: Every subsection addressed
568
+ - **Data-driven content**: Claims supported by research
569
+ - **Visual integration**: Reference all generated figures
570
+ - **Professional tone**: Consulting-style writing
571
+ - **No token constraints**: Write fully, don't abbreviate
572
+
573
+ **Writing Guidelines:**
574
+ - Use active voice where possible
575
+ - Lead with insights, support with data
576
+ - Use numbered lists for recommendations
577
+ - Include data sources for all statistics
578
+ - Create smooth transitions between sections
579
+
580
+ ### Phase 5: Compilation & Review
581
+
582
+ **Step 9: Compile LaTeX**
583
+
584
+ ```bash
585
+ cd writing_outputs/[project_folder]/drafts/
586
+ xelatex v1_market_report.tex
587
+ bibtex v1_market_report
588
+ xelatex v1_market_report.tex
589
+ xelatex v1_market_report.tex
590
+ ```
591
+
592
+ **Step 10: Quality Review**
593
+
594
+ Verify the report meets quality standards:
595
+
596
+ - [ ] Total page count is 50+ pages
597
+ - [ ] All essential visuals (5-6 core + any additional) are included and render correctly
598
+ - [ ] Executive summary captures key findings
599
+ - [ ] All data points have sources cited
600
+ - [ ] Analysis frameworks are properly applied
601
+ - [ ] Recommendations are actionable and prioritized
602
+ - [ ] No orphaned figures or tables
603
+ - [ ] Table of contents, list of figures, list of tables are accurate
604
+ - [ ] Bibliography is complete
605
+ - [ ] PDF renders without errors
606
+
607
+ **Step 11: Peer Review**
608
+
609
+ Use the peer-review skill to evaluate the report:
610
+ - Assess comprehensiveness
611
+ - Verify data accuracy
612
+ - Check logical flow
613
+ - Evaluate recommendation quality
614
+
615
+ ---
616
+
617
+ ## Quality Standards
618
+
619
+ ### Page Count Targets
620
+
621
+ | Section | Minimum Pages | Target Pages |
622
+ |---------|---------------|--------------|
623
+ | Front Matter | 4 | 5 |
624
+ | Market Overview | 4 | 5 |
625
+ | Market Size & Growth | 5 | 7 |
626
+ | Industry Drivers | 4 | 6 |
627
+ | Competitive Landscape | 5 | 7 |
628
+ | Customer Analysis | 3 | 5 |
629
+ | Technology Landscape | 3 | 5 |
630
+ | Regulatory Environment | 2 | 4 |
631
+ | Risk Analysis | 2 | 4 |
632
+ | Strategic Recommendations | 3 | 5 |
633
+ | Implementation Roadmap | 2 | 4 |
634
+ | Investment Thesis | 2 | 4 |
635
+ | Back Matter | 4 | 5 |
636
+ | **TOTAL** | **43** | **66** |
637
+
638
+ ### Visual Quality Requirements
639
+
640
+ - **Resolution**: All images at 300 DPI minimum
641
+ - **Format**: PNG for raster, PDF for vector
642
+ - **Accessibility**: Colorblind-friendly palettes
643
+ - **Consistency**: Same color scheme throughout
644
+ - **Labeling**: All axes, legends, and data points labeled
645
+ - **Source Attribution**: Sources cited in figure captions
646
+
647
+ ### Data Quality Requirements
648
+
649
+ - **Currency**: Data no older than 2 years (prefer current year)
650
+ - **Sourcing**: All statistics attributed to specific sources
651
+ - **Validation**: Cross-reference multiple sources when possible
652
+ - **Assumptions**: All projections state underlying assumptions
653
+ - **Limitations**: Acknowledge data limitations and gaps
654
+
655
+ ### Writing Quality Requirements
656
+
657
+ - **Objectivity**: Present balanced analysis, acknowledge uncertainties
658
+ - **Clarity**: Avoid jargon, define technical terms
659
+ - **Precision**: Use specific numbers over vague qualifiers
660
+ - **Structure**: Clear headings, logical flow, smooth transitions
661
+ - **Actionability**: Recommendations are specific and implementable
662
+
663
+ ---
664
+
665
+ ## LaTeX Formatting
666
+
667
+ ### Using the Style Package
668
+
669
+ The `market_research.sty` package provides professional formatting. Include it in your document:
670
+
671
+ ```latex
672
+ \documentclass[11pt,letterpaper]{report}
673
+ \usepackage{market_research}
674
+ ```
675
+
676
+ ### Box Environments
677
+
678
+ Use colored boxes to highlight key content:
679
+
680
+ ```latex
681
+ % Key insight box (blue)
682
+ \begin{keyinsightbox}[Key Finding]
683
+ The market is projected to grow at 15.3% CAGR through 2030.
684
+ \end{keyinsightbox}
685
+
686
+ % Market data box (green)
687
+ \begin{marketdatabox}[Market Snapshot]
688
+ \begin{itemize}
689
+ \item Market Size (2024): \$45.2B
690
+ \item Projected Size (2030): \$98.7B
691
+ \item CAGR: 15.3%
692
+ \end{itemize}
693
+ \end{marketdatabox}
694
+
695
+ % Risk box (orange/warning)
696
+ \begin{riskbox}[Critical Risk]
697
+ Regulatory changes could impact 40% of market participants.
698
+ \end{riskbox}
699
+
700
+ % Recommendation box (purple)
701
+ \begin{recommendationbox}[Strategic Recommendation]
702
+ Prioritize market entry in the Asia-Pacific region.
703
+ \end{recommendationbox}
704
+
705
+ % Callout box (gray)
706
+ \begin{calloutbox}[Definition]
707
+ TAM (Total Addressable Market) represents the total revenue opportunity.
708
+ \end{calloutbox}
709
+ ```
710
+
711
+ ### Figure Formatting
712
+
713
+ ```latex
714
+ \begin{figure}[htbp]
715
+ \centering
716
+ \includegraphics[width=0.9\textwidth]{../figures/market_growth.png}
717
+ \caption{Market Growth Trajectory (2020-2030). Source: Industry analysis, company data.}
718
+ \label{fig:market_growth}
719
+ \end{figure}
720
+ ```
721
+
722
+ ### Table Formatting
723
+
724
+ ```latex
725
+ \begin{table}[htbp]
726
+ \centering
727
+ \caption{Market Size by Region (2024)}
728
+ \begin{tabular}{@{}lrrr@{}}
729
+ \toprule
730
+ \textbf{Region} & \textbf{Size (USD)} & \textbf{Share} & \textbf{CAGR} \\
731
+ \midrule
732
+ North America & \$18.2B & 40.3\% & 12.5\% \\
733
+ \rowcolor{tablealt} Europe & \$12.1B & 26.8\% & 14.2\% \\
734
+ Asia-Pacific & \$10.5B & 23.2\% & 18.7\% \\
735
+ \rowcolor{tablealt} Rest of World & \$4.4B & 9.7\% & 11.3\% \\
736
+ \midrule
737
+ \textbf{Total} & \textbf{\$45.2B} & \textbf{100\%} & \textbf{15.3\%} \\
738
+ \bottomrule
739
+ \end{tabular}
740
+ \label{tab:market_by_region}
741
+ \end{table}
742
+ ```
743
+
744
+ For complete formatting reference, see `assets/FORMATTING_GUIDE.md`.
745
+
746
+ ---
747
+
748
+ ## Integration with Other Skills
749
+
750
+ This skill works synergistically with:
751
+
752
+ - **research-lookup**: Essential for gathering market data, statistics, and competitive intelligence
753
+ - **scientific-schematics**: Generate all diagrams, charts, and visualizations
754
+ - **generate-image**: Create infographics and conceptual illustrations
755
+ - **peer-review**: Evaluate report quality and completeness
756
+ - **citation-management**: Manage BibTeX references
757
+
758
+ ---
759
+
760
+ ## Example Prompts
761
+
762
+ ### Market Overview Section
763
+
764
+ ```
765
+ Write a comprehensive market overview section for the [Electric Vehicle Charging Infrastructure] market. Include:
766
+ - Clear market definition and scope
767
+ - Industry ecosystem with key stakeholders
768
+ - Value chain analysis
769
+ - Historical evolution of the market
770
+ - Current market dynamics
771
+
772
+ Generate 2 supporting visuals using scientific-schematics.
773
+ ```
774
+
775
+ ### Competitive Landscape Section
776
+
777
+ ```
778
+ Analyze the competitive landscape for the [Cloud Computing] market. Include:
779
+ - Porter's Five Forces analysis with High/Medium/Low ratings
780
+ - Top 10 competitors with market share
781
+ - Competitive positioning matrix
782
+ - Strategic group mapping
783
+ - Barriers to entry analysis
784
+
785
+ Generate 4 supporting visuals including Porter's Five Forces diagram and positioning matrix.
786
+ ```
787
+
788
+ ### Strategic Recommendations Section
789
+
790
+ ```
791
+ Develop strategic recommendations for entering the [Renewable Energy Storage] market. Include:
792
+ - 5-7 prioritized recommendations
793
+ - Opportunity sizing for each
794
+ - Implementation considerations
795
+ - Risk factors and mitigations
796
+ - Success criteria
797
+
798
+ Generate 3 supporting visuals including opportunity matrix and priority framework.
799
+ ```
800
+
801
+ ---
802
+
803
+ ## Checklist: 50+ Page Validation
804
+
805
+ Before finalizing the report, verify:
806
+
807
+ ### Structure Completeness
808
+ - [ ] Cover page with hero visual
809
+ - [ ] Table of contents (auto-generated)
810
+ - [ ] List of figures (auto-generated)
811
+ - [ ] List of tables (auto-generated)
812
+ - [ ] Executive summary (2-3 pages)
813
+ - [ ] All 11 core chapters present
814
+ - [ ] Appendix A: Methodology
815
+ - [ ] Appendix B: Data tables
816
+ - [ ] Appendix C: Company profiles
817
+ - [ ] References/Bibliography
818
+
819
+ ### Visual Completeness (Core 5-6)
820
+ - [ ] Market growth trajectory chart (Priority 1)
821
+ - [ ] TAM/SAM/SOM diagram (Priority 2)
822
+ - [ ] Porter's Five Forces (Priority 3)
823
+ - [ ] Competitive positioning matrix (Priority 4)
824
+ - [ ] Risk heatmap (Priority 5)
825
+ - [ ] Executive summary infographic (Priority 6, optional)
826
+
827
+ ### Additional Visuals (Generate as Needed)
828
+ - [ ] Market ecosystem diagram
829
+ - [ ] Regional breakdown chart
830
+ - [ ] Segment growth chart
831
+ - [ ] Industry trends/PESTLE diagram
832
+ - [ ] Market share chart
833
+ - [ ] Customer segmentation chart
834
+ - [ ] Technology roadmap
835
+ - [ ] Regulatory timeline
836
+ - [ ] Opportunity matrix
837
+ - [ ] Implementation timeline
838
+ - [ ] Financial projections chart
839
+ - [ ] Other section-specific visuals
840
+
841
+ ### Content Quality
842
+ - [ ] All statistics have sources
843
+ - [ ] Projections include assumptions
844
+ - [ ] Frameworks properly applied
845
+ - [ ] Recommendations are actionable
846
+ - [ ] Writing is professional quality
847
+ - [ ] No placeholder or incomplete sections
848
+
849
+ ### Technical Quality
850
+ - [ ] PDF compiles without errors
851
+ - [ ] All figures render correctly
852
+ - [ ] Cross-references work
853
+ - [ ] Bibliography complete
854
+ - [ ] Page count exceeds 50
855
+
856
+ ---
857
+
858
+ ## Resources
859
+
860
+ ### Reference Files
861
+
862
+ Load these files for detailed guidance:
863
+
864
+ - **`references/report_structure_guide.md`**: Detailed section-by-section content requirements
865
+ - **`references/visual_generation_guide.md`**: Complete prompts for generating all visual types
866
+ - **`references/data_analysis_patterns.md`**: Templates for Porter's, PESTLE, SWOT, etc.
867
+
868
+ ### Assets
869
+
870
+ - **`assets/market_research.sty`**: LaTeX style package
871
+ - **`assets/market_report_template.tex`**: Complete LaTeX template
872
+ - **`assets/FORMATTING_GUIDE.md`**: Quick reference for box environments and styling
873
+
874
+ ### Scripts
875
+
876
+ - **`scripts/generate_market_visuals.py`**: Batch generate all report visuals
877
+
878
+ ---
879
+
880
+ ## Troubleshooting
881
+
882
+ ### Common Issues
883
+
884
+ **Problem**: Report is under 50 pages
885
+ - **Solution**: Expand data tables in appendices, add more detailed company profiles, include additional regional breakdowns
886
+
887
+ **Problem**: Visuals not rendering
888
+ - **Solution**: Check file paths in LaTeX, ensure images are in figures/ folder, verify file extensions
889
+
890
+ **Problem**: Bibliography missing entries
891
+ - **Solution**: Run bibtex after first xelatex pass, check .bib file for syntax errors
892
+
893
+ **Problem**: Table/figure overflow
894
+ - **Solution**: Use `\resizebox` or `adjustbox` package, reduce image width percentage
895
+
896
+ **Problem**: Poor visual quality from generation
897
+ - **Solution**: Use `--doc-type report` flag, increase iterations with `--iterations 5`
898
+
899
+ ---
900
+
901
+ Use this skill to create comprehensive, visually-rich market research reports that rival top consulting firm deliverables. The combination of deep research, structured frameworks, and extensive visualization produces documents that inform strategic decisions and demonstrate analytical rigor.