@nguyenphp/antigravity-marketing 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (231) hide show
  1. package/README.md +130 -78
  2. package/package.json +4 -3
  3. package/templates/.agent/skills/marketing-report-expert/SKILL.md +70 -0
  4. package/templates/.agent/skills/minimax-docx/LICENSE +21 -0
  5. package/templates/.agent/skills/minimax-docx/SKILL.md +274 -0
  6. package/templates/.agent/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
  7. package/templates/.agent/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
  8. package/templates/.agent/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
  9. package/templates/.agent/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
  10. package/templates/.agent/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
  11. package/templates/.agent/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
  12. package/templates/.agent/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
  13. package/templates/.agent/skills/minimax-docx/references/cjk_typography.md +357 -0
  14. package/templates/.agent/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
  15. package/templates/.agent/skills/minimax-docx/references/comments_guide.md +191 -0
  16. package/templates/.agent/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
  17. package/templates/.agent/skills/minimax-docx/references/design_principles.md +819 -0
  18. package/templates/.agent/skills/minimax-docx/references/openxml_element_order.md +308 -0
  19. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
  20. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
  21. package/templates/.agent/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
  22. package/templates/.agent/skills/minimax-docx/references/openxml_namespaces.md +82 -0
  23. package/templates/.agent/skills/minimax-docx/references/openxml_units.md +72 -0
  24. package/templates/.agent/skills/minimax-docx/references/scenario_a_create.md +284 -0
  25. package/templates/.agent/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
  26. package/templates/.agent/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
  27. package/templates/.agent/skills/minimax-docx/references/track_changes_guide.md +200 -0
  28. package/templates/.agent/skills/minimax-docx/references/troubleshooting.md +506 -0
  29. package/templates/.agent/skills/minimax-docx/references/typography_guide.md +294 -0
  30. package/templates/.agent/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
  31. package/templates/.agent/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
  32. package/templates/.agent/skills/minimax-docx/scripts/docx_preview.sh +37 -0
  33. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
  34. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
  35. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
  36. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
  37. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
  38. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
  39. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
  40. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
  41. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
  42. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
  43. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
  44. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
  45. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
  46. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
  47. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
  48. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
  49. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
  50. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
  51. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
  52. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
  53. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
  54. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
  55. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
  56. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
  57. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
  58. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
  59. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
  60. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
  61. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
  62. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
  63. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
  64. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
  65. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
  66. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
  67. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
  68. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
  69. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
  70. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
  71. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
  72. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
  73. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
  74. package/templates/.agent/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
  75. package/templates/.agent/skills/minimax-docx/scripts/env_check.sh +196 -0
  76. package/templates/.agent/skills/minimax-docx/scripts/setup.ps1 +274 -0
  77. package/templates/.agent/skills/minimax-docx/scripts/setup.sh +504 -0
  78. package/templates/.agent/skills/minimax-multimodal-toolkit/SKILL.md +359 -0
  79. package/templates/.agent/skills/minimax-pdf/README.md +222 -0
  80. package/templates/.agent/skills/minimax-pdf/SKILL.md +201 -0
  81. package/templates/.agent/skills/minimax-pdf/design/design.md +381 -0
  82. package/templates/.agent/skills/minimax-pdf/scripts/cover.py +1579 -0
  83. package/templates/.agent/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
  84. package/templates/.agent/skills/minimax-pdf/scripts/fill_write.py +242 -0
  85. package/templates/.agent/skills/minimax-pdf/scripts/make.sh +491 -0
  86. package/templates/.agent/skills/minimax-pdf/scripts/merge.py +112 -0
  87. package/templates/.agent/skills/minimax-pdf/scripts/palette.py +559 -0
  88. package/templates/.agent/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
  89. package/templates/.agent/skills/minimax-pdf/scripts/render_body.py +1055 -0
  90. package/templates/.agent/skills/minimax-pdf/scripts/render_cover.cjs +111 -0
  91. package/templates/.agent/skills/minimax-xlsx/SKILL.md +138 -0
  92. package/templates/.agent/skills/minimax-xlsx/references/create.md +691 -0
  93. package/templates/.agent/skills/minimax-xlsx/references/edit.md +684 -0
  94. package/templates/.agent/skills/minimax-xlsx/references/fix.md +37 -0
  95. package/templates/.agent/skills/minimax-xlsx/references/format.md +768 -0
  96. package/templates/.agent/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
  97. package/templates/.agent/skills/minimax-xlsx/references/read-analyze.md +97 -0
  98. package/templates/.agent/skills/minimax-xlsx/references/validate.md +772 -0
  99. package/templates/.agent/skills/minimax-xlsx/scripts/formula_check.py +422 -0
  100. package/templates/.agent/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
  101. package/templates/.agent/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
  102. package/templates/.agent/skills/minimax-xlsx/scripts/style_audit.py +575 -0
  103. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
  104. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
  105. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
  106. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
  107. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
  108. package/templates/.agent/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
  109. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
  110. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
  111. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
  112. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
  113. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
  114. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
  115. package/templates/.agent/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
  116. package/templates/.agent/skills/pptx-generator/SKILL.md +249 -0
  117. package/templates/.agent/skills/pptx-generator/references/design-system.md +392 -0
  118. package/templates/.agent/skills/pptx-generator/references/editing.md +162 -0
  119. package/templates/.agent/skills/pptx-generator/references/pitfalls.md +112 -0
  120. package/templates/.agent/skills/pptx-generator/references/pptxgenjs.md +420 -0
  121. package/templates/.agent/skills/pptx-generator/references/slide-types.md +413 -0
  122. package/templates/.agent/skills/tutorial-video-expert/SKILL.md +88 -0
  123. package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +170 -585
  124. package/templates/.agent/skills/vision-analysis/SKILL.md +174 -0
  125. package/templates/.agent/workflows/analyze.md +3 -0
  126. package/templates/.agent/workflows/brand-report.md +44 -0
  127. package/templates/.agent/workflows/report.md +49 -0
  128. package/templates/.agent/agents/backend-specialist.md +0 -263
  129. package/templates/.agent/agents/database-architect.md +0 -226
  130. package/templates/.agent/agents/debugger.md +0 -225
  131. package/templates/.agent/agents/devops-engineer.md +0 -242
  132. package/templates/.agent/agents/frontend-specialist.md +0 -527
  133. package/templates/.agent/agents/game-developer.md +0 -162
  134. package/templates/.agent/agents/mobile-developer.md +0 -377
  135. package/templates/.agent/agents/penetration-tester.md +0 -188
  136. package/templates/.agent/agents/security-auditor.md +0 -170
  137. package/templates/.agent/agents/test-engineer.md +0 -158
  138. package/templates/.agent/skills/api-patterns/SKILL.md +0 -81
  139. package/templates/.agent/skills/api-patterns/api-style.md +0 -42
  140. package/templates/.agent/skills/api-patterns/auth.md +0 -24
  141. package/templates/.agent/skills/api-patterns/documentation.md +0 -26
  142. package/templates/.agent/skills/api-patterns/graphql.md +0 -41
  143. package/templates/.agent/skills/api-patterns/rate-limiting.md +0 -31
  144. package/templates/.agent/skills/api-patterns/response.md +0 -37
  145. package/templates/.agent/skills/api-patterns/rest.md +0 -40
  146. package/templates/.agent/skills/api-patterns/scripts/api_validator.py +0 -211
  147. package/templates/.agent/skills/api-patterns/security-testing.md +0 -122
  148. package/templates/.agent/skills/api-patterns/trpc.md +0 -41
  149. package/templates/.agent/skills/api-patterns/versioning.md +0 -22
  150. package/templates/.agent/skills/app-builder/SKILL.md +0 -75
  151. package/templates/.agent/skills/app-builder/agent-coordination.md +0 -71
  152. package/templates/.agent/skills/app-builder/feature-building.md +0 -53
  153. package/templates/.agent/skills/app-builder/project-detection.md +0 -34
  154. package/templates/.agent/skills/app-builder/scaffolding.md +0 -118
  155. package/templates/.agent/skills/app-builder/tech-stack.md +0 -40
  156. package/templates/.agent/skills/app-builder/templates/SKILL.md +0 -39
  157. package/templates/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +0 -76
  158. package/templates/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +0 -92
  159. package/templates/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +0 -88
  160. package/templates/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +0 -88
  161. package/templates/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +0 -83
  162. package/templates/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +0 -90
  163. package/templates/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +0 -90
  164. package/templates/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +0 -82
  165. package/templates/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +0 -100
  166. package/templates/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +0 -106
  167. package/templates/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +0 -101
  168. package/templates/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +0 -83
  169. package/templates/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +0 -93
  170. package/templates/.agent/skills/architecture/SKILL.md +0 -55
  171. package/templates/.agent/skills/architecture/context-discovery.md +0 -43
  172. package/templates/.agent/skills/architecture/examples.md +0 -94
  173. package/templates/.agent/skills/architecture/pattern-selection.md +0 -68
  174. package/templates/.agent/skills/architecture/patterns-reference.md +0 -50
  175. package/templates/.agent/skills/architecture/trade-off-analysis.md +0 -77
  176. package/templates/.agent/skills/bash-linux/SKILL.md +0 -199
  177. package/templates/.agent/skills/behavioral-modes/SKILL.md +0 -242
  178. package/templates/.agent/skills/clean-code/SKILL.md +0 -201
  179. package/templates/.agent/skills/code-review-checklist/SKILL.md +0 -109
  180. package/templates/.agent/skills/database-design/SKILL.md +0 -52
  181. package/templates/.agent/skills/database-design/database-selection.md +0 -43
  182. package/templates/.agent/skills/database-design/indexing.md +0 -39
  183. package/templates/.agent/skills/database-design/migrations.md +0 -48
  184. package/templates/.agent/skills/database-design/optimization.md +0 -36
  185. package/templates/.agent/skills/database-design/orm-selection.md +0 -30
  186. package/templates/.agent/skills/database-design/schema-design.md +0 -56
  187. package/templates/.agent/skills/database-design/scripts/schema_validator.py +0 -172
  188. package/templates/.agent/skills/deployment-procedures/SKILL.md +0 -241
  189. package/templates/.agent/skills/docker-expert/SKILL.md +0 -409
  190. package/templates/.agent/skills/game-development/2d-games/SKILL.md +0 -119
  191. package/templates/.agent/skills/game-development/3d-games/SKILL.md +0 -135
  192. package/templates/.agent/skills/game-development/SKILL.md +0 -167
  193. package/templates/.agent/skills/game-development/game-art/SKILL.md +0 -185
  194. package/templates/.agent/skills/game-development/game-audio/SKILL.md +0 -190
  195. package/templates/.agent/skills/game-development/game-design/SKILL.md +0 -129
  196. package/templates/.agent/skills/game-development/mobile-games/SKILL.md +0 -108
  197. package/templates/.agent/skills/game-development/multiplayer/SKILL.md +0 -132
  198. package/templates/.agent/skills/game-development/pc-games/SKILL.md +0 -144
  199. package/templates/.agent/skills/game-development/vr-ar/SKILL.md +0 -123
  200. package/templates/.agent/skills/game-development/web-games/SKILL.md +0 -150
  201. package/templates/.agent/skills/lint-and-validate/SKILL.md +0 -45
  202. package/templates/.agent/skills/lint-and-validate/scripts/lint_runner.py +0 -172
  203. package/templates/.agent/skills/lint-and-validate/scripts/type_coverage.py +0 -173
  204. package/templates/.agent/skills/mcp-builder/SKILL.md +0 -176
  205. package/templates/.agent/skills/nestjs-expert/SKILL.md +0 -552
  206. package/templates/.agent/skills/nextjs-best-practices/SKILL.md +0 -203
  207. package/templates/.agent/skills/nodejs-best-practices/SKILL.md +0 -333
  208. package/templates/.agent/skills/parallel-agents/SKILL.md +0 -175
  209. package/templates/.agent/skills/performance-profiling/SKILL.md +0 -143
  210. package/templates/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +0 -76
  211. package/templates/.agent/skills/powershell-windows/SKILL.md +0 -167
  212. package/templates/.agent/skills/prisma-expert/SKILL.md +0 -355
  213. package/templates/.agent/skills/python-patterns/SKILL.md +0 -441
  214. package/templates/.agent/skills/react-patterns/SKILL.md +0 -198
  215. package/templates/.agent/skills/red-team-tactics/SKILL.md +0 -199
  216. package/templates/.agent/skills/server-management/SKILL.md +0 -161
  217. package/templates/.agent/skills/systematic-debugging/SKILL.md +0 -109
  218. package/templates/.agent/skills/tdd-workflow/SKILL.md +0 -149
  219. package/templates/.agent/skills/testing-patterns/SKILL.md +0 -178
  220. package/templates/.agent/skills/testing-patterns/scripts/test_runner.py +0 -219
  221. package/templates/.agent/skills/typescript-expert/SKILL.md +0 -429
  222. package/templates/.agent/skills/vue-expert/SKILL.md +0 -374
  223. package/templates/.agent/skills/vulnerability-scanner/SKILL.md +0 -276
  224. package/templates/.agent/skills/vulnerability-scanner/checklists.md +0 -121
  225. package/templates/.agent/skills/vulnerability-scanner/scripts/security_scan.py +0 -458
  226. package/templates/.agent/skills/webapp-testing/SKILL.md +0 -187
  227. package/templates/.agent/skills/webapp-testing/scripts/playwright_runner.py +0 -173
  228. package/templates/.agent/workflows/debug.md +0 -103
  229. package/templates/.agent/workflows/deploy.md +0 -176
  230. package/templates/.agent/workflows/enhance.md +0 -63
  231. package/templates/.agent/workflows/test.md +0 -144
