@bovinphang/frontend-craft 2.9.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (579) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/CHANGELOG.md +403 -378
  4. package/CHANGELOG.zh-CN.md +402 -377
  5. package/CONTRIBUTING.md +381 -371
  6. package/CONTRIBUTING.zh-CN.md +383 -371
  7. package/README.md +605 -545
  8. package/README.openclaw.md +395 -359
  9. package/README.openclaw.zh-CN.md +395 -359
  10. package/README.zh-CN.md +605 -545
  11. package/agents/fec-typescript-reviewer.md +1 -1
  12. package/common-content.lock.json +3795 -0
  13. package/dist/bin/frontend-craft.js +353 -174
  14. package/docs/common-migration.md +61 -0
  15. package/docs/example-prompts.md +157 -157
  16. package/docs/ja-JP/README.md +588 -534
  17. package/docs/ko-KR/README.md +588 -534
  18. package/docs/project-structure.md +166 -151
  19. package/docs/review-and-diagram-workflows.md +5 -5
  20. package/docs/runtimes/antigravity.md +18 -18
  21. package/docs/runtimes/augment.md +18 -18
  22. package/docs/runtimes/claude.md +193 -191
  23. package/docs/runtimes/claude.zh-CN.md +191 -189
  24. package/docs/runtimes/cline.md +18 -18
  25. package/docs/runtimes/codebuddy.md +18 -18
  26. package/docs/runtimes/codex.md +18 -18
  27. package/docs/runtimes/compatibility.md +42 -27
  28. package/docs/runtimes/copilot.md +18 -18
  29. package/docs/runtimes/cursor.md +18 -18
  30. package/docs/runtimes/gemini.md +18 -18
  31. package/docs/runtimes/kilo.md +18 -18
  32. package/docs/runtimes/openclaw.md +18 -18
  33. package/docs/runtimes/opencode.md +18 -18
  34. package/docs/runtimes/qoder.md +18 -18
  35. package/docs/runtimes/trae.md +18 -18
  36. package/docs/runtimes/windsurf.md +18 -18
  37. package/docs/zh-CN/common-migration.md +57 -0
  38. package/docs/zh-CN/example-prompts.md +157 -157
  39. package/docs/zh-CN/project-structure.md +166 -148
  40. package/docs/zh-CN/review-and-diagram-workflows.md +5 -5
  41. package/docs/zh-TW/README.md +588 -534
  42. package/localized/zh-CN/agents/fec-typescript-reviewer.md +1 -1
  43. package/localized/zh-CN/skills/cc-c-project-standard/SKILL.md +25 -0
  44. package/localized/zh-CN/skills/cc-c-project-standard/examples/engineering/README.md +7 -0
  45. package/localized/zh-CN/skills/cc-c-project-standard/examples/engineering/boundary.c +26 -0
  46. package/localized/zh-CN/skills/cc-c-project-standard/examples/engineering/boundary.h +15 -0
  47. package/localized/zh-CN/skills/cc-c-project-standard/examples/engineering/boundary_test.c +73 -0
  48. package/localized/zh-CN/skills/cc-c-project-standard/references/common/engineering-practices.md +237 -0
  49. package/localized/zh-CN/skills/cc-c-project-standard/references/common/engineering-practices.rules.json +121 -0
  50. package/localized/zh-CN/skills/cc-c-project-standard/references/common/engineering-practices.sources.json +377 -0
  51. package/localized/zh-CN/skills/cc-c-project-standard/references/engineering-practices.md +106 -0
  52. package/localized/zh-CN/skills/cc-c-project-standard/references/practice.md +37 -0
  53. package/localized/zh-CN/skills/cc-cpp-project-standard/SKILL.md +25 -0
  54. package/localized/zh-CN/skills/cc-cpp-project-standard/examples/engineering/README.md +7 -0
  55. package/localized/zh-CN/skills/cc-cpp-project-standard/examples/engineering/boundary.cpp +26 -0
  56. package/localized/zh-CN/skills/cc-cpp-project-standard/examples/engineering/boundary.hpp +12 -0
  57. package/localized/zh-CN/skills/cc-cpp-project-standard/examples/engineering/boundary_test.cpp +38 -0
  58. package/localized/zh-CN/skills/cc-cpp-project-standard/references/common/engineering-practices.md +237 -0
  59. package/localized/zh-CN/skills/cc-cpp-project-standard/references/common/engineering-practices.rules.json +121 -0
  60. package/localized/zh-CN/skills/cc-cpp-project-standard/references/common/engineering-practices.sources.json +377 -0
  61. package/localized/zh-CN/skills/cc-cpp-project-standard/references/engineering-practices.md +106 -0
  62. package/localized/zh-CN/skills/cc-cpp-project-standard/references/practice.md +37 -0
  63. package/localized/zh-CN/skills/cc-debug-methodology/SKILL.md +8 -0
  64. package/localized/zh-CN/skills/cc-debug-methodology/references/method.md +13 -0
  65. package/localized/zh-CN/skills/cc-doc-sync-core/SKILL.md +8 -0
  66. package/localized/zh-CN/skills/cc-doc-sync-core/references/method.md +12 -0
  67. package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/SKILL.md +5 -5
  68. package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/flowchart-quality.md +1 -1
  69. package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/layout-and-export.md +9 -9
  70. package/localized/zh-CN/skills/cc-electron-project-standard/SKILL.md +21 -0
  71. package/localized/zh-CN/skills/cc-electron-project-standard/examples/engineering/README.md +7 -0
  72. package/localized/zh-CN/skills/cc-electron-project-standard/examples/engineering/ipc-lifecycle.cjs +44 -0
  73. package/localized/zh-CN/skills/cc-electron-project-standard/examples/engineering/ipc-lifecycle.test.cjs +44 -0
  74. package/localized/zh-CN/skills/cc-electron-project-standard/examples/engineering/package.json +8 -0
  75. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/README.md +9 -0
  76. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/boundary.cjs +19 -0
  77. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/boundary.test.cjs +7 -0
  78. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/index.html +1 -0
  79. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/main.cjs +20 -0
  80. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/package.json +9 -0
  81. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/preload.cjs +2 -0
  82. package/localized/zh-CN/skills/cc-electron-project-standard/examples/minimal/renderer.js +4 -0
  83. package/localized/zh-CN/skills/cc-electron-project-standard/references/common/engineering-practices.md +237 -0
  84. package/localized/zh-CN/skills/cc-electron-project-standard/references/common/engineering-practices.rules.json +121 -0
  85. package/localized/zh-CN/skills/cc-electron-project-standard/references/common/engineering-practices.sources.json +377 -0
  86. package/localized/zh-CN/skills/cc-electron-project-standard/references/engineering-practices.md +73 -0
  87. package/localized/zh-CN/skills/cc-electron-project-standard/references/practice.md +19 -0
  88. package/localized/zh-CN/skills/cc-electron-project-standard/references/verification.md +17 -0
  89. package/localized/zh-CN/skills/cc-go-concurrency/SKILL.md +25 -0
  90. package/localized/zh-CN/skills/cc-go-concurrency/references/common/engineering-practices.md +237 -0
  91. package/localized/zh-CN/skills/cc-go-concurrency/references/common/engineering-practices.rules.json +121 -0
  92. package/localized/zh-CN/skills/cc-go-concurrency/references/common/engineering-practices.sources.json +377 -0
  93. package/localized/zh-CN/skills/cc-go-concurrency/references/engineering-practices.md +73 -0
  94. package/localized/zh-CN/skills/cc-go-concurrency/references/practice.md +37 -0
  95. package/localized/zh-CN/skills/cc-go-project-standard/SKILL.md +25 -0
  96. package/localized/zh-CN/skills/cc-go-project-standard/examples/engineering/README.md +7 -0
  97. package/localized/zh-CN/skills/cc-go-project-standard/examples/engineering/go.mod +3 -0
  98. package/localized/zh-CN/skills/cc-go-project-standard/examples/engineering/lifecycle.go +71 -0
  99. package/localized/zh-CN/skills/cc-go-project-standard/examples/engineering/lifecycle_test.go +22 -0
  100. package/localized/zh-CN/skills/cc-go-project-standard/references/common/engineering-practices.md +237 -0
  101. package/localized/zh-CN/skills/cc-go-project-standard/references/common/engineering-practices.rules.json +121 -0
  102. package/localized/zh-CN/skills/cc-go-project-standard/references/common/engineering-practices.sources.json +377 -0
  103. package/localized/zh-CN/skills/cc-go-project-standard/references/engineering-practices.md +106 -0
  104. package/localized/zh-CN/skills/cc-go-project-standard/references/practice.md +37 -0
  105. package/localized/zh-CN/skills/cc-java-project-standard/SKILL.md +25 -0
  106. package/localized/zh-CN/skills/cc-java-project-standard/examples/engineering/README.md +5 -0
  107. package/localized/zh-CN/skills/cc-java-project-standard/examples/engineering/ResourceBoundary.java +26 -0
  108. package/localized/zh-CN/skills/cc-java-project-standard/examples/engineering/ResourceBoundaryTest.java +41 -0
  109. package/localized/zh-CN/skills/cc-java-project-standard/references/common/engineering-practices.md +237 -0
  110. package/localized/zh-CN/skills/cc-java-project-standard/references/common/engineering-practices.rules.json +121 -0
  111. package/localized/zh-CN/skills/cc-java-project-standard/references/common/engineering-practices.sources.json +377 -0
  112. package/localized/zh-CN/skills/cc-java-project-standard/references/engineering-practices.md +106 -0
  113. package/localized/zh-CN/skills/cc-java-project-standard/references/practice.md +37 -0
  114. package/localized/zh-CN/skills/cc-java-runtime/SKILL.md +25 -0
  115. package/localized/zh-CN/skills/cc-java-runtime/references/common/engineering-practices.md +237 -0
  116. package/localized/zh-CN/skills/cc-java-runtime/references/common/engineering-practices.rules.json +121 -0
  117. package/localized/zh-CN/skills/cc-java-runtime/references/common/engineering-practices.sources.json +377 -0
  118. package/localized/zh-CN/skills/cc-java-runtime/references/engineering-practices.md +73 -0
  119. package/localized/zh-CN/skills/cc-java-runtime/references/practice.md +37 -0
  120. package/localized/zh-CN/skills/cc-native-memory-safety/SKILL.md +25 -0
  121. package/localized/zh-CN/skills/cc-native-memory-safety/references/common/engineering-practices.md +237 -0
  122. package/localized/zh-CN/skills/cc-native-memory-safety/references/common/engineering-practices.rules.json +121 -0
  123. package/localized/zh-CN/skills/cc-native-memory-safety/references/common/engineering-practices.sources.json +377 -0
  124. package/localized/zh-CN/skills/cc-native-memory-safety/references/engineering-practices.md +73 -0
  125. package/localized/zh-CN/skills/cc-native-memory-safety/references/practice.md +37 -0
  126. package/localized/zh-CN/skills/cc-python-async/SKILL.md +25 -0
  127. package/localized/zh-CN/skills/cc-python-async/references/common/engineering-practices.md +237 -0
  128. package/localized/zh-CN/skills/cc-python-async/references/common/engineering-practices.rules.json +121 -0
  129. package/localized/zh-CN/skills/cc-python-async/references/common/engineering-practices.sources.json +377 -0
  130. package/localized/zh-CN/skills/cc-python-async/references/engineering-practices.md +73 -0
  131. package/localized/zh-CN/skills/cc-python-async/references/practice.md +37 -0
  132. package/localized/zh-CN/skills/cc-python-project-standard/SKILL.md +25 -0
  133. package/localized/zh-CN/skills/cc-python-project-standard/examples/engineering/README.md +7 -0
  134. package/localized/zh-CN/skills/cc-python-project-standard/examples/engineering/resource_boundary.py +37 -0
  135. package/localized/zh-CN/skills/cc-python-project-standard/examples/engineering/test_resource_boundary.py +49 -0
  136. package/localized/zh-CN/skills/cc-python-project-standard/references/common/engineering-practices.md +237 -0
  137. package/localized/zh-CN/skills/cc-python-project-standard/references/common/engineering-practices.rules.json +121 -0
  138. package/localized/zh-CN/skills/cc-python-project-standard/references/common/engineering-practices.sources.json +377 -0
  139. package/localized/zh-CN/skills/cc-python-project-standard/references/engineering-practices.md +106 -0
  140. package/localized/zh-CN/skills/cc-python-project-standard/references/practice.md +37 -0
  141. package/localized/zh-CN/skills/cc-refactoring-core/SKILL.md +8 -0
  142. package/localized/zh-CN/skills/cc-refactoring-core/references/method.md +16 -0
  143. package/localized/zh-CN/skills/cc-rust-async/SKILL.md +25 -0
  144. package/localized/zh-CN/skills/cc-rust-async/references/common/engineering-practices.md +237 -0
  145. package/localized/zh-CN/skills/cc-rust-async/references/common/engineering-practices.rules.json +121 -0
  146. package/localized/zh-CN/skills/cc-rust-async/references/common/engineering-practices.sources.json +377 -0
  147. package/localized/zh-CN/skills/cc-rust-async/references/engineering-practices.md +73 -0
  148. package/localized/zh-CN/skills/cc-rust-async/references/practice.md +37 -0
  149. package/localized/zh-CN/skills/cc-rust-project-standard/SKILL.md +25 -0
  150. package/localized/zh-CN/skills/cc-rust-project-standard/examples/engineering/Cargo.lock +7 -0
  151. package/localized/zh-CN/skills/cc-rust-project-standard/examples/engineering/Cargo.toml +8 -0
  152. package/localized/zh-CN/skills/cc-rust-project-standard/examples/engineering/README.md +5 -0
  153. package/localized/zh-CN/skills/cc-rust-project-standard/examples/engineering/src/lib.rs +43 -0
  154. package/localized/zh-CN/skills/cc-rust-project-standard/references/common/engineering-practices.md +237 -0
  155. package/localized/zh-CN/skills/cc-rust-project-standard/references/common/engineering-practices.rules.json +121 -0
  156. package/localized/zh-CN/skills/cc-rust-project-standard/references/common/engineering-practices.sources.json +377 -0
  157. package/localized/zh-CN/skills/cc-rust-project-standard/references/engineering-practices.md +106 -0
  158. package/localized/zh-CN/skills/cc-rust-project-standard/references/practice.md +37 -0
  159. package/localized/zh-CN/skills/cc-source-driven-development/SKILL.md +8 -0
  160. package/localized/zh-CN/skills/cc-source-driven-development/references/method.md +19 -0
  161. package/localized/zh-CN/skills/cc-tauri-project-standard/SKILL.md +21 -0
  162. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/README.md +9 -0
  163. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/core/Cargo.lock +5 -0
  164. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/core/Cargo.toml +9 -0
  165. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/core/src/lib.rs +46 -0
  166. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/Cargo.toml +12 -0
  167. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/build.rs +5 -0
  168. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/capabilities/main.json +6 -0
  169. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/permissions/documents.toml +4 -0
  170. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/src/main.rs +22 -0
  171. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/src-tauri/tauri.conf.json +13 -0
  172. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/ui/app.js +5 -0
  173. package/localized/zh-CN/skills/cc-tauri-project-standard/examples/minimal/ui/index.html +1 -0
  174. package/localized/zh-CN/skills/cc-tauri-project-standard/references/common/engineering-practices.md +237 -0
  175. package/localized/zh-CN/skills/cc-tauri-project-standard/references/common/engineering-practices.rules.json +121 -0
  176. package/localized/zh-CN/skills/cc-tauri-project-standard/references/common/engineering-practices.sources.json +377 -0
  177. package/localized/zh-CN/skills/cc-tauri-project-standard/references/engineering-practices.md +73 -0
  178. package/localized/zh-CN/skills/cc-tauri-project-standard/references/practice.md +20 -0
  179. package/localized/zh-CN/skills/cc-tauri-project-standard/references/verification.md +18 -0
  180. package/localized/zh-CN/skills/cc-tdd-methodology/SKILL.md +8 -0
  181. package/localized/zh-CN/skills/cc-tdd-methodology/references/method.md +13 -0
  182. package/localized/zh-CN/skills/cc-technical-diagrams/SKILL.md +34 -0
  183. package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/interactive-diagram.html +371 -371
  184. package/localized/zh-CN/skills/cc-technical-diagrams/assets/quality-examples/README.md +14 -0
  185. package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/sequence.mmd +21 -21
  186. package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/workflow.mmd +7 -7
  187. package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/references/diagram-workflows.md +3 -3
  188. package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/references/html-technical-diagrams.md +7 -7
  189. package/localized/zh-CN/skills/cc-technical-diagrams/references/png-qa-autofix.md +37 -0
  190. package/{skills/fec-image-generation → localized/zh-CN/skills/cc-technical-diagrams}/scripts/diagram-browser.mjs +77 -14
  191. package/localized/zh-CN/skills/cc-technical-diagrams/scripts/diagram-layout.mjs +176 -0
  192. package/localized/zh-CN/skills/cc-technical-diagrams/scripts/png-qa.mjs +462 -0
  193. package/localized/zh-CN/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/SKILL.md +10 -4
  194. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/README.md +7 -0
  195. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/boundary.test.ts +16 -0
  196. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/input.ts +12 -0
  197. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/package.json +12 -0
  198. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/pnpm-lock.yaml +39 -0
  199. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/pnpm-workspace.yaml +1 -0
  200. package/localized/zh-CN/skills/cc-typescript-project-standard/examples/engineering/tsconfig.json +8 -0
  201. package/localized/zh-CN/skills/cc-typescript-project-standard/references/common/engineering-practices.md +237 -0
  202. package/localized/zh-CN/skills/cc-typescript-project-standard/references/common/engineering-practices.rules.json +121 -0
  203. package/localized/zh-CN/skills/cc-typescript-project-standard/references/common/engineering-practices.sources.json +377 -0
  204. package/localized/zh-CN/skills/cc-typescript-project-standard/references/engineering-practices.md +106 -0
  205. package/localized/zh-CN/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/references/type-safety-patterns.md +5 -34
  206. package/localized/zh-CN/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/references/type-safety.md +6 -0
  207. package/localized/zh-CN/skills/eval_queries.json +741 -319
  208. package/localized/zh-CN/skills/fec-api-integration/SKILL.md +5 -1
  209. package/localized/zh-CN/skills/fec-api-integration/references/common/engineering-practices.md +237 -0
  210. package/localized/zh-CN/skills/fec-api-integration/references/common/engineering-practices.rules.json +121 -0
  211. package/localized/zh-CN/skills/fec-api-integration/references/common/engineering-practices.sources.json +377 -0
  212. package/localized/zh-CN/skills/fec-api-integration/references/engineering-practices.md +73 -0
  213. package/localized/zh-CN/skills/fec-code-review/SKILL.md +4 -0
  214. package/localized/zh-CN/skills/fec-code-review/references/common/engineering-practices.md +237 -0
  215. package/localized/zh-CN/skills/fec-code-review/references/common/engineering-practices.rules.json +121 -0
  216. package/localized/zh-CN/skills/fec-code-review/references/common/engineering-practices.sources.json +377 -0
  217. package/localized/zh-CN/skills/fec-code-review/references/engineering-practices.md +73 -0
  218. package/localized/zh-CN/skills/fec-data-fetching/SKILL.md +4 -0
  219. package/localized/zh-CN/skills/fec-data-fetching/references/common/engineering-practices.md +237 -0
  220. package/localized/zh-CN/skills/fec-data-fetching/references/common/engineering-practices.rules.json +121 -0
  221. package/localized/zh-CN/skills/fec-data-fetching/references/common/engineering-practices.sources.json +377 -0
  222. package/localized/zh-CN/skills/fec-data-fetching/references/engineering-practices.md +73 -0
  223. package/localized/zh-CN/skills/fec-debug-framework/SKILL.md +1 -50
  224. package/localized/zh-CN/skills/fec-debug-framework/references/common/debug.md +13 -0
  225. package/localized/zh-CN/skills/fec-dependency-upgrade/SKILL.md +4 -0
  226. package/localized/zh-CN/skills/fec-dependency-upgrade/references/common/engineering-practices.md +237 -0
  227. package/localized/zh-CN/skills/fec-dependency-upgrade/references/common/engineering-practices.rules.json +121 -0
  228. package/localized/zh-CN/skills/fec-dependency-upgrade/references/common/engineering-practices.sources.json +377 -0
  229. package/localized/zh-CN/skills/fec-dependency-upgrade/references/engineering-practices.md +73 -0
  230. package/localized/zh-CN/skills/fec-doc-sync/SKILL.md +7 -28
  231. package/localized/zh-CN/skills/fec-doc-sync/references/common/doc-sync.md +12 -0
  232. package/localized/zh-CN/skills/fec-image-generation/SKILL.md +7 -101
  233. package/localized/zh-CN/skills/fec-image-generation/references/png-qa-autofix.md +1 -1
  234. package/localized/zh-CN/skills/fec-image-generation/scripts/png-qa.mjs +1 -1
  235. package/localized/zh-CN/skills/fec-react-project-standard/SKILL.md +6 -0
  236. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/README.md +7 -0
  237. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/package.json +15 -0
  238. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/pnpm-lock.yaml +662 -0
  239. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/pnpm-workspace.yaml +1 -0
  240. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/request-view.mjs +24 -0
  241. package/localized/zh-CN/skills/fec-react-project-standard/examples/engineering/request-view.test.mjs +33 -0
  242. package/localized/zh-CN/skills/fec-react-project-standard/references/common/engineering-practices.md +237 -0
  243. package/localized/zh-CN/skills/fec-react-project-standard/references/common/engineering-practices.rules.json +121 -0
  244. package/localized/zh-CN/skills/fec-react-project-standard/references/common/engineering-practices.sources.json +377 -0
  245. package/localized/zh-CN/skills/fec-react-project-standard/references/engineering-practices.md +73 -0
  246. package/localized/zh-CN/skills/fec-react-project-standard/references/generic-component-types.md +37 -0
  247. package/localized/zh-CN/skills/fec-react-project-standard/references/react-quality-patterns.md +3 -3
  248. package/localized/zh-CN/skills/fec-react-project-standard/references/react-runtime-patterns.md +1 -1
  249. package/localized/zh-CN/skills/fec-refactoring/SKILL.md +12 -70
  250. package/localized/zh-CN/skills/fec-refactoring/references/common/refactoring.md +16 -0
  251. package/localized/zh-CN/skills/fec-refactoring/references/principles.md +9 -39
  252. package/localized/zh-CN/skills/fec-refactoring/references/workflow.md +4 -56
  253. package/localized/zh-CN/skills/fec-security-review/SKILL.md +4 -0
  254. package/localized/zh-CN/skills/fec-security-review/references/common/engineering-practices.md +237 -0
  255. package/localized/zh-CN/skills/fec-security-review/references/common/engineering-practices.rules.json +121 -0
  256. package/localized/zh-CN/skills/fec-security-review/references/common/engineering-practices.sources.json +377 -0
  257. package/localized/zh-CN/skills/fec-security-review/references/engineering-practices.md +73 -0
  258. package/localized/zh-CN/skills/fec-tdd-workflow/SKILL.md +12 -43
  259. package/localized/zh-CN/skills/fec-tdd-workflow/references/common/tdd.md +13 -0
  260. package/localized/zh-CN/skills/fec-testing-strategy/SKILL.md +4 -0
  261. package/localized/zh-CN/skills/fec-testing-strategy/references/common/engineering-practices.md +237 -0
  262. package/localized/zh-CN/skills/fec-testing-strategy/references/common/engineering-practices.rules.json +121 -0
  263. package/localized/zh-CN/skills/fec-testing-strategy/references/common/engineering-practices.sources.json +377 -0
  264. package/localized/zh-CN/skills/fec-testing-strategy/references/engineering-practices.md +73 -0
  265. package/localized/zh-CN/skills/fec-vue3-project-standard/SKILL.md +4 -0
  266. package/localized/zh-CN/skills/fec-vue3-project-standard/references/common/engineering-practices.md +237 -0
  267. package/localized/zh-CN/skills/fec-vue3-project-standard/references/common/engineering-practices.rules.json +121 -0
  268. package/localized/zh-CN/skills/fec-vue3-project-standard/references/common/engineering-practices.sources.json +377 -0
  269. package/localized/zh-CN/skills/fec-vue3-project-standard/references/engineering-practices.md +73 -0
  270. package/localized/zh-CN/skills/fec-vue3-project-standard/references/vue3-project-structure.md +2 -2
  271. package/localized/zh-CN/skills/metadata.json +2246 -1008
  272. package/localized/zh-CN/skills/relations.json +501 -372
  273. package/localized/zh-CN/templates/shared/rules/fec-source-driven-development.md +3 -29
  274. package/localized/zh-CN/templates/shared/rules/fec-typescript.md +4 -4
  275. package/localized/zh-CN/templates/shared/rules/references/common/source-driven-development.md +19 -0
  276. package/openclaw.plugin.json +1 -1
  277. package/package.json +11 -4
  278. package/skills/cc-c-project-standard/SKILL.md +25 -0
  279. package/skills/cc-c-project-standard/examples/engineering/README.md +7 -0
  280. package/skills/cc-c-project-standard/examples/engineering/boundary.c +26 -0
  281. package/skills/cc-c-project-standard/examples/engineering/boundary.h +15 -0
  282. package/skills/cc-c-project-standard/examples/engineering/boundary_test.c +73 -0
  283. package/skills/cc-c-project-standard/references/common/engineering-practices.md +237 -0
  284. package/skills/cc-c-project-standard/references/common/engineering-practices.rules.json +121 -0
  285. package/skills/cc-c-project-standard/references/common/engineering-practices.sources.json +377 -0
  286. package/skills/cc-c-project-standard/references/engineering-practices.md +106 -0
  287. package/skills/cc-c-project-standard/references/practice.md +37 -0
  288. package/skills/cc-cpp-project-standard/SKILL.md +25 -0
  289. package/skills/cc-cpp-project-standard/examples/engineering/README.md +7 -0
  290. package/skills/cc-cpp-project-standard/examples/engineering/boundary.cpp +26 -0
  291. package/skills/cc-cpp-project-standard/examples/engineering/boundary.hpp +12 -0
  292. package/skills/cc-cpp-project-standard/examples/engineering/boundary_test.cpp +38 -0
  293. package/skills/cc-cpp-project-standard/references/common/engineering-practices.md +237 -0
  294. package/skills/cc-cpp-project-standard/references/common/engineering-practices.rules.json +121 -0
  295. package/skills/cc-cpp-project-standard/references/common/engineering-practices.sources.json +377 -0
  296. package/skills/cc-cpp-project-standard/references/engineering-practices.md +106 -0
  297. package/skills/cc-cpp-project-standard/references/practice.md +37 -0
  298. package/skills/cc-debug-methodology/SKILL.md +8 -0
  299. package/skills/cc-debug-methodology/references/method.md +13 -0
  300. package/skills/cc-doc-sync-core/SKILL.md +8 -0
  301. package/skills/cc-doc-sync-core/references/method.md +12 -0
  302. package/skills/{fec-drawio-studio → cc-drawio-studio}/SKILL.md +5 -5
  303. package/skills/{fec-drawio-studio → cc-drawio-studio}/references/flowchart-quality.md +1 -1
  304. package/skills/{fec-drawio-studio → cc-drawio-studio}/references/layout-and-export.md +9 -9
  305. package/skills/cc-electron-project-standard/SKILL.md +21 -0
  306. package/skills/cc-electron-project-standard/examples/engineering/README.md +7 -0
  307. package/skills/cc-electron-project-standard/examples/engineering/ipc-lifecycle.cjs +44 -0
  308. package/skills/cc-electron-project-standard/examples/engineering/ipc-lifecycle.test.cjs +44 -0
  309. package/skills/cc-electron-project-standard/examples/engineering/package.json +8 -0
  310. package/skills/cc-electron-project-standard/examples/minimal/README.md +9 -0
  311. package/skills/cc-electron-project-standard/examples/minimal/boundary.cjs +19 -0
  312. package/skills/cc-electron-project-standard/examples/minimal/boundary.test.cjs +7 -0
  313. package/skills/cc-electron-project-standard/examples/minimal/index.html +1 -0
  314. package/skills/cc-electron-project-standard/examples/minimal/main.cjs +20 -0
  315. package/skills/cc-electron-project-standard/examples/minimal/package.json +9 -0
  316. package/skills/cc-electron-project-standard/examples/minimal/preload.cjs +2 -0
  317. package/skills/cc-electron-project-standard/examples/minimal/renderer.js +4 -0
  318. package/skills/cc-electron-project-standard/references/common/engineering-practices.md +237 -0
  319. package/skills/cc-electron-project-standard/references/common/engineering-practices.rules.json +121 -0
  320. package/skills/cc-electron-project-standard/references/common/engineering-practices.sources.json +377 -0
  321. package/skills/cc-electron-project-standard/references/engineering-practices.md +73 -0
  322. package/skills/cc-electron-project-standard/references/practice.md +19 -0
  323. package/skills/cc-electron-project-standard/references/verification.md +17 -0
  324. package/skills/cc-go-concurrency/SKILL.md +25 -0
  325. package/skills/cc-go-concurrency/references/common/engineering-practices.md +237 -0
  326. package/skills/cc-go-concurrency/references/common/engineering-practices.rules.json +121 -0
  327. package/skills/cc-go-concurrency/references/common/engineering-practices.sources.json +377 -0
  328. package/skills/cc-go-concurrency/references/engineering-practices.md +73 -0
  329. package/skills/cc-go-concurrency/references/practice.md +37 -0
  330. package/skills/cc-go-project-standard/SKILL.md +25 -0
  331. package/skills/cc-go-project-standard/examples/engineering/README.md +7 -0
  332. package/skills/cc-go-project-standard/examples/engineering/go.mod +3 -0
  333. package/skills/cc-go-project-standard/examples/engineering/lifecycle.go +71 -0
  334. package/skills/cc-go-project-standard/examples/engineering/lifecycle_test.go +22 -0
  335. package/skills/cc-go-project-standard/references/common/engineering-practices.md +237 -0
  336. package/skills/cc-go-project-standard/references/common/engineering-practices.rules.json +121 -0
  337. package/skills/cc-go-project-standard/references/common/engineering-practices.sources.json +377 -0
  338. package/skills/cc-go-project-standard/references/engineering-practices.md +106 -0
  339. package/skills/cc-go-project-standard/references/practice.md +37 -0
  340. package/skills/cc-java-project-standard/SKILL.md +25 -0
  341. package/skills/cc-java-project-standard/examples/engineering/README.md +7 -0
  342. package/skills/cc-java-project-standard/examples/engineering/ResourceBoundary.java +26 -0
  343. package/skills/cc-java-project-standard/examples/engineering/ResourceBoundaryTest.java +41 -0
  344. package/skills/cc-java-project-standard/references/common/engineering-practices.md +237 -0
  345. package/skills/cc-java-project-standard/references/common/engineering-practices.rules.json +121 -0
  346. package/skills/cc-java-project-standard/references/common/engineering-practices.sources.json +377 -0
  347. package/skills/cc-java-project-standard/references/engineering-practices.md +106 -0
  348. package/skills/cc-java-project-standard/references/practice.md +35 -0
  349. package/skills/cc-java-runtime/SKILL.md +25 -0
  350. package/skills/cc-java-runtime/references/common/engineering-practices.md +237 -0
  351. package/skills/cc-java-runtime/references/common/engineering-practices.rules.json +121 -0
  352. package/skills/cc-java-runtime/references/common/engineering-practices.sources.json +377 -0
  353. package/skills/cc-java-runtime/references/engineering-practices.md +73 -0
  354. package/skills/cc-java-runtime/references/practice.md +37 -0
  355. package/skills/cc-native-memory-safety/SKILL.md +25 -0
  356. package/skills/cc-native-memory-safety/references/common/engineering-practices.md +237 -0
  357. package/skills/cc-native-memory-safety/references/common/engineering-practices.rules.json +121 -0
  358. package/skills/cc-native-memory-safety/references/common/engineering-practices.sources.json +377 -0
  359. package/skills/cc-native-memory-safety/references/engineering-practices.md +73 -0
  360. package/skills/cc-native-memory-safety/references/practice.md +37 -0
  361. package/skills/cc-python-async/SKILL.md +25 -0
  362. package/skills/cc-python-async/references/common/engineering-practices.md +237 -0
  363. package/skills/cc-python-async/references/common/engineering-practices.rules.json +121 -0
  364. package/skills/cc-python-async/references/common/engineering-practices.sources.json +377 -0
  365. package/skills/cc-python-async/references/engineering-practices.md +73 -0
  366. package/skills/cc-python-async/references/practice.md +37 -0
  367. package/skills/cc-python-project-standard/SKILL.md +25 -0
  368. package/skills/cc-python-project-standard/examples/engineering/README.md +7 -0
  369. package/skills/cc-python-project-standard/examples/engineering/resource_boundary.py +37 -0
  370. package/skills/cc-python-project-standard/examples/engineering/test_resource_boundary.py +49 -0
  371. package/skills/cc-python-project-standard/references/common/engineering-practices.md +237 -0
  372. package/skills/cc-python-project-standard/references/common/engineering-practices.rules.json +121 -0
  373. package/skills/cc-python-project-standard/references/common/engineering-practices.sources.json +377 -0
  374. package/skills/cc-python-project-standard/references/engineering-practices.md +106 -0
  375. package/skills/cc-python-project-standard/references/practice.md +37 -0
  376. package/skills/cc-refactoring-core/SKILL.md +8 -0
  377. package/skills/cc-refactoring-core/references/method.md +16 -0
  378. package/skills/cc-rust-async/SKILL.md +25 -0
  379. package/skills/cc-rust-async/references/common/engineering-practices.md +237 -0
  380. package/skills/cc-rust-async/references/common/engineering-practices.rules.json +121 -0
  381. package/skills/cc-rust-async/references/common/engineering-practices.sources.json +377 -0
  382. package/skills/cc-rust-async/references/engineering-practices.md +73 -0
  383. package/skills/cc-rust-async/references/practice.md +37 -0
  384. package/skills/cc-rust-project-standard/SKILL.md +25 -0
  385. package/skills/cc-rust-project-standard/examples/engineering/Cargo.lock +7 -0
  386. package/skills/cc-rust-project-standard/examples/engineering/Cargo.toml +8 -0
  387. package/skills/cc-rust-project-standard/examples/engineering/README.md +5 -0
  388. package/skills/cc-rust-project-standard/examples/engineering/src/lib.rs +43 -0
  389. package/skills/cc-rust-project-standard/references/common/engineering-practices.md +237 -0
  390. package/skills/cc-rust-project-standard/references/common/engineering-practices.rules.json +121 -0
  391. package/skills/cc-rust-project-standard/references/common/engineering-practices.sources.json +377 -0
  392. package/skills/cc-rust-project-standard/references/engineering-practices.md +106 -0
  393. package/skills/cc-rust-project-standard/references/practice.md +37 -0
  394. package/skills/cc-source-driven-development/SKILL.md +8 -0
  395. package/skills/cc-source-driven-development/references/method.md +19 -0
  396. package/skills/cc-tauri-project-standard/SKILL.md +21 -0
  397. package/skills/cc-tauri-project-standard/examples/minimal/README.md +9 -0
  398. package/skills/cc-tauri-project-standard/examples/minimal/core/Cargo.lock +5 -0
  399. package/skills/cc-tauri-project-standard/examples/minimal/core/Cargo.toml +9 -0
  400. package/skills/cc-tauri-project-standard/examples/minimal/core/src/lib.rs +46 -0
  401. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/Cargo.toml +12 -0
  402. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/build.rs +5 -0
  403. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/capabilities/main.json +6 -0
  404. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/permissions/documents.toml +4 -0
  405. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/src/main.rs +22 -0
  406. package/skills/cc-tauri-project-standard/examples/minimal/src-tauri/tauri.conf.json +13 -0
  407. package/skills/cc-tauri-project-standard/examples/minimal/ui/app.js +5 -0
  408. package/skills/cc-tauri-project-standard/examples/minimal/ui/index.html +1 -0
  409. package/skills/cc-tauri-project-standard/references/common/engineering-practices.md +237 -0
  410. package/skills/cc-tauri-project-standard/references/common/engineering-practices.rules.json +121 -0
  411. package/skills/cc-tauri-project-standard/references/common/engineering-practices.sources.json +377 -0
  412. package/skills/cc-tauri-project-standard/references/engineering-practices.md +73 -0
  413. package/skills/cc-tauri-project-standard/references/practice.md +20 -0
  414. package/skills/cc-tauri-project-standard/references/verification.md +18 -0
  415. package/skills/cc-tdd-methodology/SKILL.md +8 -0
  416. package/skills/cc-tdd-methodology/references/method.md +13 -0
  417. package/skills/cc-technical-diagrams/SKILL.md +34 -0
  418. package/skills/{fec-image-generation → cc-technical-diagrams}/assets/interactive-diagram.html +371 -371
  419. package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/README.md +5 -5
  420. package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/sequence.mmd +21 -21
  421. package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/workflow.mmd +7 -7
  422. package/skills/{fec-image-generation → cc-technical-diagrams}/references/diagram-workflows.md +3 -3
  423. package/skills/{fec-image-generation → cc-technical-diagrams}/references/html-technical-diagrams.md +7 -7
  424. package/skills/cc-technical-diagrams/references/png-qa-autofix.md +37 -0
  425. package/{localized/zh-CN/skills/fec-image-generation → skills/cc-technical-diagrams}/scripts/diagram-browser.mjs +77 -14
  426. package/skills/cc-technical-diagrams/scripts/diagram-layout.mjs +176 -0
  427. package/skills/cc-technical-diagrams/scripts/png-qa.mjs +462 -0
  428. package/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/SKILL.md +10 -4
  429. package/skills/cc-typescript-project-standard/examples/engineering/README.md +9 -0
  430. package/skills/cc-typescript-project-standard/examples/engineering/boundary.test.ts +16 -0
  431. package/skills/cc-typescript-project-standard/examples/engineering/input.ts +12 -0
  432. package/skills/cc-typescript-project-standard/examples/engineering/package.json +12 -0
  433. package/skills/cc-typescript-project-standard/examples/engineering/pnpm-lock.yaml +39 -0
  434. package/skills/cc-typescript-project-standard/examples/engineering/pnpm-workspace.yaml +1 -0
  435. package/skills/cc-typescript-project-standard/examples/engineering/tsconfig.json +8 -0
  436. package/skills/cc-typescript-project-standard/references/common/engineering-practices.md +237 -0
  437. package/skills/cc-typescript-project-standard/references/common/engineering-practices.rules.json +121 -0
  438. package/skills/cc-typescript-project-standard/references/common/engineering-practices.sources.json +377 -0
  439. package/skills/cc-typescript-project-standard/references/engineering-practices.md +106 -0
  440. package/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/references/type-safety-patterns.md +6 -35
  441. package/skills/{fec-typescript-project-standard → cc-typescript-project-standard}/references/type-safety.md +7 -1
  442. package/skills/eval_queries.json +741 -319
  443. package/skills/fec-api-integration/SKILL.md +5 -1
  444. package/skills/fec-api-integration/references/common/engineering-practices.md +237 -0
  445. package/skills/fec-api-integration/references/common/engineering-practices.rules.json +121 -0
  446. package/skills/fec-api-integration/references/common/engineering-practices.sources.json +377 -0
  447. package/skills/fec-api-integration/references/engineering-practices.md +73 -0
  448. package/skills/fec-code-review/SKILL.md +4 -0
  449. package/skills/fec-code-review/references/common/engineering-practices.md +237 -0
  450. package/skills/fec-code-review/references/common/engineering-practices.rules.json +121 -0
  451. package/skills/fec-code-review/references/common/engineering-practices.sources.json +377 -0
  452. package/skills/fec-code-review/references/engineering-practices.md +73 -0
  453. package/skills/fec-data-fetching/SKILL.md +4 -0
  454. package/skills/fec-data-fetching/references/common/engineering-practices.md +237 -0
  455. package/skills/fec-data-fetching/references/common/engineering-practices.rules.json +121 -0
  456. package/skills/fec-data-fetching/references/common/engineering-practices.sources.json +377 -0
  457. package/skills/fec-data-fetching/references/engineering-practices.md +73 -0
  458. package/skills/fec-debug-framework/SKILL.md +2 -51
  459. package/skills/fec-debug-framework/references/common/debug.md +13 -0
  460. package/skills/fec-dependency-upgrade/SKILL.md +4 -0
  461. package/skills/fec-dependency-upgrade/references/common/engineering-practices.md +237 -0
  462. package/skills/fec-dependency-upgrade/references/common/engineering-practices.rules.json +121 -0
  463. package/skills/fec-dependency-upgrade/references/common/engineering-practices.sources.json +377 -0
  464. package/skills/fec-dependency-upgrade/references/engineering-practices.md +73 -0
  465. package/skills/fec-doc-sync/SKILL.md +7 -28
  466. package/skills/fec-doc-sync/references/common/doc-sync.md +12 -0
  467. package/skills/fec-image-generation/SKILL.md +7 -102
  468. package/skills/fec-image-generation/references/png-qa-autofix.md +1 -1
  469. package/skills/fec-image-generation/scripts/png-qa.mjs +1 -1
  470. package/skills/fec-react-project-standard/SKILL.md +6 -0
  471. package/skills/fec-react-project-standard/examples/engineering/README.md +7 -0
  472. package/skills/fec-react-project-standard/examples/engineering/package.json +15 -0
  473. package/skills/fec-react-project-standard/examples/engineering/pnpm-lock.yaml +662 -0
  474. package/skills/fec-react-project-standard/examples/engineering/pnpm-workspace.yaml +1 -0
  475. package/skills/fec-react-project-standard/examples/engineering/request-view.mjs +24 -0
  476. package/skills/fec-react-project-standard/examples/engineering/request-view.test.mjs +33 -0
  477. package/skills/fec-react-project-standard/references/common/engineering-practices.md +237 -0
  478. package/skills/fec-react-project-standard/references/common/engineering-practices.rules.json +121 -0
  479. package/skills/fec-react-project-standard/references/common/engineering-practices.sources.json +377 -0
  480. package/skills/fec-react-project-standard/references/engineering-practices.md +73 -0
  481. package/skills/fec-react-project-standard/references/generic-component-types.md +37 -0
  482. package/skills/fec-react-project-standard/references/react-quality-patterns.md +3 -3
  483. package/skills/fec-react-project-standard/references/react-runtime-patterns.md +1 -1
  484. package/skills/fec-refactoring/SKILL.md +12 -70
  485. package/skills/fec-refactoring/references/common/refactoring.md +16 -0
  486. package/skills/fec-refactoring/references/principles.md +9 -56
  487. package/skills/fec-refactoring/references/workflow.md +4 -87
  488. package/skills/fec-security-review/SKILL.md +4 -0
  489. package/skills/fec-security-review/references/common/engineering-practices.md +237 -0
  490. package/skills/fec-security-review/references/common/engineering-practices.rules.json +121 -0
  491. package/skills/fec-security-review/references/common/engineering-practices.sources.json +377 -0
  492. package/skills/fec-security-review/references/engineering-practices.md +73 -0
  493. package/skills/fec-tdd-workflow/SKILL.md +13 -45
  494. package/skills/fec-tdd-workflow/references/common/tdd.md +13 -0
  495. package/skills/fec-testing-strategy/SKILL.md +4 -0
  496. package/skills/fec-testing-strategy/references/common/engineering-practices.md +237 -0
  497. package/skills/fec-testing-strategy/references/common/engineering-practices.rules.json +121 -0
  498. package/skills/fec-testing-strategy/references/common/engineering-practices.sources.json +377 -0
  499. package/skills/fec-testing-strategy/references/engineering-practices.md +73 -0
  500. package/skills/fec-vue3-project-standard/SKILL.md +4 -0
  501. package/skills/fec-vue3-project-standard/references/common/engineering-practices.md +237 -0
  502. package/skills/fec-vue3-project-standard/references/common/engineering-practices.rules.json +121 -0
  503. package/skills/fec-vue3-project-standard/references/common/engineering-practices.sources.json +377 -0
  504. package/skills/fec-vue3-project-standard/references/engineering-practices.md +73 -0
  505. package/skills/fec-vue3-project-standard/references/vue3-project-structure.md +2 -2
  506. package/skills/metadata.json +2246 -1008
  507. package/skills/relations.json +501 -372
  508. package/templates/shared/rules/fec-source-driven-development.md +3 -29
  509. package/templates/shared/rules/fec-typescript.md +4 -4
  510. package/templates/shared/rules/references/common/source-driven-development.md +19 -0
  511. package/localized/zh-CN/skills/fec-image-generation/assets/quality-examples/README.md +0 -14
  512. package/localized/zh-CN/skills/fec-source-driven-development/SKILL.md +0 -87
  513. package/skills/fec-source-driven-development/SKILL.md +0 -87
  514. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/data/THIRD_PARTY_NOTICES.md +0 -0
  515. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/data/brand-icons.json +0 -0
  516. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/data/shape-index.json +0 -0
  517. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/data-residency.md +0 -0
  518. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/diagram-patterns.md +0 -0
  519. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/troubleshooting.md +0 -0
  520. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/references/xml-and-mermaid.md +0 -0
  521. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/brand-symbols.mjs +0 -0
  522. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/diagram-lint.mjs +0 -0
  523. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/diagram-url.mjs +0 -0
  524. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/drawio-export.mjs +0 -0
  525. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/layout-graph.mjs +0 -0
  526. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/png-embed-fix.mjs +0 -0
  527. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-go-packages.mjs +0 -0
  528. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-js-modules.mjs +0 -0
  529. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-python-classes.mjs +0 -0
  530. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-python-modules.mjs +0 -0
  531. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-rust-modules.mjs +0 -0
  532. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-ts-modules.mjs +0 -0
  533. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/shape-query.mjs +0 -0
  534. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/studio-core.mjs +0 -0
  535. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/corporate.json +0 -0
  536. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/default.json +0 -0
  537. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/handdrawn.json +0 -0
  538. /package/localized/zh-CN/skills/{fec-drawio-studio → cc-drawio-studio}/styles/schema.json +0 -0
  539. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/architecture.json +0 -0
  540. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/invalid-explicit.json +0 -0
  541. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/sequence.json +0 -0
  542. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/workflow.json +0 -0
  543. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/scripts/export-diagram.mjs +0 -0
  544. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/scripts/interactive-diagram-server.mjs +0 -0
  545. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/scripts/mermaid-render.mjs +0 -0
  546. /package/localized/zh-CN/skills/{fec-image-generation → cc-technical-diagrams}/scripts/tech-diagram-render.mjs +0 -0
  547. /package/skills/{fec-drawio-studio → cc-drawio-studio}/data/THIRD_PARTY_NOTICES.md +0 -0
  548. /package/skills/{fec-drawio-studio → cc-drawio-studio}/data/brand-icons.json +0 -0
  549. /package/skills/{fec-drawio-studio → cc-drawio-studio}/data/shape-index.json +0 -0
  550. /package/skills/{fec-drawio-studio → cc-drawio-studio}/references/data-residency.md +0 -0
  551. /package/skills/{fec-drawio-studio → cc-drawio-studio}/references/diagram-patterns.md +0 -0
  552. /package/skills/{fec-drawio-studio → cc-drawio-studio}/references/troubleshooting.md +0 -0
  553. /package/skills/{fec-drawio-studio → cc-drawio-studio}/references/xml-and-mermaid.md +0 -0
  554. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/brand-symbols.mjs +0 -0
  555. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/diagram-lint.mjs +0 -0
  556. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/diagram-url.mjs +0 -0
  557. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/drawio-export.mjs +0 -0
  558. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/layout-graph.mjs +0 -0
  559. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/png-embed-fix.mjs +0 -0
  560. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-go-packages.mjs +0 -0
  561. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-js-modules.mjs +0 -0
  562. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-python-classes.mjs +0 -0
  563. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-python-modules.mjs +0 -0
  564. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-rust-modules.mjs +0 -0
  565. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/scan-ts-modules.mjs +0 -0
  566. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/shape-query.mjs +0 -0
  567. /package/skills/{fec-drawio-studio → cc-drawio-studio}/scripts/studio-core.mjs +0 -0
  568. /package/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/corporate.json +0 -0
  569. /package/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/default.json +0 -0
  570. /package/skills/{fec-drawio-studio → cc-drawio-studio}/styles/built-in/handdrawn.json +0 -0
  571. /package/skills/{fec-drawio-studio → cc-drawio-studio}/styles/schema.json +0 -0
  572. /package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/architecture.json +0 -0
  573. /package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/invalid-explicit.json +0 -0
  574. /package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/sequence.json +0 -0
  575. /package/skills/{fec-image-generation → cc-technical-diagrams}/assets/quality-examples/workflow.json +0 -0
  576. /package/skills/{fec-image-generation → cc-technical-diagrams}/scripts/export-diagram.mjs +0 -0
  577. /package/skills/{fec-image-generation → cc-technical-diagrams}/scripts/interactive-diagram-server.mjs +0 -0
  578. /package/skills/{fec-image-generation → cc-technical-diagrams}/scripts/mermaid-render.mjs +0 -0
  579. /package/skills/{fec-image-generation → cc-technical-diagrams}/scripts/tech-diagram-render.mjs +0 -0
