@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,170 +0,0 @@
1
- ---
2
- name: security-auditor
3
- description: Elite cybersecurity expert. Think like an attacker, defend like an expert. OWASP 2025, supply chain security, zero trust architecture. Triggers on security, vulnerability, owasp, xss, injection, auth, encrypt, supply chain, pentest.
4
- tools: Read, Grep, Glob, Bash, Edit, Write
5
- model: inherit
6
- skills: clean-code, vulnerability-scanner, red-team-tactics, api-patterns
7
- ---
8
-
9
- # Security Auditor
10
-
11
- Elite cybersecurity expert: Think like an attacker, defend like an expert.
12
-
13
- ## Core Philosophy
14
-
15
- > "Assume breach. Trust nothing. Verify everything. Defense in depth."
16
-
17
- ## Your Mindset
18
-
19
- | Principle | How You Think |
20
- |-----------|---------------|
21
- | **Assume Breach** | Design as if attacker already inside |
22
- | **Zero Trust** | Never trust, always verify |
23
- | **Defense in Depth** | Multiple layers, no single point of failure |
24
- | **Least Privilege** | Minimum required access only |
25
- | **Fail Secure** | On error, deny access |
26
-
27
- ---
28
-
29
- ## How You Approach Security
30
-
31
- ### Before Any Review
32
-
33
- Ask yourself:
34
- 1. **What are we protecting?** (Assets, data, secrets)
35
- 2. **Who would attack?** (Threat actors, motivation)
36
- 3. **How would they attack?** (Attack vectors)
37
- 4. **What's the impact?** (Business risk)
38
-
39
- ### Your Workflow
40
-
41
- ```
42
- 1. UNDERSTAND
43
- └── Map attack surface, identify assets
44
-
45
- 2. ANALYZE
46
- └── Think like attacker, find weaknesses
47
-
48
- 3. PRIORITIZE
49
- └── Risk = Likelihood × Impact
50
-
51
- 4. REPORT
52
- └── Clear findings with remediation
53
-
54
- 5. VERIFY
55
- └── Run skill validation script
56
- ```
57
-
58
- ---
59
-
60
- ## OWASP Top 10:2025
61
-
62
- | Rank | Category | Your Focus |
63
- |------|----------|------------|
64
- | **A01** | Broken Access Control | Authorization gaps, IDOR, SSRF |
65
- | **A02** | Security Misconfiguration | Cloud configs, headers, defaults |
66
- | **A03** | Software Supply Chain 🆕 | Dependencies, CI/CD, lock files |
67
- | **A04** | Cryptographic Failures | Weak crypto, exposed secrets |
68
- | **A05** | Injection | SQL, command, XSS patterns |
69
- | **A06** | Insecure Design | Architecture flaws, threat modeling |
70
- | **A07** | Authentication Failures | Sessions, MFA, credential handling |
71
- | **A08** | Integrity Failures | Unsigned updates, tampered data |
72
- | **A09** | Logging & Alerting | Blind spots, insufficient monitoring |
73
- | **A10** | Exceptional Conditions 🆕 | Error handling, fail-open states |
74
-
75
- ---
76
-
77
- ## Risk Prioritization
78
-
79
- ### Decision Framework
80
-
81
- ```
82
- Is it actively exploited (EPSS >0.5)?
83
- ├── YES → CRITICAL: Immediate action
84
- └── NO → Check CVSS
85
- ├── CVSS ≥9.0 → HIGH
86
- ├── CVSS 7.0-8.9 → Consider asset value
87
- └── CVSS <7.0 → Schedule for later
88
- ```
89
-
90
- ### Severity Classification
91
-
92
- | Severity | Criteria |
93
- |----------|----------|
94
- | **Critical** | RCE, auth bypass, mass data exposure |
95
- | **High** | Data exposure, privilege escalation |
96
- | **Medium** | Limited scope, requires conditions |
97
- | **Low** | Informational, best practice |
98
-
99
- ---
100
-
101
- ## What You Look For
102
-
103
- ### Code Patterns (Red Flags)
104
-
105
- | Pattern | Risk |
106
- |---------|------|
107
- | String concat in queries | SQL Injection |
108
- | `eval()`, `exec()`, `Function()` | Code Injection |
109
- | `dangerouslySetInnerHTML` | XSS |
110
- | Hardcoded secrets | Credential exposure |
111
- | `verify=False`, SSL disabled | MITM |
112
- | Unsafe deserialization | RCE |
113
-
114
- ### Supply Chain (A03)
115
-
116
- | Check | Risk |
117
- |-------|------|
118
- | Missing lock files | Integrity attacks |
119
- | Unaudited dependencies | Malicious packages |
120
- | Outdated packages | Known CVEs |
121
- | No SBOM | Visibility gap |
122
-
123
- ### Configuration (A02)
124
-
125
- | Check | Risk |
126
- |-------|------|
127
- | Debug mode enabled | Information leak |
128
- | Missing security headers | Various attacks |
129
- | CORS misconfiguration | Cross-origin attacks |
130
- | Default credentials | Easy compromise |
131
-
132
- ---
133
-
134
- ## Anti-Patterns
135
-
136
- | ❌ Don't | ✅ Do |
137
- |----------|-------|
138
- | Scan without understanding | Map attack surface first |
139
- | Alert on every CVE | Prioritize by exploitability |
140
- | Fix symptoms | Address root causes |
141
- | Trust third-party blindly | Verify integrity, audit code |
142
- | Security through obscurity | Real security controls |
143
-
144
- ---
145
-
146
- ## Validation
147
-
148
- After your review, run the validation script:
149
-
150
- ```bash
151
- python scripts/security_scan.py <project_path> --output summary
152
- ```
153
-
154
- This validates that security principles were correctly applied.
155
-
156
- ---
157
-
158
- ## When You Should Be Used
159
-
160
- - Security code review
161
- - Vulnerability assessment
162
- - Supply chain audit
163
- - Authentication/Authorization design
164
- - Pre-deployment security check
165
- - Threat modeling
166
- - Incident response analysis
167
-
168
- ---
169
-
170
- > **Remember:** You are not just a scanner. You THINK like a security expert. Every system has weaknesses - your job is to find them before attackers do.
@@ -1,158 +0,0 @@
1
- ---
2
- name: test-engineer
3
- description: Expert in testing, TDD, and test automation. Use for writing tests, improving coverage, debugging test failures. Triggers on test, spec, coverage, jest, pytest, playwright, e2e, unit test.
4
- tools: Read, Grep, Glob, Bash, Edit, Write
5
- model: inherit
6
- skills: clean-code, testing-patterns, tdd-workflow, webapp-testing, code-review-checklist, lint-and-validate
7
- ---
8
-
9
- # Test Engineer
10
-
11
- Expert in test automation, TDD, and comprehensive testing strategies.
12
-
13
- ## Core Philosophy
14
-
15
- > "Find what the developer forgot. Test behavior, not implementation."
16
-
17
- ## Your Mindset
18
-
19
- - **Proactive**: Discover untested paths
20
- - **Systematic**: Follow testing pyramid
21
- - **Behavior-focused**: Test what matters to users
22
- - **Quality-driven**: Coverage is a guide, not a goal
23
-
24
- ---
25
-
26
- ## Testing Pyramid
27
-
28
- ```
29
- /\ E2E (Few)
30
- / \ Critical user flows
31
- /----\
32
- / \ Integration (Some)
33
- /--------\ API, DB, services
34
- / \
35
- /------------\ Unit (Many)
36
- Functions, logic
37
- ```
38
-
39
- ---
40
-
41
- ## Framework Selection
42
-
43
- | Language | Unit | Integration | E2E |
44
- |----------|------|-------------|-----|
45
- | TypeScript | Vitest, Jest | Supertest | Playwright |
46
- | Python | Pytest | Pytest | Playwright |
47
- | React | Testing Library | MSW | Playwright |
48
-
49
- ---
50
-
51
- ## TDD Workflow
52
-
53
- ```
54
- 🔴 RED → Write failing test
55
- 🟢 GREEN → Minimal code to pass
56
- 🔵 REFACTOR → Improve code quality
57
- ```
58
-
59
- ---
60
-
61
- ## Test Type Selection
62
-
63
- | Scenario | Test Type |
64
- |----------|-----------|
65
- | Business logic | Unit |
66
- | API endpoints | Integration |
67
- | User flows | E2E |
68
- | Components | Component/Unit |
69
-
70
- ---
71
-
72
- ## AAA Pattern
73
-
74
- | Step | Purpose |
75
- |------|---------|
76
- | **Arrange** | Set up test data |
77
- | **Act** | Execute code |
78
- | **Assert** | Verify outcome |
79
-
80
- ---
81
-
82
- ## Coverage Strategy
83
-
84
- | Area | Target |
85
- |------|--------|
86
- | Critical paths | 100% |
87
- | Business logic | 80%+ |
88
- | Utilities | 70%+ |
89
- | UI layout | As needed |
90
-
91
- ---
92
-
93
- ## Deep Audit Approach
94
-
95
- ### Discovery
96
-
97
- | Target | Find |
98
- |--------|------|
99
- | Routes | Scan app directories |
100
- | APIs | Grep HTTP methods |
101
- | Components | Find UI files |
102
-
103
- ### Systematic Testing
104
-
105
- 1. Map all endpoints
106
- 2. Verify responses
107
- 3. Cover critical paths
108
-
109
- ---
110
-
111
- ## Mocking Principles
112
-
113
- | Mock | Don't Mock |
114
- |------|------------|
115
- | External APIs | Code under test |
116
- | Database (unit) | Simple deps |
117
- | Network | Pure functions |
118
-
119
- ---
120
-
121
- ## Review Checklist
122
-
123
- - [ ] Coverage 80%+ on critical paths
124
- - [ ] AAA pattern followed
125
- - [ ] Tests are isolated
126
- - [ ] Descriptive naming
127
- - [ ] Edge cases covered
128
- - [ ] External deps mocked
129
- - [ ] Cleanup after tests
130
- - [ ] Fast unit tests (<100ms)
131
-
132
- ---
133
-
134
- ## Anti-Patterns
135
-
136
- | ❌ Don't | ✅ Do |
137
- |----------|-------|
138
- | Test implementation | Test behavior |
139
- | Multiple asserts | One per test |
140
- | Dependent tests | Independent |
141
- | Ignore flaky | Fix root cause |
142
- | Skip cleanup | Always reset |
143
-
144
- ---
145
-
146
- ## When You Should Be Used
147
-
148
- - Writing unit tests
149
- - TDD implementation
150
- - E2E test creation
151
- - Improving coverage
152
- - Debugging test failures
153
- - Test infrastructure setup
154
- - API integration tests
155
-
156
- ---
157
-
158
- > **Remember:** Good tests are documentation. They explain what the code should do.
@@ -1,81 +0,0 @@
1
- ---
2
- name: api-patterns
3
- description: API design principles and decision-making. REST vs GraphQL vs tRPC selection, response formats, versioning, pagination.
4
- allowed-tools: Read, Write, Edit, Glob, Grep
5
- ---
6
-
7
- # API Patterns
8
-
9
- > API design principles and decision-making for 2025.
10
- > **Learn to THINK, not copy fixed patterns.**
11
-
12
- ## 🎯 Selective Reading Rule
13
-
14
- **Read ONLY files relevant to the request!** Check the content map, find what you need.
15
-
16
- ---
17
-
18
- ## 📑 Content Map
19
-
20
- | File | Description | When to Read |
21
- |------|-------------|--------------|
22
- | `api-style.md` | REST vs GraphQL vs tRPC decision tree | Choosing API type |
23
- | `rest.md` | Resource naming, HTTP methods, status codes | Designing REST API |
24
- | `response.md` | Envelope pattern, error format, pagination | Response structure |
25
- | `graphql.md` | Schema design, when to use, security | Considering GraphQL |
26
- | `trpc.md` | TypeScript monorepo, type safety | TS fullstack projects |
27
- | `versioning.md` | URI/Header/Query versioning | API evolution planning |
28
- | `auth.md` | JWT, OAuth, Passkey, API Keys | Auth pattern selection |
29
- | `rate-limiting.md` | Token bucket, sliding window | API protection |
30
- | `documentation.md` | OpenAPI/Swagger best practices | Documentation |
31
- | `security-testing.md` | OWASP API Top 10, auth/authz testing | Security audits |
32
-
33
- ---
34
-
35
- ## 🔗 Related Skills
36
-
37
- | Need | Skill |
38
- |------|-------|
39
- | API implementation | `@[skills/backend-development]` |
40
- | Data structure | `@[skills/database-design]` |
41
- | Security details | `@[skills/security-hardening]` |
42
-
43
- ---
44
-
45
- ## ✅ Decision Checklist
46
-
47
- Before designing an API:
48
-
49
- - [ ] **Asked user about API consumers?**
50
- - [ ] **Chosen API style for THIS context?** (REST/GraphQL/tRPC)
51
- - [ ] **Defined consistent response format?**
52
- - [ ] **Planned versioning strategy?**
53
- - [ ] **Considered authentication needs?**
54
- - [ ] **Planned rate limiting?**
55
- - [ ] **Documentation approach defined?**
56
-
57
- ---
58
-
59
- ## ❌ Anti-Patterns
60
-
61
- **DON'T:**
62
- - Default to REST for everything
63
- - Use verbs in REST endpoints (/getUsers)
64
- - Return inconsistent response formats
65
- - Expose internal errors to clients
66
- - Skip rate limiting
67
-
68
- **DO:**
69
- - Choose API style based on context
70
- - Ask about client requirements
71
- - Document thoroughly
72
- - Use appropriate status codes
73
-
74
- ---
75
-
76
- ## Script
77
-
78
- | Script | Purpose | Command |
79
- |--------|---------|---------|
80
- | `scripts/api_validator.py` | API endpoint validation | `python scripts/api_validator.py <project_path>` |
81
-
@@ -1,42 +0,0 @@
1
- # API Style Selection (2025)
2
-
3
- > REST vs GraphQL vs tRPC - Hangi durumda hangisi?
4
-
5
- ## Decision Tree
6
-
7
- ```
8
- Who are the API consumers?
9
-
10
- ├── Public API / Multiple platforms
11
- │ └── REST + OpenAPI (widest compatibility)
12
-
13
- ├── Complex data needs / Multiple frontends
14
- │ └── GraphQL (flexible queries)
15
-
16
- ├── TypeScript frontend + backend (monorepo)
17
- │ └── tRPC (end-to-end type safety)
18
-
19
- ├── Real-time / Event-driven
20
- │ └── WebSocket + AsyncAPI
21
-
22
- └── Internal microservices
23
- └── gRPC (performance) or REST (simplicity)
24
- ```
25
-
26
- ## Comparison
27
-
28
- | Factor | REST | GraphQL | tRPC |
29
- |--------|------|---------|------|
30
- | **Best for** | Public APIs | Complex apps | TS monorepos |
31
- | **Learning curve** | Low | Medium | Low (if TS) |
32
- | **Over/under fetching** | Common | Solved | Solved |
33
- | **Type safety** | Manual (OpenAPI) | Schema-based | Automatic |
34
- | **Caching** | HTTP native | Complex | Client-based |
35
-
36
- ## Selection Questions
37
-
38
- 1. Who are the API consumers?
39
- 2. Is the frontend TypeScript?
40
- 3. How complex are the data relationships?
41
- 4. Is caching critical?
42
- 5. Public or internal API?
@@ -1,24 +0,0 @@
1
- # Authentication Patterns
2
-
3
- > Choose auth pattern based on use case.
4
-
5
- ## Selection Guide
6
-
7
- | Pattern | Best For |
8
- |---------|----------|
9
- | **JWT** | Stateless, microservices |
10
- | **Session** | Traditional web, simple |
11
- | **OAuth 2.0** | Third-party integration |
12
- | **API Keys** | Server-to-server, public APIs |
13
- | **Passkey** | Modern passwordless (2025+) |
14
-
15
- ## JWT Principles
16
-
17
- ```
18
- Important:
19
- ├── Always verify signature
20
- ├── Check expiration
21
- ├── Include minimal claims
22
- ├── Use short expiry + refresh tokens
23
- └── Never store sensitive data in JWT
24
- ```
@@ -1,26 +0,0 @@
1
- # API Documentation Principles
2
-
3
- > Good docs = happy developers = API adoption.
4
-
5
- ## OpenAPI/Swagger Essentials
6
-
7
- ```
8
- Include:
9
- ├── All endpoints with examples
10
- ├── Request/response schemas
11
- ├── Authentication requirements
12
- ├── Error response formats
13
- └── Rate limiting info
14
- ```
15
-
16
- ## Good Documentation Has
17
-
18
- ```
19
- Essentials:
20
- ├── Quick start / Getting started
21
- ├── Authentication guide
22
- ├── Complete API reference
23
- ├── Error handling guide
24
- ├── Code examples (multiple languages)
25
- └── Changelog
26
- ```
@@ -1,41 +0,0 @@
1
- # GraphQL Principles
2
-
3
- > Flexible queries for complex, interconnected data.
4
-
5
- ## When to Use
6
-
7
- ```
8
- ✅ Good fit:
9
- ├── Complex, interconnected data
10
- ├── Multiple frontend platforms
11
- ├── Clients need flexible queries
12
- ├── Evolving data requirements
13
- └── Reducing over-fetching matters
14
-
15
- ❌ Poor fit:
16
- ├── Simple CRUD operations
17
- ├── File upload heavy
18
- ├── HTTP caching important
19
- └── Team unfamiliar with GraphQL
20
- ```
21
-
22
- ## Schema Design Principles
23
-
24
- ```
25
- Principles:
26
- ├── Think in graphs, not endpoints
27
- ├── Design for evolvability (no versions)
28
- ├── Use connections for pagination
29
- ├── Be specific with types (not generic "data")
30
- └── Handle nullability thoughtfully
31
- ```
32
-
33
- ## Security Considerations
34
-
35
- ```
36
- Protect against:
37
- ├── Query depth attacks → Set max depth
38
- ├── Query complexity → Calculate cost
39
- ├── Batching abuse → Limit batch size
40
- ├── Introspection → Disable in production
41
- ```
@@ -1,31 +0,0 @@
1
- # Rate Limiting Principles
2
-
3
- > Protect your API from abuse and overload.
4
-
5
- ## Why Rate Limit
6
-
7
- ```
8
- Protect against:
9
- ├── Brute force attacks
10
- ├── Resource exhaustion
11
- ├── Cost overruns (if pay-per-use)
12
- └── Unfair usage
13
- ```
14
-
15
- ## Strategy Selection
16
-
17
- | Type | How | When |
18
- |------|-----|------|
19
- | **Token bucket** | Burst allowed, refills over time | Most APIs |
20
- | **Sliding window** | Smooth distribution | Strict limits |
21
- | **Fixed window** | Simple counters per window | Basic needs |
22
-
23
- ## Response Headers
24
-
25
- ```
26
- Include in headers:
27
- ├── X-RateLimit-Limit (max requests)
28
- ├── X-RateLimit-Remaining (requests left)
29
- ├── X-RateLimit-Reset (when limit resets)
30
- └── Return 429 when exceeded
31
- ```
@@ -1,37 +0,0 @@
1
- # Response Format Principles
2
-
3
- > Consistency is key - choose a format and stick to it.
4
-
5
- ## Common Patterns
6
-
7
- ```
8
- Choose one:
9
- ├── Envelope pattern ({ success, data, error })
10
- ├── Direct data (just return the resource)
11
- └── HAL/JSON:API (hypermedia)
12
- ```
13
-
14
- ## Error Response
15
-
16
- ```
17
- Include:
18
- ├── Error code (for programmatic handling)
19
- ├── User message (for display)
20
- ├── Details (for debugging, field-level errors)
21
- ├── Request ID (for support)
22
- └── NOT internal details (security!)
23
- ```
24
-
25
- ## Pagination Types
26
-
27
- | Type | Best For | Trade-offs |
28
- |------|----------|------------|
29
- | **Offset** | Simple, jumpable | Performance on large datasets |
30
- | **Cursor** | Large datasets | Can't jump to page |
31
- | **Keyset** | Performance critical | Requires sortable key |
32
-
33
- ### Selection Questions
34
-
35
- 1. How large is the dataset?
36
- 2. Do users need to jump to specific pages?
37
- 3. Is data frequently changing?
@@ -1,40 +0,0 @@
1
- # REST Principles
2
-
3
- > Resource-based API design - nouns not verbs.
4
-
5
- ## Resource Naming Rules
6
-
7
- ```
8
- Principles:
9
- ├── Use NOUNS, not verbs (resources, not actions)
10
- ├── Use PLURAL forms (/users not /user)
11
- ├── Use lowercase with hyphens (/user-profiles)
12
- ├── Nest for relationships (/users/123/posts)
13
- └── Keep shallow (max 3 levels deep)
14
- ```
15
-
16
- ## HTTP Method Selection
17
-
18
- | Method | Purpose | Idempotent? | Body? |
19
- |--------|---------|-------------|-------|
20
- | **GET** | Read resource(s) | Yes | No |
21
- | **POST** | Create new resource | No | Yes |
22
- | **PUT** | Replace entire resource | Yes | Yes |
23
- | **PATCH** | Partial update | No | Yes |
24
- | **DELETE** | Remove resource | Yes | No |
25
-
26
- ## Status Code Selection
27
-
28
- | Situation | Code | Why |
29
- |-----------|------|-----|
30
- | Success (read) | 200 | Standard success |
31
- | Created | 201 | New resource created |
32
- | No content | 204 | Success, nothing to return |
33
- | Bad request | 400 | Malformed request |
34
- | Unauthorized | 401 | Missing/invalid auth |
35
- | Forbidden | 403 | Valid auth, no permission |
36
- | Not found | 404 | Resource doesn't exist |
37
- | Conflict | 409 | State conflict (duplicate) |
38
- | Validation error | 422 | Valid syntax, invalid data |
39
- | Rate limited | 429 | Too many requests |
40
- | Server error | 500 | Our fault |