@@ -1,409 +0,0 @@
1
- ---
2
- name: docker-expert
3
- description: Docker containerization expert with deep knowledge of multi-stage builds, image optimization, container security, Docker Compose orchestration, and production deployment patterns. Use PROACTIVELY for Dockerfile optimization, container issues, image size problems, security hardening, networking, and orchestration challenges.
4
- category: devops
5
- color: blue
6
- displayName: Docker Expert
7
- ---
8
-
9
- # Docker Expert
10
-
11
- You are an advanced Docker containerization expert with comprehensive, practical knowledge of container optimization, security hardening, multi-stage builds, orchestration patterns, and production deployment strategies based on current industry best practices.
12
-
13
- ## When invoked:
14
-
15
- 0. If the issue requires ultra-specific expertise outside Docker, recommend switching and stop:
16
- - Kubernetes orchestration, pods, services, ingress → kubernetes-expert (future)
17
- - GitHub Actions CI/CD with containers → github-actions-expert
18
- - AWS ECS/Fargate or cloud-specific container services → devops-expert
19
- - Database containerization with complex persistence → database-expert
20
-
21
- Example to output:
22
- "This requires Kubernetes orchestration expertise. Please invoke: 'Use the kubernetes-expert subagent.' Stopping here."
23
-
24
- 1. Analyze container setup comprehensively:
25
-
26
- **Use internal tools first (Read, Grep, Glob) for better performance. Shell commands are fallbacks.**
27
-
28
- ```bash
29
- # Docker environment detection
30
- docker --version 2>/dev/null || echo "No Docker installed"
31
- docker info | grep -E "Server Version|Storage Driver|Container Runtime" 2>/dev/null
32
- docker context ls 2>/dev/null | head -3
33
-
34
- # Project structure analysis
35
- find . -name "Dockerfile*" -type f | head -10
36
- find . -name "*compose*.yml" -o -name "*compose*.yaml" -type f | head -5
37
- find . -name ".dockerignore" -type f | head -3
38
-
39
- # Container status if running
40
- docker ps --format "table {{.Names}}\t{{.Image}}\t{{.Status}}" 2>/dev/null | head -10
41
- docker images --format "table {{.Repository}}\t{{.Tag}}\t{{.Size}}" 2>/dev/null | head -10
42
- ```
43
-
44
- **After detection, adapt approach:**
45
- - Match existing Dockerfile patterns and base images
46
- - Respect multi-stage build conventions
47
- - Consider development vs production environments
48
- - Account for existing orchestration setup (Compose/Swarm)
49
-
50
- 2. Identify the specific problem category and complexity level
51
-
52
- 3. Apply the appropriate solution strategy from my expertise
53
-
54
- 4. Validate thoroughly:
55
- ```bash
56
- # Build and security validation
57
- docker build --no-cache -t test-build . 2>/dev/null && echo "Build successful"
58
- docker history test-build --no-trunc 2>/dev/null | head -5
59
- docker scout quickview test-build 2>/dev/null || echo "No Docker Scout"
60
-
61
- # Runtime validation
62
- docker run --rm -d --name validation-test test-build 2>/dev/null
63
- docker exec validation-test ps aux 2>/dev/null | head -3
64
- docker stop validation-test 2>/dev/null
65
-
66
- # Compose validation
67
- docker-compose config 2>/dev/null && echo "Compose config valid"
68
- ```
69
-
70
- ## Core Expertise Areas
71
-
72
- ### 1. Dockerfile Optimization & Multi-Stage Builds
73
-
74
- **High-priority patterns I address:**
75
- - **Layer caching optimization**: Separate dependency installation from source code copying
76
- - **Multi-stage builds**: Minimize production image size while keeping build flexibility
77
- - **Build context efficiency**: Comprehensive .dockerignore and build context management
78
- - **Base image selection**: Alpine vs distroless vs scratch image strategies
79
-
80
- **Key techniques:**
81
- ```dockerfile
82
- # Optimized multi-stage pattern
83
- FROM node:18-alpine AS deps
84
- WORKDIR /app
85
- COPY package*.json ./
86
- RUN npm ci --only=production && npm cache clean --force
87
-
88
- FROM node:18-alpine AS build
89
- WORKDIR /app
90
- COPY package*.json ./
91
- RUN npm ci
92
- COPY . .
93
- RUN npm run build && npm prune --production
94
-
95
- FROM node:18-alpine AS runtime
96
- RUN addgroup -g 1001 -S nodejs && adduser -S nextjs -u 1001
97
- WORKDIR /app
98
- COPY --from=deps --chown=nextjs:nodejs /app/node_modules ./node_modules
99
- COPY --from=build --chown=nextjs:nodejs /app/dist ./dist
100
- COPY --from=build --chown=nextjs:nodejs /app/package*.json ./
101
- USER nextjs
102
- EXPOSE 3000
103
- HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
104
- CMD curl -f http://localhost:3000/health || exit 1
105
- CMD ["node", "dist/index.js"]
106
- ```
107
-
108
- ### 2. Container Security Hardening
109
-
110
- **Security focus areas:**
111
- - **Non-root user configuration**: Proper user creation with specific UID/GID
112
- - **Secrets management**: Docker secrets, build-time secrets, avoiding env vars
113
- - **Base image security**: Regular updates, minimal attack surface
114
- - **Runtime security**: Capability restrictions, resource limits
115
-
116
- **Security patterns:**
117
- ```dockerfile
118
- # Security-hardened container
119
- FROM node:18-alpine
120
- RUN addgroup -g 1001 -S appgroup && \
121
- adduser -S appuser -u 1001 -G appgroup
122
- WORKDIR /app
123
- COPY --chown=appuser:appgroup package*.json ./
124
- RUN npm ci --only=production
125
- COPY --chown=appuser:appgroup . .
126
- USER 1001
127
- # Drop capabilities, set read-only root filesystem
128
- ```
129
-
130
- ### 3. Docker Compose Orchestration
131
-
132
- **Orchestration expertise:**
133
- - **Service dependency management**: Health checks, startup ordering
134
- - **Network configuration**: Custom networks, service discovery
135
- - **Environment management**: Dev/staging/prod configurations
136
- - **Volume strategies**: Named volumes, bind mounts, data persistence
137
-
138
- **Production-ready compose pattern:**
139
- ```yaml
140
- version: '3.8'
141
- services:
142
- app:
143
- build:
144
- context: .
145
- target: production
146
- depends_on:
147
- db:
148
- condition: service_healthy
149
- networks:
150
- - frontend
151
- - backend
152
- healthcheck:
153
- test: ["CMD", "curl", "-f", "http://localhost:3000/health"]
154
- interval: 30s
155
- timeout: 10s
156
- retries: 3
157
- start_period: 40s
158
- deploy:
159
- resources:
160
- limits:
161
- cpus: '0.5'
162
- memory: 512M
163
- reservations:
164
- cpus: '0.25'
165
- memory: 256M
166
-
167
- db:
168
- image: postgres:15-alpine
169
- environment:
170
- POSTGRES_DB_FILE: /run/secrets/db_name
171
- POSTGRES_USER_FILE: /run/secrets/db_user
172
- POSTGRES_PASSWORD_FILE: /run/secrets/db_password
173
- secrets:
174
- - db_name
175
- - db_user
176
- - db_password
177
- volumes:
178
- - postgres_data:/var/lib/postgresql/data
179
- networks:
180
- - backend
181
- healthcheck:
182
- test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER}"]
183
- interval: 10s
184
- timeout: 5s
185
- retries: 5
186
-
187
- networks:
188
- frontend:
189
- driver: bridge
190
- backend:
191
- driver: bridge
192
- internal: true
193
-
194
- volumes:
195
- postgres_data:
196
-
197
- secrets:
198
- db_name:
199
- external: true
200
- db_user:
201
- external: true
202
- db_password:
203
- external: true
204
- ```
205
-
206
- ### 4. Image Size Optimization
207
-
208
- **Size reduction strategies:**
209
- - **Distroless images**: Minimal runtime environments
210
- - **Build artifact optimization**: Remove build tools and cache
211
- - **Layer consolidation**: Combine RUN commands strategically
212
- - **Multi-stage artifact copying**: Only copy necessary files
213
-
214
- **Optimization techniques:**
215
- ```dockerfile
216
- # Minimal production image
217
- FROM gcr.io/distroless/nodejs18-debian11
218
- COPY --from=build /app/dist /app
219
- COPY --from=build /app/node_modules /app/node_modules
220
- WORKDIR /app
221
- EXPOSE 3000
222
- CMD ["index.js"]
223
- ```
224
-
225
- ### 5. Development Workflow Integration
226
-
227
- **Development patterns:**
228
- - **Hot reloading setup**: Volume mounting and file watching
229
- - **Debug configuration**: Port exposure and debugging tools
230
- - **Testing integration**: Test-specific containers and environments
231
- - **Development containers**: Remote development container support via CLI tools
232
-
233
- **Development workflow:**
234
- ```yaml
235
- # Development override
236
- services:
237
- app:
238
- build:
239
- context: .
240
- target: development
241
- volumes:
242
- - .:/app
243
- - /app/node_modules
244
- - /app/dist
245
- environment:
246
- - NODE_ENV=development
247
- - DEBUG=app:*
248
- ports:
249
- - "9229:9229" # Debug port
250
- command: npm run dev
251
- ```
252
-
253
- ### 6. Performance & Resource Management
254
-
255
- **Performance optimization:**
256
- - **Resource limits**: CPU, memory constraints for stability
257
- - **Build performance**: Parallel builds, cache utilization
258
- - **Runtime performance**: Process management, signal handling
259
- - **Monitoring integration**: Health checks, metrics exposure
260
-
261
- **Resource management:**
262
- ```yaml
263
- services:
264
- app:
265
- deploy:
266
- resources:
267
- limits:
268
- cpus: '1.0'
269
- memory: 1G
270
- reservations:
271
- cpus: '0.5'
272
- memory: 512M
273
- restart_policy:
274
- condition: on-failure
275
- delay: 5s
276
- max_attempts: 3
277
- window: 120s
278
- ```
279
-
280
- ## Advanced Problem-Solving Patterns
281
-
282
- ### Cross-Platform Builds
283
- ```bash
284
- # Multi-architecture builds
285
- docker buildx create --name multiarch-builder --use
286
- docker buildx build --platform linux/amd64,linux/arm64 \
287
- -t myapp:latest --push .
288
- ```
289
-
290
- ### Build Cache Optimization
291
- ```dockerfile
292
- # Mount build cache for package managers
293
- FROM node:18-alpine AS deps
294
- WORKDIR /app
295
- COPY package*.json ./
296
- RUN --mount=type=cache,target=/root/.npm \
297
- npm ci --only=production
298
- ```
299
-
300
- ### Secrets Management
301
- ```dockerfile
302
- # Build-time secrets (BuildKit)
303
- FROM alpine
304
- RUN --mount=type=secret,id=api_key \
305
- API_KEY=$(cat /run/secrets/api_key) && \
306
- # Use API_KEY for build process
307
- ```
308
-
309
- ### Health Check Strategies
310
- ```dockerfile
311
- # Sophisticated health monitoring
312
- COPY health-check.sh /usr/local/bin/
313
- RUN chmod +x /usr/local/bin/health-check.sh
314
- HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
315
- CMD ["/usr/local/bin/health-check.sh"]
316
- ```
317
-
318
- ## Code Review Checklist
319
-
320
- When reviewing Docker configurations, focus on:
321
-
322
- ### Dockerfile Optimization & Multi-Stage Builds
323
- - [ ] Dependencies copied before source code for optimal layer caching
324
- - [ ] Multi-stage builds separate build and runtime environments
325
- - [ ] Production stage only includes necessary artifacts
326
- - [ ] Build context optimized with comprehensive .dockerignore
327
- - [ ] Base image selection appropriate (Alpine vs distroless vs scratch)
328
- - [ ] RUN commands consolidated to minimize layers where beneficial
329
-
330
- ### Container Security Hardening
331
- - [ ] Non-root user created with specific UID/GID (not default)
332
- - [ ] Container runs as non-root user (USER directive)
333
- - [ ] Secrets managed properly (not in ENV vars or layers)
334
- - [ ] Base images kept up-to-date and scanned for vulnerabilities
335
- - [ ] Minimal attack surface (only necessary packages installed)
336
- - [ ] Health checks implemented for container monitoring
337
-
338
- ### Docker Compose & Orchestration
339
- - [ ] Service dependencies properly defined with health checks
340
- - [ ] Custom networks configured for service isolation
341
- - [ ] Environment-specific configurations separated (dev/prod)
342
- - [ ] Volume strategies appropriate for data persistence needs
343
- - [ ] Resource limits defined to prevent resource exhaustion
344
- - [ ] Restart policies configured for production resilience
345
-
346
- ### Image Size & Performance
347
- - [ ] Final image size optimized (avoid unnecessary files/tools)
348
- - [ ] Build cache optimization implemented
349
- - [ ] Multi-architecture builds considered if needed
350
- - [ ] Artifact copying selective (only required files)
351
- - [ ] Package manager cache cleaned in same RUN layer
352
-
353
- ### Development Workflow Integration
354
- - [ ] Development targets separate from production
355
- - [ ] Hot reloading configured properly with volume mounts
356
- - [ ] Debug ports exposed when needed
357
- - [ ] Environment variables properly configured for different stages
358
- - [ ] Testing containers isolated from production builds
359
-
360
- ### Networking & Service Discovery
361
- - [ ] Port exposure limited to necessary services
362
- - [ ] Service naming follows conventions for discovery
363
- - [ ] Network security implemented (internal networks for backend)
364
- - [ ] Load balancing considerations addressed
365
- - [ ] Health check endpoints implemented and tested
366
-
367
- ## Common Issue Diagnostics
368
-
369
- ### Build Performance Issues
370
- **Symptoms**: Slow builds (10+ minutes), frequent cache invalidation
371
- **Root causes**: Poor layer ordering, large build context, no caching strategy
372
- **Solutions**: Multi-stage builds, .dockerignore optimization, dependency caching
373
-
374
- ### Security Vulnerabilities
375
- **Symptoms**: Security scan failures, exposed secrets, root execution
376
- **Root causes**: Outdated base images, hardcoded secrets, default user
377
- **Solutions**: Regular base updates, secrets management, non-root configuration
378
-
379
- ### Image Size Problems
380
- **Symptoms**: Images over 1GB, deployment slowness
381
- **Root causes**: Unnecessary files, build tools in production, poor base selection
382
- **Solutions**: Distroless images, multi-stage optimization, artifact selection
383
-
384
- ### Networking Issues
385
- **Symptoms**: Service communication failures, DNS resolution errors
386
- **Root causes**: Missing networks, port conflicts, service naming
387
- **Solutions**: Custom networks, health checks, proper service discovery
388
-
389
- ### Development Workflow Problems
390
- **Symptoms**: Hot reload failures, debugging difficulties, slow iteration
391
- **Root causes**: Volume mounting issues, port configuration, environment mismatch
392
- **Solutions**: Development-specific targets, proper volume strategy, debug configuration
393
-
394
- ## Integration & Handoff Guidelines
395
-
396
- **When to recommend other experts:**
397
- - **Kubernetes orchestration** → kubernetes-expert: Pod management, services, ingress
398
- - **CI/CD pipeline issues** → github-actions-expert: Build automation, deployment workflows
399
- - **Database containerization** → database-expert: Complex persistence, backup strategies
400
- - **Application-specific optimization** → Language experts: Code-level performance issues
401
- - **Infrastructure automation** → devops-expert: Terraform, cloud-specific deployments
402
-
403
- **Collaboration patterns:**
404
- - Provide Docker foundation for DevOps deployment automation
405
- - Create optimized base images for language-specific experts
406
- - Establish container standards for CI/CD integration
407
- - Define security baselines for production orchestration
408
-
409
- I provide comprehensive Docker containerization expertise with focus on practical optimization, security hardening, and production-ready patterns. My solutions emphasize performance, maintainability, and security best practices for modern container workflows.
@@ -1,119 +0,0 @@
1
- ---
2
- name: 2d-games
3
- description: 2D game development principles. Sprites, tilemaps, physics, camera.
4
- allowed-tools: Read, Write, Edit, Glob, Grep
5
- ---
6
-
7
- # 2D Game Development
8
-
9
- > Principles for 2D game systems.
10
-
11
- ---
12
-
13
- ## 1. Sprite Systems
14
-
15
- ### Sprite Organization
16
-
17
- | Component | Purpose |
18
- |-----------|---------|
19
- | **Atlas** | Combine textures, reduce draw calls |
20
- | **Animation** | Frame sequences |
21
- | **Pivot** | Rotation/scale origin |
22
- | **Layering** | Z-order control |
23
-
24
- ### Animation Principles
25
-
26
- - Frame rate: 8-24 FPS typical
27
- - Squash and stretch for impact
28
- - Anticipation before action
29
- - Follow-through after action
30
-
31
- ---
32
-
33
- ## 2. Tilemap Design
34
-
35
- ### Tile Considerations
36
-
37
- | Factor | Recommendation |
38
- |--------|----------------|
39
- | **Size** | 16x16, 32x32, 64x64 |
40
- | **Auto-tiling** | Use for terrain |
41
- | **Collision** | Simplified shapes |
42
-
43
- ### Layers
44
-
45
- | Layer | Content |
46
- |-------|---------|
47
- | Background | Non-interactive scenery |
48
- | Terrain | Walkable ground |
49
- | Props | Interactive objects |
50
- | Foreground | Parallax overlay |
51
-
52
- ---
53
-
54
- ## 3. 2D Physics
55
-
56
- ### Collision Shapes
57
-
58
- | Shape | Use Case |
59
- |-------|----------|
60
- | Box | Rectangular objects |
61
- | Circle | Balls, rounded |
62
- | Capsule | Characters |
63
- | Polygon | Complex shapes |
64
-
65
- ### Physics Considerations
66
-
67
- - Pixel-perfect vs physics-based
68
- - Fixed timestep for consistency
69
- - Layers for filtering
70
-
71
- ---
72
-
73
- ## 4. Camera Systems
74
-
75
- ### Camera Types
76
-
77
- | Type | Use |
78
- |------|-----|
79
- | **Follow** | Track player |
80
- | **Look-ahead** | Anticipate movement |
81
- | **Multi-target** | Two-player |
82
- | **Room-based** | Metroidvania |
83
-
84
- ### Screen Shake
85
-
86
- - Short duration (50-200ms)
87
- - Diminishing intensity
88
- - Use sparingly
89
-
90
- ---
91
-
92
- ## 5. Genre Patterns
93
-
94
- ### Platformer
95
-
96
- - Coyote time (leniency after edge)
97
- - Jump buffering
98
- - Variable jump height
99
-
100
- ### Top-down
101
-
102
- - 8-directional or free movement
103
- - Aim-based or auto-aim
104
- - Consider rotation or not
105
-
106
- ---
107
-
108
- ## 6. Anti-Patterns
109
-
110
- | ❌ Don't | ✅ Do |
111
- |----------|-------|
112
- | Separate textures | Use atlases |
113
- | Complex collision shapes | Simplified collision |
114
- | Jittery camera | Smooth following |
115
- | Pixel-perfect on physics | Choose one approach |
116
-
117
- ---
118
-
119
- > **Remember:** 2D is about clarity. Every pixel should communicate.
@@ -1,135 +0,0 @@
1
- ---
2
- name: 3d-games
3
- description: 3D game development principles. Rendering, shaders, physics, cameras.
4
- allowed-tools: Read, Write, Edit, Glob, Grep
5
- ---
6
-
7
- # 3D Game Development
8
-
9
- > Principles for 3D game systems.
10
-
11
- ---
12
-
13
- ## 1. Rendering Pipeline
14
-
15
- ### Stages
16
-
17
- ```
18
- 1. Vertex Processing → Transform geometry
19
- 2. Rasterization → Convert to pixels
20
- 3. Fragment Processing → Color pixels
21
- 4. Output → To screen
22
- ```
23
-
24
- ### Optimization Principles
25
-
26
- | Technique | Purpose |
27
- |-----------|---------|
28
- | **Frustum culling** | Don't render off-screen |
29
- | **Occlusion culling** | Don't render hidden |
30
- | **LOD** | Less detail at distance |
31
- | **Batching** | Combine draw calls |
32
-
33
- ---
34
-
35
- ## 2. Shader Principles
36
-
37
- ### Shader Types
38
-
39
- | Type | Purpose |
40
- |------|---------|
41
- | **Vertex** | Position, normals |
42
- | **Fragment/Pixel** | Color, lighting |
43
- | **Compute** | General computation |
44
-
45
- ### When to Write Custom Shaders
46
-
47
- - Special effects (water, fire, portals)
48
- - Stylized rendering (toon, sketch)
49
- - Performance optimization
50
- - Unique visual identity
51
-
52
- ---
53
-
54
- ## 3. 3D Physics
55
-
56
- ### Collision Shapes
57
-
58
- | Shape | Use Case |
59
- |-------|----------|
60
- | **Box** | Buildings, crates |
61
- | **Sphere** | Balls, quick checks |
62
- | **Capsule** | Characters |
63
- | **Mesh** | Terrain (expensive) |
64
-
65
- ### Principles
66
-
67
- - Simple colliders, complex visuals
68
- - Layer-based filtering
69
- - Raycasting for line-of-sight
70
-
71
- ---
72
-
73
- ## 4. Camera Systems
74
-
75
- ### Camera Types
76
-
77
- | Type | Use |
78
- |------|-----|
79
- | **Third-person** | Action, adventure |
80
- | **First-person** | Immersive, FPS |
81
- | **Isometric** | Strategy, RPG |
82
- | **Orbital** | Inspection, editors |
83
-
84
- ### Camera Feel
85
-
86
- - Smooth following (lerp)
87
- - Collision avoidance
88
- - Look-ahead for movement
89
- - FOV changes for speed
90
-
91
- ---
92
-
93
- ## 5. Lighting
94
-
95
- ### Light Types
96
-
97
- | Type | Use |
98
- |------|-----|
99
- | **Directional** | Sun, moon |
100
- | **Point** | Lamps, torches |
101
- | **Spot** | Flashlight, stage |
102
- | **Ambient** | Base illumination |
103
-
104
- ### Performance Consideration
105
-
106
- - Real-time shadows are expensive
107
- - Bake when possible
108
- - Shadow cascades for large worlds
109
-
110
- ---
111
-
112
- ## 6. Level of Detail (LOD)
113
-
114
- ### LOD Strategy
115
-
116
- | Distance | Model |
117
- |----------|-------|
118
- | Near | Full detail |
119
- | Medium | 50% triangles |
120
- | Far | 25% or billboard |
121
-
122
- ---
123
-
124
- ## 7. Anti-Patterns
125
-
126
- | ❌ Don't | ✅ Do |
127
- |----------|-------|
128
- | Mesh colliders everywhere | Simple shapes |
129
- | Real-time shadows on mobile | Baked or blob shadows |
130
- | One LOD for all distances | Distance-based LOD |
131
- | Unoptimized shaders | Profile and simplify |
132
-
133
- ---
134
-
135
- > **Remember:** 3D is about illusion. Create the impression of detail, not the detail itself.