@fprad0/skill-master-mcp 0.0.9 → 0.0.11

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 (240) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +43 -9
  3. package/VERSION.md +3 -3
  4. package/bin/lib/client-config.mjs +268 -0
  5. package/bin/lib/menu-core.mjs +678 -33
  6. package/bin/skill-master-bootstrap-global.mjs +15 -1
  7. package/bin/skill-master-doctor.mjs +181 -0
  8. package/bin/skill-master-install-global-skills.mjs +30 -10
  9. package/bin/skill-master-menu.mjs +184 -36
  10. package/bin/skill-master-register-clients.mjs +43 -99
  11. package/dist/index.js +30 -5
  12. package/dist/index.js.map +1 -1
  13. package/docs/operations/GUIA_MULTI_COMPUTADOR.md +255 -0
  14. package/docs/operations/GUIA_NPM_PUBLICO.md +147 -0
  15. package/docs/skill-candidates/v0.0.10/cli-creator/LICENSE.txt +201 -0
  16. package/docs/skill-candidates/v0.0.10/cli-creator/SKILL.md +160 -0
  17. package/docs/skill-candidates/v0.0.10/cli-creator/agents/openai.yaml +4 -0
  18. package/docs/skill-candidates/v0.0.10/cli-creator/references/agent-cli-patterns.md +154 -0
  19. package/docs/skill-candidates/v0.0.10/developer-workstation-ops/SKILL.md +32 -0
  20. package/docs/skill-candidates/v0.0.10/figma/LICENSE.txt +2 -0
  21. package/docs/skill-candidates/v0.0.10/figma/SKILL.md +42 -0
  22. package/docs/skill-candidates/v0.0.10/figma/agents/openai.yaml +14 -0
  23. package/docs/skill-candidates/v0.0.10/figma/assets/figma-small.svg +3 -0
  24. package/docs/skill-candidates/v0.0.10/figma/assets/figma.png +0 -0
  25. package/docs/skill-candidates/v0.0.10/figma/assets/icon.svg +28 -0
  26. package/docs/skill-candidates/v0.0.10/figma/references/figma-mcp-config.md +35 -0
  27. package/docs/skill-candidates/v0.0.10/figma/references/figma-tools-and-prompts.md +34 -0
  28. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/LICENSE.TXT +2 -0
  29. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/SKILL.md +349 -0
  30. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/agents/openai.yaml +14 -0
  31. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/assets/figma-small.svg +3 -0
  32. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/assets/figma.png +0 -0
  33. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/assets/icon.svg +28 -0
  34. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/references/mapping-checklist.md +7 -0
  35. package/docs/skill-candidates/v0.0.10/figma-code-connect-components/scripts/normalize_node_id.py +25 -0
  36. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/LICENSE.TXT +2 -0
  37. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/SKILL.md +537 -0
  38. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/agents/openai.yaml +14 -0
  39. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/assets/figma-small.svg +3 -0
  40. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/assets/figma.png +0 -0
  41. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/assets/icon.svg +28 -0
  42. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/references/rule-template.md +15 -0
  43. package/docs/skill-candidates/v0.0.10/figma-create-design-system-rules/scripts/check_agents_md.sh +9 -0
  44. package/docs/skill-candidates/v0.0.10/figma-generate-design/LICENSE.TXT +2 -0
  45. package/docs/skill-candidates/v0.0.10/figma-generate-design/SKILL.md +341 -0
  46. package/docs/skill-candidates/v0.0.10/figma-generate-design/agents/openai.yaml +14 -0
  47. package/docs/skill-candidates/v0.0.10/figma-generate-design/assets/figma-small.svg +3 -0
  48. package/docs/skill-candidates/v0.0.10/figma-generate-design/assets/figma.png +0 -0
  49. package/docs/skill-candidates/v0.0.10/figma-generate-design/assets/icon.svg +28 -0
  50. package/docs/skill-candidates/v0.0.10/figma-generate-design/maintainers.yml +1 -0
  51. package/docs/skill-candidates/v0.0.10/figma-generate-library/LICENSE.TXT +2 -0
  52. package/docs/skill-candidates/v0.0.10/figma-generate-library/SKILL.md +314 -0
  53. package/docs/skill-candidates/v0.0.10/figma-generate-library/agents/openai.yaml +14 -0
  54. package/docs/skill-candidates/v0.0.10/figma-generate-library/assets/figma-small.svg +3 -0
  55. package/docs/skill-candidates/v0.0.10/figma-generate-library/assets/figma.png +0 -0
  56. package/docs/skill-candidates/v0.0.10/figma-generate-library/assets/icon.svg +28 -0
  57. package/docs/skill-candidates/v0.0.10/figma-generate-library/maintainers.yml +3 -0
  58. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/code-connect-setup.md +260 -0
  59. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/component-creation.md +1014 -0
  60. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/discovery-phase.md +518 -0
  61. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/documentation-creation.md +834 -0
  62. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/error-recovery.md +540 -0
  63. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/naming-conventions.md +527 -0
  64. package/docs/skill-candidates/v0.0.10/figma-generate-library/references/token-creation.md +962 -0
  65. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/bindVariablesToComponent.js +110 -0
  66. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/cleanupOrphans.js +127 -0
  67. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/createComponentWithVariants.js +148 -0
  68. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/createDocumentationPage.js +139 -0
  69. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/createSemanticTokens.js +108 -0
  70. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/createVariableCollection.js +49 -0
  71. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/inspectFileStructure.js +121 -0
  72. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/rehydrateState.js +92 -0
  73. package/docs/skill-candidates/v0.0.10/figma-generate-library/scripts/validateCreation.js +83 -0
  74. package/docs/skill-candidates/v0.0.10/figma-implement-design/LICENSE.txt +2 -0
  75. package/docs/skill-candidates/v0.0.10/figma-implement-design/SKILL.md +258 -0
  76. package/docs/skill-candidates/v0.0.10/figma-implement-design/agents/openai.yaml +14 -0
  77. package/docs/skill-candidates/v0.0.10/figma-implement-design/assets/figma-small.svg +3 -0
  78. package/docs/skill-candidates/v0.0.10/figma-implement-design/assets/figma.png +0 -0
  79. package/docs/skill-candidates/v0.0.10/figma-implement-design/assets/icon.svg +28 -0
  80. package/docs/skill-candidates/v0.0.10/figma-use/LICENSE.TXT +2 -0
  81. package/docs/skill-candidates/v0.0.10/figma-use/SKILL.md +233 -0
  82. package/docs/skill-candidates/v0.0.10/figma-use/agents/openai.yaml +14 -0
  83. package/docs/skill-candidates/v0.0.10/figma-use/assets/figma-small.svg +3 -0
  84. package/docs/skill-candidates/v0.0.10/figma-use/assets/figma.png +0 -0
  85. package/docs/skill-candidates/v0.0.10/figma-use/assets/icon.svg +28 -0
  86. package/docs/skill-candidates/v0.0.10/figma-use/maintainers.yml +1 -0
  87. package/docs/skill-candidates/v0.0.10/figma-use/references/api-reference.md +301 -0
  88. package/docs/skill-candidates/v0.0.10/figma-use/references/common-patterns.md +512 -0
  89. package/docs/skill-candidates/v0.0.10/figma-use/references/component-patterns.md +488 -0
  90. package/docs/skill-candidates/v0.0.10/figma-use/references/effect-style-patterns.md +123 -0
  91. package/docs/skill-candidates/v0.0.10/figma-use/references/gotchas.md +599 -0
  92. package/docs/skill-candidates/v0.0.10/figma-use/references/maintainers.yml +12 -0
  93. package/docs/skill-candidates/v0.0.10/figma-use/references/plugin-api-patterns.md +513 -0
  94. package/docs/skill-candidates/v0.0.10/figma-use/references/plugin-api-standalone.d.ts +11293 -0
  95. package/docs/skill-candidates/v0.0.10/figma-use/references/plugin-api-standalone.index.md +441 -0
  96. package/docs/skill-candidates/v0.0.10/figma-use/references/text-style-patterns.md +203 -0
  97. package/docs/skill-candidates/v0.0.10/figma-use/references/validation-and-recovery.md +109 -0
  98. package/docs/skill-candidates/v0.0.10/figma-use/references/variable-patterns.md +354 -0
  99. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/maintainers.yml +9 -0
  100. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-components--creating.md +17 -0
  101. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-components--using.md +17 -0
  102. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-components.md +50 -0
  103. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-effect-styles.md +52 -0
  104. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-text-styles.md +90 -0
  105. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-variables--creating.md +13 -0
  106. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-variables--using.md +13 -0
  107. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds-variables.md +64 -0
  108. package/docs/skill-candidates/v0.0.10/figma-use/references/working-with-design-systems/wwds.md +41 -0
  109. package/docs/skill-candidates/v0.0.10/frontend-design/LICENSE.txt +177 -0
  110. package/docs/skill-candidates/v0.0.10/frontend-design/SKILL.md +55 -0
  111. package/docs/skill-candidates/v0.0.10/frontend-ui-ux-systems/SKILL.md +32 -0
  112. package/docs/skill-candidates/v0.0.10/github/SKILL.md +74 -0
  113. package/docs/skill-candidates/v0.0.10/github/agents/openai.yaml +6 -0
  114. package/docs/skill-candidates/v0.0.10/github/assets/github-small.svg +3 -0
  115. package/docs/skill-candidates/v0.0.10/github/assets/github.png +0 -0
  116. package/docs/skill-candidates/v0.0.10/image-graphic-design-rendering/SKILL.md +28 -0
  117. package/docs/skill-candidates/v0.0.10/language-quality-pt-en-fr-it-ru/SKILL.md +28 -0
  118. package/docs/skill-candidates/v0.0.10/math-physics-reasoning/SKILL.md +28 -0
  119. package/docs/skill-candidates/v0.0.10/mcp-builder/LICENSE.txt +202 -0
  120. package/docs/skill-candidates/v0.0.10/mcp-builder/SKILL.md +236 -0
  121. package/docs/skill-candidates/v0.0.10/mcp-builder/reference/evaluation.md +602 -0
  122. package/docs/skill-candidates/v0.0.10/mcp-builder/reference/mcp_best_practices.md +249 -0
  123. package/docs/skill-candidates/v0.0.10/mcp-builder/reference/node_mcp_server.md +970 -0
  124. package/docs/skill-candidates/v0.0.10/mcp-builder/reference/python_mcp_server.md +719 -0
  125. package/docs/skill-candidates/v0.0.10/mcp-builder/scripts/connections.py +151 -0
  126. package/docs/skill-candidates/v0.0.10/mcp-builder/scripts/evaluation.py +373 -0
  127. package/docs/skill-candidates/v0.0.10/mcp-builder/scripts/example_evaluation.xml +22 -0
  128. package/docs/skill-candidates/v0.0.10/mcp-builder/scripts/requirements.txt +2 -0
  129. package/docs/skill-candidates/v0.0.10/mcp-client-readiness/SKILL.md +31 -0
  130. package/docs/skill-candidates/v0.0.10/openai-docs/LICENSE.txt +201 -0
  131. package/docs/skill-candidates/v0.0.10/openai-docs/SKILL.md +161 -0
  132. package/docs/skill-candidates/v0.0.10/openai-docs/agents/openai.yaml +14 -0
  133. package/docs/skill-candidates/v0.0.10/openai-docs/assets/openai-small.svg +3 -0
  134. package/docs/skill-candidates/v0.0.10/openai-docs/assets/openai.png +0 -0
  135. package/docs/skill-candidates/v0.0.10/openai-docs/references/latest-model.md +37 -0
  136. package/docs/skill-candidates/v0.0.10/openai-docs/references/prompting-guide.md +244 -0
  137. package/docs/skill-candidates/v0.0.10/openai-docs/references/upgrade-guide.md +181 -0
  138. package/docs/skill-candidates/v0.0.10/openai-docs/scripts/fetch-codex-manual.mjs +598 -0
  139. package/docs/skill-candidates/v0.0.10/openai-docs/scripts/resolve-latest-model-info.js +147 -0
  140. package/docs/skill-candidates/v0.0.10/playwright/LICENSE.txt +201 -0
  141. package/docs/skill-candidates/v0.0.10/playwright/NOTICE.txt +14 -0
  142. package/docs/skill-candidates/v0.0.10/playwright/SKILL.md +147 -0
  143. package/docs/skill-candidates/v0.0.10/playwright/agents/openai.yaml +6 -0
  144. package/docs/skill-candidates/v0.0.10/playwright/assets/playwright-small.svg +3 -0
  145. package/docs/skill-candidates/v0.0.10/playwright/assets/playwright.png +0 -0
  146. package/docs/skill-candidates/v0.0.10/playwright/references/cli.md +116 -0
  147. package/docs/skill-candidates/v0.0.10/playwright/references/workflows.md +95 -0
  148. package/docs/skill-candidates/v0.0.10/playwright/scripts/playwright_cli.sh +25 -0
  149. package/docs/skill-candidates/v0.0.10/polyglot-backend-engineering/SKILL.md +32 -0
  150. package/docs/skill-candidates/v0.0.10/screenshot/LICENSE.txt +201 -0
  151. package/docs/skill-candidates/v0.0.10/screenshot/SKILL.md +267 -0
  152. package/docs/skill-candidates/v0.0.10/screenshot/agents/openai.yaml +6 -0
  153. package/docs/skill-candidates/v0.0.10/screenshot/assets/screenshot-small.svg +5 -0
  154. package/docs/skill-candidates/v0.0.10/screenshot/assets/screenshot.png +0 -0
  155. package/docs/skill-candidates/v0.0.10/screenshot/scripts/ensure_macos_permissions.sh +54 -0
  156. package/docs/skill-candidates/v0.0.10/screenshot/scripts/macos_display_info.swift +22 -0
  157. package/docs/skill-candidates/v0.0.10/screenshot/scripts/macos_permissions.swift +40 -0
  158. package/docs/skill-candidates/v0.0.10/screenshot/scripts/macos_window_info.swift +126 -0
  159. package/docs/skill-candidates/v0.0.10/screenshot/scripts/take_screenshot.ps1 +163 -0
  160. package/docs/skill-candidates/v0.0.10/screenshot/scripts/take_screenshot.py +585 -0
  161. package/docs/skill-candidates/v0.0.10/skill-master-orchestrator/SKILL.md +62 -0
  162. package/docs/skill-candidates/v0.0.10/skill-master-orchestrator/agents/openai.yaml +4 -0
  163. package/docs/skill-candidates/v0.0.10/skill-master-orchestrator/references/activation-policy.md +77 -0
  164. package/docs/skill-candidates/v0.0.10/skill-master-orchestrator/references/human-approval-policy.md +83 -0
  165. package/docs/skill-candidates/v0.0.10/skill-master-orchestrator/references/persona-dev-senior-master.md +46 -0
  166. package/docs/skill-candidates/v0.0.10/terminal-menu-operations/SKILL.md +30 -0
  167. package/docs/skill-candidates/v0.0.10/terminal-pixel-art-tui/SKILL.md +43 -0
  168. package/docs/skill-candidates/v0.0.10/webapp-testing/LICENSE.txt +202 -0
  169. package/docs/skill-candidates/v0.0.10/webapp-testing/SKILL.md +96 -0
  170. package/docs/skill-candidates/v0.0.10/webapp-testing/examples/console_logging.py +35 -0
  171. package/docs/skill-candidates/v0.0.10/webapp-testing/examples/element_discovery.py +40 -0
  172. package/docs/skill-candidates/v0.0.10/webapp-testing/examples/static_html_automation.py +33 -0
  173. package/docs/skill-candidates/v0.0.10/webapp-testing/scripts/with_server.py +106 -0
  174. package/docs/skill-candidates/v0.0.10/winui-app/LICENSE.txt +202 -0
  175. package/docs/skill-candidates/v0.0.10/winui-app/SKILL.md +94 -0
  176. package/docs/skill-candidates/v0.0.10/winui-app/agents/openai.yaml +5 -0
  177. package/docs/skill-candidates/v0.0.10/winui-app/assets/winui.png +0 -0
  178. package/docs/skill-candidates/v0.0.10/winui-app/config.yaml +50 -0
  179. package/docs/skill-candidates/v0.0.10/winui-app/references/_sections.md +96 -0
  180. package/docs/skill-candidates/v0.0.10/winui-app/references/accessibility-input-and-localization.md +51 -0
  181. package/docs/skill-candidates/v0.0.10/winui-app/references/build-run-and-launch-verification.md +72 -0
  182. package/docs/skill-candidates/v0.0.10/winui-app/references/community-toolkit-controls-and-helpers.md +57 -0
  183. package/docs/skill-candidates/v0.0.10/winui-app/references/controls-layout-and-adaptive-ui.md +84 -0
  184. package/docs/skill-candidates/v0.0.10/winui-app/references/foundation-environment-audit-and-remediation.md +82 -0
  185. package/docs/skill-candidates/v0.0.10/winui-app/references/foundation-setup-and-project-selection.md +67 -0
  186. package/docs/skill-candidates/v0.0.10/winui-app/references/foundation-template-first-recovery.md +62 -0
  187. package/docs/skill-candidates/v0.0.10/winui-app/references/foundation-winui-app-structure.md +62 -0
  188. package/docs/skill-candidates/v0.0.10/winui-app/references/motion-animations-and-polish.md +45 -0
  189. package/docs/skill-candidates/v0.0.10/winui-app/references/performance-diagnostics-and-responsiveness.md +46 -0
  190. package/docs/skill-candidates/v0.0.10/winui-app/references/sample-source-map.md +37 -0
  191. package/docs/skill-candidates/v0.0.10/winui-app/references/shell-navigation-and-windowing.md +67 -0
  192. package/docs/skill-candidates/v0.0.10/winui-app/references/styling-theming-materials-and-icons.md +71 -0
  193. package/docs/skill-candidates/v0.0.10/winui-app/references/testing-debugging-and-review-checklists.md +77 -0
  194. package/docs/skill-candidates/v0.0.10/winui-app/references/windows-app-sdk-lifecycle-notifications-and-deployment.md +52 -0
  195. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/SKILL.md +399 -0
  196. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/common-patterns.md +331 -0
  197. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/complete-examples.md +872 -0
  198. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/component-patterns.md +502 -0
  199. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/data-fetching.md +767 -0
  200. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/file-organization.md +502 -0
  201. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/loading-and-error-states.md +501 -0
  202. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/performance.md +406 -0
  203. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/routing-guide.md +364 -0
  204. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/styling-guide.md +428 -0
  205. package/docs/skill-candidates/v0.0.11/frontend-dev-guidelines/resources/typescript-standards.md +418 -0
  206. package/docs/skill-candidates/v0.0.11/git-version-control-ops/SKILL.md +34 -0
  207. package/docs/skill-candidates/v0.0.11/go-engineering/SKILL.md +34 -0
  208. package/docs/skill-candidates/v0.0.11/java-engineering/SKILL.md +34 -0
  209. package/docs/skill-candidates/v0.0.11/javascript-engineering/SKILL.md +34 -0
  210. package/docs/skill-candidates/v0.0.11/json-contract-design/SKILL.md +34 -0
  211. package/docs/skill-candidates/v0.0.11/multi-client-mcp-ops/SKILL.md +36 -0
  212. package/docs/skill-candidates/v0.0.11/nextjs/SKILL.md +745 -0
  213. package/docs/skill-candidates/v0.0.11/nextjs/agents/openai.yaml +3 -0
  214. package/docs/skill-candidates/v0.0.11/nextjs/references/app-router-files.md +94 -0
  215. package/docs/skill-candidates/v0.0.11/python-engineering/SKILL.md +34 -0
  216. package/docs/skill-candidates/v0.0.11/ruby-engineering/SKILL.md +34 -0
  217. package/docs/skill-candidates/v0.0.11/senior-fullstack/SKILL.md +209 -0
  218. package/docs/skill-candidates/v0.0.11/senior-fullstack/references/architecture_patterns.md +103 -0
  219. package/docs/skill-candidates/v0.0.11/senior-fullstack/references/development_workflows.md +103 -0
  220. package/docs/skill-candidates/v0.0.11/senior-fullstack/references/tech_stack_guide.md +103 -0
  221. package/docs/skill-candidates/v0.0.11/senior-fullstack/scripts/code_quality_analyzer.py +114 -0
  222. package/docs/skill-candidates/v0.0.11/senior-fullstack/scripts/fullstack_scaffolder.py +114 -0
  223. package/docs/skill-candidates/v0.0.11/senior-fullstack/scripts/project_scaffolder.py +114 -0
  224. package/docs/skill-candidates/v0.0.11/shadcn/SKILL.md +573 -0
  225. package/docs/skill-candidates/v0.0.11/shadcn/agents/openai.yaml +3 -0
  226. package/docs/skill-candidates/v0.0.11/sql-postgresql-engineering/SKILL.md +34 -0
  227. package/docs/skill-candidates/v0.0.11/terminal-shell-ops/SKILL.md +34 -0
  228. package/docs/skill-candidates/v0.0.11/typescript-expert/SKILL.md +429 -0
  229. package/docs/skill-candidates/v0.0.11/typescript-expert/references/tsconfig-strict.json +92 -0
  230. package/docs/skill-candidates/v0.0.11/typescript-expert/references/typescript-cheatsheet.md +383 -0
  231. package/docs/skill-candidates/v0.0.11/typescript-expert/references/utility-types.ts +335 -0
  232. package/docs/skill-candidates/v0.0.11/typescript-expert/scripts/ts_diagnostic.py +203 -0
  233. package/docs/skill-candidates/v0.0.11/ui-component-primitives/SKILL.md +34 -0
  234. package/docs/skill-candidates/v0.0.11/web-mobile-design-systems/SKILL.md +34 -0
  235. package/docs/skill-candidates/v0.0.11/windows-linux-platform-ops/SKILL.md +34 -0
  236. package/manifests/channels/beta.json +7 -7
  237. package/manifests/channels/stable.json +8 -8
  238. package/network/unapproved-skill-candidates.json +34 -1
  239. package/package.json +7 -2
  240. package/scripts/verify-menu-actions.mjs +115 -0