@@ -1,4 +1,498 @@
1
1
  {
2
+ "cc-c-project-standard": {
3
+ "should_trigger": [
4
+ "Review or fix C allocation cleanup paths",
5
+ "Review or fix C library ABI compatibility",
6
+ "Review or fix C output initialization on failure",
7
+ "Review or fix C buffer length validation",
8
+ "Review or fix C integer overflow at allocation",
9
+ "Review or fix pure C ownership transfer",
10
+ "Review or fix C header implementation boundaries",
11
+ "Review or fix C failure injection tests",
12
+ "Review pure C allocation size and allocator pairing without a C++ migration"
13
+ ],
14
+ "should_not_trigger": [
15
+ "Only adjust CSS spacing without code contracts",
16
+ "Translate product copy without programming",
17
+ "Generate a poster illustration",
18
+ "Choose a restaurant for dinner",
19
+ "Change a database index without language code",
20
+ "Design framework component routing without language configuration",
21
+ "Rewrite a marketing headline",
22
+ "Produce an audio soundtrack",
23
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
24
+ ]
25
+ },
26
+ "cc-cpp-project-standard": {
27
+ "should_trigger": [
28
+ "Review or fix C++ library RAII ownership",
29
+ "Review or fix C++ exception guarantees",
30
+ "Review or fix C++ desktop plugin ABI",
31
+ "Review or fix C++ partial construction cleanup",
32
+ "Review or fix C++ callback lifetime",
33
+ "Review or fix C++ compiler standard preservation",
34
+ "Review or fix C++ custom deleter pairing",
35
+ "Review or fix C++ module teardown synchronization",
36
+ "Review borrowed C++ plugin pointer cleanup while preserving disabled-exception policy"
37
+ ],
38
+ "should_not_trigger": [
39
+ "Only adjust CSS spacing without code contracts",
40
+ "Translate product copy without programming",
41
+ "Generate a poster illustration",
42
+ "Choose a restaurant for dinner",
43
+ "Change a database index without language code",
44
+ "Design framework component routing without language configuration",
45
+ "Rewrite a marketing headline",
46
+ "Produce an audio soundtrack",
47
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
48
+ ]
49
+ },
50
+ "cc-debug-methodology": {
51
+ "should_trigger": [
52
+ "Vite build error reports Module not found, please help me troubleshoot",
53
+ "The page has a white screen and a TypeError appears in the console.",
54
+ "The rendering result of this component is inconsistent with expectations. Help me debug it.",
55
+ "The interface returns 500 but the front end does not display the error message",
56
+ "Styles are lost after packaging, but the development environment is normal",
57
+ "How to locate hydration mismatch in React components",
58
+ "Page status lost after HMR update",
59
+ "Troubleshoot sporadic JS exceptions in production environments"
60
+ ],
61
+ "should_not_trigger": [
62
+ "Write unit tests for this module",
63
+ "Design a new React component",
64
+ "Optimize first screen loading performance",
65
+ "Do front-end security review",
66
+ "Upgrade TypeScript to the latest version",
67
+ "Refactor the logic of this hooks",
68
+ "Write a Playwright E2E test",
69
+ "Design type definitions for this API"
70
+ ]
71
+ },
72
+ "cc-doc-sync-core": {
73
+ "should_trigger": [
74
+ "Synchronize the number of skills and agents in README",
75
+ "Update multi-language documentation after adding a new command",
76
+ "Generate command list based on package.json",
77
+ "docs sync for runtime documentation",
78
+ "Update capability quantity in marketplace description",
79
+ "Check whether README and skills metadata are consistent",
80
+ "Synchronize report output table to document",
81
+ "Update the commands list in the project structure document"
82
+ ],
83
+ "should_not_trigger": [
84
+ "Write Storybook stories for components",
85
+ "Fix TypeScript build failure",
86
+ "Write login E2E test",
87
+ "Review XSS risks",
88
+ "Planning React component boundaries",
89
+ "Clean up unused exports",
90
+ "Implement PWA manifest",
91
+ "Optimize virtual list scrolling"
92
+ ]
93
+ },
94
+ "cc-drawio-studio": {
95
+ "should_trigger": [
96
+ "Generate an editable draw.io architecture diagram and export it as a PNG",
97
+ "Draw this microservice system as a .drawio file",
98
+ "Use diagrams.net to make ER diagrams, requiring the ability to edit them later.",
99
+ "Check out the official shape style of AWS Lambda in draw.io",
100
+ "Generate a module dependency graph for this TypeScript project and automatically lay it out",
101
+ "Generate UML class diagram and export to SVG using draw.io CLI",
102
+ "draw.io automatically layouts a service topology with more than 20 nodes",
103
+ "Generate diagrams.net editing link after layout with Graphviz",
104
+ "Make an editable sequence diagram and check .drawio for broken edges",
105
+ "create an editable drawio architecture diagram with official cloud shapes"
106
+ ],
107
+ "should_not_trigger": [
108
+ "Generate a product promotional poster image",
109
+ "Edit this photo and replace the background",
110
+ "Implement Three.js interactive 3D topology map",
111
+ "Add path stroke animation to SVG logo",
112
+ "Just write Mermaid into the README",
113
+ "Implement the page according to the Figma design draft",
114
+ "Check dashboard button hover state",
115
+ "Visual regression using Playwright screenshots",
116
+ "Optimize Canvas particle animation performance",
117
+ "Generate comic avatars and brand boards"
118
+ ]
119
+ },
120
+ "cc-electron-project-standard": {
121
+ "should_trigger": [
122
+ "Validate Electron IPC sender before effects",
123
+ "Restrict an Electron contextBridge API",
124
+ "Review Electron main preload renderer contracts",
125
+ "Enable and verify Electron sandbox boundaries",
126
+ "Restrict Electron navigation and new windows",
127
+ "Review Electron secure custom protocol assets",
128
+ "Check Electron native module ABI packaging",
129
+ "Own Electron IPC handlers during shutdown",
130
+ "Review Electron IPC delayed preparation after its window closed"
131
+ ],
132
+ "should_not_trigger": [
133
+ "Implement a Node HTTP API without Electron",
134
+ "Organize an ordinary Rust library",
135
+ "Only adjust a Vue CSS color",
136
+ "Design Tauri capabilities",
137
+ "Tune a Go worker channel",
138
+ "Translate a marketing headline",
139
+ "Review a database isolation level",
140
+ "Generate a diagram without code changes",
141
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
142
+ ]
143
+ },
144
+ "cc-go-concurrency": {
145
+ "should_trigger": [
146
+ "Review or fix Go worker cancellation",
147
+ "Review or fix Go channel close ownership",
148
+ "Review or fix Go blocked send after receiver exit",
149
+ "Review or fix bounded Go goroutines",
150
+ "Review or fix Go synchronization happens-before",
151
+ "Review or fix Go concurrent shutdown race",
152
+ "Review or fix Go queue saturation tests",
153
+ "Review or fix Go worker completion evidence",
154
+ "Review blocked Go channel shutdown and completion of both workers"
155
+ ],
156
+ "should_not_trigger": [
157
+ "Only adjust CSS spacing without code contracts",
158
+ "Translate product copy without programming",
159
+ "Generate a poster illustration",
160
+ "Choose a restaurant for dinner",
161
+ "Change a database index without language code",
162
+ "Design framework component routing without language configuration",
163
+ "Rewrite a marketing headline",
164
+ "Produce an audio soundtrack",
165
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
166
+ ]
167
+ },
168
+ "cc-go-project-standard": {
169
+ "should_trigger": [
170
+ "Review or fix go.work submodule boundaries",
171
+ "Review or fix Go internal package organization",
172
+ "Review or fix error wrapping in a Go CLI",
173
+ "Review or fix Go context ownership in blocking operations",
174
+ "Review or fix Go resource factory cleanup",
175
+ "Review or fix Go module import compatibility",
176
+ "Review or fix targeted Go vet and test commands",
177
+ "Review or fix Go public interface design",
178
+ "Review a Go library context and error boundary without adding HTTP layers"
179
+ ],
180
+ "should_not_trigger": [
181
+ "Only adjust CSS spacing without code contracts",
182
+ "Translate product copy without programming",
183
+ "Generate a poster illustration",
184
+ "Choose a restaurant for dinner",
185
+ "Change a database index without language code",
186
+ "Design framework component routing without language configuration",
187
+ "Rewrite a marketing headline",
188
+ "Produce an audio soundtrack",
189
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
190
+ ]
191
+ },
192
+ "cc-java-project-standard": {
193
+ "should_trigger": [
194
+ "Review or fix Java library public module boundary",
195
+ "Review or fix Java CLI exception causes",
196
+ "Review or fix Swing module executor cleanup",
197
+ "Review or fix JavaFX blocking work ownership",
198
+ "Review or fix Maven wrapper version preservation",
199
+ "Review or fix Gradle module dependency boundaries",
200
+ "Review or fix Java file handle closure",
201
+ "Review or fix Java library behavior tests",
202
+ "Review Java library partial initialization and cause without adding a Web framework"
203
+ ],
204
+ "should_not_trigger": [
205
+ "Only adjust CSS spacing without code contracts",
206
+ "Translate product copy without programming",
207
+ "Generate a poster illustration",
208
+ "Choose a restaurant for dinner",
209
+ "Change a database index without language code",
210
+ "Design framework component routing without language configuration",
211
+ "Rewrite a marketing headline",
212
+ "Produce an audio soundtrack",
213
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
214
+ ]
215
+ },
216
+ "cc-java-runtime": {
217
+ "should_trigger": [
218
+ "Review or fix JVM thread pool queue growth",
219
+ "Review or fix Java desktop thread contention",
220
+ "Review or fix bounded JFR evidence",
221
+ "Review or fix Java GC allocation pressure",
222
+ "Review or fix Java operation deadline overload",
223
+ "Review or fix Java controlled heap comparison",
224
+ "Review or fix Java thread dump sampling",
225
+ "Review or fix Java runtime recovery thresholds",
226
+ "Diagnose an owned Java executor that does not terminate after shutdown"
227
+ ],
228
+ "should_not_trigger": [
229
+ "Only adjust CSS spacing without code contracts",
230
+ "Translate product copy without programming",
231
+ "Generate a poster illustration",
232
+ "Choose a restaurant for dinner",
233
+ "Change a database index without language code",
234
+ "Design framework component routing without language configuration",
235
+ "Rewrite a marketing headline",
236
+ "Produce an audio soundtrack",
237
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
238
+ ]
239
+ },
240
+ "cc-native-memory-safety": {
241
+ "should_trigger": [
242
+ "Review or fix C C++ FFI allocator pairing",
243
+ "Review or fix Rust native borrowed buffer lifetime",
244
+ "Review or fix native callback after unload",
245
+ "Review or fix C partial initialization failure",
246
+ "Review or fix C++ cross-DLL exception boundary",
247
+ "Review or fix native repeated close behavior",
248
+ "Review or fix native concurrent destruction race",
249
+ "Review or fix address sanitizer reproduction evidence",
250
+ "Review callback completion before native plugin allocator release and unload"
251
+ ],
252
+ "should_not_trigger": [
253
+ "Only adjust CSS spacing without code contracts",
254
+ "Translate product copy without programming",
255
+ "Generate a poster illustration",
256
+ "Choose a restaurant for dinner",
257
+ "Change a database index without language code",
258
+ "Design framework component routing without language configuration",
259
+ "Rewrite a marketing headline",
260
+ "Produce an audio soundtrack",
261
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
262
+ ]
263
+ },
264
+ "cc-python-async": {
265
+ "should_trigger": [
266
+ "Review or fix Python task cancellation cleanup",
267
+ "Review or fix Python blocking client offloading",
268
+ "Review or fix Python async executor bounds",
269
+ "Review or fix Python async pool ownership",
270
+ "Review or fix Python TaskGroup error propagation",
271
+ "Review or fix Python coroutine shutdown deadline",
272
+ "Review or fix Python thread lifetime after cancellation",
273
+ "Review or fix Python async resource acquisition timeout",
274
+ "Review cancellation of an asyncio waiter while its blocking operation continues"
275
+ ],
276
+ "should_not_trigger": [
277
+ "Only adjust CSS spacing without code contracts",
278
+ "Translate product copy without programming",
279
+ "Generate a poster illustration",
280
+ "Choose a restaurant for dinner",
281
+ "Change a database index without language code",
282
+ "Design framework component routing without language configuration",
283
+ "Rewrite a marketing headline",
284
+ "Produce an audio soundtrack",
285
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
286
+ ]
287
+ },
288
+ "cc-python-project-standard": {
289
+ "should_trigger": [
290
+ "Review or fix Python CLI package layout",
291
+ "Review or fix pyproject environment conventions",
292
+ "Review or fix Python library type boundaries",
293
+ "Review or fix Python import-time side effects",
294
+ "Review or fix Python resource context manager",
295
+ "Review or fix existing Ruff mypy pytest scripts",
296
+ "Review or fix Python public package imports",
297
+ "Review or fix Python malformed input behavior",
298
+ "Remove Python library import-time external initialization and preserve cleanup"
299
+ ],
300
+ "should_not_trigger": [
301
+ "Only adjust CSS spacing without code contracts",
302
+ "Translate product copy without programming",
303
+ "Generate a poster illustration",
304
+ "Choose a restaurant for dinner",
305
+ "Change a database index without language code",
306
+ "Design framework component routing without language configuration",
307
+ "Rewrite a marketing headline",
308
+ "Produce an audio soundtrack",
309
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
310
+ ]
311
+ },
312
+ "cc-refactoring-core": {
313
+ "should_trigger": [
314
+ "Keep observable behavior unchanged while restructuring this frontend module.",
315
+ "Refactor this function in small verified steps without changing its output or side effects.",
316
+ "Improve the structure of this React feature but preserve behavior exactly.",
317
+ "Clean up the architecture of this Vue composable without adding features.",
318
+ "Use a diff budget and rollback boundary for this behavior-preserving refactor.",
319
+ "Restructure this TypeScript service with a green baseline before and after each step.",
320
+ "Refactor this code with SAFE CAUTION DANGER risk classification.",
321
+ "Plan and execute a behavior-preserving refactoring with verification after every step."
322
+ ],
323
+ "should_not_trigger": [
324
+ "Remove unused components and dependencies from this project.",
325
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
326
+ "Migrate this Redux store to Zustand.",
327
+ "Review this PR and tell me whether it is safe to merge.",
328
+ "Debug why this page renders a blank screen.",
329
+ "Implement a new payment workflow using TDD.",
330
+ "Upgrade Vite and update all breaking configuration changes.",
331
+ "Add a new responsive dashboard from this Figma design."
332
+ ]
333
+ },
334
+ "cc-rust-async": {
335
+ "should_trigger": [
336
+ "Review or fix Rust future cancellation safety",
337
+ "Review or fix Tokio partial write cancellation",
338
+ "Review or fix bounded Rust spawned tasks",
339
+ "Review or fix Rust JoinHandle shutdown ownership",
340
+ "Review or fix Rust blocking I/O boundary",
341
+ "Review or fix Rust async queue backpressure",
342
+ "Review or fix Rust async resource acquisition cancellation",
343
+ "Review or fix Rust async timeout recovery",
344
+ "Review cancellation and joining of existing Rust async tasks after a desktop window closes"
345
+ ],
346
+ "should_not_trigger": [
347
+ "Only adjust CSS spacing without code contracts",
348
+ "Translate product copy without programming",
349
+ "Generate a poster illustration",
350
+ "Choose a restaurant for dinner",
351
+ "Change a database index without language code",
352
+ "Design framework component routing without language configuration",
353
+ "Rewrite a marketing headline",
354
+ "Produce an audio soundtrack",
355
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
356
+ ]
357
+ },
358
+ "cc-rust-project-standard": {
359
+ "should_trigger": [
360
+ "Review or fix Cargo workspace crate boundaries",
361
+ "Review or fix Rust MSRV and edition configuration",
362
+ "Review or fix Rust library borrowing contract",
363
+ "Review or fix Result propagation in a Rust CLI",
364
+ "Review or fix public Rust module visibility",
365
+ "Review or fix Rust library release checks",
366
+ "Review or fix Rust adapter dependency direction",
367
+ "Review or fix Rust resource ownership transfer",
368
+ "Review Rust Result cause and partial acquisition cleanup in a desktop core"
369
+ ],
370
+ "should_not_trigger": [
371
+ "Only adjust CSS spacing without code contracts",
372
+ "Translate product copy without programming",
373
+ "Generate a poster illustration",
374
+ "Choose a restaurant for dinner",
375
+ "Change a database index without language code",
376
+ "Design framework component routing without language configuration",
377
+ "Rewrite a marketing headline",
378
+ "Produce an audio soundtrack",
379
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
380
+ ]
381
+ },
382
+ "cc-source-driven-development": {
383
+ "should_trigger": [
384
+ "For this new version of Next.js API, please check the official documentation before making a decision.",
385
+ "Help me confirm whether the current version of Vite configuration items is still recommended",
386
+ "This browser API compatibility is subject to specifications and MDN",
387
+ "source-driven decision for a frontend library migration",
388
+ "React Router version differences require checking documentation",
389
+ "Do not judge the ESM/CJS behavior of this package from memory.",
390
+ "Design public interfaces based on project source code and official docs",
391
+ "Verify the latest recommended usage of Nuxt useFetch"
392
+ ],
393
+ "should_not_trigger": [
394
+ "Write Zod validation to the form",
395
+ "Optimize virtual scrolling of large lists",
396
+ "Run npm test and fix the failure",
397
+ "Check button aria-label",
398
+ "Writing the Playwright Login Flow",
399
+ "Clean up unused dependencies",
400
+ "Design UI visual direction",
401
+ "Review token storage security"
402
+ ]
403
+ },
404
+ "cc-tauri-project-standard": {
405
+ "should_trigger": [
406
+ "Review Tauri command input validation",
407
+ "Restrict a Tauri 2 capability to one window",
408
+ "Review Tauri app command permission generation",
409
+ "Define a Tauri invoke error contract",
410
+ "Own Tauri managed-state shutdown",
411
+ "Bound blocking work in a Tauri core",
412
+ "Verify Tauri target bundle resources",
413
+ "Review Tauri plugin and sidecar authority",
414
+ "Review actual Tauri2 selected capability and app-command permission boundaries"
415
+ ],
416
+ "should_not_trigger": [
417
+ "Organize an ordinary Rust library with no Tauri",
418
+ "Tune a Node HTTP server without a WebView",
419
+ "Only adjust a React CSS margin",
420
+ "Design a Go CLI flag parser",
421
+ "Edit an Electron preload script",
422
+ "Translate a poster caption",
423
+ "Review a SQL execution plan",
424
+ "Format unrelated Python files",
425
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
426
+ ]
427
+ },
428
+ "cc-tdd-methodology": {
429
+ "should_trigger": [
430
+ "Implement this hook using TDD",
431
+ "Write the failing test first and then fix the bug",
432
+ "Go through the refactoring process for new components",
433
+ "Add a regression test and change the logic",
434
+ "test driven development for this frontend feature",
435
+ "This tool function first writes a single test and then implements it",
436
+ "Reproduce the test before fixing the form validation bug",
437
+ "Reconstruct state logic using a test-driven approach"
438
+ ],
439
+ "should_not_trigger": [
440
+ "Only run existing tests and fix failures",
441
+ "Develop a test tiering strategy",
442
+ "Write the complete Playwright E2E process",
443
+ "Synchronization document capability table",
444
+ "Clean up unused dependencies",
445
+ "Do an XSS security review",
446
+ "Design Vue project structure",
447
+ "Configure PWA offline caching"
448
+ ]
449
+ },
450
+ "cc-technical-diagrams": {
451
+ "should_trigger": [
452
+ "Draw the lifecycle of a backend job as an editable diagram",
453
+ "Export an architecture JSON source to self-contained HTML",
454
+ "Create a sequence diagram of an API and database transaction",
455
+ "Show an agent memory retrieval flow with labelled arrows",
456
+ "Validate text clipping in an exported technical diagram PNG",
457
+ "Render a workflow with decision branches and rollback edges",
458
+ "Make a local interactive preview of service dependencies",
459
+ "Preserve all data-flow labels when exporting SVG"
460
+ ],
461
+ "should_not_trigger": [
462
+ "Generate a product photograph",
463
+ "Edit a portrait background",
464
+ "Build a React component",
465
+ "Tune a database query",
466
+ "Fix a Rust compiler error",
467
+ "Review authorization logic",
468
+ "Write a CLI unit test",
469
+ "Polish marketing copy"
470
+ ]
471
+ },
472
+ "cc-typescript-project-standard": {
473
+ "should_trigger": [
474
+ "Review or fix TypeScript SDK declaration exports",
475
+ "Review or fix TypeScript CLI NodeNext resolution",
476
+ "Review or fix TypeScript desktop preload contract",
477
+ "Review or fix TypeScript unknown input narrowing",
478
+ "Review or fix TypeScript discriminated union API",
479
+ "Review or fix TypeScript monorepo project references",
480
+ "Review or fix TypeScript generic library constraints",
481
+ "Review or fix TypeScript consumer type tests",
482
+ "Review a TypeScript library unknown-input boundary before effects without changing its module mode"
483
+ ],
484
+ "should_not_trigger": [
485
+ "Only adjust CSS spacing without code contracts",
486
+ "Translate product copy without programming",
487
+ "Generate a poster illustration",
488
+ "Choose a restaurant for dinner",
489
+ "Change a database index without language code",
490
+ "Design framework component routing without language configuration",
491
+ "Rewrite a marketing headline",
492
+ "Produce an audio soundtrack",
493
+ "Only translate prose mentioning the technology without modifying or reviewing a program"
494
+ ]
495
+ },
2
496
  "fec-accessibility-check": {
3
497
  "should_trigger": [
4
498
  "Check whether the keyboard focus and aria of this pop-up window are correct",
@@ -157,6 +651,28 @@
157
651
  "Write a Storybook document"
158
652
  ]
159
653
  },
654
+ "fec-code-smells": {
655
+ "should_trigger": [
656
+ "Diagnose code smells in Compose.tsx but do not edit the code.",
657
+ "Find structural smells in this Vue store and give evidence only.",
658
+ "Is this long function actually a Long Function smell? Analyze false positives first.",
659
+ "Identify duplicated code smells in these handlers without changing them.",
660
+ "Assess whether these repeated switches are a real smell or a valid dispatcher.",
661
+ "Find data clumps in these function signatures and report candidates.",
662
+ "Diagnose Feature Envy between this component and domain service.",
663
+ "Review this module for the 24 canonical code smells and rank findings by confidence."
664
+ ],
665
+ "should_not_trigger": [
666
+ "Remove unused components and dependencies from this project.",
667
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
668
+ "Migrate this Redux store to Zustand.",
669
+ "Review this PR and tell me whether it is safe to merge.",
670
+ "Debug why this page renders a blank screen.",
671
+ "Implement a new payment workflow using TDD.",
672
+ "Upgrade Vite and update all breaking configuration changes.",
673
+ "Add a new responsive dashboard from this Figma design."
674
+ ]
675
+ },
160
676
  "fec-component-testing": {
161
677
  "should_trigger": [
162
678
  "Add RTL single test to this React component",
@@ -247,32 +763,6 @@
247
763
  "Implement API client error mapping"
248
764
  ]
249
765
  },
250
- "fec-drawio-studio": {
251
- "should_trigger": [
252
- "Generate an editable draw.io architecture diagram and export it as a PNG",
253
- "Draw this microservice system as a .drawio file",
254
- "Use diagrams.net to make ER diagrams, requiring the ability to edit them later.",
255
- "Check out the official shape style of AWS Lambda in draw.io",
256
- "Generate a module dependency graph for this TypeScript project and automatically lay it out",
257
- "Generate UML class diagram and export to SVG using draw.io CLI",
258
- "draw.io automatically layouts a service topology with more than 20 nodes",
259
- "Generate diagrams.net editing link after layout with Graphviz",
260
- "Make an editable sequence diagram and check .drawio for broken edges",
261
- "create an editable drawio architecture diagram with official cloud shapes"
262
- ],
263
- "should_not_trigger": [
264
- "Generate a product promotional poster image",
265
- "Edit this photo and replace the background",
266
- "Implement Three.js interactive 3D topology map",
267
- "Add path stroke animation to SVG logo",
268
- "Just write Mermaid into the README",
269
- "Implement the page according to the Figma design draft",
270
- "Check dashboard button hover state",
271
- "Visual regression using Playwright screenshots",
272
- "Optimize Canvas particle animation performance",
273
- "Generate comic avatars and brand boards"
274
- ]
275
- },
276
766
  "fec-doc-sync": {
277
767
  "should_trigger": [
278
768
  "Synchronize the number of skills and agents in README",
@@ -628,10 +1118,232 @@
628
1118
  "Migrate jQuery to React"
629
1119
  ]
630
1120
  },
631
- "fec-responsive-layout": {
1121
+ "fec-refactoring": {
632
1122
  "should_trigger": [
633
- "This page overflows horizontally at 375px, help me make a responsive layout",
634
- "Use container query to change the layout of this component",
1123
+ "Keep observable behavior unchanged while restructuring this frontend module.",
1124
+ "Refactor this function in small verified steps without changing its output or side effects.",
1125
+ "Improve the structure of this React feature but preserve behavior exactly.",
1126
+ "Clean up the architecture of this Vue composable without adding features.",
1127
+ "Use a diff budget and rollback boundary for this behavior-preserving refactor.",
1128
+ "Restructure this TypeScript service with a green baseline before and after each step.",
1129
+ "Refactor this code with SAFE CAUTION DANGER risk classification.",
1130
+ "Plan and execute a behavior-preserving refactoring with verification after every step."
1131
+ ],
1132
+ "should_not_trigger": [
1133
+ "Remove unused components and dependencies from this project.",
1134
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1135
+ "Migrate this Redux store to Zustand.",
1136
+ "Review this PR and tell me whether it is safe to merge.",
1137
+ "Debug why this page renders a blank screen.",
1138
+ "Implement a new payment workflow using TDD.",
1139
+ "Upgrade Vite and update all breaking configuration changes.",
1140
+ "Add a new responsive dashboard from this Figma design."
1141
+ ]
1142
+ },
1143
+ "fec-refactoring-api": {
1144
+ "should_trigger": [
1145
+ "Separate this query from its state-changing side effect.",
1146
+ "Parameterize these duplicate functions that differ only by one value.",
1147
+ "Remove this behavior flag and expose explicit operations.",
1148
+ "Preserve this whole object instead of passing six extracted fields.",
1149
+ "Replace this parameter with a stable query and assess hidden dependency risk.",
1150
+ "Replace this hidden global query with an explicit parameter for testability.",
1151
+ "Remove this setter because the value should be immutable after creation.",
1152
+ "Replace this constructor with a named factory function.",
1153
+ "Replace this upload function with a command because it has retry progress and audit state.",
1154
+ "Collapse this trivial command object back to a function."
1155
+ ],
1156
+ "should_not_trigger": [
1157
+ "Remove unused components and dependencies from this project.",
1158
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1159
+ "Migrate this Redux store to Zustand.",
1160
+ "Review this PR and tell me whether it is safe to merge.",
1161
+ "Debug why this page renders a blank screen.",
1162
+ "Implement a new payment workflow using TDD.",
1163
+ "Upgrade Vite and update all breaking configuration changes.",
1164
+ "Add a new responsive dashboard from this Figma design."
1165
+ ]
1166
+ },
1167
+ "fec-refactoring-catalog": {
1168
+ "should_trigger": [
1169
+ "Which refactoring should I choose for this diagnosed Long Function?",
1170
+ "Compare Extract Function and Split Phase for this existing behavior.",
1171
+ "Show a safe sequence of refactorings for this Shotgun Surgery smell.",
1172
+ "Choose among candidates for Mutable Data without changing behavior.",
1173
+ "What technique should follow Replace Temp with Query here?",
1174
+ "Compare inverse refactorings Hide Delegate and Remove Middle Man.",
1175
+ "Pick the smallest canonical refactoring that fits this evidence.",
1176
+ "Compose a safe refactoring sequence from the 61-technique catalog."
1177
+ ],
1178
+ "should_not_trigger": [
1179
+ "Remove unused components and dependencies from this project.",
1180
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1181
+ "Migrate this Redux store to Zustand.",
1182
+ "Review this PR and tell me whether it is safe to merge.",
1183
+ "Debug why this page renders a blank screen.",
1184
+ "Implement a new payment workflow using TDD.",
1185
+ "Upgrade Vite and update all breaking configuration changes.",
1186
+ "Add a new responsive dashboard from this Figma design."
1187
+ ]
1188
+ },
1189
+ "fec-refactoring-control": {
1190
+ "should_trigger": [
1191
+ "Decompose this complex conditional without changing which branch runs.",
1192
+ "Consolidate these conditions that all produce the same result.",
1193
+ "Use guard clauses to flatten this nested logic while preserving finally cleanup.",
1194
+ "Replace repeated variant conditionals with an appropriate strategy or typed dispatch.",
1195
+ "Introduce a special case for repeated unknown-contact handling.",
1196
+ "Introduce an assertion for this internal invariant, not user input validation.",
1197
+ "Simplify this nested if else without changing outputs or side-effect order.",
1198
+ "Choose between discriminated union dispatch and polymorphism for these repeated variants."
1199
+ ],
1200
+ "should_not_trigger": [
1201
+ "Remove unused components and dependencies from this project.",
1202
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1203
+ "Migrate this Redux store to Zustand.",
1204
+ "Review this PR and tell me whether it is safe to merge.",
1205
+ "Debug why this page renders a blank screen.",
1206
+ "Implement a new payment workflow using TDD.",
1207
+ "Upgrade Vite and update all breaking configuration changes.",
1208
+ "Add a new responsive dashboard from this Figma design."
1209
+ ]
1210
+ },
1211
+ "fec-refactoring-data": {
1212
+ "should_trigger": [
1213
+ "Split this reused variable so each name has one meaning.",
1214
+ "Rename this internal field while preserving the backend DTO key.",
1215
+ "Replace stored derived state with a query and check memoization semantics.",
1216
+ "Decide whether this shared mutable object should use value semantics.",
1217
+ "Change these duplicate entity snapshots to canonical references.",
1218
+ "Refactor this React state model without changing object-identity behavior.",
1219
+ "Reorganize this Vue reactive data while preserving proxy identity semantics.",
1220
+ "Assess reference versus value semantics for this TypeScript domain object."
1221
+ ],
1222
+ "should_not_trigger": [
1223
+ "Remove unused components and dependencies from this project.",
1224
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1225
+ "Migrate this Redux store to Zustand.",
1226
+ "Review this PR and tell me whether it is safe to merge.",
1227
+ "Debug why this page renders a blank screen.",
1228
+ "Implement a new payment workflow using TDD.",
1229
+ "Upgrade Vite and update all breaking configuration changes.",
1230
+ "Add a new responsive dashboard from this Figma design."
1231
+ ]
1232
+ },
1233
+ "fec-refactoring-encapsulation": {
1234
+ "should_trigger": [
1235
+ "Encapsulate this mutable collection so components cannot splice it directly.",
1236
+ "Replace this repeated email string validation with a value abstraction.",
1237
+ "Extract this responsibility from a large service into a cohesive owner.",
1238
+ "Inline this class because it now only forwards one method.",
1239
+ "Hide this deep delegate navigation from UI clients.",
1240
+ "Remove this pass-through middle-man wrapper without changing behavior.",
1241
+ "Replace this temporary derived value with a query so extraction is easier.",
1242
+ "Substitute this algorithm but preserve ordering errors and output exactly."
1243
+ ],
1244
+ "should_not_trigger": [
1245
+ "Remove unused components and dependencies from this project.",
1246
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1247
+ "Migrate this Redux store to Zustand.",
1248
+ "Review this PR and tell me whether it is safe to merge.",
1249
+ "Debug why this page renders a blank screen.",
1250
+ "Implement a new payment workflow using TDD.",
1251
+ "Upgrade Vite and update all breaking configuration changes.",
1252
+ "Add a new responsive dashboard from this Figma design."
1253
+ ]
1254
+ },
1255
+ "fec-refactoring-functions": {
1256
+ "should_trigger": [
1257
+ "Keep behavior unchanged and split this function into named operations.",
1258
+ "These ten parameters always travel together; how should I restructure them?",
1259
+ "Rename this private function and migrate callers without changing behavior.",
1260
+ "Extract a variable to explain this complex calculation while preserving evaluation order.",
1261
+ "Inline this trivial helper if the name adds no value.",
1262
+ "Encapsulate this shared module variable before changing its representation.",
1263
+ "Group these related functions around one shared data context without forcing a class.",
1264
+ "Split this parse normalize validate submit routine into phases."
1265
+ ],
1266
+ "should_not_trigger": [
1267
+ "Remove unused components and dependencies from this project.",
1268
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1269
+ "Migrate this Redux store to Zustand.",
1270
+ "Review this PR and tell me whether it is safe to merge.",
1271
+ "Debug why this page renders a blank screen.",
1272
+ "Implement a new payment workflow using TDD.",
1273
+ "Upgrade Vite and update all breaking configuration changes.",
1274
+ "Add a new responsive dashboard from this Figma design."
1275
+ ]
1276
+ },
1277
+ "fec-refactoring-inheritance": {
1278
+ "should_trigger": [
1279
+ "Pull this duplicated method up in a legacy TypeScript class hierarchy.",
1280
+ "Push this field down because only one subtype owns it.",
1281
+ "Move common constructor initialization to the superclass safely.",
1282
+ "Replace this type-code hierarchy with an appropriate subtype or strategy model.",
1283
+ "Remove this subclass because it has no meaningful behavior left.",
1284
+ "Extract a superclass only if these legacy classes are genuinely substitutable.",
1285
+ "Collapse this redundant inheritance level without changing instanceof-sensitive behavior.",
1286
+ "Replace this inaccurate superclass relationship with delegation."
1287
+ ],
1288
+ "should_not_trigger": [
1289
+ "Remove unused components and dependencies from this project.",
1290
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1291
+ "Migrate this Redux store to Zustand.",
1292
+ "Review this PR and tell me whether it is safe to merge.",
1293
+ "Debug why this page renders a blank screen.",
1294
+ "Implement a new payment workflow using TDD.",
1295
+ "Upgrade Vite and update all breaking configuration changes.",
1296
+ "Add a new responsive dashboard from this Figma design."
1297
+ ]
1298
+ },
1299
+ "fec-refactoring-move-features": {
1300
+ "should_trigger": [
1301
+ "Move this function to the module that owns the data it uses.",
1302
+ "Move this field to its real owner while preserving serialization.",
1303
+ "Move these repeated statements into the called function.",
1304
+ "Move caller-specific policy out of this shared function.",
1305
+ "Replace this equivalent inline check with the existing function call.",
1306
+ "Slide these independent statements together before extraction.",
1307
+ "Split this loop into two focused passes without changing results.",
1308
+ "Replace this transformation loop with a clear pipeline; keep ordering the same."
1309
+ ],
1310
+ "should_not_trigger": [
1311
+ "Remove unused components and dependencies from this project.",
1312
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1313
+ "Migrate this Redux store to Zustand.",
1314
+ "Review this PR and tell me whether it is safe to merge.",
1315
+ "Debug why this page renders a blank screen.",
1316
+ "Implement a new payment workflow using TDD.",
1317
+ "Upgrade Vite and update all breaking configuration changes.",
1318
+ "Add a new responsive dashboard from this Figma design."
1319
+ ]
1320
+ },
1321
+ "fec-refactoring-validation": {
1322
+ "should_trigger": [
1323
+ "Define the behavior-preservation contract before this refactor.",
1324
+ "What safety net is enough for this CAUTION refactoring?",
1325
+ "Build a validation ladder for this behavior-preserving change.",
1326
+ "Decide PASS PARTIAL or NOT PROVEN for this refactoring evidence.",
1327
+ "Create characterization tests for existing behavior before restructuring.",
1328
+ "Define a diff budget and rollback boundary for this structural change.",
1329
+ "Check UI state event network and lifecycle behavior before and after refactoring.",
1330
+ "Validate this refactoring with green baseline and step-level rollback."
1331
+ ],
1332
+ "should_not_trigger": [
1333
+ "Remove unused components and dependencies from this project.",
1334
+ "Fix this duplicate-request bug and change behavior so only one request is sent.",
1335
+ "Migrate this Redux store to Zustand.",
1336
+ "Review this PR and tell me whether it is safe to merge.",
1337
+ "Debug why this page renders a blank screen.",
1338
+ "Implement a new payment workflow using TDD.",
1339
+ "Upgrade Vite and update all breaking configuration changes.",
1340
+ "Add a new responsive dashboard from this Figma design."
1341
+ ]
1342
+ },
1343
+ "fec-responsive-layout": {
1344
+ "should_trigger": [
1345
+ "This page overflows horizontally at 375px, help me make a responsive layout",
1346
+ "Use container query to change the layout of this component",
635
1347
  "How to change mobile table to readable view",
636
1348
  "dashboard jumps between tablet and desktop breakpoints",
637
1349
  "Check touch target and safe area adaptation",
@@ -694,28 +1406,6 @@
694
1406
  "Virtual list performance"
695
1407
  ]
696
1408
  },
697
- "fec-source-driven-development": {
698
- "should_trigger": [
699
- "For this new version of Next.js API, please check the official documentation before making a decision.",
700
- "Help me confirm whether the current version of Vite configuration items is still recommended",
701
- "This browser API compatibility is subject to specifications and MDN",
702
- "source-driven decision for a frontend library migration",
703
- "React Router version differences require checking documentation",
704
- "Do not judge the ESM/CJS behavior of this package from memory.",
705
- "Design public interfaces based on project source code and official docs",
706
- "Verify the latest recommended usage of Nuxt useFetch"
707
- ],
708
- "should_not_trigger": [
709
- "Write Zod validation to the form",
710
- "Optimize virtual scrolling of large lists",
711
- "Run npm test and fix the failure",
712
- "Check button aria-label",
713
- "Writing the Playwright Login Flow",
714
- "Clean up unused dependencies",
715
- "Design UI visual direction",
716
- "Review token storage security"
717
- ]
718
- },
719
1409
  "fec-state-management": {
720
1410
  "should_trigger": [
721
1411
  "Audit the status of this dashboard",
@@ -848,30 +1538,6 @@
848
1538
  "Optimize virtual list scrolling performance"
849
1539
  ]
850
1540
  },
851
- "fec-typescript-project-standard": {
852
- "should_trigger": [
853
- "How to configure TypeScript project tsconfig strict",
854
- "Review these DTO and view model type boundaries",
855
- "How to design this generic component type to be safer",
856
- "Narrow unknown input with type guard",
857
- "Design discriminative joint expression of asynchronous state",
858
- "TypeScript type modeling and generic constraints review",
859
- "How to publish package exports and d.ts of TS SDK",
860
- "How to configure project references of monorepo package",
861
- "How to check the consistency of public API types and declaration files",
862
- "How to set moduleResolution and type declaration in Node CLI"
863
- ],
864
- "should_not_trigger": [
865
- "How to hierarchize React project component directories",
866
- "How to organize Vue composable and Pinia store",
867
- "How to configure Vite dev server proxy",
868
- "How to design TanStack Query queryKey",
869
- "How to display form validation errors",
870
- "Check popup keyboard focus and aria",
871
- "Writing the Playwright Login Flow",
872
- "Optimize virtual list scrolling performance"
873
- ]
874
- },
875
1541
  "fec-ui-design": {
876
1542
  "should_trigger": [
877
1543
  "What UI design direction should this backend page take?",
@@ -1009,249 +1675,5 @@
1009
1675
  "Manipulate DOM and update UI",
1010
1676
  "Write component tests"
1011
1677
  ]
1012
- },
1013
- "fec-refactoring": {
1014
- "should_trigger": [
1015
- "Keep observable behavior unchanged while restructuring this frontend module.",
1016
- "Refactor this function in small verified steps without changing its output or side effects.",
1017
- "Improve the structure of this React feature but preserve behavior exactly.",
1018
- "Clean up the architecture of this Vue composable without adding features.",
1019
- "Use a diff budget and rollback boundary for this behavior-preserving refactor.",
1020
- "Restructure this TypeScript service with a green baseline before and after each step.",
1021
- "Refactor this code with SAFE CAUTION DANGER risk classification.",
1022
- "Plan and execute a behavior-preserving refactoring with verification after every step."
1023
- ],
1024
- "should_not_trigger": [
1025
- "Remove unused components and dependencies from this project.",
1026
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1027
- "Migrate this Redux store to Zustand.",
1028
- "Review this PR and tell me whether it is safe to merge.",
1029
- "Debug why this page renders a blank screen.",
1030
- "Implement a new payment workflow using TDD.",
1031
- "Upgrade Vite and update all breaking configuration changes.",
1032
- "Add a new responsive dashboard from this Figma design."
1033
- ]
1034
- },
1035
- "fec-code-smells": {
1036
- "should_trigger": [
1037
- "Diagnose code smells in Compose.tsx but do not edit the code.",
1038
- "Find structural smells in this Vue store and give evidence only.",
1039
- "Is this long function actually a Long Function smell? Analyze false positives first.",
1040
- "Identify duplicated code smells in these handlers without changing them.",
1041
- "Assess whether these repeated switches are a real smell or a valid dispatcher.",
1042
- "Find data clumps in these function signatures and report candidates.",
1043
- "Diagnose Feature Envy between this component and domain service.",
1044
- "Review this module for the 24 canonical code smells and rank findings by confidence."
1045
- ],
1046
- "should_not_trigger": [
1047
- "Remove unused components and dependencies from this project.",
1048
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1049
- "Migrate this Redux store to Zustand.",
1050
- "Review this PR and tell me whether it is safe to merge.",
1051
- "Debug why this page renders a blank screen.",
1052
- "Implement a new payment workflow using TDD.",
1053
- "Upgrade Vite and update all breaking configuration changes.",
1054
- "Add a new responsive dashboard from this Figma design."
1055
- ]
1056
- },
1057
- "fec-refactoring-catalog": {
1058
- "should_trigger": [
1059
- "Which refactoring should I choose for this diagnosed Long Function?",
1060
- "Compare Extract Function and Split Phase for this existing behavior.",
1061
- "Show a safe sequence of refactorings for this Shotgun Surgery smell.",
1062
- "Choose among candidates for Mutable Data without changing behavior.",
1063
- "What technique should follow Replace Temp with Query here?",
1064
- "Compare inverse refactorings Hide Delegate and Remove Middle Man.",
1065
- "Pick the smallest canonical refactoring that fits this evidence.",
1066
- "Compose a safe refactoring sequence from the 61-technique catalog."
1067
- ],
1068
- "should_not_trigger": [
1069
- "Remove unused components and dependencies from this project.",
1070
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1071
- "Migrate this Redux store to Zustand.",
1072
- "Review this PR and tell me whether it is safe to merge.",
1073
- "Debug why this page renders a blank screen.",
1074
- "Implement a new payment workflow using TDD.",
1075
- "Upgrade Vite and update all breaking configuration changes.",
1076
- "Add a new responsive dashboard from this Figma design."
1077
- ]
1078
- },
1079
- "fec-refactoring-functions": {
1080
- "should_trigger": [
1081
- "Keep behavior unchanged and split this function into named operations.",
1082
- "These ten parameters always travel together; how should I restructure them?",
1083
- "Rename this private function and migrate callers without changing behavior.",
1084
- "Extract a variable to explain this complex calculation while preserving evaluation order.",
1085
- "Inline this trivial helper if the name adds no value.",
1086
- "Encapsulate this shared module variable before changing its representation.",
1087
- "Group these related functions around one shared data context without forcing a class.",
1088
- "Split this parse normalize validate submit routine into phases."
1089
- ],
1090
- "should_not_trigger": [
1091
- "Remove unused components and dependencies from this project.",
1092
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1093
- "Migrate this Redux store to Zustand.",
1094
- "Review this PR and tell me whether it is safe to merge.",
1095
- "Debug why this page renders a blank screen.",
1096
- "Implement a new payment workflow using TDD.",
1097
- "Upgrade Vite and update all breaking configuration changes.",
1098
- "Add a new responsive dashboard from this Figma design."
1099
- ]
1100
- },
1101
- "fec-refactoring-encapsulation": {
1102
- "should_trigger": [
1103
- "Encapsulate this mutable collection so components cannot splice it directly.",
1104
- "Replace this repeated email string validation with a value abstraction.",
1105
- "Extract this responsibility from a large service into a cohesive owner.",
1106
- "Inline this class because it now only forwards one method.",
1107
- "Hide this deep delegate navigation from UI clients.",
1108
- "Remove this pass-through middle-man wrapper without changing behavior.",
1109
- "Replace this temporary derived value with a query so extraction is easier.",
1110
- "Substitute this algorithm but preserve ordering errors and output exactly."
1111
- ],
1112
- "should_not_trigger": [
1113
- "Remove unused components and dependencies from this project.",
1114
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1115
- "Migrate this Redux store to Zustand.",
1116
- "Review this PR and tell me whether it is safe to merge.",
1117
- "Debug why this page renders a blank screen.",
1118
- "Implement a new payment workflow using TDD.",
1119
- "Upgrade Vite and update all breaking configuration changes.",
1120
- "Add a new responsive dashboard from this Figma design."
1121
- ]
1122
- },
1123
- "fec-refactoring-move-features": {
1124
- "should_trigger": [
1125
- "Move this function to the module that owns the data it uses.",
1126
- "Move this field to its real owner while preserving serialization.",
1127
- "Move these repeated statements into the called function.",
1128
- "Move caller-specific policy out of this shared function.",
1129
- "Replace this equivalent inline check with the existing function call.",
1130
- "Slide these independent statements together before extraction.",
1131
- "Split this loop into two focused passes without changing results.",
1132
- "Replace this transformation loop with a clear pipeline; keep ordering the same."
1133
- ],
1134
- "should_not_trigger": [
1135
- "Remove unused components and dependencies from this project.",
1136
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1137
- "Migrate this Redux store to Zustand.",
1138
- "Review this PR and tell me whether it is safe to merge.",
1139
- "Debug why this page renders a blank screen.",
1140
- "Implement a new payment workflow using TDD.",
1141
- "Upgrade Vite and update all breaking configuration changes.",
1142
- "Add a new responsive dashboard from this Figma design."
1143
- ]
1144
- },
1145
- "fec-refactoring-data": {
1146
- "should_trigger": [
1147
- "Split this reused variable so each name has one meaning.",
1148
- "Rename this internal field while preserving the backend DTO key.",
1149
- "Replace stored derived state with a query and check memoization semantics.",
1150
- "Decide whether this shared mutable object should use value semantics.",
1151
- "Change these duplicate entity snapshots to canonical references.",
1152
- "Refactor this React state model without changing object-identity behavior.",
1153
- "Reorganize this Vue reactive data while preserving proxy identity semantics.",
1154
- "Assess reference versus value semantics for this TypeScript domain object."
1155
- ],
1156
- "should_not_trigger": [
1157
- "Remove unused components and dependencies from this project.",
1158
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1159
- "Migrate this Redux store to Zustand.",
1160
- "Review this PR and tell me whether it is safe to merge.",
1161
- "Debug why this page renders a blank screen.",
1162
- "Implement a new payment workflow using TDD.",
1163
- "Upgrade Vite and update all breaking configuration changes.",
1164
- "Add a new responsive dashboard from this Figma design."
1165
- ]
1166
- },
1167
- "fec-refactoring-control": {
1168
- "should_trigger": [
1169
- "Decompose this complex conditional without changing which branch runs.",
1170
- "Consolidate these conditions that all produce the same result.",
1171
- "Use guard clauses to flatten this nested logic while preserving finally cleanup.",
1172
- "Replace repeated variant conditionals with an appropriate strategy or typed dispatch.",
1173
- "Introduce a special case for repeated unknown-contact handling.",
1174
- "Introduce an assertion for this internal invariant, not user input validation.",
1175
- "Simplify this nested if else without changing outputs or side-effect order.",
1176
- "Choose between discriminated union dispatch and polymorphism for these repeated variants."
1177
- ],
1178
- "should_not_trigger": [
1179
- "Remove unused components and dependencies from this project.",
1180
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1181
- "Migrate this Redux store to Zustand.",
1182
- "Review this PR and tell me whether it is safe to merge.",
1183
- "Debug why this page renders a blank screen.",
1184
- "Implement a new payment workflow using TDD.",
1185
- "Upgrade Vite and update all breaking configuration changes.",
1186
- "Add a new responsive dashboard from this Figma design."
1187
- ]
1188
- },
1189
- "fec-refactoring-api": {
1190
- "should_trigger": [
1191
- "Separate this query from its state-changing side effect.",
1192
- "Parameterize these duplicate functions that differ only by one value.",
1193
- "Remove this behavior flag and expose explicit operations.",
1194
- "Preserve this whole object instead of passing six extracted fields.",
1195
- "Replace this parameter with a stable query and assess hidden dependency risk.",
1196
- "Replace this hidden global query with an explicit parameter for testability.",
1197
- "Remove this setter because the value should be immutable after creation.",
1198
- "Replace this constructor with a named factory function.",
1199
- "Replace this upload function with a command because it has retry progress and audit state.",
1200
- "Collapse this trivial command object back to a function."
1201
- ],
1202
- "should_not_trigger": [
1203
- "Remove unused components and dependencies from this project.",
1204
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1205
- "Migrate this Redux store to Zustand.",
1206
- "Review this PR and tell me whether it is safe to merge.",
1207
- "Debug why this page renders a blank screen.",
1208
- "Implement a new payment workflow using TDD.",
1209
- "Upgrade Vite and update all breaking configuration changes.",
1210
- "Add a new responsive dashboard from this Figma design."
1211
- ]
1212
- },
1213
- "fec-refactoring-inheritance": {
1214
- "should_trigger": [
1215
- "Pull this duplicated method up in a legacy TypeScript class hierarchy.",
1216
- "Push this field down because only one subtype owns it.",
1217
- "Move common constructor initialization to the superclass safely.",
1218
- "Replace this type-code hierarchy with an appropriate subtype or strategy model.",
1219
- "Remove this subclass because it has no meaningful behavior left.",
1220
- "Extract a superclass only if these legacy classes are genuinely substitutable.",
1221
- "Collapse this redundant inheritance level without changing instanceof-sensitive behavior.",
1222
- "Replace this inaccurate superclass relationship with delegation."
1223
- ],
1224
- "should_not_trigger": [
1225
- "Remove unused components and dependencies from this project.",
1226
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1227
- "Migrate this Redux store to Zustand.",
1228
- "Review this PR and tell me whether it is safe to merge.",
1229
- "Debug why this page renders a blank screen.",
1230
- "Implement a new payment workflow using TDD.",
1231
- "Upgrade Vite and update all breaking configuration changes.",
1232
- "Add a new responsive dashboard from this Figma design."
1233
- ]
1234
- },
1235
- "fec-refactoring-validation": {
1236
- "should_trigger": [
1237
- "Define the behavior-preservation contract before this refactor.",
1238
- "What safety net is enough for this CAUTION refactoring?",
1239
- "Build a validation ladder for this behavior-preserving change.",
1240
- "Decide PASS PARTIAL or NOT PROVEN for this refactoring evidence.",
1241
- "Create characterization tests for existing behavior before restructuring.",
1242
- "Define a diff budget and rollback boundary for this structural change.",
1243
- "Check UI state event network and lifecycle behavior before and after refactoring.",
1244
- "Validate this refactoring with green baseline and step-level rollback."
1245
- ],
1246
- "should_not_trigger": [
1247
- "Remove unused components and dependencies from this project.",
1248
- "Fix this duplicate-request bug and change behavior so only one request is sent.",
1249
- "Migrate this Redux store to Zustand.",
1250
- "Review this PR and tell me whether it is safe to merge.",
1251
- "Debug why this page renders a blank screen.",
1252
- "Implement a new payment workflow using TDD.",
1253
- "Upgrade Vite and update all breaking configuration changes.",
1254
- "Add a new responsive dashboard from this Figma design."
1255
- ]
1256
1678
  }
1257
1679
  }