@bovinphang/frontend-craft 2.7.0 → 2.9.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 (502) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +378 -305
  4. package/CHANGELOG.zh-CN.md +377 -304
  5. package/CONTRIBUTING.md +371 -361
  6. package/CONTRIBUTING.zh-CN.md +371 -361
  7. package/README.md +545 -493
  8. package/README.openclaw.md +359 -264
  9. package/README.openclaw.zh-CN.md +359 -264
  10. package/README.zh-CN.md +545 -493
  11. package/agents/fec-architect.md +70 -70
  12. package/agents/fec-code-reviewer.md +103 -82
  13. package/agents/fec-debugger.md +20 -20
  14. package/agents/fec-design-token-mapper.md +36 -36
  15. package/agents/fec-doc-updater.md +13 -13
  16. package/agents/fec-e2e-runner.md +45 -45
  17. package/agents/fec-figma-implementer.md +59 -59
  18. package/agents/fec-performance-optimizer.md +128 -128
  19. package/agents/fec-refactor-cleaner.md +17 -14
  20. package/agents/fec-refactoring-expert.md +81 -0
  21. package/agents/fec-security-reviewer.md +82 -67
  22. package/agents/fec-test-planner.md +27 -27
  23. package/agents/fec-typescript-reviewer.md +103 -87
  24. package/agents/fec-ui-checker.md +64 -64
  25. package/commands/fec-debug.md +19 -19
  26. package/commands/fec-doc-sync.md +11 -11
  27. package/commands/fec-init.md +37 -38
  28. package/commands/fec-plan.md +58 -58
  29. package/commands/fec-refactor-clean.md +11 -11
  30. package/commands/fec-refactor-plan.md +17 -0
  31. package/commands/fec-refactor.md +18 -0
  32. package/commands/fec-review.md +71 -41
  33. package/commands/fec-scaffold.md +41 -41
  34. package/commands/fec-smell.md +17 -0
  35. package/commands/fec-tdd.md +17 -13
  36. package/dist/bin/frontend-craft.js +190 -36
  37. package/dist/hooks/fec-run-tests.js +5 -1
  38. package/dist/hooks/fec-session-start.js +1 -1
  39. package/docs/example-prompts.md +157 -137
  40. package/docs/ja-JP/README.md +534 -493
  41. package/docs/ko-KR/README.md +534 -493
  42. package/docs/project-structure.md +151 -123
  43. package/docs/refactoring/README.md +50 -0
  44. package/docs/refactoring/catalog.md +105 -0
  45. package/docs/refactoring/smell-refactoring-matrix.md +41 -0
  46. package/docs/review-and-diagram-workflows.md +39 -0
  47. package/docs/runtimes/antigravity.md +18 -10
  48. package/docs/runtimes/augment.md +18 -10
  49. package/docs/runtimes/claude.md +191 -177
  50. package/docs/runtimes/claude.zh-CN.md +189 -175
  51. package/docs/runtimes/cline.md +18 -10
  52. package/docs/runtimes/codebuddy.md +18 -10
  53. package/docs/runtimes/codex.md +18 -10
  54. package/docs/runtimes/compatibility.md +27 -0
  55. package/docs/runtimes/copilot.md +18 -10
  56. package/docs/runtimes/cursor.md +18 -10
  57. package/docs/runtimes/gemini.md +18 -10
  58. package/docs/runtimes/kilo.md +18 -10
  59. package/docs/runtimes/openclaw.md +18 -10
  60. package/docs/runtimes/opencode.md +18 -10
  61. package/docs/runtimes/qoder.md +18 -19
  62. package/docs/runtimes/trae.md +18 -10
  63. package/docs/runtimes/windsurf.md +18 -10
  64. package/docs/superpowers/plans/2026-09-26-content-integrity.md +145 -0
  65. package/docs/superpowers/plans/2026-09-26-diagram-quality.md +170 -0
  66. package/docs/superpowers/specs/2026-09-26-diagram-quality-design.md +77 -0
  67. package/docs/superpowers/specs/2026-09-26-project-optimization-design.md +95 -0
  68. package/docs/zh-CN/example-prompts.md +157 -137
  69. package/docs/zh-CN/project-structure.md +148 -123
  70. package/docs/zh-CN/review-and-diagram-workflows.md +39 -0
  71. package/docs/zh-TW/README.md +534 -493
  72. package/localized/zh-CN/agents/fec-architect.md +125 -0
  73. package/localized/zh-CN/agents/fec-code-reviewer.md +171 -0
  74. package/localized/zh-CN/agents/fec-debugger.md +44 -0
  75. package/localized/zh-CN/agents/fec-design-token-mapper.md +75 -0
  76. package/localized/zh-CN/agents/fec-doc-updater.md +30 -0
  77. package/localized/zh-CN/agents/fec-e2e-runner.md +107 -0
  78. package/localized/zh-CN/agents/fec-figma-implementer.md +104 -0
  79. package/localized/zh-CN/agents/fec-performance-optimizer.md +293 -0
  80. package/localized/zh-CN/agents/fec-refactor-cleaner.md +35 -0
  81. package/localized/zh-CN/agents/fec-refactoring-expert.md +53 -0
  82. package/localized/zh-CN/agents/fec-security-reviewer.md +132 -0
  83. package/localized/zh-CN/agents/fec-test-planner.md +50 -0
  84. package/localized/zh-CN/agents/fec-typescript-reviewer.md +158 -0
  85. package/localized/zh-CN/agents/fec-ui-checker.md +120 -0
  86. package/localized/zh-CN/commands/fec-debug.md +30 -0
  87. package/localized/zh-CN/commands/fec-doc-sync.md +19 -0
  88. package/localized/zh-CN/commands/fec-init.md +70 -0
  89. package/localized/zh-CN/commands/fec-plan.md +94 -0
  90. package/localized/zh-CN/commands/fec-refactor-clean.md +19 -0
  91. package/localized/zh-CN/commands/fec-refactor-plan.md +15 -0
  92. package/localized/zh-CN/commands/fec-refactor.md +14 -0
  93. package/localized/zh-CN/commands/fec-review.md +97 -0
  94. package/localized/zh-CN/commands/fec-scaffold.md +205 -0
  95. package/localized/zh-CN/commands/fec-smell.md +13 -0
  96. package/localized/zh-CN/commands/fec-tdd.md +25 -0
  97. package/localized/zh-CN/skills/TEMPLATE.md +155 -0
  98. package/localized/zh-CN/skills/eval_queries.json +1257 -0
  99. package/localized/zh-CN/skills/fec-accessibility-check/SKILL.md +39 -0
  100. package/localized/zh-CN/skills/fec-accessibility-check/references/report-template.md +23 -0
  101. package/localized/zh-CN/skills/fec-accessibility-check/references/screen-reader-testing.md +33 -0
  102. package/localized/zh-CN/skills/fec-alchemy/SKILL.md +74 -0
  103. package/localized/zh-CN/skills/fec-alchemy/assets/absorption-plan-template.md +47 -0
  104. package/localized/zh-CN/skills/fec-alchemy/assets/intake-template.md +55 -0
  105. package/localized/zh-CN/skills/fec-alchemy/assets/review-checklist.md +31 -0
  106. package/localized/zh-CN/skills/fec-alchemy/references/methodology.md +94 -0
  107. package/localized/zh-CN/skills/fec-alchemy/references/originality-and-licensing.md +57 -0
  108. package/localized/zh-CN/skills/fec-api-integration/SKILL.md +78 -0
  109. package/localized/zh-CN/skills/fec-api-integration/references/integration-patterns.md +80 -0
  110. package/localized/zh-CN/skills/fec-backend-requirements-handoff/SKILL.md +45 -0
  111. package/localized/zh-CN/skills/fec-browser-storage/SKILL.md +34 -0
  112. package/localized/zh-CN/skills/fec-browser-storage/references/storage-patterns.md +65 -0
  113. package/localized/zh-CN/skills/fec-canvas-threejs/SKILL.md +66 -0
  114. package/localized/zh-CN/skills/fec-canvas-threejs/references/rendering-patterns.md +67 -0
  115. package/localized/zh-CN/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +67 -0
  116. package/localized/zh-CN/skills/fec-code-review/SKILL.md +162 -0
  117. package/localized/zh-CN/skills/fec-code-review/references/report-template.md +39 -0
  118. package/localized/zh-CN/skills/fec-code-smells/SKILL.md +33 -0
  119. package/localized/zh-CN/skills/fec-code-smells/references/detection-guide.md +25 -0
  120. package/localized/zh-CN/skills/fec-code-smells/references/smell-catalog.md +817 -0
  121. package/localized/zh-CN/skills/fec-code-smells/references/smell-to-refactoring-map.md +265 -0
  122. package/localized/zh-CN/skills/fec-component-testing/SKILL.md +119 -0
  123. package/localized/zh-CN/skills/fec-data-fetching/SKILL.md +62 -0
  124. package/localized/zh-CN/skills/fec-data-fetching/references/query-patterns.md +103 -0
  125. package/localized/zh-CN/skills/fec-debug-framework/SKILL.md +157 -0
  126. package/localized/zh-CN/skills/fec-debug-framework/references/report-template.md +58 -0
  127. package/localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md +34 -0
  128. package/localized/zh-CN/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +56 -0
  129. package/localized/zh-CN/skills/fec-doc-sync/SKILL.md +39 -0
  130. package/localized/zh-CN/skills/fec-drawio-studio/SKILL.md +73 -0
  131. package/localized/zh-CN/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +10 -0
  132. package/localized/zh-CN/skills/fec-drawio-studio/data/brand-icons.json +878 -0
  133. package/localized/zh-CN/skills/fec-drawio-studio/data/shape-index.json +83570 -0
  134. package/localized/zh-CN/skills/fec-drawio-studio/references/data-residency.md +27 -0
  135. package/localized/zh-CN/skills/fec-drawio-studio/references/diagram-patterns.md +60 -0
  136. package/localized/zh-CN/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
  137. package/localized/zh-CN/skills/fec-drawio-studio/references/layout-and-export.md +72 -0
  138. package/localized/zh-CN/skills/fec-drawio-studio/references/troubleshooting.md +29 -0
  139. package/localized/zh-CN/skills/fec-drawio-studio/references/xml-and-mermaid.md +58 -0
  140. package/localized/zh-CN/skills/fec-drawio-studio/scripts/brand-symbols.mjs +99 -0
  141. package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-lint.mjs +205 -0
  142. package/localized/zh-CN/skills/fec-drawio-studio/scripts/diagram-url.mjs +102 -0
  143. package/localized/zh-CN/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
  144. package/localized/zh-CN/skills/fec-drawio-studio/scripts/layout-graph.mjs +107 -0
  145. package/localized/zh-CN/skills/fec-drawio-studio/scripts/png-embed-fix.mjs +26 -0
  146. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-go-packages.mjs +36 -0
  147. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-js-modules.mjs +52 -0
  148. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-classes.mjs +30 -0
  149. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-python-modules.mjs +55 -0
  150. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-rust-modules.mjs +35 -0
  151. package/localized/zh-CN/skills/fec-drawio-studio/scripts/scan-ts-modules.mjs +7 -0
  152. package/localized/zh-CN/skills/fec-drawio-studio/scripts/shape-query.mjs +121 -0
  153. package/localized/zh-CN/skills/fec-drawio-studio/scripts/studio-core.mjs +139 -0
  154. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/corporate.json +49 -0
  155. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/default.json +49 -0
  156. package/localized/zh-CN/skills/fec-drawio-studio/styles/built-in/handdrawn.json +49 -0
  157. package/localized/zh-CN/skills/fec-drawio-studio/styles/schema.json +112 -0
  158. package/localized/zh-CN/skills/fec-e2e-testing/SKILL.md +42 -0
  159. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-ci-reporting.md +62 -0
  160. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-special-scenarios.md +52 -0
  161. package/localized/zh-CN/skills/fec-e2e-testing/references/e2e-visual-regression.md +60 -0
  162. package/localized/zh-CN/skills/fec-e2e-testing/references/playwright-patterns.md +95 -0
  163. package/localized/zh-CN/skills/fec-form-handling/SKILL.md +76 -0
  164. package/localized/zh-CN/skills/fec-form-handling/references/advanced-form-patterns.md +101 -0
  165. package/localized/zh-CN/skills/fec-image-generation/SKILL.md +110 -0
  166. package/localized/zh-CN/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
  167. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/README.md +14 -0
  168. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/architecture.json +121 -0
  169. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/invalid-explicit.json +41 -0
  170. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/sequence.json +53 -0
  171. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/sequence.mmd +21 -0
  172. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/workflow.json +98 -0
  173. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/workflow.mmd +7 -0
  174. package/localized/zh-CN/skills/fec-image-generation/references/artifact-routing.md +80 -0
  175. package/localized/zh-CN/skills/fec-image-generation/references/diagram-workflows.md +81 -0
  176. package/localized/zh-CN/skills/fec-image-generation/references/html-technical-diagrams.md +243 -0
  177. package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +37 -0
  178. package/localized/zh-CN/skills/fec-image-generation/scripts/diagram-browser.mjs +90 -0
  179. package/localized/zh-CN/skills/fec-image-generation/scripts/diagram-layout.mjs +176 -0
  180. package/localized/zh-CN/skills/fec-image-generation/scripts/export-diagram.mjs +332 -0
  181. package/localized/zh-CN/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
  182. package/localized/zh-CN/skills/fec-image-generation/scripts/mermaid-render.mjs +64 -0
  183. package/localized/zh-CN/skills/fec-image-generation/scripts/png-qa.mjs +462 -0
  184. package/localized/zh-CN/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1537 -0
  185. package/localized/zh-CN/skills/fec-implement-from-design/SKILL.md +129 -0
  186. package/localized/zh-CN/skills/fec-implement-from-design/references/design-plan-template.md +36 -0
  187. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/SKILL.md +46 -0
  188. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +110 -0
  189. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +41 -0
  190. package/localized/zh-CN/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +48 -0
  191. package/localized/zh-CN/skills/fec-legacy-web-standard/SKILL.md +35 -0
  192. package/localized/zh-CN/skills/fec-legacy-web-standard/references/legacy-patterns.md +85 -0
  193. package/localized/zh-CN/skills/fec-list-virtualization/SKILL.md +34 -0
  194. package/localized/zh-CN/skills/fec-list-virtualization/references/virtualization-patterns.md +80 -0
  195. package/localized/zh-CN/skills/fec-monorepo-project-standard/SKILL.md +142 -0
  196. package/localized/zh-CN/skills/fec-motion-interaction/SKILL.md +73 -0
  197. package/localized/zh-CN/skills/fec-motion-interaction/references/motion-patterns.md +112 -0
  198. package/localized/zh-CN/skills/fec-nextjs-project-standard/SKILL.md +123 -0
  199. package/localized/zh-CN/skills/fec-nuxt-project-standard/SKILL.md +122 -0
  200. package/localized/zh-CN/skills/fec-performance-optimization/SKILL.md +80 -0
  201. package/localized/zh-CN/skills/fec-performance-optimization/references/framework-performance-patterns.md +38 -0
  202. package/localized/zh-CN/skills/fec-performance-optimization/references/report-template.md +59 -0
  203. package/localized/zh-CN/skills/fec-pwa-implementation/SKILL.md +35 -0
  204. package/localized/zh-CN/skills/fec-pwa-implementation/references/manifest-and-icons.md +53 -0
  205. package/localized/zh-CN/skills/fec-pwa-implementation/references/service-worker-workbox.md +68 -0
  206. package/localized/zh-CN/skills/fec-react-project-standard/SKILL.md +91 -0
  207. package/localized/zh-CN/skills/fec-react-project-standard/references/react-performance-patterns.md +35 -0
  208. package/localized/zh-CN/skills/fec-react-project-standard/references/react-project-structure.md +197 -0
  209. package/localized/zh-CN/skills/fec-react-project-standard/references/react-quality-patterns.md +131 -0
  210. package/localized/zh-CN/skills/fec-react-project-standard/references/react-runtime-patterns.md +293 -0
  211. package/localized/zh-CN/skills/fec-refactor-clean/SKILL.md +54 -0
  212. package/localized/zh-CN/skills/fec-refactor-clean/references/report-template.md +42 -0
  213. package/localized/zh-CN/skills/fec-refactoring/SKILL.md +83 -0
  214. package/localized/zh-CN/skills/fec-refactoring/references/principles.md +43 -0
  215. package/localized/zh-CN/skills/fec-refactoring/references/refactoring-vs-feature-change.md +25 -0
  216. package/localized/zh-CN/skills/fec-refactoring/references/when-to-refactor.md +17 -0
  217. package/localized/zh-CN/skills/fec-refactoring/references/workflow.md +59 -0
  218. package/localized/zh-CN/skills/fec-refactoring-api/SKILL.md +25 -0
  219. package/localized/zh-CN/skills/fec-refactoring-api/references/api-refactorings.md +496 -0
  220. package/localized/zh-CN/skills/fec-refactoring-catalog/SKILL.md +21 -0
  221. package/localized/zh-CN/skills/fec-refactoring-catalog/references/catalog-index.md +99 -0
  222. package/localized/zh-CN/skills/fec-refactoring-catalog/references/composition-guide.md +49 -0
  223. package/localized/zh-CN/skills/fec-refactoring-catalog/references/selection-guide.md +41 -0
  224. package/localized/zh-CN/skills/fec-refactoring-control/SKILL.md +25 -0
  225. package/localized/zh-CN/skills/fec-refactoring-control/references/conditional-refactorings.md +299 -0
  226. package/localized/zh-CN/skills/fec-refactoring-data/SKILL.md +25 -0
  227. package/localized/zh-CN/skills/fec-refactoring-data/references/data-refactorings.md +248 -0
  228. package/localized/zh-CN/skills/fec-refactoring-encapsulation/SKILL.md +25 -0
  229. package/localized/zh-CN/skills/fec-refactoring-encapsulation/references/encapsulation-refactorings.md +452 -0
  230. package/localized/zh-CN/skills/fec-refactoring-functions/SKILL.md +25 -0
  231. package/localized/zh-CN/skills/fec-refactoring-functions/references/function-refactorings.md +567 -0
  232. package/localized/zh-CN/skills/fec-refactoring-inheritance/SKILL.md +25 -0
  233. package/localized/zh-CN/skills/fec-refactoring-inheritance/references/inheritance-refactorings.md +550 -0
  234. package/localized/zh-CN/skills/fec-refactoring-move-features/SKILL.md +25 -0
  235. package/localized/zh-CN/skills/fec-refactoring-move-features/references/moving-refactorings.md +453 -0
  236. package/localized/zh-CN/skills/fec-refactoring-validation/SKILL.md +52 -0
  237. package/localized/zh-CN/skills/fec-refactoring-validation/references/behavior-preservation.md +15 -0
  238. package/localized/zh-CN/skills/fec-refactoring-validation/references/refactoring-test-checklist.md +25 -0
  239. package/localized/zh-CN/skills/fec-responsive-layout/SKILL.md +34 -0
  240. package/localized/zh-CN/skills/fec-responsive-layout/references/responsive-layout-patterns.md +70 -0
  241. package/localized/zh-CN/skills/fec-route-protection/SKILL.md +135 -0
  242. package/localized/zh-CN/skills/fec-security-review/SKILL.md +54 -0
  243. package/localized/zh-CN/skills/fec-security-review/references/report-template.md +37 -0
  244. package/localized/zh-CN/skills/fec-security-review/references/security-checklist.md +64 -0
  245. package/localized/zh-CN/skills/fec-source-driven-development/SKILL.md +87 -0
  246. package/localized/zh-CN/skills/fec-state-management/SKILL.md +140 -0
  247. package/localized/zh-CN/skills/fec-state-management/references/state-patterns.md +109 -0
  248. package/localized/zh-CN/skills/fec-storybook-component-doc/SKILL.md +37 -0
  249. package/localized/zh-CN/skills/fec-storybook-component-doc/references/story-patterns.md +118 -0
  250. package/localized/zh-CN/skills/fec-svg-animation/SKILL.md +148 -0
  251. package/localized/zh-CN/skills/fec-tailwind-design-system/SKILL.md +34 -0
  252. package/localized/zh-CN/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +59 -0
  253. package/localized/zh-CN/skills/fec-tdd-workflow/SKILL.md +55 -0
  254. package/localized/zh-CN/skills/fec-testing-strategy/SKILL.md +45 -0
  255. package/localized/zh-CN/skills/fec-typescript-project-standard/SKILL.md +54 -0
  256. package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety-patterns.md +102 -0
  257. package/localized/zh-CN/skills/fec-typescript-project-standard/references/type-safety.md +148 -0
  258. package/localized/zh-CN/skills/fec-ui-design/SKILL.md +108 -0
  259. package/localized/zh-CN/skills/fec-ui-design/data/product-rules.json +231 -0
  260. package/localized/zh-CN/skills/fec-ui-design/data/stack-ui-rules.json +146 -0
  261. package/localized/zh-CN/skills/fec-ui-design/data/style-archetypes.json +373 -0
  262. package/localized/zh-CN/skills/fec-ui-design/data/ux-quality-rules.json +203 -0
  263. package/localized/zh-CN/skills/fec-ui-design/references/design-intelligence.md +97 -0
  264. package/localized/zh-CN/skills/fec-ui-design/references/master-page-overrides.md +30 -0
  265. package/localized/zh-CN/skills/fec-ui-design/references/pre-delivery-checklist.md +39 -0
  266. package/localized/zh-CN/skills/fec-ui-design/scripts/design-system.mjs +648 -0
  267. package/localized/zh-CN/skills/fec-validation-fix/SKILL.md +51 -0
  268. package/localized/zh-CN/skills/fec-validation-fix/references/report-template.md +43 -0
  269. package/localized/zh-CN/skills/fec-vite-project-standard/SKILL.md +83 -0
  270. package/localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md +58 -0
  271. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +162 -0
  272. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +13 -0
  273. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-project-structure.md +176 -0
  274. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +216 -0
  275. package/localized/zh-CN/skills/fec-web-video-presentation/SKILL.md +61 -0
  276. package/localized/zh-CN/skills/fec-web-video-presentation/data/starter-themes.json +59 -0
  277. package/localized/zh-CN/skills/fec-web-video-presentation/references/chapter-craft.md +37 -0
  278. package/localized/zh-CN/skills/fec-web-video-presentation/references/content-plan.md +38 -0
  279. package/localized/zh-CN/skills/fec-web-video-presentation/references/recording-and-audio.md +33 -0
  280. package/localized/zh-CN/skills/fec-web-video-presentation/references/theme-system.md +36 -0
  281. package/localized/zh-CN/skills/fec-web-video-presentation/scripts/create-video-presentation.mjs +430 -0
  282. package/localized/zh-CN/skills/fec-web-workers/SKILL.md +35 -0
  283. package/localized/zh-CN/skills/fec-web-workers/references/advanced-workers.md +54 -0
  284. package/localized/zh-CN/skills/fec-web-workers/references/basic-worker.md +67 -0
  285. package/localized/zh-CN/skills/metadata.json +2004 -0
  286. package/localized/zh-CN/skills/relations.json +1023 -0
  287. package/localized/zh-CN/templates/claude/CLAUDE.md +106 -0
  288. package/localized/zh-CN/templates/claude/settings.json +62 -0
  289. package/localized/zh-CN/templates/codex/AGENTS.md +105 -0
  290. package/localized/zh-CN/templates/codex/config.toml +32 -0
  291. package/localized/zh-CN/templates/openclaw/AGENTS.md +101 -0
  292. package/localized/zh-CN/templates/openclaw/OPENCLAW-CONFIG.md +12 -0
  293. package/localized/zh-CN/templates/shared/rules/fec-agent-workflow.md +55 -0
  294. package/localized/zh-CN/templates/shared/rules/fec-api-layer.md +99 -0
  295. package/localized/zh-CN/templates/shared/rules/fec-ci-cd.md +40 -0
  296. package/localized/zh-CN/templates/shared/rules/fec-code-comments.md +33 -0
  297. package/localized/zh-CN/templates/shared/rules/fec-design-system.md +72 -0
  298. package/localized/zh-CN/templates/shared/rules/fec-error-handling.md +56 -0
  299. package/localized/zh-CN/templates/shared/rules/fec-git-conventions.md +73 -0
  300. package/localized/zh-CN/templates/shared/rules/fec-i18n.md +64 -0
  301. package/localized/zh-CN/templates/shared/rules/fec-naming-conventions.md +120 -0
  302. package/localized/zh-CN/templates/shared/rules/fec-performance.md +101 -0
  303. package/localized/zh-CN/templates/shared/rules/fec-react.md +82 -0
  304. package/localized/zh-CN/templates/shared/rules/fec-refactoring.md +47 -0
  305. package/localized/zh-CN/templates/shared/rules/fec-rendering-patterns.md +40 -0
  306. package/localized/zh-CN/templates/shared/rules/fec-responsive-design.md +50 -0
  307. package/localized/zh-CN/templates/shared/rules/fec-source-driven-development.md +31 -0
  308. package/localized/zh-CN/templates/shared/rules/fec-state-management.md +60 -0
  309. package/localized/zh-CN/templates/shared/rules/fec-testing.md +98 -0
  310. package/localized/zh-CN/templates/shared/rules/fec-typescript.md +112 -0
  311. package/localized/zh-CN/templates/shared/rules/fec-vue.md +64 -0
  312. package/localized/zh-CN/templates/shared/rules/fec-working-modes.md +50 -0
  313. package/openclaw.plugin.json +2 -3
  314. package/package.json +28 -17
  315. package/skills/TEMPLATE.md +74 -74
  316. package/skills/eval_queries.json +922 -678
  317. package/skills/fec-accessibility-check/SKILL.md +21 -21
  318. package/skills/fec-accessibility-check/references/report-template.md +12 -12
  319. package/skills/fec-accessibility-check/references/screen-reader-testing.md +24 -24
  320. package/skills/fec-alchemy/SKILL.md +50 -50
  321. package/skills/fec-alchemy/assets/absorption-plan-template.md +32 -32
  322. package/skills/fec-alchemy/assets/intake-template.md +55 -55
  323. package/skills/fec-alchemy/assets/review-checklist.md +23 -23
  324. package/skills/fec-alchemy/references/methodology.md +66 -66
  325. package/skills/fec-alchemy/references/originality-and-licensing.md +42 -42
  326. package/skills/fec-api-integration/SKILL.md +61 -61
  327. package/skills/fec-api-integration/references/integration-patterns.md +30 -30
  328. package/skills/fec-backend-requirements-handoff/SKILL.md +25 -25
  329. package/skills/fec-browser-storage/SKILL.md +16 -16
  330. package/skills/fec-browser-storage/references/storage-patterns.md +16 -16
  331. package/skills/fec-canvas-threejs/SKILL.md +21 -21
  332. package/skills/fec-canvas-threejs/references/rendering-patterns.md +10 -10
  333. package/skills/fec-canvas-threejs/references/shader-webgl-patterns.md +37 -37
  334. package/skills/fec-code-review/SKILL.md +113 -94
  335. package/skills/fec-code-review/references/report-template.md +23 -13
  336. package/skills/fec-code-smells/SKILL.md +33 -0
  337. package/skills/fec-code-smells/references/detection-guide.md +25 -0
  338. package/skills/fec-code-smells/references/smell-catalog.md +861 -0
  339. package/skills/fec-code-smells/references/smell-to-refactoring-map.md +265 -0
  340. package/skills/fec-component-testing/SKILL.md +39 -39
  341. package/skills/fec-data-fetching/SKILL.md +16 -16
  342. package/skills/fec-data-fetching/references/query-patterns.md +27 -27
  343. package/skills/fec-debug-framework/SKILL.md +95 -95
  344. package/skills/fec-debug-framework/references/report-template.md +34 -34
  345. package/skills/fec-dependency-upgrade/SKILL.md +17 -17
  346. package/skills/fec-dependency-upgrade/references/dependency-upgrade-workflow.md +31 -31
  347. package/skills/fec-doc-sync/SKILL.md +23 -23
  348. package/skills/fec-drawio-studio/SKILL.md +42 -38
  349. package/skills/fec-drawio-studio/data/THIRD_PARTY_NOTICES.md +1 -1
  350. package/skills/fec-drawio-studio/data/shape-index.json +83570 -0
  351. package/skills/fec-drawio-studio/references/diagram-patterns.md +19 -0
  352. package/skills/fec-drawio-studio/references/flowchart-quality.md +49 -0
  353. package/skills/fec-drawio-studio/references/layout-and-export.md +18 -3
  354. package/skills/fec-drawio-studio/references/xml-and-mermaid.md +5 -1
  355. package/skills/fec-drawio-studio/scripts/diagram-lint.mjs +62 -0
  356. package/skills/fec-drawio-studio/scripts/drawio-export.mjs +134 -0
  357. package/skills/fec-drawio-studio/scripts/shape-query.mjs +55 -15
  358. package/skills/fec-e2e-testing/SKILL.md +24 -24
  359. package/skills/fec-e2e-testing/references/e2e-ci-reporting.md +20 -20
  360. package/skills/fec-e2e-testing/references/e2e-special-scenarios.md +10 -10
  361. package/skills/fec-e2e-testing/references/e2e-visual-regression.md +17 -17
  362. package/skills/fec-e2e-testing/references/playwright-patterns.md +6 -6
  363. package/skills/fec-form-handling/SKILL.md +21 -21
  364. package/skills/fec-form-handling/references/advanced-form-patterns.md +41 -41
  365. package/skills/fec-image-generation/SKILL.md +84 -29
  366. package/skills/fec-image-generation/assets/interactive-diagram.html +371 -0
  367. package/skills/fec-image-generation/assets/quality-examples/README.md +14 -0
  368. package/skills/fec-image-generation/assets/quality-examples/architecture.json +121 -0
  369. package/skills/fec-image-generation/assets/quality-examples/invalid-explicit.json +41 -0
  370. package/skills/fec-image-generation/assets/quality-examples/sequence.json +53 -0
  371. package/skills/fec-image-generation/assets/quality-examples/sequence.mmd +21 -0
  372. package/skills/fec-image-generation/assets/quality-examples/workflow.json +98 -0
  373. package/skills/fec-image-generation/assets/quality-examples/workflow.mmd +7 -0
  374. package/skills/fec-image-generation/references/diagram-workflows.md +41 -3
  375. package/skills/fec-image-generation/references/html-technical-diagrams.md +243 -0
  376. package/skills/fec-image-generation/references/png-qa-autofix.md +9 -2
  377. package/skills/fec-image-generation/scripts/diagram-browser.mjs +90 -0
  378. package/skills/fec-image-generation/scripts/diagram-layout.mjs +176 -0
  379. package/skills/fec-image-generation/scripts/export-diagram.mjs +332 -0
  380. package/skills/fec-image-generation/scripts/interactive-diagram-server.mjs +654 -0
  381. package/skills/fec-image-generation/scripts/mermaid-render.mjs +64 -0
  382. package/skills/fec-image-generation/scripts/png-qa.mjs +35 -4
  383. package/skills/fec-image-generation/scripts/tech-diagram-render.mjs +1537 -0
  384. package/skills/fec-implement-from-design/SKILL.md +81 -81
  385. package/skills/fec-implement-from-design/references/design-plan-template.md +16 -16
  386. package/skills/fec-legacy-to-modern-migration/SKILL.md +29 -29
  387. package/skills/fec-legacy-to-modern-migration/references/migration-execution-checklist.md +81 -81
  388. package/skills/fec-legacy-to-modern-migration/references/migration-report-template.md +37 -37
  389. package/skills/fec-legacy-to-modern-migration/references/migration-strategy-and-mapping.md +31 -31
  390. package/skills/fec-legacy-web-standard/SKILL.md +17 -17
  391. package/skills/fec-legacy-web-standard/references/legacy-patterns.md +16 -16
  392. package/skills/fec-list-virtualization/SKILL.md +16 -16
  393. package/skills/fec-list-virtualization/references/virtualization-patterns.md +31 -31
  394. package/skills/fec-monorepo-project-standard/SKILL.md +52 -52
  395. package/skills/fec-motion-interaction/SKILL.md +51 -51
  396. package/skills/fec-motion-interaction/references/motion-patterns.md +11 -11
  397. package/skills/fec-nextjs-project-standard/SKILL.md +64 -64
  398. package/skills/fec-nuxt-project-standard/SKILL.md +57 -57
  399. package/skills/fec-performance-optimization/SKILL.md +54 -54
  400. package/skills/fec-performance-optimization/references/framework-performance-patterns.md +23 -23
  401. package/skills/fec-performance-optimization/references/report-template.md +31 -31
  402. package/skills/fec-pwa-implementation/SKILL.md +17 -17
  403. package/skills/fec-pwa-implementation/references/manifest-and-icons.md +12 -12
  404. package/skills/fec-pwa-implementation/references/service-worker-workbox.md +13 -13
  405. package/skills/fec-react-project-standard/SKILL.md +72 -72
  406. package/skills/fec-react-project-standard/references/react-performance-patterns.md +28 -28
  407. package/skills/fec-react-project-standard/references/react-project-structure.md +112 -112
  408. package/skills/fec-react-project-standard/references/react-quality-patterns.md +72 -72
  409. package/skills/fec-react-project-standard/references/react-runtime-patterns.md +94 -94
  410. package/skills/fec-refactor-clean/SKILL.md +33 -30
  411. package/skills/fec-refactor-clean/references/report-template.md +23 -23
  412. package/skills/fec-refactoring/SKILL.md +83 -0
  413. package/skills/fec-refactoring/references/principles.md +60 -0
  414. package/skills/fec-refactoring/references/refactoring-vs-feature-change.md +27 -0
  415. package/skills/fec-refactoring/references/when-to-refactor.md +31 -0
  416. package/skills/fec-refactoring/references/workflow.md +90 -0
  417. package/skills/fec-refactoring-api/SKILL.md +25 -0
  418. package/skills/fec-refactoring-api/references/api-refactorings.md +496 -0
  419. package/skills/fec-refactoring-catalog/SKILL.md +28 -0
  420. package/skills/fec-refactoring-catalog/references/catalog-index.md +99 -0
  421. package/skills/fec-refactoring-catalog/references/composition-guide.md +49 -0
  422. package/skills/fec-refactoring-catalog/references/selection-guide.md +47 -0
  423. package/skills/fec-refactoring-control/SKILL.md +25 -0
  424. package/skills/fec-refactoring-control/references/conditional-refactorings.md +299 -0
  425. package/skills/fec-refactoring-data/SKILL.md +25 -0
  426. package/skills/fec-refactoring-data/references/data-refactorings.md +248 -0
  427. package/skills/fec-refactoring-encapsulation/SKILL.md +25 -0
  428. package/skills/fec-refactoring-encapsulation/references/encapsulation-refactorings.md +452 -0
  429. package/skills/fec-refactoring-functions/SKILL.md +25 -0
  430. package/skills/fec-refactoring-functions/references/function-refactorings.md +567 -0
  431. package/skills/fec-refactoring-inheritance/SKILL.md +25 -0
  432. package/skills/fec-refactoring-inheritance/references/inheritance-refactorings.md +550 -0
  433. package/skills/fec-refactoring-move-features/SKILL.md +25 -0
  434. package/skills/fec-refactoring-move-features/references/moving-refactorings.md +453 -0
  435. package/skills/fec-refactoring-validation/SKILL.md +59 -0
  436. package/skills/fec-refactoring-validation/references/behavior-preservation.md +53 -0
  437. package/skills/fec-refactoring-validation/references/refactoring-test-checklist.md +42 -0
  438. package/skills/fec-responsive-layout/SKILL.md +17 -17
  439. package/skills/fec-responsive-layout/references/responsive-layout-patterns.md +37 -37
  440. package/skills/fec-route-protection/SKILL.md +26 -26
  441. package/skills/fec-security-review/SKILL.md +36 -20
  442. package/skills/fec-security-review/references/report-template.md +22 -12
  443. package/skills/fec-security-review/references/security-checklist.md +27 -27
  444. package/skills/fec-source-driven-development/SKILL.md +59 -59
  445. package/skills/fec-state-management/SKILL.md +34 -34
  446. package/skills/fec-state-management/references/state-patterns.md +19 -19
  447. package/skills/fec-storybook-component-doc/SKILL.md +19 -19
  448. package/skills/fec-storybook-component-doc/references/story-patterns.md +12 -12
  449. package/skills/fec-svg-animation/SKILL.md +32 -32
  450. package/skills/fec-tailwind-design-system/SKILL.md +17 -17
  451. package/skills/fec-tailwind-design-system/references/tailwind-system-patterns.md +36 -36
  452. package/skills/fec-tdd-workflow/SKILL.md +32 -28
  453. package/skills/fec-testing-strategy/SKILL.md +29 -29
  454. package/skills/fec-typescript-project-standard/SKILL.md +38 -38
  455. package/skills/fec-typescript-project-standard/references/type-safety-patterns.md +20 -20
  456. package/skills/fec-typescript-project-standard/references/type-safety.md +18 -18
  457. package/skills/fec-ui-design/SKILL.md +90 -90
  458. package/skills/fec-ui-design/references/design-intelligence.md +61 -61
  459. package/skills/fec-ui-design/references/master-page-overrides.md +15 -15
  460. package/skills/fec-ui-design/references/pre-delivery-checklist.md +38 -38
  461. package/skills/fec-validation-fix/SKILL.md +26 -26
  462. package/skills/fec-validation-fix/references/report-template.md +25 -25
  463. package/skills/fec-vite-project-standard/SKILL.md +39 -39
  464. package/skills/fec-vue3-project-standard/SKILL.md +38 -38
  465. package/skills/fec-vue3-project-standard/references/vue3-composables-routing.md +36 -36
  466. package/skills/fec-vue3-project-standard/references/vue3-performance-patterns.md +8 -8
  467. package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +112 -112
  468. package/skills/fec-vue3-project-standard/references/vue3-state-api-quality.md +74 -74
  469. package/skills/fec-web-video-presentation/SKILL.md +33 -33
  470. package/skills/fec-web-workers/SKILL.md +16 -16
  471. package/skills/fec-web-workers/references/advanced-workers.md +13 -13
  472. package/skills/fec-web-workers/references/basic-worker.md +8 -8
  473. package/skills/metadata.json +485 -116
  474. package/skills/relations.json +268 -0
  475. package/templates/claude/CLAUDE.md +60 -60
  476. package/templates/codex/AGENTS.md +76 -76
  477. package/templates/codex/config.toml +4 -4
  478. package/templates/openclaw/AGENTS.md +68 -68
  479. package/templates/openclaw/OPENCLAW-CONFIG.md +8 -8
  480. package/templates/shared/rules/fec-agent-workflow.md +41 -40
  481. package/templates/shared/rules/fec-api-layer.md +52 -52
  482. package/templates/shared/rules/fec-ci-cd.md +29 -29
  483. package/templates/shared/rules/fec-code-comments.md +22 -22
  484. package/templates/shared/rules/fec-design-system.md +53 -53
  485. package/templates/shared/rules/fec-error-handling.md +40 -40
  486. package/templates/shared/rules/fec-git-conventions.md +42 -42
  487. package/templates/shared/rules/fec-i18n.md +48 -48
  488. package/templates/shared/rules/fec-naming-conventions.md +91 -91
  489. package/templates/shared/rules/fec-performance.md +78 -78
  490. package/templates/shared/rules/fec-react.md +58 -58
  491. package/templates/shared/rules/fec-refactoring.md +34 -34
  492. package/templates/shared/rules/fec-rendering-patterns.md +36 -36
  493. package/templates/shared/rules/fec-responsive-design.md +37 -37
  494. package/templates/shared/rules/fec-source-driven-development.md +22 -22
  495. package/templates/shared/rules/fec-state-management.md +56 -56
  496. package/templates/shared/rules/fec-testing.md +64 -64
  497. package/templates/shared/rules/fec-typescript.md +75 -75
  498. package/templates/shared/rules/fec-vue.md +42 -42
  499. package/templates/shared/rules/fec-working-modes.md +34 -34
  500. package/docs/superpowers/plans/2026-05-29-fec-debug.md +0 -491
  501. package/docs/superpowers/specs/2026-05-29-fec-debug-design.md +0 -340
  502. package/skills/fec-drawio-studio/data/shape-index.json.gz +0 -0
