@bovinphang/frontend-craft 2.6.0 → 2.8.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 (414) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +72 -1
  4. package/CHANGELOG.zh-CN.md +71 -1
  5. package/README.md +10 -6
  6. package/README.openclaw.md +100 -42
  7. package/README.openclaw.zh-CN.md +100 -42
  8. package/README.zh-CN.md +10 -6
  9. package/agents/fec-architect.md +70 -70
  10. package/agents/fec-code-reviewer.md +82 -82
  11. package/agents/fec-debugger.md +20 -20
  12. package/agents/fec-design-token-mapper.md +36 -36
  13. package/agents/fec-doc-updater.md +13 -13
  14. package/agents/fec-e2e-runner.md +45 -45
  15. package/agents/fec-figma-implementer.md +59 -59
  16. package/agents/fec-performance-optimizer.md +128 -128
  17. package/agents/fec-refactor-cleaner.md +14 -14
  18. package/agents/fec-security-reviewer.md +66 -67
  19. package/agents/fec-test-planner.md +27 -27
  20. package/agents/fec-typescript-reviewer.md +88 -88
  21. package/agents/fec-ui-checker.md +74 -74
  22. package/commands/fec-debug.md +19 -19
  23. package/commands/fec-doc-sync.md +11 -11
  24. package/commands/fec-init.md +37 -38
  25. package/commands/fec-plan.md +58 -58
  26. package/commands/fec-refactor-clean.md +11 -11
  27. package/commands/fec-review.md +41 -41
  28. package/commands/fec-scaffold.md +41 -41
  29. package/commands/fec-tdd.md +13 -13
  30. package/dist/bin/frontend-craft.js +29 -27
  31. package/docs/example-prompts.md +84 -69
  32. package/docs/ja-JP/README.md +56 -52
  33. package/docs/ko-KR/README.md +45 -41
  34. package/docs/project-structure.md +19 -7
  35. package/docs/superpowers/plans/2026-05-29-fec-debug.md +491 -0
  36. package/docs/superpowers/specs/2026-05-29-fec-debug-design.md +340 -0
  37. package/docs/zh-CN/example-prompts.md +84 -69
  38. package/docs/zh-CN/project-structure.md +14 -5
  39. package/docs/zh-TW/README.md +33 -29
  40. package/localized/zh-CN/agents/fec-architect.md +125 -0
  41. package/localized/zh-CN/agents/fec-code-reviewer.md +152 -0
  42. package/localized/zh-CN/agents/fec-debugger.md +44 -0
  43. package/localized/zh-CN/agents/fec-design-token-mapper.md +75 -0
  44. package/localized/zh-CN/agents/fec-doc-updater.md +30 -0
  45. package/localized/zh-CN/agents/fec-e2e-runner.md +107 -0
  46. package/localized/zh-CN/agents/fec-figma-implementer.md +104 -0
  47. package/localized/zh-CN/agents/fec-performance-optimizer.md +293 -0
  48. package/localized/zh-CN/agents/fec-refactor-cleaner.md +32 -0
  49. package/localized/zh-CN/agents/fec-security-reviewer.md +116 -0
  50. package/localized/zh-CN/agents/fec-test-planner.md +50 -0
  51. package/localized/zh-CN/agents/fec-typescript-reviewer.md +142 -0
  52. package/localized/zh-CN/agents/fec-ui-checker.md +120 -0
  53. package/localized/zh-CN/commands/fec-debug.md +30 -0
  54. package/localized/zh-CN/commands/fec-doc-sync.md +19 -0
  55. package/localized/zh-CN/commands/fec-init.md +70 -0
  56. package/localized/zh-CN/commands/fec-plan.md +94 -0
  57. package/localized/zh-CN/commands/fec-refactor-clean.md +19 -0
  58. package/localized/zh-CN/commands/fec-review.md +66 -0
  59. package/localized/zh-CN/commands/fec-scaffold.md +205 -0
  60. package/localized/zh-CN/commands/fec-tdd.md +21 -0
  61. package/localized/zh-CN/skills/TEMPLATE.md +155 -0
  62. package/localized/zh-CN/skills/eval_queries.json +1013 -0
  63. package/localized/zh-CN/skills/fec-accessibility-check/SKILL.md +39 -0
  64. package/localized/zh-CN/skills/fec-accessibility-check/references/report-template.md +23 -0
  65. package/localized/zh-CN/skills/fec-accessibility-check/references/screen-reader-testing.md +33 -0
  66. package/localized/zh-CN/skills/fec-alchemy/SKILL.md +74 -0
  67. package/localized/zh-CN/skills/fec-alchemy/assets/absorption-plan-template.md +47 -0
  68. package/localized/zh-CN/skills/fec-alchemy/assets/intake-template.md +55 -0
  69. package/localized/zh-CN/skills/fec-alchemy/assets/review-checklist.md +31 -0
  70. package/localized/zh-CN/skills/fec-alchemy/references/methodology.md +94 -0
  71. package/localized/zh-CN/skills/fec-alchemy/references/originality-and-licensing.md +57 -0
  72. package/localized/zh-CN/skills/fec-api-integration/SKILL.md +78 -0
  73. package/localized/zh-CN/skills/fec-api-integration/references/integration-patterns.md +80 -0
  74. package/localized/zh-CN/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
  75. package/localized/zh-CN/skills/fec-browser-storage/SKILL.md +34 -0
  76. package/localized/zh-CN/skills/fec-browser-storage/references/storage-patterns.md +65 -0
  77. package/localized/zh-CN/skills/fec-canvas-threejs/SKILL.md +66 -0
  78. package/localized/zh-CN/skills/fec-canvas-threejs/references/rendering-patterns.md +67 -0
  79. package/localized/zh-CN/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +67 -0
  80. package/localized/zh-CN/skills/fec-code-review/SKILL.md +143 -0
  81. package/localized/zh-CN/skills/fec-code-review/references/report-template.md +29 -0
  82. package/localized/zh-CN/skills/fec-component-testing/SKILL.md +119 -0
  83. package/localized/zh-CN/skills/fec-data-fetching/SKILL.md +62 -0
  84. package/localized/zh-CN/skills/fec-data-fetching/references/query-patterns.md +103 -0
  85. package/localized/zh-CN/skills/fec-debug-framework/SKILL.md +157 -0
  86. package/localized/zh-CN/skills/fec-debug-framework/references/report-template.md +58 -0
  87. package/localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md +34 -0
  88. package/localized/zh-CN/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +56 -0
  89. package/localized/zh-CN/skills/fec-doc-sync/SKILL.md +39 -0
  90. package/localized/zh-CN/skills/fec-drawio-studio/SKILL.md +73 -0
  91. package/localized/zh-CN/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
  92. package/localized/zh-CN/skills/fec-drawio-studio/data/brand-icons.json +878 -0
  93. package/localized/zh-CN/skills/fec-drawio-studio/data/shape-index.json +83570 -0
  94. package/localized/zh-CN/skills/fec-drawio-studio/references/data-residency.md +27 -0
  95. package/localized/zh-CN/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
  96. package/localized/zh-CN/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
  97. package/localized/zh-CN/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
  98. package/localized/zh-CN/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
  99. package/localized/zh-CN/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
  100. package/localized/zh-CN/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
  101. package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
  102. package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
  103. package/localized/zh-CN/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
  104. package/localized/zh-CN/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
  105. package/localized/zh-CN/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
  106. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
  107. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
  108. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
  109. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
  110. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
  111. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
  112. package/localized/zh-CN/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
  113. package/localized/zh-CN/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
  114. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
  115. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
  116. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
  117. package/localized/zh-CN/skills/fec-drawio-studio/styles/schema.json +112 -0
  118. package/localized/zh-CN/skills/fec-e2e-testing/SKILL.md +42 -0
  119. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
  120. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
  121. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
  122. package/localized/zh-CN/skills/fec-e2e-testing/references/playwright-patterns.md +95 -0
  123. package/localized/zh-CN/skills/fec-form-handling/SKILL.md +76 -0
  124. package/localized/zh-CN/skills/fec-form-handling/references/advanced-form-patterns.md +101 -0
  125. package/localized/zh-CN/skills/fec-image-generation/SKILL.md +80 -0
  126. package/localized/zh-CN/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
  127. package/localized/zh-CN/skills/fec-image-generation/references/artifact-routing.md +80 -0
  128. package/localized/zh-CN/skills/fec-image-generation/references/diagram-workflows.md +74 -0
  129. package/localized/zh-CN/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
  130. package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +30 -0
  131. package/localized/zh-CN/skills/fec-image-generation/scripts/export-diagram.mjs +364 -0
  132. package/localized/zh-CN/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
  133. package/localized/zh-CN/skills/fec-image-generation/scripts/png-qa.mjs +431 -0
  134. package/localized/zh-CN/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -0
  135. package/localized/zh-CN/skills/fec-implement-from-design/SKILL.md +129 -0
  136. package/localized/zh-CN/skills/fec-implement-from-design/references/design-plan-template.md +36 -0
  137. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/SKILL.md +46 -0
  138. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
  139. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +41 -0
  140. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
  141. package/localized/zh-CN/skills/fec-legacy-web-standard/SKILL.md +35 -0
  142. package/localized/zh-CN/skills/fec-legacy-web-standard/references/legacy-patterns.md +85 -0
  143. package/localized/zh-CN/skills/fec-list-virtualization/SKILL.md +34 -0
  144. package/localized/zh-CN/skills/fec-list-virtualization/references/virtualization-patterns.md +80 -0
  145. package/localized/zh-CN/skills/fec-monorepo-project-standard/SKILL.md +142 -0
  146. package/localized/zh-CN/skills/fec-motion-interaction/SKILL.md +73 -0
  147. package/localized/zh-CN/skills/fec-motion-interaction/references/motion-patterns.md +112 -0
  148. package/localized/zh-CN/skills/fec-nextjs-project-standard/SKILL.md +123 -0
  149. package/localized/zh-CN/skills/fec-nuxt-project-standard/SKILL.md +122 -0
  150. package/localized/zh-CN/skills/fec-performance-optimization/SKILL.md +80 -0
  151. package/localized/zh-CN/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
  152. package/localized/zh-CN/skills/fec-performance-optimization/references/report-template.md +59 -0
  153. package/localized/zh-CN/skills/fec-pwa-implementation/SKILL.md +35 -0
  154. package/localized/zh-CN/skills/fec-pwa-implementation/references/manifest-and-icons.md +53 -0
  155. package/localized/zh-CN/skills/fec-pwa-implementation/references/service-worker-workbox.md +68 -0
  156. package/localized/zh-CN/skills/fec-react-project-standard/SKILL.md +91 -0
  157. package/localized/zh-CN/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
  158. package/localized/zh-CN/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
  159. package/localized/zh-CN/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
  160. package/localized/zh-CN/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
  161. package/localized/zh-CN/skills/fec-refactor-clean/SKILL.md +51 -0
  162. package/localized/zh-CN/skills/fec-refactor-clean/references/report-template.md +42 -0
  163. package/localized/zh-CN/skills/fec-responsive-layout/SKILL.md +34 -0
  164. package/localized/zh-CN/skills/fec-responsive-layout/references/responsive-layout-patterns.md +70 -0
  165. package/localized/zh-CN/skills/fec-route-protection/SKILL.md +135 -0
  166. package/localized/zh-CN/skills/fec-security-review/SKILL.md +38 -0
  167. package/localized/zh-CN/skills/fec-security-review/references/report-template.md +27 -0
  168. package/localized/zh-CN/skills/fec-security-review/references/security-checklist.md +64 -0
  169. package/localized/zh-CN/skills/fec-source-driven-development/SKILL.md +87 -0
  170. package/localized/zh-CN/skills/fec-state-management/SKILL.md +140 -0
  171. package/localized/zh-CN/skills/fec-state-management/references/state-patterns.md +109 -0
  172. package/localized/zh-CN/skills/fec-storybook-component-doc/SKILL.md +37 -0
  173. package/localized/zh-CN/skills/fec-storybook-component-doc/references/story-patterns.md +118 -0
  174. package/localized/zh-CN/skills/fec-svg-animation/SKILL.md +148 -0
  175. package/localized/zh-CN/skills/fec-tailwind-design-system/SKILL.md +34 -0
  176. package/localized/zh-CN/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +59 -0
  177. package/localized/zh-CN/skills/fec-tdd-workflow/SKILL.md +52 -0
  178. package/localized/zh-CN/skills/fec-testing-strategy/SKILL.md +45 -0
  179. package/localized/zh-CN/skills/fec-typescript-project-standard/SKILL.md +54 -0
  180. package/{skills/fec-typescript-type-safety → localized/zh-CN/skills/fec-typescript-project-standard}/references/type-safety-patterns.md +1 -1
  181. package/{skills/fec-typescript-type-safety/SKILL.md → localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety.md} +5 -14
  182. package/localized/zh-CN/skills/fec-ui-design/SKILL.md +108 -0
  183. package/localized/zh-CN/skills/fec-ui-design/data/product-rules.json +231 -0
  184. package/localized/zh-CN/skills/fec-ui-design/data/stack-ui-rules.json +146 -0
  185. package/localized/zh-CN/skills/fec-ui-design/data/style-archetypes.json +373 -0
  186. package/localized/zh-CN/skills/fec-ui-design/data/ux-quality-rules.json +203 -0
  187. package/localized/zh-CN/skills/fec-ui-design/references/design-intelligence.md +97 -0
  188. package/localized/zh-CN/skills/fec-ui-design/references/master-page-overrides.md +30 -0
  189. package/localized/zh-CN/skills/fec-ui-design/references/pre-delivery-checklist.md +39 -0
  190. package/localized/zh-CN/skills/fec-ui-design/scripts/design-system.mjs +648 -0
  191. package/localized/zh-CN/skills/fec-validation-fix/SKILL.md +51 -0
  192. package/localized/zh-CN/skills/fec-validation-fix/references/report-template.md +43 -0
  193. package/localized/zh-CN/skills/fec-vite-project-standard/SKILL.md +83 -0
  194. package/localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md +58 -0
  195. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +162 -0
  196. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
  197. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-project-structure.md +176 -0
  198. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
  199. package/localized/zh-CN/skills/fec-web-video-presentation/SKILL.md +61 -0
  200. package/localized/zh-CN/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
  201. package/localized/zh-CN/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
  202. package/localized/zh-CN/skills/fec-web-video-presentation/references/content-plan.md +38 -0
  203. package/localized/zh-CN/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
  204. package/localized/zh-CN/skills/fec-web-video-presentation/references/theme-system.md +36 -0
  205. package/localized/zh-CN/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
  206. package/localized/zh-CN/skills/fec-web-workers/SKILL.md +35 -0
  207. package/localized/zh-CN/skills/fec-web-workers/references/advanced-workers.md +54 -0
  208. package/localized/zh-CN/skills/fec-web-workers/references/basic-worker.md +67 -0
  209. package/localized/zh-CN/skills/metadata.json +1646 -0
  210. package/localized/zh-CN/skills/relations.json +755 -0
  211. package/localized/zh-CN/templates/claude/CLAUDE.md +106 -0
  212. package/localized/zh-CN/templates/claude/settings.json +62 -0
  213. package/localized/zh-CN/templates/codex/AGENTS.md +105 -0
  214. package/localized/zh-CN/templates/codex/config.toml +32 -0
  215. package/localized/zh-CN/templates/openclaw/AGENTS.md +101 -0
  216. package/localized/zh-CN/templates/openclaw/OPENCLAW-CONFIG.md +12 -0
  217. package/localized/zh-CN/templates/shared/rules/fec-agent-workflow.md +54 -0
  218. package/localized/zh-CN/templates/shared/rules/fec-api-layer.md +99 -0
  219. package/localized/zh-CN/templates/shared/rules/fec-ci-cd.md +40 -0
  220. package/localized/zh-CN/templates/shared/rules/fec-code-comments.md +33 -0
  221. package/localized/zh-CN/templates/shared/rules/fec-design-system.md +72 -0
  222. package/localized/zh-CN/templates/shared/rules/fec-error-handling.md +56 -0
  223. package/localized/zh-CN/templates/shared/rules/fec-git-conventions.md +73 -0
  224. package/localized/zh-CN/templates/shared/rules/fec-i18n.md +64 -0
  225. package/localized/zh-CN/templates/shared/rules/fec-naming-conventions.md +120 -0
  226. package/localized/zh-CN/templates/shared/rules/fec-performance.md +101 -0
  227. package/localized/zh-CN/templates/shared/rules/fec-react.md +82 -0
  228. package/localized/zh-CN/templates/shared/rules/fec-refactoring.md +47 -0
  229. package/localized/zh-CN/templates/shared/rules/fec-rendering-patterns.md +40 -0
  230. package/localized/zh-CN/templates/shared/rules/fec-responsive-design.md +50 -0
  231. package/localized/zh-CN/templates/shared/rules/fec-source-driven-development.md +31 -0
  232. package/localized/zh-CN/templates/shared/rules/fec-state-management.md +60 -0
  233. package/localized/zh-CN/templates/shared/rules/fec-testing.md +98 -0
  234. package/localized/zh-CN/templates/shared/rules/fec-typescript.md +112 -0
  235. package/localized/zh-CN/templates/shared/rules/fec-vue.md +64 -0
  236. package/localized/zh-CN/templates/shared/rules/fec-working-modes.md +50 -0
  237. package/openclaw.plugin.json +1 -1
  238. package/package.json +4 -3
  239. package/skills/TEMPLATE.md +74 -74
  240. package/skills/eval_queries.json +717 -619
  241. package/skills/fec-accessibility-check/SKILL.md +21 -21
  242. package/skills/fec-accessibility-check/references/report-template.md +12 -12
  243. package/skills/fec-accessibility-check/references/screen-reader-testing.md +24 -24
  244. package/skills/fec-alchemy/SKILL.md +50 -50
  245. package/skills/fec-alchemy/assets/absorption-plan-template.md +32 -32
  246. package/skills/fec-alchemy/assets/intake-template.md +55 -55
  247. package/skills/fec-alchemy/assets/review-checklist.md +23 -23
  248. package/skills/fec-alchemy/references/methodology.md +66 -66
  249. package/skills/fec-alchemy/references/originality-and-licensing.md +42 -42
  250. package/skills/fec-api-integration/SKILL.md +61 -61
  251. package/skills/fec-api-integration/references/integration-patterns.md +30 -30
  252. package/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
  253. package/skills/fec-browser-storage/SKILL.md +16 -16
  254. package/skills/fec-browser-storage/references/storage-patterns.md +16 -16
  255. package/skills/fec-canvas-threejs/SKILL.md +21 -21
  256. package/skills/fec-canvas-threejs/references/rendering-patterns.md +10 -10
  257. package/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +37 -37
  258. package/skills/fec-code-review/SKILL.md +94 -94
  259. package/skills/fec-code-review/references/report-template.md +13 -13
  260. package/skills/fec-component-testing/SKILL.md +39 -39
  261. package/skills/fec-data-fetching/SKILL.md +16 -16
  262. package/skills/fec-data-fetching/references/query-patterns.md +27 -27
  263. package/skills/fec-debug-framework/SKILL.md +95 -95
  264. package/skills/fec-debug-framework/references/report-template.md +34 -34
  265. package/skills/fec-dependency-upgrade/SKILL.md +17 -17
  266. package/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +31 -31
  267. package/skills/fec-doc-sync/SKILL.md +23 -23
  268. package/skills/fec-drawio-studio/SKILL.md +73 -0
  269. package/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
  270. package/skills/fec-drawio-studio/data/brand-icons.json +878 -0
  271. package/skills/fec-drawio-studio/data/shape-index.json +83570 -0
  272. package/skills/fec-drawio-studio/references/data-residency.md +27 -0
  273. package/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
  274. package/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
  275. package/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
  276. package/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
  277. package/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
  278. package/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
  279. package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
  280. package/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
  281. package/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
  282. package/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
  283. package/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
  284. package/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
  285. package/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
  286. package/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
  287. package/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
  288. package/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
  289. package/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
  290. package/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
  291. package/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
  292. package/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
  293. package/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
  294. package/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
  295. package/skills/fec-drawio-studio/styles/schema.json +112 -0
  296. package/skills/fec-e2e-testing/SKILL.md +24 -22
  297. package/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
  298. package/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
  299. package/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
  300. package/skills/fec-e2e-testing/references/playwright-patterns.md +6 -6
  301. package/skills/fec-form-handling/SKILL.md +21 -21
  302. package/skills/fec-form-handling/references/advanced-form-patterns.md +41 -41
  303. package/skills/fec-image-generation/SKILL.md +81 -0
  304. package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
  305. package/skills/fec-image-generation/references/artifact-routing.md +80 -0
  306. package/skills/fec-image-generation/references/diagram-workflows.md +74 -0
  307. package/skills/fec-image-generation/references/html-technical-diagrams.md +236 -0
  308. package/skills/fec-image-generation/references/png-qa-autofix.md +30 -0
  309. package/skills/fec-image-generation/scripts/export-diagram.mjs +364 -0
  310. package/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
  311. package/skills/fec-image-generation/scripts/png-qa.mjs +431 -0
  312. package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1397 -0
  313. package/skills/fec-implement-from-design/SKILL.md +81 -74
  314. package/skills/fec-implement-from-design/references/design-plan-template.md +16 -16
  315. package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -173
  316. package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
  317. package/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +37 -37
  318. package/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
  319. package/skills/fec-legacy-web-standard/SKILL.md +17 -17
  320. package/skills/fec-legacy-web-standard/references/legacy-patterns.md +16 -16
  321. package/skills/fec-list-virtualization/SKILL.md +16 -16
  322. package/skills/fec-list-virtualization/references/virtualization-patterns.md +31 -31
  323. package/skills/fec-monorepo-project-standard/SKILL.md +52 -52
  324. package/skills/fec-motion-interaction/SKILL.md +51 -44
  325. package/skills/fec-motion-interaction/references/motion-patterns.md +11 -11
  326. package/skills/fec-nextjs-project-standard/SKILL.md +64 -58
  327. package/skills/fec-nuxt-project-standard/SKILL.md +57 -57
  328. package/skills/fec-performance-optimization/SKILL.md +54 -50
  329. package/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
  330. package/skills/fec-performance-optimization/references/report-template.md +34 -28
  331. package/skills/fec-pwa-implementation/SKILL.md +17 -17
  332. package/skills/fec-pwa-implementation/references/manifest-and-icons.md +12 -12
  333. package/skills/fec-pwa-implementation/references/service-worker-workbox.md +13 -13
  334. package/skills/fec-react-project-standard/SKILL.md +72 -64
  335. package/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
  336. package/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
  337. package/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
  338. package/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
  339. package/skills/fec-refactor-clean/SKILL.md +30 -30
  340. package/skills/fec-refactor-clean/references/report-template.md +23 -23
  341. package/skills/fec-responsive-layout/SKILL.md +17 -17
  342. package/skills/fec-responsive-layout/references/responsive-layout-patterns.md +39 -28
  343. package/skills/fec-route-protection/SKILL.md +26 -26
  344. package/skills/fec-security-review/SKILL.md +20 -20
  345. package/skills/fec-security-review/references/report-template.md +12 -12
  346. package/skills/fec-security-review/references/security-checklist.md +27 -27
  347. package/skills/fec-source-driven-development/SKILL.md +66 -40
  348. package/skills/fec-state-management/SKILL.md +34 -34
  349. package/skills/fec-state-management/references/state-patterns.md +19 -19
  350. package/skills/fec-storybook-component-doc/SKILL.md +19 -19
  351. package/skills/fec-storybook-component-doc/references/story-patterns.md +12 -12
  352. package/skills/fec-svg-animation/SKILL.md +32 -32
  353. package/skills/fec-tailwind-design-system/SKILL.md +17 -17
  354. package/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +36 -32
  355. package/skills/fec-tdd-workflow/SKILL.md +28 -28
  356. package/skills/fec-testing-strategy/SKILL.md +29 -29
  357. package/skills/fec-typescript-project-standard/SKILL.md +54 -0
  358. package/skills/fec-typescript-project-standard/references/type-safety-patterns.md +102 -0
  359. package/skills/fec-typescript-project-standard/references/type-safety.md +148 -0
  360. package/skills/fec-ui-design/SKILL.md +90 -72
  361. package/skills/fec-ui-design/data/style-archetypes.json +40 -0
  362. package/skills/fec-ui-design/data/ux-quality-rules.json +35 -0
  363. package/skills/fec-ui-design/references/design-intelligence.md +81 -21
  364. package/skills/fec-ui-design/references/master-page-overrides.md +15 -15
  365. package/skills/fec-ui-design/references/pre-delivery-checklist.md +38 -32
  366. package/skills/fec-ui-design/scripts/design-system.mjs +119 -1
  367. package/skills/fec-validation-fix/SKILL.md +26 -26
  368. package/skills/fec-validation-fix/references/report-template.md +25 -25
  369. package/skills/fec-vite-project-standard/SKILL.md +39 -39
  370. package/skills/fec-vue3-project-standard/SKILL.md +39 -30
  371. package/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +163 -0
  372. package/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
  373. package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +177 -0
  374. package/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
  375. package/skills/fec-web-video-presentation/SKILL.md +61 -0
  376. package/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
  377. package/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
  378. package/skills/fec-web-video-presentation/references/content-plan.md +38 -0
  379. package/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
  380. package/skills/fec-web-video-presentation/references/theme-system.md +36 -0
  381. package/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
  382. package/skills/fec-web-workers/SKILL.md +16 -16
  383. package/skills/fec-web-workers/references/advanced-workers.md +13 -13
  384. package/skills/fec-web-workers/references/basic-worker.md +8 -8
  385. package/skills/metadata.json +402 -220
  386. package/skills/relations.json +120 -25
  387. package/templates/claude/CLAUDE.md +60 -60
  388. package/templates/codex/AGENTS.md +76 -76
  389. package/templates/codex/config.toml +4 -4
  390. package/templates/openclaw/AGENTS.md +68 -68
  391. package/templates/openclaw/OPENCLAW-CONFIG.md +8 -8
  392. package/templates/shared/rules/fec-agent-workflow.md +40 -40
  393. package/templates/shared/rules/fec-api-layer.md +52 -52
  394. package/templates/shared/rules/fec-ci-cd.md +29 -117
  395. package/templates/shared/rules/fec-code-comments.md +22 -22
  396. package/templates/shared/rules/fec-design-system.md +65 -241
  397. package/templates/shared/rules/fec-error-handling.md +41 -185
  398. package/templates/shared/rules/fec-git-conventions.md +42 -42
  399. package/templates/shared/rules/fec-i18n.md +48 -96
  400. package/templates/shared/rules/fec-naming-conventions.md +91 -91
  401. package/templates/shared/rules/fec-performance.md +78 -78
  402. package/templates/shared/rules/fec-react.md +58 -58
  403. package/templates/shared/rules/fec-refactoring.md +34 -30
  404. package/templates/shared/rules/fec-rendering-patterns.md +40 -183
  405. package/templates/shared/rules/fec-responsive-design.md +37 -214
  406. package/templates/shared/rules/fec-source-driven-development.md +22 -22
  407. package/templates/shared/rules/fec-state-management.md +45 -148
  408. package/templates/shared/rules/fec-testing.md +64 -64
  409. package/templates/shared/rules/fec-typescript.md +98 -341
  410. package/templates/shared/rules/fec-vue.md +42 -42
  411. package/templates/shared/rules/fec-working-modes.md +34 -34
  412. package/skills/fec-e2e-testing/references/e2e-advanced.md +0 -176
  413. package/skills/fec-react-project-standard/references/react-project-details.md +0 -642
  414. package/skills/fec-vue3-project-standard/references/vue3-project-details.md +0 -547