@@ -0,0 +1,428 @@
1
+ # Styling Guide
2
+
3
+ Modern styling patterns for using MUI v7 sx prop, inline styles, and theme integration.
4
+
5
+ ---
6
+
7
+ ## Inline vs Separate Styles
8
+
9
+ ### Decision Threshold
10
+
11
+ **<100 lines: Inline styles at top of component**
12
+
13
+ ```typescript
14
+ import type { SxProps, Theme } from '@mui/material';
15
+
16
+ const componentStyles: Record<string, SxProps<Theme>> = {
17
+ container: {
18
+ p: 2,
19
+ display: 'flex',
20
+ flexDirection: 'column',
21
+ },
22
+ header: {
23
+ mb: 2,
24
+ borderBottom: '1px solid',
25
+ borderColor: 'divider',
26
+ },
27
+ // ... more styles
28
+ };
29
+
30
+ export const MyComponent: React.FC = () => {
31
+ return (
32
+ <Box sx={componentStyles.container}>
33
+ <Box sx={componentStyles.header}>
34
+ <h2>Title</h2>
35
+ </Box>
36
+ </Box>
37
+ );
38
+ };
39
+ ```
40
+
41
+ **>100 lines: Separate `.styles.ts` file**
42
+
43
+ ```typescript
44
+ // MyComponent.styles.ts
45
+ import type { SxProps, Theme } from '@mui/material';
46
+
47
+ export const componentStyles: Record<string, SxProps<Theme>> = {
48
+ container: { ... },
49
+ header: { ... },
50
+ // ... 100+ lines of styles
51
+ };
52
+
53
+ // MyComponent.tsx
54
+ import { componentStyles } from './MyComponent.styles';
55
+
56
+ export const MyComponent: React.FC = () => {
57
+ return <Box sx={componentStyles.container}>...</Box>;
58
+ };
59
+ ```
60
+
61
+ ### Real Example: UnifiedForm.tsx
62
+
63
+ **Lines 48-126**: 78 lines of inline styles (acceptable)
64
+
65
+ ```typescript
66
+ const formStyles: Record<string, SxProps<Theme>> = {
67
+ gridContainer: {
68
+ height: '100%',
69
+ maxHeight: 'calc(100vh - 220px)',
70
+ },
71
+ section: {
72
+ height: '100%',
73
+ maxHeight: 'calc(100vh - 220px)',
74
+ overflow: 'auto',
75
+ p: 4,
76
+ },
77
+ // ... 15 more style objects
78
+ };
79
+ ```
80
+
81
+ **Guideline**: User is comfortable with ~80 lines inline. Use your judgment around 100 lines.
82
+
83
+ ---
84
+
85
+ ## sx Prop Patterns
86
+
87
+ ### Basic Usage
88
+
89
+ ```typescript
90
+ <Box sx={{ p: 2, mb: 3, display: 'flex' }}>
91
+ Content
92
+ </Box>
93
+ ```
94
+
95
+ ### With Theme Access
96
+
97
+ ```typescript
98
+ <Box
99
+ sx={{
100
+ p: 2,
101
+ backgroundColor: (theme) => theme.palette.primary.main,
102
+ color: (theme) => theme.palette.primary.contrastText,
103
+ borderRadius: (theme) => theme.shape.borderRadius,
104
+ }}
105
+ >
106
+ Themed Box
107
+ </Box>
108
+ ```
109
+
110
+ ### Responsive Styles
111
+
112
+ ```typescript
113
+ <Box
114
+ sx={{
115
+ p: { xs: 1, sm: 2, md: 3 },
116
+ width: { xs: '100%', md: '50%' },
117
+ flexDirection: { xs: 'column', md: 'row' },
118
+ }}
119
+ >
120
+ Responsive Layout
121
+ </Box>
122
+ ```
123
+
124
+ ### Pseudo-Selectors
125
+
126
+ ```typescript
127
+ <Box
128
+ sx={{
129
+ p: 2,
130
+ '&:hover': {
131
+ backgroundColor: 'rgba(0,0,0,0.05)',
132
+ },
133
+ '&:active': {
134
+ backgroundColor: 'rgba(0,0,0,0.1)',
135
+ },
136
+ '& .child-class': {
137
+ color: 'primary.main',
138
+ },
139
+ }}
140
+ >
141
+ Interactive Box
142
+ </Box>
143
+ ```
144
+
145
+ ---
146
+
147
+ ## MUI v7 Patterns
148
+
149
+ ### Grid Component (v7 Syntax)
150
+
151
+ ```typescript
152
+ import { Grid } from '@mui/material';
153
+
154
+ // ✅ CORRECT - v7 syntax with size prop
155
+ <Grid container spacing={2}>
156
+ <Grid size={{ xs: 12, md: 6 }}>
157
+ Left Column
158
+ </Grid>
159
+ <Grid size={{ xs: 12, md: 6 }}>
160
+ Right Column
161
+ </Grid>
162
+ </Grid>
163
+
164
+ // ❌ WRONG - Old v6 syntax
165
+ <Grid container spacing={2}>
166
+ <Grid xs={12} md={6}> {/* OLD - Don't use */}
167
+ Content
168
+ </Grid>
169
+ </Grid>
170
+ ```
171
+
172
+ **Key Change**: `size={{ xs: 12, md: 6 }}` instead of `xs={12} md={6}`
173
+
174
+ ### Responsive Grid
175
+
176
+ ```typescript
177
+ <Grid container spacing={3}>
178
+ <Grid size={{ xs: 12, sm: 6, md: 4, lg: 3 }}>
179
+ Responsive Column
180
+ </Grid>
181
+ </Grid>
182
+ ```
183
+
184
+ ### Nested Grids
185
+
186
+ ```typescript
187
+ <Grid container spacing={2}>
188
+ <Grid size={{ xs: 12, md: 8 }}>
189
+ <Grid container spacing={1}>
190
+ <Grid size={{ xs: 12, sm: 6 }}>
191
+ Nested 1
192
+ </Grid>
193
+ <Grid size={{ xs: 12, sm: 6 }}>
194
+ Nested 2
195
+ </Grid>
196
+ </Grid>
197
+ </Grid>
198
+
199
+ <Grid size={{ xs: 12, md: 4 }}>
200
+ Sidebar
201
+ </Grid>
202
+ </Grid>
203
+ ```
204
+
205
+ ---
206
+
207
+ ## Type-Safe Styles
208
+
209
+ ### Style Object Type
210
+
211
+ ```typescript
212
+ import type { SxProps, Theme } from '@mui/material';
213
+
214
+ // Type-safe styles
215
+ const styles: Record<string, SxProps<Theme>> = {
216
+ container: {
217
+ p: 2,
218
+ // Autocomplete and type checking work here
219
+ },
220
+ };
221
+
222
+ // Or individual style
223
+ const containerStyle: SxProps<Theme> = {
224
+ p: 2,
225
+ display: 'flex',
226
+ };
227
+ ```
228
+
229
+ ### Theme-Aware Styles
230
+
231
+ ```typescript
232
+ const styles: Record<string, SxProps<Theme>> = {
233
+ primary: {
234
+ color: (theme) => theme.palette.primary.main,
235
+ backgroundColor: (theme) => theme.palette.primary.light,
236
+ '&:hover': {
237
+ backgroundColor: (theme) => theme.palette.primary.dark,
238
+ },
239
+ },
240
+ customSpacing: {
241
+ padding: (theme) => theme.spacing(2),
242
+ margin: (theme) => theme.spacing(1, 2), // top/bottom: 1, left/right: 2
243
+ },
244
+ };
245
+ ```
246
+
247
+ ---
248
+
249
+ ## What NOT to Use
250
+
251
+ ### ❌ makeStyles (MUI v4 pattern)
252
+
253
+ ```typescript
254
+ // ❌ AVOID - Old Material-UI v4 pattern
255
+ import { makeStyles } from '@mui/styles';
256
+
257
+ const useStyles = makeStyles((theme) => ({
258
+ root: {
259
+ padding: theme.spacing(2),
260
+ },
261
+ }));
262
+ ```
263
+
264
+ **Why avoid**: Deprecated, v7 doesn't support it well
265
+
266
+ ### ❌ styled() Components
267
+
268
+ ```typescript
269
+ // ❌ AVOID - styled-components pattern
270
+ import { styled } from '@mui/material/styles';
271
+
272
+ const StyledBox = styled(Box)(({ theme }) => ({
273
+ padding: theme.spacing(2),
274
+ }));
275
+ ```
276
+
277
+ **Why avoid**: sx prop is more flexible and doesn't create new components
278
+
279
+ ### ✅ Use sx Prop Instead
280
+
281
+ ```typescript
282
+ // ✅ PREFERRED
283
+ <Box
284
+ sx={{
285
+ p: 2,
286
+ backgroundColor: 'primary.main',
287
+ }}
288
+ >
289
+ Content
290
+ </Box>
291
+ ```
292
+
293
+ ---
294
+
295
+ ## Code Style Standards
296
+
297
+ ### Indentation
298
+
299
+ **4 spaces** (not 2, not tabs)
300
+
301
+ ```typescript
302
+ const styles: Record<string, SxProps<Theme>> = {
303
+ container: {
304
+ p: 2,
305
+ display: 'flex',
306
+ flexDirection: 'column',
307
+ },
308
+ };
309
+ ```
310
+
311
+ ### Quotes
312
+
313
+ **Single quotes** for strings (project standard)
314
+
315
+ ```typescript
316
+ // ✅ CORRECT
317
+ const color = 'primary.main';
318
+ import { Box } from '@mui/material';
319
+
320
+ // ❌ WRONG
321
+ const color = "primary.main";
322
+ import { Box } from "@mui/material";
323
+ ```
324
+
325
+ ### Trailing Commas
326
+
327
+ **Always use trailing commas** in objects and arrays
328
+
329
+ ```typescript
330
+ // ✅ CORRECT
331
+ const styles = {
332
+ container: { p: 2 },
333
+ header: { mb: 1 }, // Trailing comma
334
+ };
335
+
336
+ const items = [
337
+ 'item1',
338
+ 'item2', // Trailing comma
339
+ ];
340
+
341
+ // ❌ WRONG - No trailing comma
342
+ const styles = {
343
+ container: { p: 2 },
344
+ header: { mb: 1 } // Missing comma
345
+ };
346
+ ```
347
+
348
+ ---
349
+
350
+ ## Common Style Patterns
351
+
352
+ ### Flexbox Layout
353
+
354
+ ```typescript
355
+ const styles = {
356
+ flexRow: {
357
+ display: 'flex',
358
+ flexDirection: 'row',
359
+ alignItems: 'center',
360
+ gap: 2,
361
+ },
362
+ flexColumn: {
363
+ display: 'flex',
364
+ flexDirection: 'column',
365
+ gap: 1,
366
+ },
367
+ spaceBetween: {
368
+ display: 'flex',
369
+ justifyContent: 'space-between',
370
+ alignItems: 'center',
371
+ },
372
+ };
373
+ ```
374
+
375
+ ### Spacing
376
+
377
+ ```typescript
378
+ // Padding
379
+ p: 2 // All sides
380
+ px: 2 // Horizontal (left + right)
381
+ py: 2 // Vertical (top + bottom)
382
+ pt: 2, pr: 1 // Specific sides
383
+
384
+ // Margin
385
+ m: 2, mx: 2, my: 2, mt: 2, mr: 1
386
+
387
+ // Units: 1 = 8px (theme.spacing(1))
388
+ p: 2 // = 16px
389
+ p: 0.5 // = 4px
390
+ ```
391
+
392
+ ### Positioning
393
+
394
+ ```typescript
395
+ const styles = {
396
+ relative: {
397
+ position: 'relative',
398
+ },
399
+ absolute: {
400
+ position: 'absolute',
401
+ top: 0,
402
+ right: 0,
403
+ },
404
+ sticky: {
405
+ position: 'sticky',
406
+ top: 0,
407
+ zIndex: 1000,
408
+ },
409
+ };
410
+ ```
411
+
412
+ ---
413
+
414
+ ## Summary
415
+
416
+ **Styling Checklist:**
417
+ - ✅ Use `sx` prop for MUI styling
418
+ - ✅ Type-safe with `SxProps<Theme>`
419
+ - ✅ <100 lines: inline; >100 lines: separate file
420
+ - ✅ MUI v7 Grid: `size={{ xs: 12 }}`
421
+ - ✅ 4 space indentation
422
+ - ✅ Single quotes
423
+ - ✅ Trailing commas
424
+ - ❌ No makeStyles or styled()
425
+
426
+ **See Also:**
427
+ - [component-patterns.md](component-patterns.md) - Component structure
428
+ - [complete-examples.md](complete-examples.md) - Full styling examples