@ruyfranca/myskills 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 (273) hide show
  1. package/.agent/workflows/artifacts-builder.md +10 -0
  2. package/.agent/workflows/brainstorm.md +10 -0
  3. package/.agent/workflows/business-analyst.md +9 -0
  4. package/.agent/workflows/canvas-design.md +10 -0
  5. package/.agent/workflows/code-reviewer.md +10 -0
  6. package/.agent/workflows/debugging.md +10 -0
  7. package/.agent/workflows/email-composer.md +10 -0
  8. package/.agent/workflows/file-organizer.md +10 -0
  9. package/.agent/workflows/pdf-pro.md +10 -0
  10. package/.agent/workflows/pptx.md +10 -0
  11. package/.agent/workflows/product-manager.md +9 -0
  12. package/.agent/workflows/prompt-engineer.md +10 -0
  13. package/.agent/workflows/security.md +10 -0
  14. package/.agent/workflows/senior-devops.md +10 -0
  15. package/.agent/workflows/senior-frontend.md +10 -0
  16. package/.agent/workflows/senior-fullstack.md +10 -0
  17. package/.agent/workflows/seo.md +10 -0
  18. package/.agent/workflows/tdd.md +10 -0
  19. package/.agent/workflows/theme-factory.md +10 -0
  20. package/.agent/workflows/ui-design-system.md +10 -0
  21. package/.agent/workflows/ui-pro-max.md +11 -0
  22. package/.agent/workflows/ux-researcher-designer.md +10 -0
  23. package/.agent/workflows/xlsx.md +10 -0
  24. package/README.md +177 -0
  25. package/docs/artifacts-builder/SKILL.md +38 -0
  26. package/docs/artifacts-builder/scripts/bundle-artifact.sh +54 -0
  27. package/docs/artifacts-builder/scripts/init-artifact.sh +322 -0
  28. package/docs/artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
  29. package/docs/brainstorming/SKILL.md +41 -0
  30. package/docs/business-analyst/SKILL.md +287 -0
  31. package/docs/canvas-design/SKILL.md +31 -0
  32. package/docs/canvas-design/fonts/ArsenalSC-OFL.txt +93 -0
  33. package/docs/canvas-design/fonts/ArsenalSC-Regular.ttf +0 -0
  34. package/docs/canvas-design/fonts/BigShoulders-Bold.ttf +0 -0
  35. package/docs/canvas-design/fonts/BigShoulders-OFL.txt +93 -0
  36. package/docs/canvas-design/fonts/BigShoulders-Regular.ttf +0 -0
  37. package/docs/canvas-design/fonts/Boldonse-OFL.txt +93 -0
  38. package/docs/canvas-design/fonts/Boldonse-Regular.ttf +0 -0
  39. package/docs/canvas-design/fonts/BricolageGrotesque-Bold.ttf +0 -0
  40. package/docs/canvas-design/fonts/BricolageGrotesque-OFL.txt +93 -0
  41. package/docs/canvas-design/fonts/BricolageGrotesque-Regular.ttf +0 -0
  42. package/docs/canvas-design/fonts/CrimsonPro-Bold.ttf +0 -0
  43. package/docs/canvas-design/fonts/CrimsonPro-Italic.ttf +0 -0
  44. package/docs/canvas-design/fonts/CrimsonPro-OFL.txt +93 -0
  45. package/docs/canvas-design/fonts/CrimsonPro-Regular.ttf +0 -0
  46. package/docs/canvas-design/fonts/DMMono-OFL.txt +93 -0
  47. package/docs/canvas-design/fonts/DMMono-Regular.ttf +0 -0
  48. package/docs/canvas-design/fonts/EricaOne-OFL.txt +94 -0
  49. package/docs/canvas-design/fonts/EricaOne-Regular.ttf +0 -0
  50. package/docs/canvas-design/fonts/GeistMono-Bold.ttf +0 -0
  51. package/docs/canvas-design/fonts/GeistMono-OFL.txt +93 -0
  52. package/docs/canvas-design/fonts/GeistMono-Regular.ttf +0 -0
  53. package/docs/canvas-design/fonts/Gloock-OFL.txt +93 -0
  54. package/docs/canvas-design/fonts/Gloock-Regular.ttf +0 -0
  55. package/docs/canvas-design/fonts/IBMPlexMono-Bold.ttf +0 -0
  56. package/docs/canvas-design/fonts/IBMPlexMono-OFL.txt +93 -0
  57. package/docs/canvas-design/fonts/IBMPlexMono-Regular.ttf +0 -0
  58. package/docs/canvas-design/fonts/IBMPlexSerif-Bold.ttf +0 -0
  59. package/docs/canvas-design/fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  60. package/docs/canvas-design/fonts/IBMPlexSerif-Italic.ttf +0 -0
  61. package/docs/canvas-design/fonts/IBMPlexSerif-Regular.ttf +0 -0
  62. package/docs/canvas-design/fonts/InstrumentSans-Bold.ttf +0 -0
  63. package/docs/canvas-design/fonts/InstrumentSans-BoldItalic.ttf +0 -0
  64. package/docs/canvas-design/fonts/InstrumentSans-Italic.ttf +0 -0
  65. package/docs/canvas-design/fonts/InstrumentSans-OFL.txt +93 -0
  66. package/docs/canvas-design/fonts/InstrumentSans-Regular.ttf +0 -0
  67. package/docs/canvas-design/fonts/InstrumentSerif-Italic.ttf +0 -0
  68. package/docs/canvas-design/fonts/InstrumentSerif-Regular.ttf +0 -0
  69. package/docs/canvas-design/fonts/Italiana-OFL.txt +93 -0
  70. package/docs/canvas-design/fonts/Italiana-Regular.ttf +0 -0
  71. package/docs/canvas-design/fonts/JetBrainsMono-Bold.ttf +0 -0
  72. package/docs/canvas-design/fonts/JetBrainsMono-OFL.txt +93 -0
  73. package/docs/canvas-design/fonts/JetBrainsMono-Regular.ttf +0 -0
  74. package/docs/canvas-design/fonts/Jura-Light.ttf +0 -0
  75. package/docs/canvas-design/fonts/Jura-Medium.ttf +0 -0
  76. package/docs/canvas-design/fonts/Jura-OFL.txt +93 -0
  77. package/docs/canvas-design/fonts/LibreBaskerville-OFL.txt +93 -0
  78. package/docs/canvas-design/fonts/LibreBaskerville-Regular.ttf +0 -0
  79. package/docs/canvas-design/fonts/Lora-Bold.ttf +0 -0
  80. package/docs/canvas-design/fonts/Lora-BoldItalic.ttf +0 -0
  81. package/docs/canvas-design/fonts/Lora-Italic.ttf +0 -0
  82. package/docs/canvas-design/fonts/Lora-OFL.txt +93 -0
  83. package/docs/canvas-design/fonts/Lora-Regular.ttf +0 -0
  84. package/docs/canvas-design/fonts/NationalPark-Bold.ttf +0 -0
  85. package/docs/canvas-design/fonts/NationalPark-OFL.txt +93 -0
  86. package/docs/canvas-design/fonts/NationalPark-Regular.ttf +0 -0
  87. package/docs/canvas-design/fonts/NothingYouCouldDo-OFL.txt +93 -0
  88. package/docs/canvas-design/fonts/NothingYouCouldDo-Regular.ttf +0 -0
  89. package/docs/canvas-design/fonts/Outfit-Bold.ttf +0 -0
  90. package/docs/canvas-design/fonts/Outfit-OFL.txt +93 -0
  91. package/docs/canvas-design/fonts/Outfit-Regular.ttf +0 -0
  92. package/docs/canvas-design/fonts/PixelifySans-Medium.ttf +0 -0
  93. package/docs/canvas-design/fonts/PixelifySans-OFL.txt +93 -0
  94. package/docs/canvas-design/fonts/PoiretOne-OFL.txt +93 -0
  95. package/docs/canvas-design/fonts/PoiretOne-Regular.ttf +0 -0
  96. package/docs/canvas-design/fonts/RedHatMono-Bold.ttf +0 -0
  97. package/docs/canvas-design/fonts/RedHatMono-OFL.txt +93 -0
  98. package/docs/canvas-design/fonts/RedHatMono-Regular.ttf +0 -0
  99. package/docs/canvas-design/fonts/Silkscreen-OFL.txt +93 -0
  100. package/docs/canvas-design/fonts/Silkscreen-Regular.ttf +0 -0
  101. package/docs/canvas-design/fonts/SmoochSans-Medium.ttf +0 -0
  102. package/docs/canvas-design/fonts/SmoochSans-OFL.txt +93 -0
  103. package/docs/canvas-design/fonts/Tektur-Medium.ttf +0 -0
  104. package/docs/canvas-design/fonts/Tektur-OFL.txt +93 -0
  105. package/docs/canvas-design/fonts/Tektur-Regular.ttf +0 -0
  106. package/docs/canvas-design/fonts/WorkSans-Bold.ttf +0 -0
  107. package/docs/canvas-design/fonts/WorkSans-BoldItalic.ttf +0 -0
  108. package/docs/canvas-design/fonts/WorkSans-Italic.ttf +0 -0
  109. package/docs/canvas-design/fonts/WorkSans-OFL.txt +93 -0
  110. package/docs/canvas-design/fonts/WorkSans-Regular.ttf +0 -0
  111. package/docs/canvas-design/fonts/YoungSerif-OFL.txt +93 -0
  112. package/docs/canvas-design/fonts/YoungSerif-Regular.ttf +0 -0
  113. package/docs/code-reviewer/SKILL.md +42 -0
  114. package/docs/code-reviewer/references/code_review_checklist.md +103 -0
  115. package/docs/code-reviewer/references/coding_standards.md +103 -0
  116. package/docs/code-reviewer/references/common_antipatterns.md +103 -0
  117. package/docs/code-reviewer/scripts/code_quality_checker.py +114 -0
  118. package/docs/code-reviewer/scripts/pr_analyzer.py +114 -0
  119. package/docs/code-reviewer/scripts/review_report_generator.py +114 -0
  120. package/docs/email-composer/SKILL.md +36 -0
  121. package/docs/file-organizer/SKILL.md +41 -0
  122. package/docs/pdf-processing-pro/FORMS.md +610 -0
  123. package/docs/pdf-processing-pro/OCR.md +137 -0
  124. package/docs/pdf-processing-pro/SKILL.md +31 -0
  125. package/docs/pdf-processing-pro/TABLES.md +626 -0
  126. package/docs/pdf-processing-pro/scripts/analyze_form.py +307 -0
  127. package/docs/pptx/SKILL.md +35 -0
  128. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chart.xsd +1499 -0
  129. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-chartDrawing.xsd +146 -0
  130. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-diagram.xsd +1085 -0
  131. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-lockedCanvas.xsd +11 -0
  132. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-main.xsd +3081 -0
  133. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-picture.xsd +23 -0
  134. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-spreadsheetDrawing.xsd +185 -0
  135. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/dml-wordprocessingDrawing.xsd +287 -0
  136. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/pml.xsd +1676 -0
  137. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-additionalCharacteristics.xsd +28 -0
  138. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-bibliography.xsd +144 -0
  139. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-commonSimpleTypes.xsd +174 -0
  140. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlDataProperties.xsd +25 -0
  141. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-customXmlSchemaProperties.xsd +18 -0
  142. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesCustom.xsd +59 -0
  143. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesExtended.xsd +56 -0
  144. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-documentPropertiesVariantTypes.xsd +195 -0
  145. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-math.xsd +582 -0
  146. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/shared-relationshipReference.xsd +25 -0
  147. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/sml.xsd +4439 -0
  148. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-main.xsd +570 -0
  149. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-officeDrawing.xsd +509 -0
  150. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-presentationDrawing.xsd +12 -0
  151. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-spreadsheetDrawing.xsd +108 -0
  152. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/vml-wordprocessingDrawing.xsd +96 -0
  153. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/wml.xsd +3646 -0
  154. package/docs/pptx/ooxml/schemas/ISO-IEC29500-4_2016/xml.xsd +116 -0
  155. package/docs/pptx/ooxml/schemas/ecma/fouth-edition/opc-contentTypes.xsd +42 -0
  156. package/docs/pptx/ooxml/schemas/ecma/fouth-edition/opc-coreProperties.xsd +50 -0
  157. package/docs/pptx/ooxml/schemas/ecma/fouth-edition/opc-digSig.xsd +49 -0
  158. package/docs/pptx/ooxml/schemas/ecma/fouth-edition/opc-relationships.xsd +33 -0
  159. package/docs/pptx/ooxml/schemas/mce/mc.xsd +75 -0
  160. package/docs/pptx/ooxml/schemas/microsoft/wml-2010.xsd +560 -0
  161. package/docs/pptx/ooxml/schemas/microsoft/wml-2012.xsd +67 -0
  162. package/docs/pptx/ooxml/schemas/microsoft/wml-2018.xsd +14 -0
  163. package/docs/pptx/ooxml/schemas/microsoft/wml-cex-2018.xsd +20 -0
  164. package/docs/pptx/ooxml/schemas/microsoft/wml-cid-2016.xsd +13 -0
  165. package/docs/pptx/ooxml/schemas/microsoft/wml-sdtdatahash-2020.xsd +4 -0
  166. package/docs/pptx/ooxml/schemas/microsoft/wml-symex-2015.xsd +8 -0
  167. package/docs/pptx/ooxml/scripts/pack.py +159 -0
  168. package/docs/pptx/ooxml/scripts/unpack.py +29 -0
  169. package/docs/pptx/ooxml/scripts/validate.py +69 -0
  170. package/docs/pptx/ooxml/scripts/validation/__init__.py +15 -0
  171. package/docs/pptx/ooxml/scripts/validation/base.py +951 -0
  172. package/docs/pptx/ooxml/scripts/validation/docx.py +274 -0
  173. package/docs/pptx/ooxml/scripts/validation/pptx.py +315 -0
  174. package/docs/pptx/ooxml/scripts/validation/redlining.py +279 -0
  175. package/docs/pptx/scripts/html2pptx.js +979 -0
  176. package/docs/pptx/scripts/inventory.py +1020 -0
  177. package/docs/pptx/scripts/rearrange.py +231 -0
  178. package/docs/pptx/scripts/replace.py +385 -0
  179. package/docs/pptx/scripts/thumbnail.py +450 -0
  180. package/docs/product-manager/SKILL.md +69 -0
  181. package/docs/senior-devops/SKILL.md +33 -0
  182. package/docs/senior-devops/references/cicd_pipeline_guide.md +103 -0
  183. package/docs/senior-devops/references/deployment_strategies.md +103 -0
  184. package/docs/senior-devops/references/infrastructure_as_code.md +103 -0
  185. package/docs/senior-devops/scripts/deployment_manager.py +114 -0
  186. package/docs/senior-devops/scripts/pipeline_generator.py +114 -0
  187. package/docs/senior-devops/scripts/terraform_scaffolder.py +114 -0
  188. package/docs/senior-frontend/SKILL.md +51 -0
  189. package/docs/senior-frontend/references/frontend_best_practices.md +103 -0
  190. package/docs/senior-frontend/references/nextjs_optimization_guide.md +103 -0
  191. package/docs/senior-frontend/references/react_patterns.md +103 -0
  192. package/docs/senior-frontend/scripts/bundle_analyzer.py +114 -0
  193. package/docs/senior-frontend/scripts/component_generator.py +114 -0
  194. package/docs/senior-frontend/scripts/frontend_scaffolder.py +114 -0
  195. package/docs/senior-fullstack/SKILL.md +50 -0
  196. package/docs/senior-fullstack/references/architecture_patterns.md +103 -0
  197. package/docs/senior-fullstack/references/development_workflows.md +103 -0
  198. package/docs/senior-fullstack/references/tech_stack_guide.md +103 -0
  199. package/docs/senior-fullstack/scripts/code_quality_analyzer.py +114 -0
  200. package/docs/senior-fullstack/scripts/fullstack_scaffolder.py +114 -0
  201. package/docs/senior-fullstack/scripts/project_scaffolder.py +114 -0
  202. package/docs/senior-prompt-engineer/SKILL.md +42 -0
  203. package/docs/senior-prompt-engineer/references/agentic_system_design.md +80 -0
  204. package/docs/senior-prompt-engineer/references/llm_evaluation_frameworks.md +80 -0
  205. package/docs/senior-prompt-engineer/references/prompt_engineering_patterns.md +80 -0
  206. package/docs/senior-prompt-engineer/scripts/agent_orchestrator.py +100 -0
  207. package/docs/senior-prompt-engineer/scripts/prompt_optimizer.py +100 -0
  208. package/docs/senior-prompt-engineer/scripts/rag_evaluator.py +100 -0
  209. package/docs/senior-security/SKILL.md +39 -0
  210. package/docs/senior-security/references/cryptography_implementation.md +103 -0
  211. package/docs/senior-security/references/penetration_testing_guide.md +103 -0
  212. package/docs/senior-security/references/security_architecture_patterns.md +103 -0
  213. package/docs/seo-optimizer/SKILL.md +41 -0
  214. package/docs/systematic-debugging/CREATION-LOG.md +119 -0
  215. package/docs/systematic-debugging/SKILL.md +38 -0
  216. package/docs/systematic-debugging/condition-based-waiting-example.ts +158 -0
  217. package/docs/systematic-debugging/condition-based-waiting.md +115 -0
  218. package/docs/systematic-debugging/defense-in-depth.md +122 -0
  219. package/docs/systematic-debugging/find-polluter.sh +63 -0
  220. package/docs/systematic-debugging/root-cause-tracing.md +169 -0
  221. package/docs/systematic-debugging/test-academic.md +14 -0
  222. package/docs/systematic-debugging/test-pressure-1.md +58 -0
  223. package/docs/systematic-debugging/test-pressure-2.md +68 -0
  224. package/docs/systematic-debugging/test-pressure-3.md +69 -0
  225. package/docs/test-driven-development/SKILL.md +33 -0
  226. package/docs/test-driven-development/testing-anti-patterns.md +299 -0
  227. package/docs/theme-factory/SKILL.md +34 -0
  228. package/docs/theme-factory/theme-showcase.pdf +0 -0
  229. package/docs/theme-factory/themes/arctic-frost.md +19 -0
  230. package/docs/theme-factory/themes/botanical-garden.md +19 -0
  231. package/docs/theme-factory/themes/desert-rose.md +19 -0
  232. package/docs/theme-factory/themes/forest-canopy.md +19 -0
  233. package/docs/theme-factory/themes/golden-hour.md +19 -0
  234. package/docs/theme-factory/themes/midnight-galaxy.md +19 -0
  235. package/docs/theme-factory/themes/modern-minimalist.md +19 -0
  236. package/docs/theme-factory/themes/ocean-depths.md +19 -0
  237. package/docs/theme-factory/themes/sunset-boulevard.md +19 -0
  238. package/docs/theme-factory/themes/tech-innovation.md +19 -0
  239. package/docs/ui-design-system/SKILL.md +48 -0
  240. package/docs/ui-design-system/scripts/design_token_generator.py +529 -0
  241. package/docs/ui-ux-pro-max/SKILL.md +34 -0
  242. package/docs/ui-ux-pro-max/data/charts.csv +26 -0
  243. package/docs/ui-ux-pro-max/data/colors.csv +97 -0
  244. package/docs/ui-ux-pro-max/data/icons.csv +101 -0
  245. package/docs/ui-ux-pro-max/data/landing.csv +31 -0
  246. package/docs/ui-ux-pro-max/data/products.csv +97 -0
  247. package/docs/ui-ux-pro-max/data/prompts.csv +24 -0
  248. package/docs/ui-ux-pro-max/data/react-performance.csv +45 -0
  249. package/docs/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  250. package/docs/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  251. package/docs/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  252. package/docs/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  253. package/docs/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  254. package/docs/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  255. package/docs/ui-ux-pro-max/data/stacks/react.csv +54 -0
  256. package/docs/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  257. package/docs/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  258. package/docs/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  259. package/docs/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  260. package/docs/ui-ux-pro-max/data/styles.csv +59 -0
  261. package/docs/ui-ux-pro-max/data/typography.csv +58 -0
  262. package/docs/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  263. package/docs/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  264. package/docs/ui-ux-pro-max/data/web-interface.csv +31 -0
  265. package/docs/ui-ux-pro-max/scripts/core.py +257 -0
  266. package/docs/ui-ux-pro-max/scripts/design_system.py +487 -0
  267. package/docs/ui-ux-pro-max/scripts/search.py +76 -0
  268. package/docs/ux-researcher-designer/SKILL.md +23 -0
  269. package/docs/ux-researcher-designer/scripts/persona_generator.py +508 -0
  270. package/docs/xlsx/SKILL.md +34 -0
  271. package/docs/xlsx/scripts/recalc.py +178 -0
  272. package/index.js +72 -0
  273. package/package.json +27 -0