@@ -0,0 +1,755 @@
1
+ {
2
+ "fec-alchemy": {
3
+ "relatedSkills": [
4
+ "fec-source-driven-development",
5
+ "fec-doc-sync",
6
+ "fec-refactor-clean",
7
+ "fec-code-review",
8
+ "fec-testing-strategy"
9
+ ],
10
+ "boundaryWorkflows": [
11
+ "当参考行为依赖官方文档、版本敏感 API 或项目事实时,使用事实源驱动开发。",
12
+ "当吸收后的能力会改变公开文档、runtime 文档、metadata 或已发布能力表时,使用文档同步。",
13
+ "当吸收工作需要先移除已确认的死代码、重复模块或未使用依赖时,使用重构清理。"
14
+ ],
15
+ "capabilityTags": [
16
+ "project-absorption",
17
+ "originality",
18
+ "reference-analysis",
19
+ "workflow"
20
+ ]
21
+ },
22
+ "fec-api-integration": {
23
+ "relatedSkills": [
24
+ "fec-data-fetching",
25
+ "fec-security-review",
26
+ "fec-route-protection",
27
+ "fec-form-handling",
28
+ "fec-typescript-project-standard",
29
+ "fec-source-driven-development"
30
+ ],
31
+ "boundaryWorkflows": [
32
+ "涉及 TanStack Query 缓存策略、query key、乐观更新和服务端状态 hooks 时,使用数据获取工作流。",
33
+ "涉及 token 存储、XSS、CSRF、文件上传信任边界和密钥泄露风险时,使用安全审查工作流。",
34
+ "涉及页面级认证重定向、RBAC 路由守卫和 middleware 行为时,使用路由保护工作流。"
35
+ ],
36
+ "capabilityTags": [
37
+ "api",
38
+ "typed-client",
39
+ "auth",
40
+ "upload",
41
+ "realtime"
42
+ ]
43
+ },
44
+ "fec-backend-requirements-handoff": {
45
+ "relatedSkills": [
46
+ "fec-api-integration",
47
+ "fec-doc-sync",
48
+ "fec-source-driven-development",
49
+ "fec-testing-strategy",
50
+ "fec-route-protection"
51
+ ],
52
+ "boundaryWorkflows": [
53
+ "当正在设计契约形态、类型化 client、认证刷新、错误映射、上传或实时实现时,使用 API 集成。",
54
+ "当后端决策会改变公开文档、API 说明、路由文档或 env/config 文档时,使用文档同步。",
55
+ "当交接重点是认证重定向、RBAC、权限路由或 middleware 行为时,使用路由保护。"
56
+ ],
57
+ "capabilityTags": [
58
+ "backend-requirements",
59
+ "handoff",
60
+ "api-collaboration",
61
+ "data-needs"
62
+ ]
63
+ },
64
+ "fec-browser-storage": {
65
+ "relatedSkills": [
66
+ "fec-security-review",
67
+ "fec-pwa-implementation",
68
+ "fec-state-management",
69
+ "fec-data-fetching"
70
+ ],
71
+ "boundaryWorkflows": [
72
+ "涉及 token、私有数据和 XSS 读取风险时,使用安全审查工作流。",
73
+ "涉及 Service Worker 离线缓存和可安装性时,使用 PWA 工作流。",
74
+ "涉及服务端状态和 API 缓存行为时,使用数据获取工作流。"
75
+ ],
76
+ "capabilityTags": [
77
+ "storage",
78
+ "security",
79
+ "offline-cache"
80
+ ]
81
+ },
82
+ "fec-canvas-threejs": {
83
+ "relatedSkills": [
84
+ "fec-web-workers",
85
+ "fec-svg-animation",
86
+ "fec-accessibility-check",
87
+ "fec-motion-interaction"
88
+ ],
89
+ "boundaryWorkflows": [
90
+ "当昂贵图形计算阻塞主线程时,使用 Worker工作流。",
91
+ "涉及小型矢量图标、路径描边和 UI 微交互时,使用 SVG 动画工作流。",
92
+ "涉及非文本替代内容和键盘降级路径时,使用无障碍工作流。"
93
+ ],
94
+ "capabilityTags": [
95
+ "canvas",
96
+ "threejs",
97
+ "performance",
98
+ "accessibility"
99
+ ]
100
+ },
101
+ "fec-code-review": {
102
+ "relatedSkills": [
103
+ "fec-security-review",
104
+ "fec-accessibility-check",
105
+ "fec-e2e-testing",
106
+ "fec-validation-fix",
107
+ "fec-performance-optimization",
108
+ "fec-typescript-project-standard",
109
+ "fec-state-management",
110
+ "fec-source-driven-development",
111
+ "fec-dependency-upgrade",
112
+ "fec-responsive-layout"
113
+ ],
114
+ "boundaryWorkflows": [
115
+ "涉及 XSS、CSRF、token、上传、第三方脚本和 CSP 风险时,使用安全审查工作流。",
116
+ "涉及 WCAG、键盘、焦点、语义和 ARIA 风险时,使用无障碍工作流。",
117
+ "涉及关键路径、不稳定测试、trace 和 CI 产物时,使用 E2E 工作流。"
118
+ ],
119
+ "capabilityTags": [
120
+ "code-review",
121
+ "quality",
122
+ "frontend"
123
+ ]
124
+ },
125
+ "fec-component-testing": {
126
+ "relatedSkills": [
127
+ "fec-testing-strategy",
128
+ "fec-e2e-testing",
129
+ "fec-storybook-component-doc",
130
+ "fec-accessibility-check",
131
+ "fec-validation-fix"
132
+ ],
133
+ "boundaryWorkflows": [
134
+ "在静态检查、单元、组件、集成、E2E、视觉或专项质量层之间做选择前,先使用测试策略工作流。",
135
+ "涉及真实浏览器跨页面旅程、登录态和 CI 产物时,使用 E2E 工作流。",
136
+ "当任务是运行或修复现有 lint、typecheck、test 或 build 失败时,使用验证修复工作流。"
137
+ ],
138
+ "capabilityTags": [
139
+ "testing",
140
+ "component-test",
141
+ "ui-quality"
142
+ ]
143
+ },
144
+ "fec-data-fetching": {
145
+ "relatedSkills": [
146
+ "fec-state-management",
147
+ "fec-form-handling",
148
+ "fec-pwa-implementation",
149
+ "fec-list-virtualization"
150
+ ],
151
+ "boundaryWorkflows": [
152
+ "涉及表单状态、校验和提交 UI 时,使用表单工作流。",
153
+ "涉及 Service Worker 和离线缓存策略时,使用 PWA 工作流。",
154
+ "涉及无限列表中的 DOM 渲染性能时,使用虚拟列表工作流。"
155
+ ],
156
+ "capabilityTags": [
157
+ "data-fetching",
158
+ "server-state",
159
+ "cache"
160
+ ]
161
+ },
162
+ "fec-debug-framework": {
163
+ "relatedSkills": [
164
+ "fec-dependency-upgrade"
165
+ ],
166
+ "boundaryWorkflows": [
167
+ "当任务目标是依赖迁移、CVE 修复、lockfile 风险审查或大版本规划时,使用依赖升级工作流。",
168
+ "将ordinary build failures保留在the debug workflow first中;collect evidence before deciding that dependency versions or package migration are the root cause。"
169
+ ],
170
+ "capabilityTags": [
171
+ "debug",
172
+ "diagnostic",
173
+ "build-error",
174
+ "runtime-error"
175
+ ]
176
+ },
177
+ "fec-dependency-upgrade": {
178
+ "relatedSkills": [
179
+ "fec-source-driven-development",
180
+ "fec-validation-fix",
181
+ "fec-refactor-clean",
182
+ "fec-security-review",
183
+ "fec-monorepo-project-standard"
184
+ ],
185
+ "boundaryWorkflows": [
186
+ "决定升级路径前,先用事实源驱动开发核验官方 release notes、迁移指南、版本敏感行为和项目事实。",
187
+ "当任务是在升级后修复具体的 lint、typecheck、test、build 或 CI 失败时,使用验证修复 fix。",
188
+ "已确认的未使用依赖移除使用重构清理;版本迁移和 lockfile 风险保留在依赖升级工作流中。"
189
+ ],
190
+ "capabilityTags": [
191
+ "dependency-upgrade",
192
+ "lockfile",
193
+ "cve",
194
+ "migration"
195
+ ]
196
+ },
197
+ "fec-drawio-studio": {
198
+ "relatedSkills": [
199
+ "fec-image-generation",
200
+ "fec-canvas-threejs",
201
+ "fec-svg-animation",
202
+ "fec-ui-design",
203
+ "fec-source-driven-development"
204
+ ],
205
+ "boundaryWorkflows": [
206
+ "涉及位图优先的海报、视觉概念、产品图,以及超出可编辑技术图的 PNG QA 时,使用图像生成工作流。",
207
+ "当图表变成运行时交互可视化、仿真、游戏场景、shader 或 3D 渲染器时,使用Canvas/Three.js。",
208
+ "动效专项的矢量微交互使用 SVG 动画;静态或可编辑技术 SVG 导出使用 draw.io 图表工作室。"
209
+ ],
210
+ "capabilityTags": [
211
+ "drawio",
212
+ "editable-diagram",
213
+ "autolayout",
214
+ "shape-search",
215
+ "code-structure-map"
216
+ ]
217
+ },
218
+ "fec-e2e-testing": {
219
+ "relatedSkills": [
220
+ "fec-testing-strategy",
221
+ "fec-component-testing",
222
+ "fec-storybook-component-doc",
223
+ "fec-validation-fix"
224
+ ],
225
+ "boundaryWorkflows": [
226
+ "决定覆盖层级前,先使用测试策略工作流。",
227
+ "涉及靠近 UI 代码的单元、组件和轻量集成测试时,使用组件测试工作流。",
228
+ "当现有项目检查失败时,使用验证修复工作流。"
229
+ ],
230
+ "capabilityTags": [
231
+ "testing",
232
+ "e2e",
233
+ "browser-automation"
234
+ ]
235
+ },
236
+ "fec-form-handling": {
237
+ "relatedSkills": [
238
+ "fec-component-testing",
239
+ "fec-data-fetching",
240
+ "fec-state-management",
241
+ "fec-accessibility-check"
242
+ ],
243
+ "boundaryWorkflows": [
244
+ "涉及表单交互、校验错误和提交回调时,使用组件测试工作流。",
245
+ "涉及提交后的 mutation、缓存失效和乐观更新时,使用数据获取工作流。",
246
+ "涉及复杂表单中的 label、错误消息和焦点顺序时,使用无障碍工作流。"
247
+ ],
248
+ "capabilityTags": [
249
+ "forms",
250
+ "validation",
251
+ "accessibility"
252
+ ]
253
+ },
254
+ "fec-image-generation": {
255
+ "relatedSkills": [
256
+ "fec-ui-design",
257
+ "fec-implement-from-design",
258
+ "fec-canvas-threejs",
259
+ "fec-svg-animation",
260
+ "fec-responsive-layout",
261
+ "fec-accessibility-check",
262
+ "fec-web-video-presentation"
263
+ ],
264
+ "boundaryWorkflows": [
265
+ "涉及产品专属视觉方向、品牌调性、层级和生成资产视觉 QA 时,使用 UI 设计工作流。",
266
+ "当Figma、Sketch、MasterGo、Pixso、截图或其他外部设计源是权威来源时,使用按设计实现。",
267
+ "当生成视觉资产变成交互式渲染器、shader 或动效资产,而不是静态图片时,使用Canvas/Three.js or SVG 动画 workflows。"
268
+ ],
269
+ "capabilityTags": [
270
+ "image-generation",
271
+ "image-editing",
272
+ "diagram-generation",
273
+ "png-qa",
274
+ "visual-assets",
275
+ "autofix"
276
+ ]
277
+ },
278
+ "fec-legacy-to-modern-migration": {
279
+ "relatedSkills": [
280
+ "fec-legacy-web-standard",
281
+ "fec-react-project-standard",
282
+ "fec-vue3-project-standard"
283
+ ],
284
+ "boundaryWorkflows": [
285
+ "迁移前需要理解原始 jQuery 或 MPA 代码模型时,使用传统前端工作流。",
286
+ "涉及 React 或 Vue 目录与组件结构时,使用目标框架项目工作流。",
287
+ "涉及边界和发布风险较高的大型迁移时,使用架构规划。"
288
+ ],
289
+ "capabilityTags": [
290
+ "legacy",
291
+ "migration",
292
+ "modernization"
293
+ ]
294
+ },
295
+ "fec-legacy-web-standard": {
296
+ "relatedSkills": [
297
+ "fec-legacy-to-modern-migration",
298
+ "fec-security-review",
299
+ "fec-validation-fix"
300
+ ],
301
+ "boundaryWorkflows": [
302
+ "涉及盘点、策略以及分阶段迁移到 React、Vue 或 TypeScript 时,使用迁移工作流。",
303
+ "涉及遗留项目中的 XSS、CSRF、开放重定向和第三方脚本风险时,使用安全审查工作流。",
304
+ "涉及现有 lint、test、build 或人工验证脚本时,使用验证工作流。"
305
+ ],
306
+ "capabilityTags": [
307
+ "legacy",
308
+ "migration",
309
+ "quality"
310
+ ]
311
+ },
312
+ "fec-list-virtualization": {
313
+ "relatedSkills": [
314
+ "fec-data-fetching",
315
+ "fec-web-workers",
316
+ "fec-accessibility-check"
317
+ ],
318
+ "boundaryWorkflows": [
319
+ "涉及无限列表中的分页和缓存行为时,使用数据获取工作流。",
320
+ "当expensive item computation blocks scrolling时,使用 Worker工作流。",
321
+ "涉及虚拟列表中的键盘和屏幕阅读器行为时,使用无障碍工作流。"
322
+ ],
323
+ "capabilityTags": [
324
+ "performance",
325
+ "virtualization",
326
+ "large-lists"
327
+ ]
328
+ },
329
+ "fec-motion-interaction": {
330
+ "relatedSkills": [
331
+ "fec-ui-design",
332
+ "fec-svg-animation",
333
+ "fec-canvas-threejs",
334
+ "fec-accessibility-check"
335
+ ],
336
+ "boundaryWorkflows": [
337
+ "需要决定视觉方向、页面层级以及动效是否适合产品语境时,使用 UI 设计工作流。",
338
+ "仅涉及 SVG 路径绘制、图标动效和插画动效细节时,使用 SVG 动画工作流。",
339
+ "涉及 WebGL、shader、3D、粒子和 canvas 渲染动画时,使用 Canvas/Three.js 工作流。"
340
+ ],
341
+ "capabilityTags": [
342
+ "motion",
343
+ "interaction",
344
+ "animation",
345
+ "accessibility"
346
+ ]
347
+ },
348
+ "fec-nextjs-project-standard": {
349
+ "relatedSkills": [
350
+ "fec-react-project-standard",
351
+ "fec-route-protection",
352
+ "fec-data-fetching",
353
+ "fec-api-integration",
354
+ "fec-motion-interaction"
355
+ ],
356
+ "boundaryWorkflows": [
357
+ "涉及通用客户端组件架构和 hooks 组织时,使用 React 项目工作流。",
358
+ "涉及认证、RBAC、重定向和 middleware 安全边界时,使用路由保护工作流。",
359
+ "客户端服务端状态使用数据获取工作流;Next 服务端 fetch 和缓存策略保留在 Next 工作流中。"
360
+ ],
361
+ "capabilityTags": [
362
+ "nextjs",
363
+ "react",
364
+ "routing"
365
+ ]
366
+ },
367
+ "fec-nuxt-project-standard": {
368
+ "relatedSkills": [
369
+ "fec-vue3-project-standard",
370
+ "fec-route-protection",
371
+ "fec-data-fetching"
372
+ ],
373
+ "boundaryWorkflows": [
374
+ "涉及通用 Vue 组件、composable 和 Pinia 边界时,使用 Vue 项目工作流。",
375
+ "涉及登录态、受保护路由、重定向和 middleware 风险时,使用路由保护工作流。",
376
+ "客户端服务端状态或缓存模式使用数据获取工作流;Nuxt useFetch 和 useAsyncData 策略保留在 Nuxt 工作流中。"
377
+ ],
378
+ "capabilityTags": [
379
+ "nuxt",
380
+ "vue",
381
+ "routing"
382
+ ]
383
+ },
384
+ "fec-performance-optimization": {
385
+ "relatedSkills": [
386
+ "fec-validation-fix",
387
+ "fec-code-review",
388
+ "fec-list-virtualization",
389
+ "fec-web-workers",
390
+ "fec-vite-project-standard",
391
+ "fec-responsive-layout"
392
+ ],
393
+ "boundaryWorkflows": [
394
+ "性能优化变更后需要运行 build、typecheck、测试和性能相关脚本时,使用验证工作流。",
395
+ "当performance findings overlap architecture, rendering correctness, or maintainability时,使用code review工作流。",
396
+ "仅在对应 DOM 或主线程瓶颈明确时,才使用列表虚拟化或 worker 工作流。"
397
+ ],
398
+ "capabilityTags": [
399
+ "performance",
400
+ "web-vitals",
401
+ "bundle",
402
+ "runtime"
403
+ ]
404
+ },
405
+ "fec-pwa-implementation": {
406
+ "relatedSkills": [
407
+ "fec-data-fetching",
408
+ "fec-browser-storage",
409
+ "fec-validation-fix"
410
+ ],
411
+ "boundaryWorkflows": [
412
+ "涉及 API 服务端状态、缓存失效和乐观更新时,使用数据获取工作流。",
413
+ "涉及 IndexedDB、localStorage 和客户端持久化选择时,使用浏览器存储工作流。",
414
+ "PWA 变更后需要 build、Lighthouse 和端到端验证时,使用验证工作流。"
415
+ ],
416
+ "capabilityTags": [
417
+ "pwa",
418
+ "service-worker",
419
+ "offline-cache"
420
+ ]
421
+ },
422
+ "fec-react-project-standard": {
423
+ "relatedSkills": [
424
+ "fec-typescript-project-standard",
425
+ "fec-state-management",
426
+ "fec-tailwind-design-system",
427
+ "fec-responsive-layout",
428
+ "fec-form-handling",
429
+ "fec-data-fetching",
430
+ "fec-component-testing",
431
+ "fec-e2e-testing",
432
+ "fec-accessibility-check",
433
+ "fec-security-review",
434
+ "fec-list-virtualization",
435
+ "fec-svg-animation",
436
+ "fec-canvas-threejs",
437
+ "fec-api-integration",
438
+ "fec-motion-interaction"
439
+ ],
440
+ "boundaryWorkflows": [
441
+ "复杂表单、状态归属、TypeScript 契约、服务端状态、测试、无障碍、安全、大列表、动画或图形问题使用对应专项工作流。",
442
+ "通用 React 组件架构和 hooks 组织保留在 React 项目工作流中。"
443
+ ],
444
+ "capabilityTags": [
445
+ "react",
446
+ "project-standard",
447
+ "fec-architecture"
448
+ ]
449
+ },
450
+ "fec-responsive-layout": {
451
+ "relatedSkills": [
452
+ "fec-ui-design",
453
+ "fec-accessibility-check",
454
+ "fec-performance-optimization",
455
+ "fec-tailwind-design-system"
456
+ ],
457
+ "boundaryWorkflows": [
458
+ "当the task is visual direction, product identity, hierarchy, or polish beyond layout behavior时,使用UI 设计。",
459
+ "涉及键盘、焦点、语义、屏幕阅读器行为和对比度问题时,使用无障碍检查。",
460
+ "当responsive behavior exposes rendering, image, bundle, or main-thread bottlenecks时,使用per表单处理ance optimization。"
461
+ ],
462
+ "capabilityTags": [
463
+ "responsive",
464
+ "layout",
465
+ "container-query",
466
+ "mobile-first"
467
+ ]
468
+ },
469
+ "fec-security-review": {
470
+ "relatedSkills": [
471
+ "fec-code-review",
472
+ "fec-accessibility-check",
473
+ "fec-browser-storage",
474
+ "fec-dependency-upgrade",
475
+ "fec-route-protection"
476
+ ],
477
+ "boundaryWorkflows": [
478
+ "涉及架构、可维护性和广义质量评审时,使用通用代码评审工作流。",
479
+ "仅涉及无障碍问题时,使用无障碍工作流。",
480
+ "存储策略使用浏览器存储工作流;敏感数据泄露风险保留在安全工作流中。"
481
+ ],
482
+ "capabilityTags": [
483
+ "security",
484
+ "review",
485
+ "frontend"
486
+ ]
487
+ },
488
+ "fec-source-driven-development": {
489
+ "relatedSkills": [
490
+ "fec-doc-sync",
491
+ "fec-dependency-upgrade",
492
+ "fec-api-integration",
493
+ "fec-vite-project-standard",
494
+ "fec-nextjs-project-standard",
495
+ "fec-nuxt-project-standard"
496
+ ],
497
+ "boundaryWorkflows": [
498
+ "当source-verified decisions change public docs, runtime docs, or metadata时,使用文档同步。",
499
+ "当source checking leads to frontend-backend contract or error-shape changes时,使用 API 集成。",
500
+ "当the source-verified behavior is specific to Vite, Next.js, Nuxt, React, or Vue时,使用framework project workflows。"
501
+ ],
502
+ "capabilityTags": [
503
+ "source-driven",
504
+ "official-docs",
505
+ "version-sensitive"
506
+ ]
507
+ },
508
+ "fec-state-management": {
509
+ "relatedSkills": [
510
+ "fec-data-fetching",
511
+ "fec-form-handling",
512
+ "fec-browser-storage",
513
+ "fec-route-protection",
514
+ "fec-react-project-standard",
515
+ "fec-vue3-project-standard"
516
+ ],
517
+ "boundaryWorkflows": [
518
+ "涉及 query key、缓存生命周期、失效、乐观更新和服务端状态 hooks 时,使用数据获取工作流。",
519
+ "涉及字段注册、校验、提交流程和表单特有 dirty/error 状态时,使用表单工作流。",
520
+ "当state must persist across reloads, sessions, offline mode, or cookie boundaries时,使用browser storage工作流。"
521
+ ],
522
+ "capabilityTags": [
523
+ "state-management",
524
+ "store-selection",
525
+ "url-state",
526
+ "state-ownership"
527
+ ]
528
+ },
529
+ "fec-storybook-component-doc": {
530
+ "relatedSkills": [
531
+ "fec-testing-strategy",
532
+ "fec-component-testing",
533
+ "fec-e2e-testing",
534
+ "fec-accessibility-check",
535
+ "fec-tailwind-design-system",
536
+ "fec-responsive-layout"
537
+ ],
538
+ "boundaryWorkflows": [
539
+ "需要判断风险应落在 Storybook、组件测试、E2E 还是专项评审时,使用测试策略工作流。",
540
+ "涉及靠近 UI 代码的单元、组件和轻量集成测试时,使用组件测试工作流。",
541
+ "涉及真实浏览器跨页面旅程和页面级视觉回归时,使用 E2E 工作流。"
542
+ ],
543
+ "capabilityTags": [
544
+ "storybook",
545
+ "design-system",
546
+ "visual-regression"
547
+ ]
548
+ },
549
+ "fec-svg-animation": {
550
+ "capabilityTags": [
551
+ "svg",
552
+ "animation",
553
+ "motion"
554
+ ],
555
+ "relatedSkills": [
556
+ "fec-motion-interaction"
557
+ ]
558
+ },
559
+ "fec-tailwind-design-system": {
560
+ "relatedSkills": [
561
+ "fec-ui-design",
562
+ "fec-responsive-layout",
563
+ "fec-storybook-component-doc",
564
+ "fec-react-project-standard",
565
+ "fec-vue3-project-standard"
566
+ ],
567
+ "boundaryWorkflows": [
568
+ "编码 Tailwind tokens 前,需要先用 UI 设计明确产品专属视觉方向、层级和设计系统意图。",
569
+ "涉及跨设备行为、容器查询、数据密集布局和视口验证时,使用响应式布局工作流。",
570
+ "展示组件变体、状态和设计系统示例时,使用 Storybook 组件文档。"
571
+ ],
572
+ "capabilityTags": [
573
+ "tailwind",
574
+ "design-system",
575
+ "tokens",
576
+ "variants",
577
+ "dark-mode"
578
+ ]
579
+ },
580
+ "fec-tdd-workflow": {
581
+ "relatedSkills": [
582
+ "fec-component-testing",
583
+ "fec-e2e-testing",
584
+ "fec-testing-strategy",
585
+ "fec-validation-fix"
586
+ ],
587
+ "boundaryWorkflows": [
588
+ "涉及组件、hook、composable 和轻量集成测试时,使用组件测试工作流。",
589
+ "涉及真实浏览器关键路径时,使用 E2E 工作流。",
590
+ "现有检查失败后,使用验证工作流。"
591
+ ],
592
+ "capabilityTags": [
593
+ "tdd",
594
+ "testing",
595
+ "workflow"
596
+ ]
597
+ },
598
+ "fec-testing-strategy": {
599
+ "relatedSkills": [
600
+ "fec-component-testing",
601
+ "fec-e2e-testing",
602
+ "fec-storybook-component-doc",
603
+ "fec-validation-fix",
604
+ "fec-accessibility-check",
605
+ "fec-security-review",
606
+ "fec-code-review"
607
+ ],
608
+ "boundaryWorkflows": [
609
+ "测试层级和风险归属确定后,再使用专项测试工作流。",
610
+ "深度专项质量评审使用无障碍、安全或代码评审工作流。"
611
+ ],
612
+ "capabilityTags": [
613
+ "testing",
614
+ "strategy",
615
+ "quality-gate"
616
+ ]
617
+ },
618
+ "fec-typescript-project-standard": {
619
+ "relatedSkills": [
620
+ "fec-code-review",
621
+ "fec-api-integration",
622
+ "fec-react-project-standard",
623
+ "fec-vue3-project-standard",
624
+ "fec-vite-project-standard",
625
+ "fec-monorepo-project-standard",
626
+ "fec-validation-fix"
627
+ ],
628
+ "boundaryWorkflows": [
629
+ "涉及组件架构、路由、状态归属和框架专项模块边界时,使用框架项目工作流。",
630
+ "当runtime API clients, auth refresh, uploads, realtime behavior, or error mapping go beyond TypeScript type contracts时,使用 API 集成。",
631
+ "当the task is to repair concrete lint, typecheck, test, build, or CI failures after TypeScript changes时,使用验证修复 fix。"
632
+ ],
633
+ "capabilityTags": [
634
+ "typescript",
635
+ "project-standard",
636
+ "type-safety",
637
+ "tsconfig",
638
+ "declarations"
639
+ ]
640
+ },
641
+ "fec-ui-design": {
642
+ "relatedSkills": [
643
+ "fec-image-generation",
644
+ "fec-implement-from-design",
645
+ "fec-accessibility-check",
646
+ "fec-code-review",
647
+ "fec-tailwind-design-system",
648
+ "fec-responsive-layout",
649
+ "fec-storybook-component-doc",
650
+ "fec-web-video-presentation"
651
+ ],
652
+ "boundaryWorkflows": [
653
+ "当an external design file is the source of truth时,使用按设计实现工作流。",
654
+ "涉及键盘、焦点、ARIA、语义结构和对比度检查时,使用无障碍工作流。",
655
+ "当UI issues cross architecture, types, rendering performance, and maintainability时,使用code review工作流。",
656
+ "生成的设计系统建议只作为方向;外部设计文件、项目 tokens 和已发布组件 API 仍是权威来源。"
657
+ ],
658
+ "capabilityTags": [
659
+ "ui-design",
660
+ "design-direction",
661
+ "design-system",
662
+ "master-page-overrides",
663
+ "industry-ui",
664
+ "visual-identity",
665
+ "ui-polish",
666
+ "anti-generic",
667
+ "visual-qa",
668
+ "chart-ux",
669
+ "accessibility"
670
+ ]
671
+ },
672
+ "fec-vite-project-standard": {
673
+ "relatedSkills": [
674
+ "fec-react-project-standard",
675
+ "fec-vue3-project-standard",
676
+ "fec-monorepo-project-standard",
677
+ "fec-security-review",
678
+ "fec-motion-interaction"
679
+ ],
680
+ "boundaryWorkflows": [
681
+ "涉及组件架构、状态和目录结构时,使用框架项目工作流。",
682
+ "涉及 workspace 边界和任务编排时,使用 monorepo 工作流。",
683
+ "涉及客户端密钥、CSP、供应链和 XSS 风险时,使用安全审查工作流。"
684
+ ],
685
+ "capabilityTags": [
686
+ "vite",
687
+ "build",
688
+ "project-standard"
689
+ ]
690
+ },
691
+ "fec-vue3-project-standard": {
692
+ "relatedSkills": [
693
+ "fec-typescript-project-standard",
694
+ "fec-state-management",
695
+ "fec-tailwind-design-system",
696
+ "fec-responsive-layout",
697
+ "fec-form-handling",
698
+ "fec-data-fetching",
699
+ "fec-component-testing",
700
+ "fec-e2e-testing",
701
+ "fec-accessibility-check",
702
+ "fec-security-review",
703
+ "fec-list-virtualization",
704
+ "fec-svg-animation",
705
+ "fec-canvas-threejs"
706
+ ],
707
+ "boundaryWorkflows": [
708
+ "复杂表单、状态归属、TypeScript 契约、服务端状态、测试、无障碍、安全、大列表、动画或图形问题使用对应专项工作流。",
709
+ "通用 Vue 组件架构、composables 和 Pinia 边界保留在 Vue 项目工作流中。"
710
+ ],
711
+ "capabilityTags": [
712
+ "vue",
713
+ "project-standard",
714
+ "fec-architecture"
715
+ ]
716
+ },
717
+ "fec-web-video-presentation": {
718
+ "relatedSkills": [
719
+ "fec-ui-design",
720
+ "fec-image-generation",
721
+ "fec-motion-interaction",
722
+ "fec-responsive-layout",
723
+ "fec-accessibility-check"
724
+ ],
725
+ "boundaryWorkflows": [
726
+ "涉及产品专属视觉方向、资产策略、反通用设计和场景视觉 QA 时,使用 UI 设计工作流。",
727
+ "当the presentation needs custom raster assets, diagrams, storyboard frames, or generated visual references时,使用图像生成。",
728
+ "当scene transitions, reduced-motion behavior, viewport scaling, or recording stability need deeper treatment时,使用动效 and 响应式布局 workflows。"
729
+ ],
730
+ "capabilityTags": [
731
+ "web-video",
732
+ "presentation",
733
+ "recording",
734
+ "script-outline",
735
+ "step-driven-stage"
736
+ ]
737
+ },
738
+ "fec-web-workers": {
739
+ "relatedSkills": [
740
+ "fec-canvas-threejs",
741
+ "fec-list-virtualization",
742
+ "fec-validation-fix"
743
+ ],
744
+ "boundaryWorkflows": [
745
+ "复杂计算阻塞渲染时,渲染与动画循环使用图形工作流;只有计算卸载才使用 Workers。",
746
+ "大列表 DOM 渲染使用虚拟列表工作流;不要用 worker 替代虚拟滚动。",
747
+ "worker 变更后需要 build、typecheck 和关键交互验证时,使用验证工作流。"
748
+ ],
749
+ "capabilityTags": [
750
+ "web-workers",
751
+ "performance",
752
+ "main-thread"
753
+ ]
754
+ }
755
+ }