@@ -0,0 +1,1023 @@
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
+ "当优先需要可在浏览器中直接使用、带主题的单文件工作流图、序列图、数据流图或生命周期图时,使用图像生成的 HTML 技术图路线。",
208
+ "当图表变成运行时交互可视化、仿真、游戏场景、shader 或 3D 渲染器时,使用 Canvas/Three.js。",
209
+ "动效专项的矢量微交互使用 SVG 动画;静态或可编辑技术 SVG 导出使用 draw.io 图表工作室。"
210
+ ],
211
+ "capabilityTags": [
212
+ "drawio",
213
+ "editable-diagram",
214
+ "autolayout",
215
+ "shape-search",
216
+ "code-structure-map"
217
+ ]
218
+ },
219
+ "fec-e2e-testing": {
220
+ "relatedSkills": [
221
+ "fec-testing-strategy",
222
+ "fec-component-testing",
223
+ "fec-storybook-component-doc",
224
+ "fec-validation-fix"
225
+ ],
226
+ "boundaryWorkflows": [
227
+ "决定覆盖层级前,先使用测试策略工作流。",
228
+ "涉及靠近 UI 代码的单元、组件和轻量集成测试时,使用组件测试工作流。",
229
+ "当现有项目检查失败时,使用验证修复工作流。"
230
+ ],
231
+ "capabilityTags": [
232
+ "testing",
233
+ "e2e",
234
+ "browser-automation"
235
+ ]
236
+ },
237
+ "fec-form-handling": {
238
+ "relatedSkills": [
239
+ "fec-component-testing",
240
+ "fec-data-fetching",
241
+ "fec-state-management",
242
+ "fec-accessibility-check"
243
+ ],
244
+ "boundaryWorkflows": [
245
+ "涉及表单交互、校验错误和提交回调时,使用组件测试工作流。",
246
+ "涉及提交后的 mutation、缓存失效和乐观更新时,使用数据获取工作流。",
247
+ "涉及复杂表单中的 label、错误消息和焦点顺序时,使用无障碍工作流。"
248
+ ],
249
+ "capabilityTags": [
250
+ "forms",
251
+ "validation",
252
+ "accessibility"
253
+ ]
254
+ },
255
+ "fec-image-generation": {
256
+ "relatedSkills": [
257
+ "fec-ui-design",
258
+ "fec-implement-from-design",
259
+ "fec-canvas-threejs",
260
+ "fec-svg-animation",
261
+ "fec-responsive-layout",
262
+ "fec-accessibility-check",
263
+ "fec-web-video-presentation"
264
+ ],
265
+ "boundaryWorkflows": [
266
+ "涉及产品专属视觉方向、品牌调性、层级和生成资产视觉 QA 时,使用 UI 设计工作流。",
267
+ "当 Figma、Sketch、MasterGo、Pixso、截图或其他外部设计源是权威来源时,使用按设计实现工作流。",
268
+ "需要可在浏览器中直接使用、带主题的工作流图、序列图、数据流图、生命周期图、操作手册图、个人信息(PII)或数据血缘图,以及状态机图时,使用 HTML 技术图路线。",
269
+ "当优先需要可编辑的 .drawio 源文件、官方图形检索或在 diagrams.net 中手动编辑时,使用 draw.io 图表工作室。",
270
+ "当生成视觉资产变成交互式渲染器、shader 或动效资产,而不是静态图片时,使用 Canvas/Three.js 或 SVG 动画工作流。"
271
+ ],
272
+ "capabilityTags": [
273
+ "image-generation",
274
+ "image-editing",
275
+ "diagram-generation",
276
+ "html-diagram",
277
+ "png-qa",
278
+ "visual-assets",
279
+ "autofix"
280
+ ]
281
+ },
282
+ "fec-legacy-to-modern-migration": {
283
+ "relatedSkills": [
284
+ "fec-legacy-web-standard",
285
+ "fec-react-project-standard",
286
+ "fec-vue3-project-standard"
287
+ ],
288
+ "boundaryWorkflows": [
289
+ "迁移前需要理解原始 jQuery 或 MPA 代码模型时,使用传统前端工作流。",
290
+ "涉及 React 或 Vue 目录与组件结构时,使用目标框架项目工作流。",
291
+ "涉及边界和发布风险较高的大型迁移时,使用架构规划。"
292
+ ],
293
+ "capabilityTags": [
294
+ "legacy",
295
+ "migration",
296
+ "modernization"
297
+ ]
298
+ },
299
+ "fec-legacy-web-standard": {
300
+ "relatedSkills": [
301
+ "fec-legacy-to-modern-migration",
302
+ "fec-security-review",
303
+ "fec-validation-fix"
304
+ ],
305
+ "boundaryWorkflows": [
306
+ "涉及盘点、策略以及分阶段迁移到 React、Vue 或 TypeScript 时,使用迁移工作流。",
307
+ "涉及遗留项目中的 XSS、CSRF、开放重定向和第三方脚本风险时,使用安全审查工作流。",
308
+ "涉及现有 lint、test、build 或人工验证脚本时,使用验证工作流。"
309
+ ],
310
+ "capabilityTags": [
311
+ "legacy",
312
+ "migration",
313
+ "quality"
314
+ ]
315
+ },
316
+ "fec-list-virtualization": {
317
+ "relatedSkills": [
318
+ "fec-data-fetching",
319
+ "fec-web-workers",
320
+ "fec-accessibility-check"
321
+ ],
322
+ "boundaryWorkflows": [
323
+ "涉及无限列表中的分页和缓存行为时,使用数据获取工作流。",
324
+ "当expensive item computation blocks scrolling时,使用 Worker工作流。",
325
+ "涉及虚拟列表中的键盘和屏幕阅读器行为时,使用无障碍工作流。"
326
+ ],
327
+ "capabilityTags": [
328
+ "performance",
329
+ "virtualization",
330
+ "large-lists"
331
+ ]
332
+ },
333
+ "fec-motion-interaction": {
334
+ "relatedSkills": [
335
+ "fec-ui-design",
336
+ "fec-svg-animation",
337
+ "fec-canvas-threejs",
338
+ "fec-accessibility-check"
339
+ ],
340
+ "boundaryWorkflows": [
341
+ "需要决定视觉方向、页面层级以及动效是否适合产品语境时,使用 UI 设计工作流。",
342
+ "仅涉及 SVG 路径绘制、图标动效和插画动效细节时,使用 SVG 动画工作流。",
343
+ "涉及 WebGL、shader、3D、粒子和 canvas 渲染动画时,使用 Canvas/Three.js 工作流。"
344
+ ],
345
+ "capabilityTags": [
346
+ "motion",
347
+ "interaction",
348
+ "animation",
349
+ "accessibility"
350
+ ]
351
+ },
352
+ "fec-nextjs-project-standard": {
353
+ "relatedSkills": [
354
+ "fec-react-project-standard",
355
+ "fec-route-protection",
356
+ "fec-data-fetching",
357
+ "fec-api-integration",
358
+ "fec-motion-interaction"
359
+ ],
360
+ "boundaryWorkflows": [
361
+ "涉及通用客户端组件架构和 hooks 组织时,使用 React 项目工作流。",
362
+ "涉及认证、RBAC、重定向和 middleware 安全边界时,使用路由保护工作流。",
363
+ "客户端服务端状态使用数据获取工作流;Next 服务端 fetch 和缓存策略保留在 Next 工作流中。"
364
+ ],
365
+ "capabilityTags": [
366
+ "nextjs",
367
+ "react",
368
+ "routing"
369
+ ]
370
+ },
371
+ "fec-nuxt-project-standard": {
372
+ "relatedSkills": [
373
+ "fec-vue3-project-standard",
374
+ "fec-route-protection",
375
+ "fec-data-fetching"
376
+ ],
377
+ "boundaryWorkflows": [
378
+ "涉及通用 Vue 组件、composable 和 Pinia 边界时,使用 Vue 项目工作流。",
379
+ "涉及登录态、受保护路由、重定向和 middleware 风险时,使用路由保护工作流。",
380
+ "客户端服务端状态或缓存模式使用数据获取工作流;Nuxt useFetch 和 useAsyncData 策略保留在 Nuxt 工作流中。"
381
+ ],
382
+ "capabilityTags": [
383
+ "nuxt",
384
+ "vue",
385
+ "routing"
386
+ ]
387
+ },
388
+ "fec-performance-optimization": {
389
+ "relatedSkills": [
390
+ "fec-validation-fix",
391
+ "fec-code-review",
392
+ "fec-list-virtualization",
393
+ "fec-web-workers",
394
+ "fec-vite-project-standard",
395
+ "fec-responsive-layout"
396
+ ],
397
+ "boundaryWorkflows": [
398
+ "性能优化变更后需要运行 build、typecheck、测试和性能相关脚本时,使用验证工作流。",
399
+ "当performance findings overlap architecture, rendering correctness, or maintainability时,使用code review工作流。",
400
+ "仅在对应 DOM 或主线程瓶颈明确时,才使用列表虚拟化或 worker 工作流。"
401
+ ],
402
+ "capabilityTags": [
403
+ "performance",
404
+ "web-vitals",
405
+ "bundle",
406
+ "runtime"
407
+ ]
408
+ },
409
+ "fec-pwa-implementation": {
410
+ "relatedSkills": [
411
+ "fec-data-fetching",
412
+ "fec-browser-storage",
413
+ "fec-validation-fix"
414
+ ],
415
+ "boundaryWorkflows": [
416
+ "涉及 API 服务端状态、缓存失效和乐观更新时,使用数据获取工作流。",
417
+ "涉及 IndexedDB、localStorage 和客户端持久化选择时,使用浏览器存储工作流。",
418
+ "PWA 变更后需要 build、Lighthouse 和端到端验证时,使用验证工作流。"
419
+ ],
420
+ "capabilityTags": [
421
+ "pwa",
422
+ "service-worker",
423
+ "offline-cache"
424
+ ]
425
+ },
426
+ "fec-react-project-standard": {
427
+ "relatedSkills": [
428
+ "fec-typescript-project-standard",
429
+ "fec-state-management",
430
+ "fec-tailwind-design-system",
431
+ "fec-responsive-layout",
432
+ "fec-form-handling",
433
+ "fec-data-fetching",
434
+ "fec-component-testing",
435
+ "fec-e2e-testing",
436
+ "fec-accessibility-check",
437
+ "fec-security-review",
438
+ "fec-list-virtualization",
439
+ "fec-svg-animation",
440
+ "fec-canvas-threejs",
441
+ "fec-api-integration",
442
+ "fec-motion-interaction"
443
+ ],
444
+ "boundaryWorkflows": [
445
+ "复杂表单、状态归属、TypeScript 契约、服务端状态、测试、无障碍、安全、大列表、动画或图形问题使用对应专项工作流。",
446
+ "通用 React 组件架构和 hooks 组织保留在 React 项目工作流中。"
447
+ ],
448
+ "capabilityTags": [
449
+ "react",
450
+ "project-standard",
451
+ "fec-architecture"
452
+ ]
453
+ },
454
+ "fec-responsive-layout": {
455
+ "relatedSkills": [
456
+ "fec-ui-design",
457
+ "fec-accessibility-check",
458
+ "fec-performance-optimization",
459
+ "fec-tailwind-design-system"
460
+ ],
461
+ "boundaryWorkflows": [
462
+ "当the task is visual direction, product identity, hierarchy, or polish beyond layout behavior时,使用UI 设计。",
463
+ "涉及键盘、焦点、语义、屏幕阅读器行为和对比度问题时,使用无障碍检查。",
464
+ "当responsive behavior exposes rendering, image, bundle, or main-thread bottlenecks时,使用per表单处理ance optimization。"
465
+ ],
466
+ "capabilityTags": [
467
+ "responsive",
468
+ "layout",
469
+ "container-query",
470
+ "mobile-first"
471
+ ]
472
+ },
473
+ "fec-security-review": {
474
+ "relatedSkills": [
475
+ "fec-code-review",
476
+ "fec-accessibility-check",
477
+ "fec-browser-storage",
478
+ "fec-dependency-upgrade",
479
+ "fec-route-protection"
480
+ ],
481
+ "boundaryWorkflows": [
482
+ "涉及架构、可维护性和广义质量评审时,使用通用代码评审工作流。",
483
+ "仅涉及无障碍问题时,使用无障碍工作流。",
484
+ "存储策略使用浏览器存储工作流;敏感数据泄露风险保留在安全工作流中。"
485
+ ],
486
+ "capabilityTags": [
487
+ "security",
488
+ "review",
489
+ "frontend"
490
+ ]
491
+ },
492
+ "fec-source-driven-development": {
493
+ "relatedSkills": [
494
+ "fec-doc-sync",
495
+ "fec-dependency-upgrade",
496
+ "fec-api-integration",
497
+ "fec-vite-project-standard",
498
+ "fec-nextjs-project-standard",
499
+ "fec-nuxt-project-standard"
500
+ ],
501
+ "boundaryWorkflows": [
502
+ "当source-verified decisions change public docs, runtime docs, or metadata时,使用文档同步。",
503
+ "当source checking leads to frontend-backend contract or error-shape changes时,使用 API 集成。",
504
+ "当the source-verified behavior is specific to Vite, Next.js, Nuxt, React, or Vue时,使用framework project workflows。"
505
+ ],
506
+ "capabilityTags": [
507
+ "source-driven",
508
+ "official-docs",
509
+ "version-sensitive"
510
+ ]
511
+ },
512
+ "fec-state-management": {
513
+ "relatedSkills": [
514
+ "fec-data-fetching",
515
+ "fec-form-handling",
516
+ "fec-browser-storage",
517
+ "fec-route-protection",
518
+ "fec-react-project-standard",
519
+ "fec-vue3-project-standard"
520
+ ],
521
+ "boundaryWorkflows": [
522
+ "涉及 query key、缓存生命周期、失效、乐观更新和服务端状态 hooks 时,使用数据获取工作流。",
523
+ "涉及字段注册、校验、提交流程和表单特有 dirty/error 状态时,使用表单工作流。",
524
+ "当state must persist across reloads, sessions, offline mode, or cookie boundaries时,使用browser storage工作流。"
525
+ ],
526
+ "capabilityTags": [
527
+ "state-management",
528
+ "store-selection",
529
+ "url-state",
530
+ "state-ownership"
531
+ ]
532
+ },
533
+ "fec-storybook-component-doc": {
534
+ "relatedSkills": [
535
+ "fec-testing-strategy",
536
+ "fec-component-testing",
537
+ "fec-e2e-testing",
538
+ "fec-accessibility-check",
539
+ "fec-tailwind-design-system",
540
+ "fec-responsive-layout"
541
+ ],
542
+ "boundaryWorkflows": [
543
+ "需要判断风险应落在 Storybook、组件测试、E2E 还是专项评审时,使用测试策略工作流。",
544
+ "涉及靠近 UI 代码的单元、组件和轻量集成测试时,使用组件测试工作流。",
545
+ "涉及真实浏览器跨页面旅程和页面级视觉回归时,使用 E2E 工作流。"
546
+ ],
547
+ "capabilityTags": [
548
+ "storybook",
549
+ "design-system",
550
+ "visual-regression"
551
+ ]
552
+ },
553
+ "fec-svg-animation": {
554
+ "capabilityTags": [
555
+ "svg",
556
+ "animation",
557
+ "motion"
558
+ ],
559
+ "relatedSkills": [
560
+ "fec-motion-interaction"
561
+ ]
562
+ },
563
+ "fec-tailwind-design-system": {
564
+ "relatedSkills": [
565
+ "fec-ui-design",
566
+ "fec-responsive-layout",
567
+ "fec-storybook-component-doc",
568
+ "fec-react-project-standard",
569
+ "fec-vue3-project-standard"
570
+ ],
571
+ "boundaryWorkflows": [
572
+ "编码 Tailwind tokens 前,需要先用 UI 设计明确产品专属视觉方向、层级和设计系统意图。",
573
+ "涉及跨设备行为、容器查询、数据密集布局和视口验证时,使用响应式布局工作流。",
574
+ "展示组件变体、状态和设计系统示例时,使用 Storybook 组件文档。"
575
+ ],
576
+ "capabilityTags": [
577
+ "tailwind",
578
+ "design-system",
579
+ "tokens",
580
+ "variants",
581
+ "dark-mode"
582
+ ]
583
+ },
584
+ "fec-tdd-workflow": {
585
+ "relatedSkills": [
586
+ "fec-component-testing",
587
+ "fec-e2e-testing",
588
+ "fec-testing-strategy",
589
+ "fec-validation-fix"
590
+ ],
591
+ "boundaryWorkflows": [
592
+ "涉及组件、hook、composable 和轻量集成测试时,使用组件测试工作流。",
593
+ "涉及真实浏览器关键路径时,使用 E2E 工作流。",
594
+ "现有检查失败后,使用验证工作流。"
595
+ ],
596
+ "capabilityTags": [
597
+ "tdd",
598
+ "testing",
599
+ "workflow"
600
+ ]
601
+ },
602
+ "fec-testing-strategy": {
603
+ "relatedSkills": [
604
+ "fec-component-testing",
605
+ "fec-e2e-testing",
606
+ "fec-storybook-component-doc",
607
+ "fec-validation-fix",
608
+ "fec-accessibility-check",
609
+ "fec-security-review",
610
+ "fec-code-review"
611
+ ],
612
+ "boundaryWorkflows": [
613
+ "测试层级和风险归属确定后,再使用专项测试工作流。",
614
+ "深度专项质量评审使用无障碍、安全或代码评审工作流。"
615
+ ],
616
+ "capabilityTags": [
617
+ "testing",
618
+ "strategy",
619
+ "quality-gate"
620
+ ]
621
+ },
622
+ "fec-typescript-project-standard": {
623
+ "relatedSkills": [
624
+ "fec-code-review",
625
+ "fec-api-integration",
626
+ "fec-react-project-standard",
627
+ "fec-vue3-project-standard",
628
+ "fec-vite-project-standard",
629
+ "fec-monorepo-project-standard",
630
+ "fec-validation-fix"
631
+ ],
632
+ "boundaryWorkflows": [
633
+ "涉及组件架构、路由、状态归属和框架专项模块边界时,使用框架项目工作流。",
634
+ "当runtime API clients, auth refresh, uploads, realtime behavior, or error mapping go beyond TypeScript type contracts时,使用 API 集成。",
635
+ "当the task is to repair concrete lint, typecheck, test, build, or CI failures after TypeScript changes时,使用验证修复 fix。"
636
+ ],
637
+ "capabilityTags": [
638
+ "typescript",
639
+ "project-standard",
640
+ "type-safety",
641
+ "tsconfig",
642
+ "declarations"
643
+ ]
644
+ },
645
+ "fec-ui-design": {
646
+ "relatedSkills": [
647
+ "fec-image-generation",
648
+ "fec-implement-from-design",
649
+ "fec-accessibility-check",
650
+ "fec-code-review",
651
+ "fec-tailwind-design-system",
652
+ "fec-responsive-layout",
653
+ "fec-storybook-component-doc",
654
+ "fec-web-video-presentation"
655
+ ],
656
+ "boundaryWorkflows": [
657
+ "当an external design file is the source of truth时,使用按设计实现工作流。",
658
+ "涉及键盘、焦点、ARIA、语义结构和对比度检查时,使用无障碍工作流。",
659
+ "当UI issues cross architecture, types, rendering performance, and maintainability时,使用code review工作流。",
660
+ "生成的设计系统建议只作为方向;外部设计文件、项目 tokens 和已发布组件 API 仍是权威来源。"
661
+ ],
662
+ "capabilityTags": [
663
+ "ui-design",
664
+ "design-direction",
665
+ "design-system",
666
+ "master-page-overrides",
667
+ "industry-ui",
668
+ "visual-identity",
669
+ "ui-polish",
670
+ "anti-generic",
671
+ "visual-qa",
672
+ "chart-ux",
673
+ "accessibility"
674
+ ]
675
+ },
676
+ "fec-vite-project-standard": {
677
+ "relatedSkills": [
678
+ "fec-react-project-standard",
679
+ "fec-vue3-project-standard",
680
+ "fec-monorepo-project-standard",
681
+ "fec-security-review",
682
+ "fec-motion-interaction"
683
+ ],
684
+ "boundaryWorkflows": [
685
+ "涉及组件架构、状态和目录结构时,使用框架项目工作流。",
686
+ "涉及 workspace 边界和任务编排时,使用 monorepo 工作流。",
687
+ "涉及客户端密钥、CSP、供应链和 XSS 风险时,使用安全审查工作流。"
688
+ ],
689
+ "capabilityTags": [
690
+ "vite",
691
+ "build",
692
+ "project-standard"
693
+ ]
694
+ },
695
+ "fec-vue3-project-standard": {
696
+ "relatedSkills": [
697
+ "fec-typescript-project-standard",
698
+ "fec-state-management",
699
+ "fec-tailwind-design-system",
700
+ "fec-responsive-layout",
701
+ "fec-form-handling",
702
+ "fec-data-fetching",
703
+ "fec-component-testing",
704
+ "fec-e2e-testing",
705
+ "fec-accessibility-check",
706
+ "fec-security-review",
707
+ "fec-list-virtualization",
708
+ "fec-svg-animation",
709
+ "fec-canvas-threejs"
710
+ ],
711
+ "boundaryWorkflows": [
712
+ "复杂表单、状态归属、TypeScript 契约、服务端状态、测试、无障碍、安全、大列表、动画或图形问题使用对应专项工作流。",
713
+ "通用 Vue 组件架构、composables 和 Pinia 边界保留在 Vue 项目工作流中。"
714
+ ],
715
+ "capabilityTags": [
716
+ "vue",
717
+ "project-standard",
718
+ "fec-architecture"
719
+ ]
720
+ },
721
+ "fec-web-video-presentation": {
722
+ "relatedSkills": [
723
+ "fec-ui-design",
724
+ "fec-image-generation",
725
+ "fec-motion-interaction",
726
+ "fec-responsive-layout",
727
+ "fec-accessibility-check"
728
+ ],
729
+ "boundaryWorkflows": [
730
+ "涉及产品专属视觉方向、资产策略、反通用设计和场景视觉 QA 时,使用 UI 设计工作流。",
731
+ "当the presentation needs custom raster assets, diagrams, storyboard frames, or generated visual references时,使用图像生成。",
732
+ "当scene transitions, reduced-motion behavior, viewport scaling, or recording stability need deeper treatment时,使用动效 and 响应式布局 workflows。"
733
+ ],
734
+ "capabilityTags": [
735
+ "web-video",
736
+ "presentation",
737
+ "recording",
738
+ "script-outline",
739
+ "step-driven-stage"
740
+ ]
741
+ },
742
+ "fec-web-workers": {
743
+ "relatedSkills": [
744
+ "fec-canvas-threejs",
745
+ "fec-list-virtualization",
746
+ "fec-validation-fix"
747
+ ],
748
+ "boundaryWorkflows": [
749
+ "复杂计算阻塞渲染时,渲染与动画循环使用图形工作流;只有计算卸载才使用 Workers。",
750
+ "大列表 DOM 渲染使用虚拟列表工作流;不要用 worker 替代虚拟滚动。",
751
+ "worker 变更后需要 build、typecheck 和关键交互验证时,使用验证工作流。"
752
+ ],
753
+ "capabilityTags": [
754
+ "web-workers",
755
+ "performance",
756
+ "main-thread"
757
+ ]
758
+ },
759
+ "fec-refactoring": {
760
+ "relatedSkills": [
761
+ "fec-code-smells",
762
+ "fec-refactoring-catalog",
763
+ "fec-refactoring-validation",
764
+ "fec-refactor-clean",
765
+ "fec-code-review",
766
+ "fec-tdd-workflow",
767
+ "fec-debug-framework",
768
+ "fec-validation-fix",
769
+ "fec-testing-strategy"
770
+ ],
771
+ "boundaryWorkflows": [
772
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
773
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
774
+ "故障原因未知时先使用调试流程。",
775
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
776
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
777
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
778
+ ],
779
+ "capabilityTags": [
780
+ "refactoring",
781
+ "behavior-preservation",
782
+ "workflow",
783
+ "validation"
784
+ ]
785
+ },
786
+ "fec-code-smells": {
787
+ "relatedSkills": [
788
+ "fec-refactoring",
789
+ "fec-refactoring-catalog",
790
+ "fec-code-review"
791
+ ],
792
+ "boundaryWorkflows": [
793
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
794
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
795
+ "故障原因未知时先使用调试流程。",
796
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
797
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
798
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
799
+ ],
800
+ "capabilityTags": [
801
+ "code-smells",
802
+ "diagnosis",
803
+ "maintainability",
804
+ "evidence"
805
+ ]
806
+ },
807
+ "fec-refactoring-catalog": {
808
+ "relatedSkills": [
809
+ "fec-refactoring",
810
+ "fec-code-smells",
811
+ "fec-refactoring-functions",
812
+ "fec-refactoring-encapsulation",
813
+ "fec-refactoring-move-features",
814
+ "fec-refactoring-data",
815
+ "fec-refactoring-control",
816
+ "fec-refactoring-api",
817
+ "fec-refactoring-inheritance",
818
+ "fec-refactoring-validation"
819
+ ],
820
+ "boundaryWorkflows": [
821
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
822
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
823
+ "故障原因未知时先使用调试流程。",
824
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
825
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
826
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
827
+ ],
828
+ "capabilityTags": [
829
+ "refactoring",
830
+ "catalog",
831
+ "selection",
832
+ "composition"
833
+ ]
834
+ },
835
+ "fec-refactoring-functions": {
836
+ "relatedSkills": [
837
+ "fec-refactoring",
838
+ "fec-code-smells",
839
+ "fec-refactoring-catalog",
840
+ "fec-refactoring-validation",
841
+ "fec-typescript-project-standard"
842
+ ],
843
+ "boundaryWorkflows": [
844
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
845
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
846
+ "故障原因未知时先使用调试流程。",
847
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
848
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
849
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
850
+ ],
851
+ "capabilityTags": [
852
+ "refactoring",
853
+ "functions",
854
+ "parameters",
855
+ "decomposition"
856
+ ]
857
+ },
858
+ "fec-refactoring-encapsulation": {
859
+ "relatedSkills": [
860
+ "fec-refactoring",
861
+ "fec-code-smells",
862
+ "fec-refactoring-catalog",
863
+ "fec-refactoring-validation",
864
+ "fec-state-management"
865
+ ],
866
+ "boundaryWorkflows": [
867
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
868
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
869
+ "故障原因未知时先使用调试流程。",
870
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
871
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
872
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
873
+ ],
874
+ "capabilityTags": [
875
+ "refactoring",
876
+ "encapsulation",
877
+ "delegation",
878
+ "value-object"
879
+ ]
880
+ },
881
+ "fec-refactoring-move-features": {
882
+ "relatedSkills": [
883
+ "fec-refactoring",
884
+ "fec-code-smells",
885
+ "fec-refactoring-catalog",
886
+ "fec-refactoring-validation",
887
+ "fec-refactor-clean"
888
+ ],
889
+ "boundaryWorkflows": [
890
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
891
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
892
+ "故障原因未知时先使用调试流程。",
893
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
894
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
895
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
896
+ ],
897
+ "capabilityTags": [
898
+ "refactoring",
899
+ "move-function",
900
+ "ownership",
901
+ "loops"
902
+ ]
903
+ },
904
+ "fec-refactoring-data": {
905
+ "relatedSkills": [
906
+ "fec-refactoring",
907
+ "fec-code-smells",
908
+ "fec-refactoring-catalog",
909
+ "fec-refactoring-validation",
910
+ "fec-state-management",
911
+ "fec-typescript-project-standard"
912
+ ],
913
+ "boundaryWorkflows": [
914
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
915
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
916
+ "故障原因未知时先使用调试流程。",
917
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
918
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
919
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
920
+ ],
921
+ "capabilityTags": [
922
+ "refactoring",
923
+ "data",
924
+ "derived-state",
925
+ "identity"
926
+ ]
927
+ },
928
+ "fec-refactoring-control": {
929
+ "relatedSkills": [
930
+ "fec-refactoring",
931
+ "fec-code-smells",
932
+ "fec-refactoring-catalog",
933
+ "fec-refactoring-validation",
934
+ "fec-typescript-project-standard"
935
+ ],
936
+ "boundaryWorkflows": [
937
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
938
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
939
+ "故障原因未知时先使用调试流程。",
940
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
941
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
942
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
943
+ ],
944
+ "capabilityTags": [
945
+ "refactoring",
946
+ "conditionals",
947
+ "guard-clauses",
948
+ "polymorphism"
949
+ ]
950
+ },
951
+ "fec-refactoring-api": {
952
+ "relatedSkills": [
953
+ "fec-refactoring",
954
+ "fec-code-smells",
955
+ "fec-refactoring-catalog",
956
+ "fec-refactoring-validation",
957
+ "fec-api-integration",
958
+ "fec-typescript-project-standard"
959
+ ],
960
+ "boundaryWorkflows": [
961
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
962
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
963
+ "故障原因未知时先使用调试流程。",
964
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
965
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
966
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
967
+ ],
968
+ "capabilityTags": [
969
+ "refactoring",
970
+ "api",
971
+ "parameters",
972
+ "dependencies"
973
+ ]
974
+ },
975
+ "fec-refactoring-inheritance": {
976
+ "relatedSkills": [
977
+ "fec-refactoring",
978
+ "fec-code-smells",
979
+ "fec-refactoring-catalog",
980
+ "fec-refactoring-validation",
981
+ "fec-typescript-project-standard",
982
+ "fec-legacy-to-modern-migration"
983
+ ],
984
+ "boundaryWorkflows": [
985
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
986
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
987
+ "故障原因未知时先使用调试流程。",
988
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
989
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
990
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
991
+ ],
992
+ "capabilityTags": [
993
+ "refactoring",
994
+ "inheritance",
995
+ "delegation",
996
+ "composition"
997
+ ]
998
+ },
999
+ "fec-refactoring-validation": {
1000
+ "relatedSkills": [
1001
+ "fec-refactoring",
1002
+ "fec-testing-strategy",
1003
+ "fec-tdd-workflow",
1004
+ "fec-validation-fix",
1005
+ "fec-debug-framework",
1006
+ "fec-code-review"
1007
+ ],
1008
+ "boundaryWorkflows": [
1009
+ "已证明未使用的代码、导出、样式、路由、fixture 或依赖使用死代码清理能力。",
1010
+ "新增可观察行为或修复会改变行为的缺陷时使用 TDD。",
1011
+ "故障原因未知时先使用调试流程。",
1012
+ "重构前已经存在且原因明确的 lint、typecheck、test 或 build 失败使用验证修复。",
1013
+ "判断 PR 是否可合并时使用代码审查,而不是直接执行结构修改。",
1014
+ "依赖、框架、路由器、状态库或平台替换属于迁移/架构规划,不作为普通保持行为重构处理。"
1015
+ ],
1016
+ "capabilityTags": [
1017
+ "refactoring",
1018
+ "validation",
1019
+ "behavior-preservation",
1020
+ "rollback"
1021
+ ]
1022
+ }
1023
+ }