claude-autopm 2.8.1 → 2.8.2

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 (273) hide show
  1. package/README.md +116 -8
  2. package/bin/autopm.js +2 -0
  3. package/bin/commands/plugin.js +395 -0
  4. package/bin/commands/team.js +184 -10
  5. package/install/install.js +223 -4
  6. package/lib/plugins/PluginManager.js +1328 -0
  7. package/lib/plugins/PluginManager.old.js +400 -0
  8. package/package.json +4 -1
  9. package/scripts/publish-plugins.sh +166 -0
  10. package/autopm/.claude/agents/cloud/README.md +0 -55
  11. package/autopm/.claude/agents/cloud/aws-cloud-architect.md +0 -521
  12. package/autopm/.claude/agents/cloud/azure-cloud-architect.md +0 -436
  13. package/autopm/.claude/agents/cloud/gcp-cloud-architect.md +0 -385
  14. package/autopm/.claude/agents/cloud/gcp-cloud-functions-engineer.md +0 -306
  15. package/autopm/.claude/agents/cloud/gemini-api-expert.md +0 -880
  16. package/autopm/.claude/agents/cloud/kubernetes-orchestrator.md +0 -566
  17. package/autopm/.claude/agents/cloud/openai-python-expert.md +0 -1087
  18. package/autopm/.claude/agents/cloud/terraform-infrastructure-expert.md +0 -454
  19. package/autopm/.claude/agents/core/agent-manager.md +0 -296
  20. package/autopm/.claude/agents/core/code-analyzer.md +0 -131
  21. package/autopm/.claude/agents/core/file-analyzer.md +0 -162
  22. package/autopm/.claude/agents/core/test-runner.md +0 -200
  23. package/autopm/.claude/agents/data/airflow-orchestration-expert.md +0 -52
  24. package/autopm/.claude/agents/data/kedro-pipeline-expert.md +0 -50
  25. package/autopm/.claude/agents/data/langgraph-workflow-expert.md +0 -520
  26. package/autopm/.claude/agents/databases/README.md +0 -50
  27. package/autopm/.claude/agents/databases/bigquery-expert.md +0 -392
  28. package/autopm/.claude/agents/databases/cosmosdb-expert.md +0 -368
  29. package/autopm/.claude/agents/databases/mongodb-expert.md +0 -398
  30. package/autopm/.claude/agents/databases/postgresql-expert.md +0 -321
  31. package/autopm/.claude/agents/databases/redis-expert.md +0 -52
  32. package/autopm/.claude/agents/devops/README.md +0 -52
  33. package/autopm/.claude/agents/devops/azure-devops-specialist.md +0 -308
  34. package/autopm/.claude/agents/devops/docker-containerization-expert.md +0 -298
  35. package/autopm/.claude/agents/devops/github-operations-specialist.md +0 -335
  36. package/autopm/.claude/agents/devops/mcp-context-manager.md +0 -319
  37. package/autopm/.claude/agents/devops/observability-engineer.md +0 -574
  38. package/autopm/.claude/agents/devops/ssh-operations-expert.md +0 -1093
  39. package/autopm/.claude/agents/devops/traefik-proxy-expert.md +0 -444
  40. package/autopm/.claude/agents/frameworks/README.md +0 -64
  41. package/autopm/.claude/agents/frameworks/e2e-test-engineer.md +0 -360
  42. package/autopm/.claude/agents/frameworks/nats-messaging-expert.md +0 -254
  43. package/autopm/.claude/agents/frameworks/react-frontend-engineer.md +0 -217
  44. package/autopm/.claude/agents/frameworks/react-ui-expert.md +0 -226
  45. package/autopm/.claude/agents/frameworks/tailwindcss-expert.md +0 -770
  46. package/autopm/.claude/agents/frameworks/ux-design-expert.md +0 -244
  47. package/autopm/.claude/agents/integration/message-queue-engineer.md +0 -794
  48. package/autopm/.claude/agents/languages/README.md +0 -50
  49. package/autopm/.claude/agents/languages/bash-scripting-expert.md +0 -541
  50. package/autopm/.claude/agents/languages/javascript-frontend-engineer.md +0 -197
  51. package/autopm/.claude/agents/languages/nodejs-backend-engineer.md +0 -226
  52. package/autopm/.claude/agents/languages/python-backend-engineer.md +0 -214
  53. package/autopm/.claude/agents/languages/python-backend-expert.md +0 -289
  54. package/autopm/.claude/agents/testing/frontend-testing-engineer.md +0 -395
  55. package/autopm/.claude/commands/ai/langgraph-workflow.md +0 -65
  56. package/autopm/.claude/commands/ai/openai-chat.md +0 -65
  57. package/autopm/.claude/commands/azure/COMMANDS.md +0 -107
  58. package/autopm/.claude/commands/azure/COMMAND_MAPPING.md +0 -252
  59. package/autopm/.claude/commands/azure/INTEGRATION_FIX.md +0 -103
  60. package/autopm/.claude/commands/azure/README.md +0 -246
  61. package/autopm/.claude/commands/azure/active-work.md +0 -198
  62. package/autopm/.claude/commands/azure/aliases.md +0 -143
  63. package/autopm/.claude/commands/azure/blocked-items.md +0 -287
  64. package/autopm/.claude/commands/azure/clean.md +0 -93
  65. package/autopm/.claude/commands/azure/docs-query.md +0 -48
  66. package/autopm/.claude/commands/azure/feature-decompose.md +0 -380
  67. package/autopm/.claude/commands/azure/feature-list.md +0 -61
  68. package/autopm/.claude/commands/azure/feature-new.md +0 -115
  69. package/autopm/.claude/commands/azure/feature-show.md +0 -205
  70. package/autopm/.claude/commands/azure/feature-start.md +0 -130
  71. package/autopm/.claude/commands/azure/fix-integration-example.md +0 -93
  72. package/autopm/.claude/commands/azure/help.md +0 -150
  73. package/autopm/.claude/commands/azure/import-us.md +0 -269
  74. package/autopm/.claude/commands/azure/init.md +0 -211
  75. package/autopm/.claude/commands/azure/next-task.md +0 -262
  76. package/autopm/.claude/commands/azure/search.md +0 -160
  77. package/autopm/.claude/commands/azure/sprint-status.md +0 -235
  78. package/autopm/.claude/commands/azure/standup.md +0 -260
  79. package/autopm/.claude/commands/azure/sync-all.md +0 -99
  80. package/autopm/.claude/commands/azure/task-analyze.md +0 -186
  81. package/autopm/.claude/commands/azure/task-close.md +0 -329
  82. package/autopm/.claude/commands/azure/task-edit.md +0 -145
  83. package/autopm/.claude/commands/azure/task-list.md +0 -263
  84. package/autopm/.claude/commands/azure/task-new.md +0 -84
  85. package/autopm/.claude/commands/azure/task-reopen.md +0 -79
  86. package/autopm/.claude/commands/azure/task-show.md +0 -126
  87. package/autopm/.claude/commands/azure/task-start.md +0 -301
  88. package/autopm/.claude/commands/azure/task-status.md +0 -65
  89. package/autopm/.claude/commands/azure/task-sync.md +0 -67
  90. package/autopm/.claude/commands/azure/us-edit.md +0 -164
  91. package/autopm/.claude/commands/azure/us-list.md +0 -202
  92. package/autopm/.claude/commands/azure/us-new.md +0 -265
  93. package/autopm/.claude/commands/azure/us-parse.md +0 -253
  94. package/autopm/.claude/commands/azure/us-show.md +0 -188
  95. package/autopm/.claude/commands/azure/us-status.md +0 -320
  96. package/autopm/.claude/commands/azure/validate.md +0 -86
  97. package/autopm/.claude/commands/azure/work-item-sync.md +0 -47
  98. package/autopm/.claude/commands/cloud/infra-deploy.md +0 -38
  99. package/autopm/.claude/commands/github/workflow-create.md +0 -42
  100. package/autopm/.claude/commands/infrastructure/ssh-security.md +0 -65
  101. package/autopm/.claude/commands/infrastructure/traefik-setup.md +0 -65
  102. package/autopm/.claude/commands/kubernetes/deploy.md +0 -37
  103. package/autopm/.claude/commands/playwright/test-scaffold.md +0 -38
  104. package/autopm/.claude/commands/pm/blocked.md +0 -28
  105. package/autopm/.claude/commands/pm/clean.md +0 -119
  106. package/autopm/.claude/commands/pm/context-create.md +0 -136
  107. package/autopm/.claude/commands/pm/context-prime.md +0 -170
  108. package/autopm/.claude/commands/pm/context-update.md +0 -292
  109. package/autopm/.claude/commands/pm/context.md +0 -28
  110. package/autopm/.claude/commands/pm/epic-close.md +0 -86
  111. package/autopm/.claude/commands/pm/epic-decompose.md +0 -370
  112. package/autopm/.claude/commands/pm/epic-edit.md +0 -83
  113. package/autopm/.claude/commands/pm/epic-list.md +0 -30
  114. package/autopm/.claude/commands/pm/epic-merge.md +0 -222
  115. package/autopm/.claude/commands/pm/epic-oneshot.md +0 -119
  116. package/autopm/.claude/commands/pm/epic-refresh.md +0 -119
  117. package/autopm/.claude/commands/pm/epic-show.md +0 -28
  118. package/autopm/.claude/commands/pm/epic-split.md +0 -120
  119. package/autopm/.claude/commands/pm/epic-start.md +0 -195
  120. package/autopm/.claude/commands/pm/epic-status.md +0 -28
  121. package/autopm/.claude/commands/pm/epic-sync-modular.md +0 -338
  122. package/autopm/.claude/commands/pm/epic-sync-original.md +0 -473
  123. package/autopm/.claude/commands/pm/epic-sync.md +0 -486
  124. package/autopm/.claude/commands/pm/help.md +0 -28
  125. package/autopm/.claude/commands/pm/import.md +0 -115
  126. package/autopm/.claude/commands/pm/in-progress.md +0 -28
  127. package/autopm/.claude/commands/pm/init.md +0 -28
  128. package/autopm/.claude/commands/pm/issue-analyze.md +0 -202
  129. package/autopm/.claude/commands/pm/issue-close.md +0 -119
  130. package/autopm/.claude/commands/pm/issue-edit.md +0 -93
  131. package/autopm/.claude/commands/pm/issue-reopen.md +0 -87
  132. package/autopm/.claude/commands/pm/issue-show.md +0 -41
  133. package/autopm/.claude/commands/pm/issue-start.md +0 -234
  134. package/autopm/.claude/commands/pm/issue-status.md +0 -95
  135. package/autopm/.claude/commands/pm/issue-sync.md +0 -411
  136. package/autopm/.claude/commands/pm/next.md +0 -28
  137. package/autopm/.claude/commands/pm/prd-edit.md +0 -82
  138. package/autopm/.claude/commands/pm/prd-list.md +0 -28
  139. package/autopm/.claude/commands/pm/prd-new.md +0 -55
  140. package/autopm/.claude/commands/pm/prd-parse.md +0 -42
  141. package/autopm/.claude/commands/pm/prd-status.md +0 -28
  142. package/autopm/.claude/commands/pm/search.md +0 -28
  143. package/autopm/.claude/commands/pm/standup.md +0 -28
  144. package/autopm/.claude/commands/pm/status.md +0 -28
  145. package/autopm/.claude/commands/pm/sync.md +0 -99
  146. package/autopm/.claude/commands/pm/test-reference-update.md +0 -151
  147. package/autopm/.claude/commands/pm/validate.md +0 -28
  148. package/autopm/.claude/commands/pm/what-next.md +0 -28
  149. package/autopm/.claude/commands/python/api-scaffold.md +0 -50
  150. package/autopm/.claude/commands/python/docs-query.md +0 -48
  151. package/autopm/.claude/commands/react/app-scaffold.md +0 -50
  152. package/autopm/.claude/commands/testing/prime.md +0 -314
  153. package/autopm/.claude/commands/testing/run.md +0 -125
  154. package/autopm/.claude/commands/ui/bootstrap-scaffold.md +0 -65
  155. package/autopm/.claude/commands/ui/tailwind-system.md +0 -64
  156. package/autopm/.claude/rules/ai-integration-patterns.md +0 -219
  157. package/autopm/.claude/rules/ci-cd-kubernetes-strategy.md +0 -25
  158. package/autopm/.claude/rules/database-management-strategy.md +0 -17
  159. package/autopm/.claude/rules/database-pipeline.md +0 -94
  160. package/autopm/.claude/rules/devops-troubleshooting-playbook.md +0 -450
  161. package/autopm/.claude/rules/docker-first-development.md +0 -404
  162. package/autopm/.claude/rules/infrastructure-pipeline.md +0 -128
  163. package/autopm/.claude/rules/performance-guidelines.md +0 -403
  164. package/autopm/.claude/rules/ui-development-standards.md +0 -281
  165. package/autopm/.claude/rules/ui-framework-rules.md +0 -151
  166. package/autopm/.claude/rules/ux-design-rules.md +0 -209
  167. package/autopm/.claude/rules/visual-testing.md +0 -223
  168. package/autopm/.claude/scripts/azure/README.md +0 -192
  169. package/autopm/.claude/scripts/azure/active-work.js +0 -524
  170. package/autopm/.claude/scripts/azure/active-work.sh +0 -20
  171. package/autopm/.claude/scripts/azure/blocked.js +0 -520
  172. package/autopm/.claude/scripts/azure/blocked.sh +0 -20
  173. package/autopm/.claude/scripts/azure/daily.js +0 -533
  174. package/autopm/.claude/scripts/azure/daily.sh +0 -20
  175. package/autopm/.claude/scripts/azure/dashboard.js +0 -970
  176. package/autopm/.claude/scripts/azure/dashboard.sh +0 -20
  177. package/autopm/.claude/scripts/azure/feature-list.js +0 -254
  178. package/autopm/.claude/scripts/azure/feature-list.sh +0 -20
  179. package/autopm/.claude/scripts/azure/feature-show.js +0 -7
  180. package/autopm/.claude/scripts/azure/feature-show.sh +0 -20
  181. package/autopm/.claude/scripts/azure/feature-status.js +0 -604
  182. package/autopm/.claude/scripts/azure/feature-status.sh +0 -20
  183. package/autopm/.claude/scripts/azure/help.js +0 -342
  184. package/autopm/.claude/scripts/azure/help.sh +0 -20
  185. package/autopm/.claude/scripts/azure/next-task.js +0 -508
  186. package/autopm/.claude/scripts/azure/next-task.sh +0 -20
  187. package/autopm/.claude/scripts/azure/search.js +0 -469
  188. package/autopm/.claude/scripts/azure/search.sh +0 -20
  189. package/autopm/.claude/scripts/azure/setup.js +0 -745
  190. package/autopm/.claude/scripts/azure/setup.sh +0 -20
  191. package/autopm/.claude/scripts/azure/sprint-report.js +0 -1012
  192. package/autopm/.claude/scripts/azure/sprint-report.sh +0 -20
  193. package/autopm/.claude/scripts/azure/sync.js +0 -563
  194. package/autopm/.claude/scripts/azure/sync.sh +0 -20
  195. package/autopm/.claude/scripts/azure/us-list.js +0 -210
  196. package/autopm/.claude/scripts/azure/us-list.sh +0 -20
  197. package/autopm/.claude/scripts/azure/us-status.js +0 -238
  198. package/autopm/.claude/scripts/azure/us-status.sh +0 -20
  199. package/autopm/.claude/scripts/azure/validate.js +0 -626
  200. package/autopm/.claude/scripts/azure/validate.sh +0 -20
  201. package/autopm/.claude/scripts/azure/wrapper-template.sh +0 -20
  202. package/autopm/.claude/scripts/github/dependency-tracker.js +0 -554
  203. package/autopm/.claude/scripts/github/dependency-validator.js +0 -545
  204. package/autopm/.claude/scripts/github/dependency-visualizer.js +0 -477
  205. package/autopm/.claude/scripts/pm/analytics.js +0 -425
  206. package/autopm/.claude/scripts/pm/blocked.js +0 -164
  207. package/autopm/.claude/scripts/pm/blocked.sh +0 -78
  208. package/autopm/.claude/scripts/pm/clean.js +0 -464
  209. package/autopm/.claude/scripts/pm/context-create.js +0 -216
  210. package/autopm/.claude/scripts/pm/context-prime.js +0 -335
  211. package/autopm/.claude/scripts/pm/context-update.js +0 -344
  212. package/autopm/.claude/scripts/pm/context.js +0 -338
  213. package/autopm/.claude/scripts/pm/epic-close.js +0 -347
  214. package/autopm/.claude/scripts/pm/epic-edit.js +0 -382
  215. package/autopm/.claude/scripts/pm/epic-list.js +0 -273
  216. package/autopm/.claude/scripts/pm/epic-list.sh +0 -109
  217. package/autopm/.claude/scripts/pm/epic-show.js +0 -291
  218. package/autopm/.claude/scripts/pm/epic-show.sh +0 -105
  219. package/autopm/.claude/scripts/pm/epic-split.js +0 -522
  220. package/autopm/.claude/scripts/pm/epic-start/epic-start.js +0 -183
  221. package/autopm/.claude/scripts/pm/epic-start/epic-start.sh +0 -94
  222. package/autopm/.claude/scripts/pm/epic-status.js +0 -291
  223. package/autopm/.claude/scripts/pm/epic-status.sh +0 -104
  224. package/autopm/.claude/scripts/pm/epic-sync/README.md +0 -208
  225. package/autopm/.claude/scripts/pm/epic-sync/create-epic-issue.sh +0 -77
  226. package/autopm/.claude/scripts/pm/epic-sync/create-task-issues.sh +0 -86
  227. package/autopm/.claude/scripts/pm/epic-sync/update-epic-file.sh +0 -79
  228. package/autopm/.claude/scripts/pm/epic-sync/update-references.sh +0 -89
  229. package/autopm/.claude/scripts/pm/epic-sync.sh +0 -137
  230. package/autopm/.claude/scripts/pm/help.js +0 -92
  231. package/autopm/.claude/scripts/pm/help.sh +0 -90
  232. package/autopm/.claude/scripts/pm/in-progress.js +0 -178
  233. package/autopm/.claude/scripts/pm/in-progress.sh +0 -93
  234. package/autopm/.claude/scripts/pm/init.js +0 -321
  235. package/autopm/.claude/scripts/pm/init.sh +0 -178
  236. package/autopm/.claude/scripts/pm/issue-close.js +0 -232
  237. package/autopm/.claude/scripts/pm/issue-edit.js +0 -310
  238. package/autopm/.claude/scripts/pm/issue-show.js +0 -272
  239. package/autopm/.claude/scripts/pm/issue-start.js +0 -181
  240. package/autopm/.claude/scripts/pm/issue-sync/format-comment.sh +0 -468
  241. package/autopm/.claude/scripts/pm/issue-sync/gather-updates.sh +0 -460
  242. package/autopm/.claude/scripts/pm/issue-sync/post-comment.sh +0 -330
  243. package/autopm/.claude/scripts/pm/issue-sync/preflight-validation.sh +0 -348
  244. package/autopm/.claude/scripts/pm/issue-sync/update-frontmatter.sh +0 -387
  245. package/autopm/.claude/scripts/pm/lib/README.md +0 -85
  246. package/autopm/.claude/scripts/pm/lib/epic-discovery.js +0 -119
  247. package/autopm/.claude/scripts/pm/lib/logger.js +0 -78
  248. package/autopm/.claude/scripts/pm/next.js +0 -189
  249. package/autopm/.claude/scripts/pm/next.sh +0 -72
  250. package/autopm/.claude/scripts/pm/optimize.js +0 -407
  251. package/autopm/.claude/scripts/pm/pr-create.js +0 -337
  252. package/autopm/.claude/scripts/pm/pr-list.js +0 -257
  253. package/autopm/.claude/scripts/pm/prd-list.js +0 -242
  254. package/autopm/.claude/scripts/pm/prd-list.sh +0 -103
  255. package/autopm/.claude/scripts/pm/prd-new.js +0 -684
  256. package/autopm/.claude/scripts/pm/prd-parse.js +0 -547
  257. package/autopm/.claude/scripts/pm/prd-status.js +0 -152
  258. package/autopm/.claude/scripts/pm/prd-status.sh +0 -63
  259. package/autopm/.claude/scripts/pm/release.js +0 -460
  260. package/autopm/.claude/scripts/pm/search.js +0 -192
  261. package/autopm/.claude/scripts/pm/search.sh +0 -89
  262. package/autopm/.claude/scripts/pm/standup.js +0 -362
  263. package/autopm/.claude/scripts/pm/standup.sh +0 -95
  264. package/autopm/.claude/scripts/pm/status.js +0 -148
  265. package/autopm/.claude/scripts/pm/status.sh +0 -59
  266. package/autopm/.claude/scripts/pm/sync-batch.js +0 -337
  267. package/autopm/.claude/scripts/pm/sync.js +0 -343
  268. package/autopm/.claude/scripts/pm/template-list.js +0 -141
  269. package/autopm/.claude/scripts/pm/template-new.js +0 -366
  270. package/autopm/.claude/scripts/pm/validate.js +0 -274
  271. package/autopm/.claude/scripts/pm/validate.sh +0 -106
  272. package/autopm/.claude/scripts/pm/what-next.js +0 -660
  273. package/bin/node/azure-feature-show.js +0 -7
