mdk-skills 2.2.2 → 2.2.3

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 (187) hide show
  1. package/.claude/.install.log +9 -40
  2. package/.claude/backups/20260510.151953/.install.log +1 -0
  3. package/package.json +1 -1
  4. package/scripts/web-ui/server.js +8 -1
  5. package/.claude/backups/20260510.145547/.install.log +0 -18
  6. package/.claude/backups/20260510.145547/settings.json +0 -35
  7. package/.claude/backups/20260510.145547/skills/test1/.meta.json +0 -6
  8. package/.claude/backups/20260510.145547/skills/test2/.meta.json +0 -6
  9. package/.claude/backups/20260510.145651/.install.log +0 -19
  10. package/.claude/backups/20260510.145651/profiles.json +0 -67
  11. package/.claude/backups/20260510.145651/skills/frontend-code-review/.meta.json +0 -6
  12. package/.claude/backups/20260510.145651/skills/frontend-code-review/SKILL.md +0 -167
  13. package/.claude/backups/20260510.145651/skills/frontend-code-review/references/checklist.md +0 -298
  14. package/.claude/backups/20260510.145651/skills/frontend-design/.meta.json +0 -6
  15. package/.claude/backups/20260510.145651/skills/frontend-design/LICENSE.txt +0 -177
  16. package/.claude/backups/20260510.145651/skills/frontend-design/SKILL.md +0 -42
  17. package/.claude/backups/20260510.145651/skills/skill-creator/.meta.json +0 -6
  18. package/.claude/backups/20260510.145651/skills/skill-creator/SKILL.md +0 -356
  19. package/.claude/backups/20260510.145651/skills/skill-creator/references/output-patterns.md +0 -82
  20. package/.claude/backups/20260510.145651/skills/skill-creator/references/workflows.md +0 -28
  21. package/.claude/backups/20260510.145651/skills/skill-creator/scripts/init_skill.py +0 -303
  22. package/.claude/backups/20260510.145651/skills/skill-creator/scripts/package_skill.py +0 -110
  23. package/.claude/backups/20260510.145651/skills/skill-creator/scripts/quick_validate.py +0 -95
  24. package/.claude/backups/20260510.145651/skills/test1/.meta.json +0 -6
  25. package/.claude/backups/20260510.145651/skills/test2/.meta.json +0 -6
  26. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/.meta.json +0 -6
  27. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/SKILL.md +0 -228
  28. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/charts.csv +0 -26
  29. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/colors.csv +0 -97
  30. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/landing.csv +0 -31
  31. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/products.csv +0 -97
  32. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  33. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  34. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  35. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  36. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  37. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  38. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  39. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/react.csv +0 -54
  40. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  41. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  42. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  43. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/styles.csv +0 -59
  44. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/typography.csv +0 -58
  45. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  46. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/scripts/core.py +0 -238
  47. package/.claude/backups/20260510.145651/skills/ui-ux-pro-max/scripts/search.py +0 -61
  48. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/.meta.json +0 -6
  49. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/SKILL.md +0 -26
  50. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/references/infinite-scroll.md +0 -292
  51. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/references/pinia-store.md +0 -174
  52. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/references/service-layer.md +0 -198
  53. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/references/tab-anchor.md +0 -1125
  54. package/.claude/backups/20260510.145651/skills/v3-fe-biz-patterns/references/use-loading.md +0 -114
  55. package/.claude/backups/20260510.145651/skills/vue/.meta.json +0 -6
  56. package/.claude/backups/20260510.145651/skills/vue/SKILL.md +0 -103
  57. package/.claude/backups/20260510.145651/skills/vue/references/components.md +0 -323
  58. package/.claude/backups/20260510.145651/skills/vue/references/composables.md +0 -358
  59. package/.claude/backups/20260510.145651/skills/vue/references/directives.md +0 -225
  60. package/.claude/backups/20260510.145651/skills/vue/references/gotchas.md +0 -438
  61. package/.claude/backups/20260510.145651/skills/vue/references/provide-inject.md +0 -174
  62. package/.claude/backups/20260510.145651/skills/vue/references/reactivity.md +0 -289
  63. package/.claude/backups/20260510.145651/skills/vue/references/router.md +0 -181
  64. package/.claude/backups/20260510.145651/skills/vue/references/testing.md +0 -294
  65. package/.claude/backups/20260510.145651/skills/vue/references/typescript.md +0 -172
  66. package/.claude/backups/20260510.145651/skills/vue/references/utils-client.md +0 -156
  67. package/.claude/backups/20260510.150310/.install.log +0 -30
  68. package/.claude/backups/20260510.150310/profiles.json +0 -67
  69. package/.claude/backups/20260510.150310/settings.json +0 -29
  70. package/.claude/backups/20260510.150310/skills/frontend-code-review/.meta.json +0 -6
  71. package/.claude/backups/20260510.150310/skills/frontend-code-review/SKILL.md +0 -167
  72. package/.claude/backups/20260510.150310/skills/frontend-code-review/references/checklist.md +0 -298
  73. package/.claude/backups/20260510.150310/skills/frontend-design/.meta.json +0 -6
  74. package/.claude/backups/20260510.150310/skills/frontend-design/LICENSE.txt +0 -177
  75. package/.claude/backups/20260510.150310/skills/frontend-design/SKILL.md +0 -42
  76. package/.claude/backups/20260510.150310/skills/skill-creator/.meta.json +0 -6
  77. package/.claude/backups/20260510.150310/skills/skill-creator/SKILL.md +0 -356
  78. package/.claude/backups/20260510.150310/skills/skill-creator/references/output-patterns.md +0 -82
  79. package/.claude/backups/20260510.150310/skills/skill-creator/references/workflows.md +0 -28
  80. package/.claude/backups/20260510.150310/skills/skill-creator/scripts/init_skill.py +0 -303
  81. package/.claude/backups/20260510.150310/skills/skill-creator/scripts/package_skill.py +0 -110
  82. package/.claude/backups/20260510.150310/skills/skill-creator/scripts/quick_validate.py +0 -95
  83. package/.claude/backups/20260510.150310/skills/test1/.meta.json +0 -6
  84. package/.claude/backups/20260510.150310/skills/test2/.meta.json +0 -6
  85. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/.meta.json +0 -6
  86. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/SKILL.md +0 -228
  87. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/charts.csv +0 -26
  88. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/colors.csv +0 -97
  89. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/landing.csv +0 -31
  90. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/products.csv +0 -97
  91. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/prompts.csv +0 -24
  92. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/flutter.csv +0 -53
  93. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -56
  94. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/nextjs.csv +0 -53
  95. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -51
  96. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -59
  97. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/react-native.csv +0 -52
  98. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/react.csv +0 -54
  99. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/svelte.csv +0 -54
  100. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/swiftui.csv +0 -51
  101. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/stacks/vue.csv +0 -50
  102. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/styles.csv +0 -59
  103. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/typography.csv +0 -58
  104. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -100
  105. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/scripts/core.py +0 -238
  106. package/.claude/backups/20260510.150310/skills/ui-ux-pro-max/scripts/search.py +0 -61
  107. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/.meta.json +0 -6
  108. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/SKILL.md +0 -26
  109. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/references/infinite-scroll.md +0 -292
  110. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/references/pinia-store.md +0 -174
  111. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/references/service-layer.md +0 -198
  112. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/references/tab-anchor.md +0 -1125
  113. package/.claude/backups/20260510.150310/skills/v3-fe-biz-patterns/references/use-loading.md +0 -114
  114. package/.claude/backups/20260510.150310/skills/vue/.meta.json +0 -6
  115. package/.claude/backups/20260510.150310/skills/vue/SKILL.md +0 -103
  116. package/.claude/backups/20260510.150310/skills/vue/references/components.md +0 -323
  117. package/.claude/backups/20260510.150310/skills/vue/references/composables.md +0 -358
  118. package/.claude/backups/20260510.150310/skills/vue/references/directives.md +0 -225
  119. package/.claude/backups/20260510.150310/skills/vue/references/gotchas.md +0 -438
  120. package/.claude/backups/20260510.150310/skills/vue/references/provide-inject.md +0 -174
  121. package/.claude/backups/20260510.150310/skills/vue/references/reactivity.md +0 -289
  122. package/.claude/backups/20260510.150310/skills/vue/references/router.md +0 -181
  123. package/.claude/backups/20260510.150310/skills/vue/references/testing.md +0 -294
  124. package/.claude/backups/20260510.150310/skills/vue/references/typescript.md +0 -172
  125. package/.claude/backups/20260510.150310/skills/vue/references/utils-client.md +0 -156
  126. package/.claude/backups/CLAUDE.md.20260510.145155 +0 -131
  127. package/.claude/backups/CLAUDE.md.20260510.145651 +0 -131
  128. package/.claude/backups/CLAUDE.md.20260510.150310 +0 -131
  129. package/.claude/skills/test1/.meta.json +0 -6
  130. package/.claude/skills/test2/.meta.json +0 -6
  131. /package/.claude/backups/{20260510.145547 → 20260510.151953}/profiles.json +0 -0
  132. /package/.claude/backups/{20260510.145651 → 20260510.151953}/settings.json +0 -0
  133. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-code-review/.meta.json +0 -0
  134. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-code-review/SKILL.md +0 -0
  135. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-code-review/references/checklist.md +0 -0
  136. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-design/.meta.json +0 -0
  137. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-design/LICENSE.txt +0 -0
  138. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/frontend-design/SKILL.md +0 -0
  139. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/.meta.json +0 -0
  140. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/SKILL.md +0 -0
  141. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/references/output-patterns.md +0 -0
  142. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/references/workflows.md +0 -0
  143. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/scripts/init_skill.py +0 -0
  144. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/scripts/package_skill.py +0 -0
  145. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/skill-creator/scripts/quick_validate.py +0 -0
  146. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/.meta.json +0 -0
  147. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/SKILL.md +0 -0
  148. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/charts.csv +0 -0
  149. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/colors.csv +0 -0
  150. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/landing.csv +0 -0
  151. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/products.csv +0 -0
  152. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/prompts.csv +0 -0
  153. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/flutter.csv +0 -0
  154. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +0 -0
  155. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/nextjs.csv +0 -0
  156. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +0 -0
  157. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +0 -0
  158. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/react-native.csv +0 -0
  159. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/react.csv +0 -0
  160. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/svelte.csv +0 -0
  161. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/swiftui.csv +0 -0
  162. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/stacks/vue.csv +0 -0
  163. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/styles.csv +0 -0
  164. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/typography.csv +0 -0
  165. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/data/ux-guidelines.csv +0 -0
  166. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/scripts/core.py +0 -0
  167. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/ui-ux-pro-max/scripts/search.py +0 -0
  168. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/.meta.json +0 -0
  169. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/SKILL.md +0 -0
  170. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/references/infinite-scroll.md +0 -0
  171. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/references/pinia-store.md +0 -0
  172. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/references/service-layer.md +0 -0
  173. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/references/tab-anchor.md +0 -0
  174. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/v3-fe-biz-patterns/references/use-loading.md +0 -0
  175. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/.meta.json +0 -0
  176. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/SKILL.md +0 -0
  177. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/components.md +0 -0
  178. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/composables.md +0 -0
  179. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/directives.md +0 -0
  180. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/gotchas.md +0 -0
  181. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/provide-inject.md +0 -0
  182. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/reactivity.md +0 -0
  183. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/router.md +0 -0
  184. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/testing.md +0 -0
  185. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/typescript.md +0 -0
  186. /package/.claude/backups/{20260510.145547 → 20260510.151953}/skills/vue/references/utils-client.md +0 -0
  187. /package/.claude/backups/{CLAUDE.md.20260510.144501 → CLAUDE.md.20260510.151953} +0 -0