@@ -0,0 +1,299 @@
1
+ # Testing Anti-Patterns
2
+
3
+ **Load this reference when:** writing or changing tests, adding mocks, or tempted to add test-only methods to production code.
4
+
5
+ ## Overview
6
+
7
+ Tests must verify real behavior, not mock behavior. Mocks are a means to isolate, not the thing being tested.
8
+
9
+ **Core principle:** Test what the code does, not what the mocks do.
10
+
11
+ **Following strict TDD prevents these anti-patterns.**
12
+
13
+ ## The Iron Laws
14
+
15
+ ```
16
+ 1. NEVER test mock behavior
17
+ 2. NEVER add test-only methods to production classes
18
+ 3. NEVER mock without understanding dependencies
19
+ ```
20
+
21
+ ## Anti-Pattern 1: Testing Mock Behavior
22
+
23
+ **The violation:**
24
+ ```typescript
25
+ // ❌ BAD: Testing that the mock exists
26
+ test('renders sidebar', () => {
27
+ render(<Page />);
28
+ expect(screen.getByTestId('sidebar-mock')).toBeInTheDocument();
29
+ });
30
+ ```
31
+
32
+ **Why this is wrong:**
33
+ - You're verifying the mock works, not that the component works
34
+ - Test passes when mock is present, fails when it's not
35
+ - Tells you nothing about real behavior
36
+
37
+ **your human partner's correction:** "Are we testing the behavior of a mock?"
38
+
39
+ **The fix:**
40
+ ```typescript
41
+ // ✅ GOOD: Test real component or don't mock it
42
+ test('renders sidebar', () => {
43
+ render(<Page />); // Don't mock sidebar
44
+ expect(screen.getByRole('navigation')).toBeInTheDocument();
45
+ });
46
+
47
+ // OR if sidebar must be mocked for isolation:
48
+ // Don't assert on the mock - test Page's behavior with sidebar present
49
+ ```
50
+
51
+ ### Gate Function
52
+
53
+ ```
54
+ BEFORE asserting on any mock element:
55
+ Ask: "Am I testing real component behavior or just mock existence?"
56
+
57
+ IF testing mock existence:
58
+ STOP - Delete the assertion or unmock the component
59
+
60
+ Test real behavior instead
61
+ ```
62
+
63
+ ## Anti-Pattern 2: Test-Only Methods in Production
64
+
65
+ **The violation:**
66
+ ```typescript
67
+ // ❌ BAD: destroy() only used in tests
68
+ class Session {
69
+ async destroy() { // Looks like production API!
70
+ await this._workspaceManager?.destroyWorkspace(this.id);
71
+ // ... cleanup
72
+ }
73
+ }
74
+
75
+ // In tests
76
+ afterEach(() => session.destroy());
77
+ ```
78
+
79
+ **Why this is wrong:**
80
+ - Production class polluted with test-only code
81
+ - Dangerous if accidentally called in production
82
+ - Violates YAGNI and separation of concerns
83
+ - Confuses object lifecycle with entity lifecycle
84
+
85
+ **The fix:**
86
+ ```typescript
87
+ // ✅ GOOD: Test utilities handle test cleanup
88
+ // Session has no destroy() - it's stateless in production
89
+
90
+ // In test-utils/
91
+ export async function cleanupSession(session: Session) {
92
+ const workspace = session.getWorkspaceInfo();
93
+ if (workspace) {
94
+ await workspaceManager.destroyWorkspace(workspace.id);
95
+ }
96
+ }
97
+
98
+ // In tests
99
+ afterEach(() => cleanupSession(session));
100
+ ```
101
+
102
+ ### Gate Function
103
+
104
+ ```
105
+ BEFORE adding any method to production class:
106
+ Ask: "Is this only used by tests?"
107
+
108
+ IF yes:
109
+ STOP - Don't add it
110
+ Put it in test utilities instead
111
+
112
+ Ask: "Does this class own this resource's lifecycle?"
113
+
114
+ IF no:
115
+ STOP - Wrong class for this method
116
+ ```
117
+
118
+ ## Anti-Pattern 3: Mocking Without Understanding
119
+
120
+ **The violation:**
121
+ ```typescript
122
+ // ❌ BAD: Mock breaks test logic
123
+ test('detects duplicate server', () => {
124
+ // Mock prevents config write that test depends on!
125
+ vi.mock('ToolCatalog', () => ({
126
+ discoverAndCacheTools: vi.fn().mockResolvedValue(undefined)
127
+ }));
128
+
129
+ await addServer(config);
130
+ await addServer(config); // Should throw - but won't!
131
+ });
132
+ ```
133
+
134
+ **Why this is wrong:**
135
+ - Mocked method had side effect test depended on (writing config)
136
+ - Over-mocking to "be safe" breaks actual behavior
137
+ - Test passes for wrong reason or fails mysteriously
138
+
139
+ **The fix:**
140
+ ```typescript
141
+ // ✅ GOOD: Mock at correct level
142
+ test('detects duplicate server', () => {
143
+ // Mock the slow part, preserve behavior test needs
144
+ vi.mock('MCPServerManager'); // Just mock slow server startup
145
+
146
+ await addServer(config); // Config written
147
+ await addServer(config); // Duplicate detected ✓
148
+ });
149
+ ```
150
+
151
+ ### Gate Function
152
+
153
+ ```
154
+ BEFORE mocking any method:
155
+ STOP - Don't mock yet
156
+
157
+ 1. Ask: "What side effects does the real method have?"
158
+ 2. Ask: "Does this test depend on any of those side effects?"
159
+ 3. Ask: "Do I fully understand what this test needs?"
160
+
161
+ IF depends on side effects:
162
+ Mock at lower level (the actual slow/external operation)
163
+ OR use test doubles that preserve necessary behavior
164
+ NOT the high-level method the test depends on
165
+
166
+ IF unsure what test depends on:
167
+ Run test with real implementation FIRST
168
+ Observe what actually needs to happen
169
+ THEN add minimal mocking at the right level
170
+
171
+ Red flags:
172
+ - "I'll mock this to be safe"
173
+ - "This might be slow, better mock it"
174
+ - Mocking without understanding the dependency chain
175
+ ```
176
+
177
+ ## Anti-Pattern 4: Incomplete Mocks
178
+
179
+ **The violation:**
180
+ ```typescript
181
+ // ❌ BAD: Partial mock - only fields you think you need
182
+ const mockResponse = {
183
+ status: 'success',
184
+ data: { userId: '123', name: 'Alice' }
185
+ // Missing: metadata that downstream code uses
186
+ };
187
+
188
+ // Later: breaks when code accesses response.metadata.requestId
189
+ ```
190
+
191
+ **Why this is wrong:**
192
+ - **Partial mocks hide structural assumptions** - You only mocked fields you know about
193
+ - **Downstream code may depend on fields you didn't include** - Silent failures
194
+ - **Tests pass but integration fails** - Mock incomplete, real API complete
195
+ - **False confidence** - Test proves nothing about real behavior
196
+
197
+ **The Iron Rule:** Mock the COMPLETE data structure as it exists in reality, not just fields your immediate test uses.
198
+
199
+ **The fix:**
200
+ ```typescript
201
+ // ✅ GOOD: Mirror real API completeness
202
+ const mockResponse = {
203
+ status: 'success',
204
+ data: { userId: '123', name: 'Alice' },
205
+ metadata: { requestId: 'req-789', timestamp: 1234567890 }
206
+ // All fields real API returns
207
+ };
208
+ ```
209
+
210
+ ### Gate Function
211
+
212
+ ```
213
+ BEFORE creating mock responses:
214
+ Check: "What fields does the real API response contain?"
215
+
216
+ Actions:
217
+ 1. Examine actual API response from docs/examples
218
+ 2. Include ALL fields system might consume downstream
219
+ 3. Verify mock matches real response schema completely
220
+
221
+ Critical:
222
+ If you're creating a mock, you must understand the ENTIRE structure
223
+ Partial mocks fail silently when code depends on omitted fields
224
+
225
+ If uncertain: Include all documented fields
226
+ ```
227
+
228
+ ## Anti-Pattern 5: Integration Tests as Afterthought
229
+
230
+ **The violation:**
231
+ ```
232
+ ✅ Implementation complete
233
+ ❌ No tests written
234
+ "Ready for testing"
235
+ ```
236
+
237
+ **Why this is wrong:**
238
+ - Testing is part of implementation, not optional follow-up
239
+ - TDD would have caught this
240
+ - Can't claim complete without tests
241
+
242
+ **The fix:**
243
+ ```
244
+ TDD cycle:
245
+ 1. Write failing test
246
+ 2. Implement to pass
247
+ 3. Refactor
248
+ 4. THEN claim complete
249
+ ```
250
+
251
+ ## When Mocks Become Too Complex
252
+
253
+ **Warning signs:**
254
+ - Mock setup longer than test logic
255
+ - Mocking everything to make test pass
256
+ - Mocks missing methods real components have
257
+ - Test breaks when mock changes
258
+
259
+ **your human partner's question:** "Do we need to be using a mock here?"
260
+
261
+ **Consider:** Integration tests with real components often simpler than complex mocks
262
+
263
+ ## TDD Prevents These Anti-Patterns
264
+
265
+ **Why TDD helps:**
266
+ 1. **Write test first** → Forces you to think about what you're actually testing
267
+ 2. **Watch it fail** → Confirms test tests real behavior, not mocks
268
+ 3. **Minimal implementation** → No test-only methods creep in
269
+ 4. **Real dependencies** → You see what the test actually needs before mocking
270
+
271
+ **If you're testing mock behavior, you violated TDD** - you added mocks without watching test fail against real code first.
272
+
273
+ ## Quick Reference
274
+
275
+ | Anti-Pattern | Fix |
276
+ |--------------|-----|
277
+ | Assert on mock elements | Test real component or unmock it |
278
+ | Test-only methods in production | Move to test utilities |
279
+ | Mock without understanding | Understand dependencies first, mock minimally |
280
+ | Incomplete mocks | Mirror real API completely |
281
+ | Tests as afterthought | TDD - tests first |
282
+ | Over-complex mocks | Consider integration tests |
283
+
284
+ ## Red Flags
285
+
286
+ - Assertion checks for `*-mock` test IDs
287
+ - Methods only called in test files
288
+ - Mock setup is >50% of test
289
+ - Test fails when you remove mock
290
+ - Can't explain why mock is needed
291
+ - Mocking "just to be safe"
292
+
293
+ ## The Bottom Line
294
+
295
+ **Mocks are tools to isolate, not things to test.**
296
+
297
+ If TDD reveals you're testing mock behavior, you've gone wrong.
298
+
299
+ Fix: Test real behavior or question why you're mocking at all.
@@ -0,0 +1,34 @@
1
+ ---
2
+ name: Theme Factory
3
+ description: Toolkit for styling artifacts (slides, docs, HTML) with professional color and font themes.
4
+ ---
5
+
6
+ # Theme Factory Skill
7
+
8
+ This skill provides a curated collection of 10 professional themes, each with carefully selected color palettes and font pairings. It ensures consistent, high-end styling for any artifact, from presentations to landing pages.
9
+
10
+ ## Available Themes
11
+ Detailed specifications for each theme (colors and fonts) are available in the `themes/` directory:
12
+ - **Ocean Depths**: Professional maritime theme.
13
+ - **Sunset Boulevard**: Warm and vibrant sunset colors.
14
+ - **Forest Canopy**: Natural earth tones.
15
+ - **Modern Minimalist**: Clean grayscale.
16
+ - **Golden Hour**: Rich autumnal palette.
17
+ - **Arctic Frost**: Cool winter-inspired theme.
18
+ - **Desert Rose**: Sophisticated dusty tones.
19
+ - **Tech Innovation**: Bold tech aesthetic.
20
+ - **Botanical Garden**: Organic garden colors.
21
+ - **Midnight Galaxy**: Dramatic cosmic tones.
22
+
23
+ ## Workflow
24
+ 1. **Showcase**: Reference `docs/theme-factory/theme-showcase.pdf` to visualize all themes.
25
+ 2. **Selection**: Choose a theme that matches the context and audience.
26
+ 3. **Application**: Apply the theme's hex codes and font pairings consistently across the artifact.
27
+ 4. **Customization**: Create on-the-fly themes if none of the pre-sets fit the specific need.
28
+
29
+ ## Technical Assets
30
+ - **Theme Specs**: Individual `.md` files in `docs/theme-factory/themes/`.
31
+ - **Visual Grid**: `docs/theme-factory/theme-showcase.pdf`.
32
+
33
+ ---
34
+ *Garantindo consistência visual e sofisticação através de curadoria profissional de cores e fontes.*
@@ -0,0 +1,19 @@
1
+ # Arctic Frost
2
+
3
+ A cool and crisp winter-inspired theme that conveys clarity, precision, and professionalism.
4
+
5
+ ## Color Palette
6
+
7
+ - **Ice Blue**: `#d4e4f7` - Light backgrounds and highlights
8
+ - **Steel Blue**: `#4a6fa5` - Primary accent color
9
+ - **Silver**: `#c0c0c0` - Metallic accent elements
10
+ - **Crisp White**: `#fafafa` - Clean backgrounds and text
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Sans Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Healthcare presentations, technology solutions, winter sports, clean tech, pharmaceutical content.
@@ -0,0 +1,19 @@
1
+ # Botanical Garden
2
+
3
+ A fresh and organic theme featuring vibrant garden-inspired colors for lively presentations.
4
+
5
+ ## Color Palette
6
+
7
+ - **Fern Green**: `#4a7c59` - Rich natural green
8
+ - **Marigold**: `#f9a620` - Bright floral accent
9
+ - **Terracotta**: `#b7472a` - Earthy warm tone
10
+ - **Cream**: `#f5f3ed` - Soft neutral backgrounds
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Serif Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Garden centers, food presentations, farm-to-table content, botanical brands, natural products.
@@ -0,0 +1,19 @@
1
+ # Desert Rose
2
+
3
+ A soft and sophisticated theme with dusty, muted tones perfect for elegant presentations.
4
+
5
+ ## Color Palette
6
+
7
+ - **Dusty Rose**: `#d4a5a5` - Soft primary color
8
+ - **Clay**: `#b87d6d` - Earthy accent
9
+ - **Sand**: `#e8d5c4` - Warm neutral backgrounds
10
+ - **Deep Burgundy**: `#5d2e46` - Rich dark contrast
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: FreeSans Bold
15
+ - **Body Text**: FreeSans
16
+
17
+ ## Best Used For
18
+
19
+ Fashion presentations, beauty brands, wedding planning, interior design, boutique businesses.
@@ -0,0 +1,19 @@
1
+ # Forest Canopy
2
+
3
+ A natural and grounded theme featuring earth tones inspired by dense forest environments.
4
+
5
+ ## Color Palette
6
+
7
+ - **Forest Green**: `#2d4a2b` - Primary dark green
8
+ - **Sage**: `#7d8471` - Muted green accent
9
+ - **Olive**: `#a4ac86` - Light accent color
10
+ - **Ivory**: `#faf9f6` - Backgrounds and text
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: FreeSerif Bold
15
+ - **Body Text**: FreeSans
16
+
17
+ ## Best Used For
18
+
19
+ Environmental presentations, sustainability reports, outdoor brands, wellness content, organic products.
@@ -0,0 +1,19 @@
1
+ # Golden Hour
2
+
3
+ A rich and warm autumnal palette that creates an inviting and sophisticated atmosphere.
4
+
5
+ ## Color Palette
6
+
7
+ - **Mustard Yellow**: `#f4a900` - Bold primary accent
8
+ - **Terracotta**: `#c1666b` - Warm secondary color
9
+ - **Warm Beige**: `#d4b896` - Neutral backgrounds
10
+ - **Chocolate Brown**: `#4a403a` - Dark text and anchors
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: FreeSans Bold
15
+ - **Body Text**: FreeSans
16
+
17
+ ## Best Used For
18
+
19
+ Restaurant presentations, hospitality brands, fall campaigns, cozy lifestyle content, artisan products.
@@ -0,0 +1,19 @@
1
+ # Midnight Galaxy
2
+
3
+ A dramatic and cosmic theme with deep purples and mystical tones for impactful presentations.
4
+
5
+ ## Color Palette
6
+
7
+ - **Deep Purple**: `#2b1e3e` - Rich dark base
8
+ - **Cosmic Blue**: `#4a4e8f` - Mystical mid-tone
9
+ - **Lavender**: `#a490c2` - Soft accent color
10
+ - **Silver**: `#e6e6fa` - Light highlights and text
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: FreeSans Bold
15
+ - **Body Text**: FreeSans
16
+
17
+ ## Best Used For
18
+
19
+ Entertainment industry, gaming presentations, nightlife venues, luxury brands, creative agencies.
@@ -0,0 +1,19 @@
1
+ # Modern Minimalist
2
+
3
+ A clean and contemporary theme with a sophisticated grayscale palette for maximum versatility.
4
+
5
+ ## Color Palette
6
+
7
+ - **Charcoal**: `#36454f` - Primary dark color
8
+ - **Slate Gray**: `#708090` - Medium gray for accents
9
+ - **Light Gray**: `#d3d3d3` - Backgrounds and dividers
10
+ - **White**: `#ffffff` - Text and clean backgrounds
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Sans Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Tech presentations, architecture portfolios, design showcases, modern business proposals, data visualization.
@@ -0,0 +1,19 @@
1
+ # Ocean Depths
2
+
3
+ A professional and calming maritime theme that evokes the serenity of deep ocean waters.
4
+
5
+ ## Color Palette
6
+
7
+ - **Deep Navy**: `#1a2332` - Primary background color
8
+ - **Teal**: `#2d8b8b` - Accent color for highlights and emphasis
9
+ - **Seafoam**: `#a8dadc` - Secondary accent for lighter elements
10
+ - **Cream**: `#f1faee` - Text and light backgrounds
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Sans Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Corporate presentations, financial reports, professional consulting decks, trust-building content.
@@ -0,0 +1,19 @@
1
+ # Sunset Boulevard
2
+
3
+ A warm and vibrant theme inspired by golden hour sunsets, perfect for energetic and creative presentations.
4
+
5
+ ## Color Palette
6
+
7
+ - **Burnt Orange**: `#e76f51` - Primary accent color
8
+ - **Coral**: `#f4a261` - Secondary warm accent
9
+ - **Warm Sand**: `#e9c46a` - Highlighting and backgrounds
10
+ - **Deep Purple**: `#264653` - Dark contrast and text
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Serif Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Creative pitches, marketing presentations, lifestyle brands, event promotions, inspirational content.
@@ -0,0 +1,19 @@
1
+ # Tech Innovation
2
+
3
+ A bold and modern theme with high-contrast colors perfect for cutting-edge technology presentations.
4
+
5
+ ## Color Palette
6
+
7
+ - **Electric Blue**: `#0066ff` - Vibrant primary accent
8
+ - **Neon Cyan**: `#00ffff` - Bright highlight color
9
+ - **Dark Gray**: `#1e1e1e` - Deep backgrounds
10
+ - **White**: `#ffffff` - Clean text and contrast
11
+
12
+ ## Typography
13
+
14
+ - **Headers**: DejaVu Sans Bold
15
+ - **Body Text**: DejaVu Sans
16
+
17
+ ## Best Used For
18
+
19
+ Tech startups, software launches, innovation showcases, AI/ML presentations, digital transformation content.
@@ -0,0 +1,48 @@
1
+ ---
2
+ name: UI Design System
3
+ description: Toolkit for creating and maintaining scalable design systems, design tokens, and visual consistency.
4
+ ---
5
+
6
+ # UI Design System Skill
7
+
8
+ This skill provides a professional toolkit for Senior UI Designers and Developers focused on creating and maintaining scalable design systems. It facilitates visual consistency and streamlined design-to-development handoffs.
9
+
10
+ ## Core Capabilities
11
+
12
+ ### 1. Design Token Generation
13
+ - **Automated Tokens**: Generate complete sets of design tokens (colors, typography, spacing).
14
+ - **Brand Alignment**: Create color palettes and scales based on brand colors.
15
+ - **Formats**: Support for JSON, CSS, and SCSS exports.
16
+
17
+ ### 2. Design System Architecture
18
+ - **Component Consistency**: Guidance on building modular and reusable component libraries.
19
+ - **Grids & Spacing**: Implements standard 8pt spacing grid systems.
20
+ - **Typography Scales**: Generates modular typography scales for responsive design.
21
+
22
+ ### 3. Handoff & Accessibility
23
+ - **Documentation**: Simplified developer handoff documentation.
24
+ - **Compliance**: Accessibility compliance checks and guidelines.
25
+ - **Responsive Systems**: Token-based responsive breakpoints and layout calculations.
26
+
27
+ ## Tools & Scripts
28
+
29
+ ### Design Token Generator
30
+ - **Location**: `docs/ui-design-system/scripts/design_token_generator.py`
31
+ - **Usage**: `python scripts/design_token_generator.py [brand_color] [style] [format]`
32
+ - **Styles**: `modern`, `classic`, `playful`.
33
+ - **Formats**: `json`, `css`, `scss`.
34
+
35
+ ## Usage Guidelines
36
+
37
+ ### When to Invoke
38
+ - Starting a new project that requires a consistent visual identity.
39
+ - Refactoring an existing UI to use design tokens.
40
+ - Defining typography, color scales, or grid systems.
41
+
42
+ ### Best Practices
43
+ - **Consistency**: Use tokens for everything—never use hardcoded hex values or spacing.
44
+ - **Responsiveness**: Define breakpoints as tokens early in the design process.
45
+ - **Accessibility**: Test color combinations for contrast ratios during palette generation.
46
+
47
+ ---
48
+ *Criando sistemas visuais consistentes e escaláveis que unem design e desenvolvimento.*