@@ -1,151 +0,0 @@
1
- # UI Framework Agent Rules
2
-
3
- ## MANDATORY BEHAVIORS
4
-
5
- ### 1. Component-First Development
6
-
7
- - Always check existing components before creating new ones
8
- - Reuse and extend existing patterns
9
- - Follow the framework's component composition philosophy
10
- - Never mix multiple UI frameworks in the same project
11
-
12
- ### 2. Theme Consistency
13
-
14
- - Always use the theme/design system for styling
15
- - Never use inline styles when theme tokens exist
16
- - Maintain consistent spacing, colors, and typography
17
- - Follow the framework's theming patterns
18
-
19
- ### 3. Accessibility Standards
20
-
21
- - Every interactive element must be keyboard accessible
22
- - Maintain proper ARIA labels and roles
23
- - Ensure sufficient color contrast (WCAG 2.1 AA minimum)
24
- - Test with screen readers when implementing complex interactions
25
-
26
- ### 4. Performance Optimization
27
-
28
- - Implement code splitting for large component libraries
29
- - Use lazy loading for heavy components
30
- - Optimize bundle size with tree-shaking
31
- - Monitor and minimize re-renders
32
-
33
- ### 5. Responsive Design
34
-
35
- - Mobile-first approach for all layouts
36
- - Use framework's breakpoint system consistently
37
- - Test on multiple viewport sizes
38
- - Ensure touch-friendly interactions on mobile
39
-
40
- ## PROHIBITED ACTIONS
41
-
42
- ### Never
43
-
44
- - Mix CSS frameworks (e.g., Bootstrap with Tailwind)
45
- - Use deprecated component APIs
46
- - Ignore framework conventions for custom solutions
47
- - Create inaccessible UI patterns
48
- - Use hard-coded colors/spacing instead of theme values
49
- - Implement custom form validation when framework provides it
50
- - Build custom components when framework components exist
51
-
52
- ## CONTEXT OPTIMIZATION
53
-
54
- ### Data Return Limits
55
-
56
- - Return maximum 20% of analyzed component code
57
- - Summarize theme configurations instead of full dumps
58
- - Focus on changed/added components only
59
- - Use references to existing patterns rather than duplicating
60
-
61
- ### Search Patterns
62
-
63
- - Search for existing similar components first
64
- - Check theme configuration before implementing styles
65
- - Review framework documentation for best practices
66
- - Look for community patterns and examples
67
-
68
- ## FRAMEWORK-SPECIFIC RULES
69
-
70
- ### Material-UI (MUI)
71
-
72
- - Always use sx prop or styled() for styling
73
- - Leverage MUI System utilities
74
- - Follow Material Design principles
75
- - Use ProComponents for complex features
76
-
77
- ### Chakra UI
78
-
79
- - Use style props over CSS
80
- - Leverage Chakra hooks for common patterns
81
- - Follow the modular component approach
82
- - Maintain color mode compatibility
83
-
84
- ### Ant Design
85
-
86
- - Use ConfigProvider for global configuration
87
- - Leverage ProComponents for enterprise features
88
- - Follow Ant Design patterns
89
- - Maintain form validation consistency
90
-
91
- ### Bootstrap
92
-
93
- - Use utility classes over custom CSS
94
- - Follow Bootstrap's grid system
95
- - Maintain responsive breakpoints
96
- - Use Bootstrap variables for customization
97
-
98
- ### Tailwind CSS
99
-
100
- - Follow utility-first methodology
101
- - Use @apply sparingly
102
- - Maintain consistent class ordering
103
- - Leverage Tailwind config for customization
104
-
105
- ## TESTING REQUIREMENTS
106
-
107
- ### Component Testing
108
-
109
- - Test all interactive components
110
- - Verify accessibility with automated tools
111
- - Test responsive behavior
112
- - Validate theme switching
113
-
114
- ### Visual Testing
115
-
116
- - Capture screenshots for visual regression
117
- - Test dark/light mode variations
118
- - Verify responsive layouts
119
- - Check cross-browser compatibility
120
-
121
- ## INTEGRATION RULES
122
-
123
- ### With React Frontend Engineer
124
-
125
- - Coordinate on component architecture
126
- - Share state management patterns
127
- - Align on TypeScript interfaces
128
- - Maintain consistent file structure
129
-
130
- ### With Playwright Test Engineer
131
-
132
- - Provide stable selectors for testing
133
- - Document component APIs
134
- - Ensure testability of interactions
135
- - Support visual regression testing
136
-
137
- ## DOCUMENTATION STANDARDS
138
-
139
- ### Component Documentation
140
-
141
- - Document all props with TypeScript
142
- - Provide usage examples
143
- - Include accessibility notes
144
- - Note performance considerations
145
-
146
- ### Theme Documentation
147
-
148
- - Document custom theme values
149
- - Explain design decisions
150
- - Provide color/spacing scales
151
- - Include responsive breakpoints
@@ -1,209 +0,0 @@
1
- # UX Design Rules
2
-
3
- ## MANDATORY PRINCIPLES
4
-
5
- ### 1. User-First Approach
6
-
7
- - ALWAYS validate designs with user research or testing
8
- - NEVER assume user behavior without data
9
- - ALWAYS consider edge cases and error states
10
- - NEVER sacrifice usability for aesthetics
11
-
12
- ### 2. Accessibility is Non-Negotiable
13
-
14
- - WCAG 2.1 AA is the minimum standard
15
- - Every interaction must be keyboard accessible
16
- - Color must never be the only indicator
17
- - Alt text and ARIA labels are mandatory
18
- - Test with screen readers
19
-
20
- ### 3. Performance is UX
21
-
22
- - 3-second rule for initial load
23
- - 100ms response for user interactions
24
- - Optimize images and assets
25
- - Implement progressive loading
26
- - Monitor Core Web Vitals
27
-
28
- ### 4. Mobile-First Design
29
-
30
- - Start with mobile constraints
31
- - Touch targets minimum 44x44px (iOS) or 48x48px (Android)
32
- - Consider thumb reach zones
33
- - Account for various screen sizes
34
- - Test on real devices
35
-
36
- ### 5. Consistency Over Creativity
37
-
38
- - Follow established patterns in the system
39
- - Maintain consistent spacing, colors, typography
40
- - Reuse components before creating new ones
41
- - Document any new patterns introduced
42
-
43
- ## PROHIBITED PRACTICES
44
-
45
- ### Never
46
-
47
- - Use placeholder text as labels
48
- - Disable browser zoom
49
- - Hide important content behind hover
50
- - Use auto-playing media with sound
51
- - Create custom scrollbars without necessity
52
- - Implement infinite scroll without alternatives
53
- - Use justified text alignment for body content
54
- - Create forms without validation feedback
55
- - Implement dark patterns or deceptive UX
56
- - Ignore browser back button behavior
57
-
58
- ## DESIGN EVALUATION CRITERIA
59
-
60
- ### Before Implementation
61
-
62
- 1. **Purpose Clear**: Can users understand the purpose within 5 seconds?
63
- 2. **Task Completion**: Can users complete primary tasks without help?
64
- 3. **Error Recovery**: Can users recover from mistakes easily?
65
- 4. **Accessibility**: Does it pass automated accessibility checks?
66
- 5. **Performance**: Will it meet performance budgets?
67
-
68
- ### After Implementation
69
-
70
- 1. **Usability Testing**: Has it been tested with real users?
71
- 2. **Analytics Review**: Are success metrics improving?
72
- 3. **Accessibility Audit**: Manual testing completed?
73
- 4. **Device Testing**: Verified on target devices?
74
- 5. **A/B Testing**: Validated against alternatives?
75
-
76
- ## INFORMATION HIERARCHY
77
-
78
- ### Content Organization
79
-
80
- - F-pattern for text-heavy pages
81
- - Z-pattern for landing pages
82
- - Progressive disclosure for complex information
83
- - Chunking for better comprehension
84
- - Visual hierarchy through size, color, spacing
85
-
86
- ### Navigation Rules
87
-
88
- - Maximum 7±2 items in primary navigation
89
- - Breadcrumbs for deep hierarchies
90
- - Search for content-heavy sites
91
- - Clear active states
92
- - Predictable placement
93
-
94
- ## INTERACTION DESIGN RULES
95
-
96
- ### Feedback & Response
97
-
98
- - Immediate feedback for all interactions (<100ms)
99
- - Loading indicators for operations >1 second
100
- - Success/error messages clearly visible
101
- - Progress indicators for multi-step processes
102
- - Confirmation for destructive actions
103
-
104
- ### Form Design
105
-
106
- - One column layout for better completion
107
- - Inline validation where possible
108
- - Clear error messages with solutions
109
- - Optional fields clearly marked
110
- - Smart defaults and auto-complete
111
- - Progress save for long forms
112
-
113
- ## VISUAL DESIGN STANDARDS
114
-
115
- ### Typography
116
-
117
- - Maximum 2-3 typefaces
118
- - 16px minimum for body text
119
- - 45-75 characters per line for readability
120
- - 1.5x line height for body text
121
- - Sufficient contrast (4.5:1 for normal text)
122
-
123
- ### Color Usage
124
-
125
- - Maximum 3-4 primary colors
126
- - 60-30-10 rule for color distribution
127
- - Consider color blindness (8% of men)
128
- - Test in grayscale
129
- - Maintain brand consistency
130
-
131
- ### Spacing & Layout
132
-
133
- - 8-point grid system
134
- - Consistent padding and margins
135
- - Adequate white space (30-40% minimum)
136
- - Logical grouping with proximity
137
- - Responsive breakpoints at standard sizes
138
-
139
- ## CONVERSION OPTIMIZATION
140
-
141
- ### Call-to-Action
142
-
143
- - One primary CTA per view
144
- - Action-oriented text
145
- - Contrasting colors
146
- - Adequate size and padding
147
- - Above the fold placement for critical CTAs
148
-
149
- ### Trust Signals
150
-
151
- - Security badges for payments
152
- - Customer testimonials
153
- - Clear return policies
154
- - Contact information visible
155
- - Professional design quality
156
-
157
- ## TESTING REQUIREMENTS
158
-
159
- ### Usability Testing
160
-
161
- - 5 users minimum for qualitative insights
162
- - Task-based scenarios
163
- - Think-aloud protocol
164
- - Success rate measurement
165
- - Time-on-task tracking
166
-
167
- ### A/B Testing
168
-
169
- - Statistical significance required
170
- - Test one variable at a time
171
- - Run for complete business cycles
172
- - Consider seasonal variations
173
- - Document learnings
174
-
175
- ## DOCUMENTATION STANDARDS
176
-
177
- ### Design Specifications
178
-
179
- - Exact measurements and spacing
180
- - Color codes and opacity values
181
- - Font sizes and weights
182
- - Animation durations and easing
183
- - Interaction states (hover, active, focus, disabled)
184
-
185
- ### Handoff Requirements
186
-
187
- - Exported assets in required formats
188
- - Design tokens documented
189
- - Component behavior described
190
- - Edge cases specified
191
- - Accessibility requirements noted
192
-
193
- ## CONTEXT OPTIMIZATION
194
-
195
- ### When Analyzing Designs
196
-
197
- - Return key issues and recommendations only
198
- - Prioritize problems by impact
199
- - Provide specific, actionable feedback
200
- - Reference established principles
201
- - Include quick wins and long-term improvements
202
-
203
- ### When Implementing Designs
204
-
205
- - Focus on changed elements only
206
- - Reference existing patterns
207
- - Document new patterns created
208
- - Note accessibility implementations
209
- - Track performance impacts
@@ -1,223 +0,0 @@
1
- # Visual Testing & UI Development Standards
2
-
3
- > **CRITICAL**: All UI changes require visual verification and testing.
4
-
5
- ## Quick Visual Check Protocol
6
-
7
- **IMMEDIATELY after implementing any front-end change:**
8
-
9
- 1. **Identify what changed** - Review modified components/pages
10
- 2. **Navigate to affected pages** - Use browser tools or MCP Playwright
11
- 3. **Verify design compliance** - Check against design system/style guide
12
- 4. **Validate feature implementation** - Ensure change fulfills requirements
13
- 5. **Check acceptance criteria** - Review requirements and context
14
- 6. **Capture evidence** - Screenshots at standard viewports:
15
- - Mobile: 375px
16
- - Tablet: 768px
17
- - Desktop: 1440px
18
- 7. **Check for errors** - Review browser console for JavaScript errors
19
- 8. **Test interactions** - Verify hover states, animations, transitions
20
-
21
- ## Visual Testing Requirements
22
-
23
- ### Pre-Commit Checklist
24
-
25
- ```bash
26
- # Before committing any UI changes:
27
- - [ ] Responsive design verified (mobile, tablet, desktop)
28
- - [ ] Cross-browser testing completed (Chrome, Firefox, Safari, Edge)
29
- - [ ] Accessibility standards met (WCAG 2.1 AA)
30
- - [ ] Dark mode compatibility (if applicable)
31
- - [ ] Loading states implemented
32
- - [ ] Error states designed
33
- - [ ] Empty states handled
34
- - [ ] Animation performance optimized (<60fps)
35
- - [ ] Images optimized and lazy-loaded
36
- - [ ] Touch targets minimum 44x44px
37
- ```
38
-
39
- ## Visual Regression Testing
40
-
41
- ### Implementation with Playwright
42
-
43
- ```javascript
44
- // Visual regression test example
45
- describe('Component Visual Tests', () => {
46
- it('should match visual snapshot', async () => {
47
- await page.goto('/component');
48
- const screenshot = await page.screenshot();
49
- expect(screenshot).toMatchImageSnapshot();
50
- });
51
-
52
- it('should handle responsive breakpoints', async () => {
53
- const viewports = [375, 768, 1440];
54
- for (const width of viewports) {
55
- await page.setViewport({ width, height: 800 });
56
- const screenshot = await page.screenshot();
57
- expect(screenshot).toMatchImageSnapshot(`viewport-${width}`);
58
- }
59
- });
60
-
61
- it('should capture interaction states', async () => {
62
- // Normal state
63
- await page.screenshot({ path: 'button-normal.png' });
64
-
65
- // Hover state
66
- await page.hover('button');
67
- await page.screenshot({ path: 'button-hover.png' });
68
-
69
- // Focus state
70
- await page.focus('button');
71
- await page.screenshot({ path: 'button-focus.png' });
72
- });
73
- });
74
- ```
75
-
76
- ## UI/UX Best Practices
77
-
78
- ### Core Principles
79
-
80
- 1. **Consistency**: Use established patterns and components
81
- 2. **Feedback**: Provide immediate visual feedback for interactions
82
- 3. **Progressive Enhancement**: Core functionality works without JavaScript
83
- 4. **Performance**: Optimize for perceived performance
84
- 5. **Accessibility**: Design for all users from the start
85
-
86
- ### CSS Architecture
87
-
88
- ```scss
89
- // Follow BEM methodology
90
- .block {}
91
- .block__element {}
92
- .block--modifier {}
93
-
94
- // Component structure example
95
- .card {
96
- &__header {}
97
- &__body {}
98
- &__footer {}
99
-
100
- &--featured {
101
- .card__header {}
102
- }
103
- }
104
- ```
105
-
106
- ## Component Development Standards
107
-
108
- ### Component Checklist
109
-
110
- ```typescript
111
- // Every UI component must have:
112
- - [ ] Props validated with TypeScript/PropTypes
113
- - [ ] Default props defined
114
- - [ ] Error boundaries implemented
115
- - [ ] Memoization applied where needed
116
- - [ ] Accessibility attributes (ARIA)
117
- - [ ] Keyboard navigation support
118
- - [ ] RTL support considered
119
- - [ ] Theme variables used
120
- - [ ] Storybook story created
121
- - [ ] Visual regression tests
122
- - [ ] Unit tests written
123
- ```
124
-
125
- ## Accessibility Requirements
126
-
127
- ### WCAG 2.1 AA Compliance
128
-
129
- ```html
130
- <!-- Accessibility checklist -->
131
- - [ ] Semantic HTML used
132
- - [ ] ARIA labels where needed
133
- - [ ] Keyboard navigation works
134
- - [ ] Focus indicators visible
135
- - [ ] Color contrast ratios met (4.5:1 normal, 3:1 large)
136
- - [ ] Alt text for images
137
- - [ ] Form labels associated
138
- - [ ] Error messages announced
139
- - [ ] Skip links implemented
140
- - [ ] Page language declared
141
- ```
142
-
143
- ### Automated Accessibility Testing
144
-
145
- ```javascript
146
- // Using axe-core for automated testing
147
- import { axe } from '@axe-core/react';
148
-
149
- describe('Accessibility', () => {
150
- it('should have no violations', async () => {
151
- const results = await axe(container);
152
- expect(results).toHaveNoViolations();
153
- });
154
- });
155
- ```
156
-
157
- ## Design System Compliance
158
-
159
- ### Required Elements
160
-
161
- - **Colors**: Use only defined color tokens
162
- - **Typography**: Use only defined type scales
163
- - **Spacing**: Use only defined spacing units
164
- - **Components**: Use existing components before creating new
165
- - **Icons**: Use icon system, no inline SVGs
166
- - **Animations**: Use defined timing functions
167
-
168
- ## Performance Metrics
169
-
170
- ### Visual Performance Targets
171
-
172
- - First Contentful Paint (FCP): < 1.5s
173
- - Largest Contentful Paint (LCP): < 2.5s
174
- - Cumulative Layout Shift (CLS): < 0.1
175
- - First Input Delay (FID): < 100ms
176
- - Time to Interactive (TTI): < 5s
177
-
178
- ## Agent Integration
179
-
180
- ### Required Agents for Visual Testing
181
-
182
- - **frontend-testing-engineer**: Visual regression tests
183
- - **frontend-testing-engineer**: Browser automation
184
- - **react-frontend-engineer**: Component development
185
- - **code-analyzer**: Review UI code quality
186
-
187
- ### Visual Testing Pipeline
188
-
189
- ```
190
- 1. Implement UI change following TDD
191
- 2. frontend-testing-engineer → Create visual tests
192
- 3. Run visual regression tests at all breakpoints
193
- 4. code-analyzer → Verify accessibility
194
- 5. Capture screenshots for PR
195
- 6. Document visual changes
196
- ```
197
-
198
- ## Screenshot Documentation
199
-
200
- ### When to Include Screenshots
201
-
202
- - ✅ Any UI/UX change
203
- - ✅ New components or features
204
- - ✅ Style or layout modifications
205
- - ✅ Responsive design updates
206
- - ✅ Animation or interaction changes
207
- - ✅ Error or edge case handling
208
-
209
- ### Screenshot Requirements
210
-
211
- - Show before and after states
212
- - Include all responsive breakpoints
213
- - Capture interaction states
214
- - Annotate important changes
215
- - Use consistent naming convention
216
-
217
- ## Success Metrics
218
-
219
- - ✅ 100% visual test coverage for UI components
220
- - ✅ Zero visual regressions in production
221
- - ✅ All accessibility tests passing
222
- - ✅ Performance budgets maintained
223
- - ✅ Design system compliance verified