@@ -1,298 +0,0 @@
1
- # 前端代码审查详细检查清单
2
-
3
- ## 快速评估清单
4
-
5
- ### 项目识别
6
- - [ ] 框架类型:React / Vue / Angular / 原生 JS/TS
7
- - [ ] 项目规模:单组件 / 功能模块 / 完整应用
8
- - [ ] 无明显语法错误
9
- - [ ] 无明显导入错误
10
- - [ ] 无明显格式问题
11
-
12
- ## 代码质量检查清单
13
-
14
- ### 命名规范
15
- - [ ] 变量命名语义化且一致
16
- - [ ] 函数命名清晰表达意图
17
- - [ ] 组件命名遵循框架约定
18
- - [ ] 常量使用大写下划线命名
19
- - [ ] 布尔值命名使用 is/has/should 前缀
20
-
21
- ### 代码结构
22
- - [ ] 无明显代码重复(DRY 原则)
23
- - [ ] 函数长度合理(<50 行为佳)
24
- - [ ] 组件职责单一(单一职责原则)
25
- - [ ] 文件组织清晰合理
26
- - [ ] 导入语句分组有序
27
-
28
- ### 注释质量
29
- - [ ] 关键逻辑有清晰注释
30
- - [ ] 注释内容准确且时效
31
- - [ ] 无冗余或过时注释
32
- - [ ] 复杂算法有说明文档
33
-
34
- ## 功能实现检查清单
35
-
36
- ### 业务逻辑
37
- - [ ] 业务逻辑实现正确
38
- - [ ] 数据流向清晰可追踪
39
- - [ ] 状态更新符合预期
40
- - [ ] 副作用处理恰当
41
-
42
- ### 错误处理
43
- - [ ] 边界情况已处理
44
- - [ ] 异常情况有捕获
45
- - [ ] 错误信息对用户友好
46
- - [ ] 错误日志记录完善
47
-
48
- ### 异步操作
49
- - [ ] Promise 使用正确
50
- - [ ] async/await 使用恰当
51
- - [ ] 异步错误已捕获
52
- - [ ] 竞态条件已处理
53
- - [ ] 加载状态有反馈
54
-
55
- ### 用户反馈
56
- - [ ] 加载状态有展示
57
- - [ ] 错误状态有提示
58
- - [ ] 成功操作有反馈
59
- - [ ] 空状态有占位
60
-
61
- ## 性能优化检查清单
62
-
63
- ### 渲染优化
64
- - [ ] 无不必要的组件重渲染
65
- - [ ] 列表渲染使用正确的 key
66
- - [ ] 大列表使用虚拟滚动
67
- - [ ] 条件渲染使用恰当
68
- - [ ] 使用 memo/useMemo/useCallback(React)
69
- - [ ] 使用 computed/watch(Vue)
70
-
71
- ### 资源优化
72
- - [ ] 图片格式选择合理(WebP/AVIF 优先)
73
- - [ ] 图片尺寸适配屏幕
74
- - [ ] 图片懒加载实现
75
- - [ ] 大型资源按需加载
76
- - [ ] 无冗余依赖引入
77
-
78
- ### 网络优化
79
- - [ ] API 请求有缓存策略
80
- - [ ] 避免重复请求
81
- - [ ] 使用防抖节流
82
- - [ ] 数据预加载恰当
83
- - [ ] 使用 HTTP/2 多路复用
84
-
85
- ### 打包优化
86
- - [ ] 代码分割合理
87
- - [ ] Tree-shaking 生效
88
- - [ ] 无冗余第三方库
89
- - [ ] 打包体积在合理范围
90
-
91
- ## 安全性检查清单
92
-
93
- ### XSS 防护
94
- - [ ] 用户输入已转义
95
- - [ ] dangerouslySetInnerHTML 使用谨慎
96
- - [ ] URL 参数已验证
97
- - [ ] 动态内容已净化
98
-
99
- ### 数据安全
100
- - [ ] 输入验证完善
101
- - [ ] 敏感数据不存 localStorage
102
- - [ ] API 令牌安全存储
103
- - [ ] 密码不明文传输
104
- - [ ] 表单数据有验证
105
-
106
- ### CSRF 防护
107
- - [ ] 关键操作有 CSRF token
108
- - [ ] 跨域请求有验证
109
- - [ ] Cookie 设置 SameSite
110
-
111
- ### 依赖安全
112
- - [ ] 第三方依赖无已知漏洞
113
- - [ ] 依赖版本定期更新
114
- - [ ] 使用可信赖的库
115
-
116
- ## 可访问性检查清单
117
-
118
- ### 语义化 HTML
119
- - [ ] 使用正确的 HTML 标签
120
- - [ ] 表单元素有关联 label
121
- - [ ] 按钮使用 button 标签
122
- - [ ] 链接使用 a 标签
123
-
124
- ### ARIA 支持
125
- - [ ] ARIA 属性使用正确
126
- - [ ] role 属性使用恰当
127
- - [ ] aria-label 描述清晰
128
- - [ ] aria-hidden 使用合理
129
-
130
- ### 键盘导航
131
- - [ ] 所有交互元素可键盘访问
132
- - [ ] Tab 顺序符合逻辑
133
- - [ ] 焦点状态清晰可见
134
- - [ ] 快捷键不冲突
135
-
136
- ### 视觉辅助
137
- - [ ] 颜色对比度 >= 4.5:1
138
- - [ ] 图片有 alt 文本
139
- - [ ] 图标有文字说明
140
- - [ ] 字体大小可调整
141
-
142
- ## 框架特定检查清单
143
-
144
- ### React 检查项
145
-
146
- #### Hooks 使用
147
- - [ ] useEffect 依赖数组完整
148
- - [ ] 无 Hook 调用顺序问题
149
- - [ ] 自定义 Hook 命名以 use 开头
150
- - [ ] 无闭包陷阱问题
151
-
152
- #### 组件设计
153
- - [ ] 受控/非受控组件使用正确
154
- - [ ] Props 类型定义完整
155
- - [ ] Context 使用恰当(非过度使用)
156
- - [ ] 组件拆分合理
157
-
158
- #### 状态管理
159
- - [ ] 本地状态 vs 全局状态选择合理
160
- - [ ] 状态提升恰当
161
- - [ ] 状态更新不可变
162
- - [ ] 派生状态使用 useMemo
163
-
164
- ### Vue 3 检查项
165
-
166
- #### Composition API
167
- - [ ] ref/reactive 使用合理
168
- - [ ] computed 无副作用
169
- - [ ] watch 使用正确
170
- - [ ] watchEffect 使用恰当
171
-
172
- #### 组件通信
173
- - [ ] props/emit 使用规范
174
- - [ ] provide/inject 使用恰当
175
- - [ ] v-model 自定义组件实现正确
176
- - [ ] 事件命名遵循 kebab-case
177
-
178
- #### 生命周期
179
- - [ ] onMounted/onUnmounted 使用正确
180
- - [ ] 无内存泄漏(事件监听器清理)
181
- - [ ] 异步操作在正确的生命周期执行
182
-
183
- #### Composables
184
- - [ ] 组合函数职责单一
185
- - [ ] 返回值结构清晰
186
- - [ ] 副作用有清理
187
- - [ ] 命名以 use 开头
188
-
189
- ### TypeScript 检查项
190
-
191
- #### 类型定义
192
- - [ ] 类型定义准确完整
193
- - [ ] 避免过度使用 any
194
- - [ ] interface/type 使用恰当
195
- - [ ] 泛型使用合理
196
-
197
- #### 类型安全
198
- - [ ] 无类型断言滥用
199
- - [ ] 类型守卫使用正确
200
- - [ ] 联合类型处理完整
201
- - [ ] 可选链使用恰当
202
-
203
- #### 类型复用
204
- - [ ] 类型定义可复用
205
- - [ ] 工具类型使用恰当
206
- - [ ] 类型导入导出规范
207
-
208
- ## 浏览器兼容性检查清单
209
-
210
- ### 特性支持
211
- - [ ] 目标浏览器支持所用 API
212
- - [ ] CSS 特性有浏览器兼容
213
- - [ ] ES 特性有 polyfill(如需)
214
- - [ ] Flexbox/Grid 使用有降级
215
-
216
- ### CSS 兼容
217
- - [ ] 供应商前缀已添加(或使用 autoprefixer)
218
- - [ ] 渐进增强策略
219
- - [ ] 降级方案完善
220
-
221
- ### 响应式设计
222
- - [ ] 移动端适配良好
223
- - [ ] 断点设置合理
224
- - [ ] 触摸事件处理正确
225
- - [ ] 视口设置恰当
226
-
227
- ## 常用审查工具推荐
228
-
229
- ### 代码质量工具
230
-
231
- | 工具 | 用途 | 推荐场景 |
232
- |------|------|----------|
233
- | ESLint | 代码质量和风格检查 | 所有项目必备 |
234
- | Prettier | 代码格式化 | 团队协作项目 |
235
- | TypeScript | 类型安全检查 | 中大型项目 |
236
- | Stylelint | CSS/SCSS 代码检查 | 样式代码较多的项目 |
237
-
238
- ### 性能分析工具
239
-
240
- | 工具 | 用途 | 推荐场景 |
241
- |------|------|----------|
242
- | Lighthouse | 性能、可访问性、SEO 审计 | 正式发布前检查 |
243
- | Chrome DevTools Performance | 运行时性能分析 | 性能优化阶段 |
244
- | Webpack Bundle Analyzer | 打包体积分析 | 打包优化阶段 |
245
- | React DevTools Profiler | React 渲染性能分析 | React 性能优化 |
246
- | Vue DevTools Performance | Vue 组件性能分析 | Vue 性能优化 |
247
-
248
- ### 可访问性工具
249
-
250
- | 工具 | 用途 | 推荐场景 |
251
- |------|------|----------|
252
- | axe DevTools | 可访问性自动检测 | 可访问性审查 |
253
- | WAVE | 网页可访问性评估 | 快速可访问性检查 |
254
- | Lighthouse a11y | 可访问性评分 | 综合审查 |
255
-
256
- ### 安全检查工具
257
-
258
- | 工具 | 用途 | 推荐场景 |
259
- |------|------|----------|
260
- | npm audit | 依赖漏洞扫描 | 定期安全检查 |
261
- | Snyk | 依赖安全分析 | CI/CD 集成 |
262
- | OWASP ZAP | Web 应用安全测试 | 安全审计 |
263
-
264
- ### 类型检查工具
265
-
266
- | 工具 | 用途 | 推荐场景 |
267
- |------|------|----------|
268
- | TypeScript | 静态类型检查 | TypeScript 项目 |
269
- | Flow | JavaScript 类型检查 | Flow 项目 |
270
- | Prop-Types | React 运行时类型检查 | 非 TypeScript React 项目 |
271
-
272
- ## 审查优先级指南
273
-
274
- ### 时间充裕(全面审查)
275
- 1. 安全性检查(必须)
276
- 2. 功能实现检查(必须)
277
- 3. 性能优化检查(重要)
278
- 4. 代码质量检查(重要)
279
- 5. 可访问性检查(推荐)
280
- 6. 浏览器兼容性检查(推荐)
281
- 7. 代码风格检查(可选)
282
-
283
- ### 时间紧张(快速审查)
284
- 1. 安全性:XSS、输入验证、敏感数据
285
- 2. 功能:业务逻辑、错误处理
286
- 3. 性能:明显的性能问题
287
- 4. 代码质量:严重的代码异味
288
-
289
- ### 不同场景优先级
290
-
291
- **生产环境代码:**
292
- 安全 > 功能 > 性能 > 质量 > 可访问性 > 风格
293
-
294
- **原型/MVP:**
295
- 功能 > 安全 > 性能 > 其他
296
-
297
- **开源项目:**
298
- 质量 > 功能 > 安全 > 可访问性 > 性能 > 风格
@@ -1,6 +0,0 @@
1
- {
2
- "name": "frontend-design",
3
- "version": "1.0.0",
4
- "description": "创意前端界面设计,落地页/品牌页/营销页/Html/CSS",
5
- "tags": ["frontend", "design", "ui", "css"]
6
- }
@@ -1,177 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
@@ -1,42 +0,0 @@
1
- ---
2
- name: frontend-design
3
- description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
4
- license: Complete terms in LICENSE.txt
5
- ---
6
-
7
- This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
8
-
9
- The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
10
-
11
- ## Design Thinking
12
-
13
- Before coding, understand the context and commit to a BOLD aesthetic direction:
14
- - **Purpose**: What problem does this interface solve? Who uses it?
15
- - **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
16
- - **Constraints**: Technical requirements (framework, performance, accessibility).
17
- - **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
18
-
19
- **CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
20
-
21
- Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
22
- - Production-grade and functional
23
- - Visually striking and memorable
24
- - Cohesive with a clear aesthetic point-of-view
25
- - Meticulously refined in every detail
26
-
27
- ## Frontend Aesthetics Guidelines
28
-
29
- Focus on:
30
- - **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
31
- - **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
32
- - **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
33
- - **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
34
- - **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
35
-
36
- NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
37
-
38
- Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
39
-
40
- **IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
41
-
42
- Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
@@ -1,6 +0,0 @@
1
- {
2
- "name": "skill-creator",
3
- "version": "1.0.0",
4
- "description": "创建和更新技能的指导工具",
5
- "tags": ["meta", "tool"]
6
- }