@musashishao/agent-kit 1.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.

Potentially problematic release.


This version of @musashishao/agent-kit might be problematic. Click here for more details.

Files changed (220) hide show
  1. package/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
  2. package/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
  3. package/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
  4. package/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
  5. package/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
  6. package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
  7. package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
  8. package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  9. package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  10. package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  11. package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  12. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  13. package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  14. package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  15. package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
  16. package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  17. package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  18. package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  19. package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  20. package/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
  21. package/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
  22. package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  23. package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  24. package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
  25. package/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
  26. package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +487 -0
  27. package/.agent/.shared/ui-ux-pro-max/scripts/search.py +76 -0
  28. package/.agent/ARCHITECTURE.md +225 -0
  29. package/.agent/CONTEXT.md +229 -0
  30. package/.agent/FEATURE_ROADMAP.md +435 -0
  31. package/.agent/PROMPT_TEMPLATES.md +261 -0
  32. package/.agent/agents/backend-specialist.md +263 -0
  33. package/.agent/agents/database-architect.md +226 -0
  34. package/.agent/agents/debugger.md +225 -0
  35. package/.agent/agents/devops-engineer.md +242 -0
  36. package/.agent/agents/documentation-writer.md +104 -0
  37. package/.agent/agents/explorer-agent.md +73 -0
  38. package/.agent/agents/frontend-specialist.md +556 -0
  39. package/.agent/agents/game-developer.md +162 -0
  40. package/.agent/agents/mobile-developer.md +377 -0
  41. package/.agent/agents/orchestrator.md +416 -0
  42. package/.agent/agents/penetration-tester.md +188 -0
  43. package/.agent/agents/performance-optimizer.md +187 -0
  44. package/.agent/agents/project-planner.md +403 -0
  45. package/.agent/agents/security-auditor.md +170 -0
  46. package/.agent/agents/seo-specialist.md +111 -0
  47. package/.agent/agents/test-engineer.md +158 -0
  48. package/.agent/rules/GEMINI.md +251 -0
  49. package/.agent/skills/api-patterns/SKILL.md +81 -0
  50. package/.agent/skills/api-patterns/api-style.md +42 -0
  51. package/.agent/skills/api-patterns/auth.md +24 -0
  52. package/.agent/skills/api-patterns/documentation.md +26 -0
  53. package/.agent/skills/api-patterns/graphql.md +41 -0
  54. package/.agent/skills/api-patterns/rate-limiting.md +31 -0
  55. package/.agent/skills/api-patterns/response.md +37 -0
  56. package/.agent/skills/api-patterns/rest.md +40 -0
  57. package/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
  58. package/.agent/skills/api-patterns/security-testing.md +122 -0
  59. package/.agent/skills/api-patterns/trpc.md +41 -0
  60. package/.agent/skills/api-patterns/versioning.md +22 -0
  61. package/.agent/skills/app-builder/SKILL.md +75 -0
  62. package/.agent/skills/app-builder/agent-coordination.md +71 -0
  63. package/.agent/skills/app-builder/feature-building.md +53 -0
  64. package/.agent/skills/app-builder/project-detection.md +34 -0
  65. package/.agent/skills/app-builder/scaffolding.md +118 -0
  66. package/.agent/skills/app-builder/tech-stack.md +40 -0
  67. package/.agent/skills/app-builder/templates/SKILL.md +39 -0
  68. package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  69. package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  70. package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  71. package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  72. package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  73. package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  74. package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  75. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
  76. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
  77. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
  78. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
  79. package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  80. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
  81. package/.agent/skills/architecture/SKILL.md +55 -0
  82. package/.agent/skills/architecture/context-discovery.md +43 -0
  83. package/.agent/skills/architecture/examples.md +94 -0
  84. package/.agent/skills/architecture/pattern-selection.md +68 -0
  85. package/.agent/skills/architecture/patterns-reference.md +50 -0
  86. package/.agent/skills/architecture/trade-off-analysis.md +77 -0
  87. package/.agent/skills/bash-linux/SKILL.md +199 -0
  88. package/.agent/skills/behavioral-modes/SKILL.md +242 -0
  89. package/.agent/skills/brainstorming/SKILL.md +163 -0
  90. package/.agent/skills/brainstorming/dynamic-questioning.md +350 -0
  91. package/.agent/skills/clean-code/SKILL.md +201 -0
  92. package/.agent/skills/code-review-checklist/SKILL.md +109 -0
  93. package/.agent/skills/database-design/SKILL.md +52 -0
  94. package/.agent/skills/database-design/database-selection.md +43 -0
  95. package/.agent/skills/database-design/indexing.md +39 -0
  96. package/.agent/skills/database-design/migrations.md +48 -0
  97. package/.agent/skills/database-design/optimization.md +36 -0
  98. package/.agent/skills/database-design/orm-selection.md +30 -0
  99. package/.agent/skills/database-design/schema-design.md +56 -0
  100. package/.agent/skills/database-design/scripts/schema_validator.py +172 -0
  101. package/.agent/skills/deployment-procedures/SKILL.md +241 -0
  102. package/.agent/skills/doc.md +177 -0
  103. package/.agent/skills/docker-expert/SKILL.md +409 -0
  104. package/.agent/skills/documentation-templates/SKILL.md +194 -0
  105. package/.agent/skills/frontend-design/SKILL.md +396 -0
  106. package/.agent/skills/frontend-design/animation-guide.md +331 -0
  107. package/.agent/skills/frontend-design/color-system.md +311 -0
  108. package/.agent/skills/frontend-design/decision-trees.md +418 -0
  109. package/.agent/skills/frontend-design/motion-graphics.md +306 -0
  110. package/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  111. package/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
  112. package/.agent/skills/frontend-design/typography-system.md +345 -0
  113. package/.agent/skills/frontend-design/ux-psychology.md +541 -0
  114. package/.agent/skills/frontend-design/visual-effects.md +383 -0
  115. package/.agent/skills/game-development/2d-games/SKILL.md +119 -0
  116. package/.agent/skills/game-development/3d-games/SKILL.md +135 -0
  117. package/.agent/skills/game-development/SKILL.md +167 -0
  118. package/.agent/skills/game-development/game-art/SKILL.md +185 -0
  119. package/.agent/skills/game-development/game-audio/SKILL.md +190 -0
  120. package/.agent/skills/game-development/game-design/SKILL.md +129 -0
  121. package/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
  122. package/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
  123. package/.agent/skills/game-development/pc-games/SKILL.md +144 -0
  124. package/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
  125. package/.agent/skills/game-development/web-games/SKILL.md +150 -0
  126. package/.agent/skills/geo-fundamentals/SKILL.md +156 -0
  127. package/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  128. package/.agent/skills/i18n-localization/SKILL.md +154 -0
  129. package/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  130. package/.agent/skills/lint-and-validate/SKILL.md +45 -0
  131. package/.agent/skills/lint-and-validate/scripts/lint_runner.py +172 -0
  132. package/.agent/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  133. package/.agent/skills/mcp-builder/SKILL.md +176 -0
  134. package/.agent/skills/mobile-design/SKILL.md +394 -0
  135. package/.agent/skills/mobile-design/decision-trees.md +516 -0
  136. package/.agent/skills/mobile-design/mobile-backend.md +491 -0
  137. package/.agent/skills/mobile-design/mobile-color-system.md +420 -0
  138. package/.agent/skills/mobile-design/mobile-debugging.md +122 -0
  139. package/.agent/skills/mobile-design/mobile-design-thinking.md +357 -0
  140. package/.agent/skills/mobile-design/mobile-navigation.md +458 -0
  141. package/.agent/skills/mobile-design/mobile-performance.md +767 -0
  142. package/.agent/skills/mobile-design/mobile-testing.md +356 -0
  143. package/.agent/skills/mobile-design/mobile-typography.md +433 -0
  144. package/.agent/skills/mobile-design/platform-android.md +666 -0
  145. package/.agent/skills/mobile-design/platform-ios.md +561 -0
  146. package/.agent/skills/mobile-design/scripts/mobile_audit.py +670 -0
  147. package/.agent/skills/mobile-design/touch-psychology.md +537 -0
  148. package/.agent/skills/nestjs-expert/SKILL.md +552 -0
  149. package/.agent/skills/nextjs-best-practices/SKILL.md +203 -0
  150. package/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
  151. package/.agent/skills/parallel-agents/SKILL.md +175 -0
  152. package/.agent/skills/performance-profiling/SKILL.md +143 -0
  153. package/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  154. package/.agent/skills/plan-writing/SKILL.md +152 -0
  155. package/.agent/skills/powershell-windows/SKILL.md +167 -0
  156. package/.agent/skills/prisma-expert/SKILL.md +355 -0
  157. package/.agent/skills/python-patterns/SKILL.md +441 -0
  158. package/.agent/skills/react-patterns/SKILL.md +198 -0
  159. package/.agent/skills/red-team-tactics/SKILL.md +199 -0
  160. package/.agent/skills/seo-fundamentals/SKILL.md +129 -0
  161. package/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  162. package/.agent/skills/server-management/SKILL.md +161 -0
  163. package/.agent/skills/systematic-debugging/SKILL.md +109 -0
  164. package/.agent/skills/tailwind-patterns/SKILL.md +269 -0
  165. package/.agent/skills/tdd-workflow/SKILL.md +149 -0
  166. package/.agent/skills/testing-patterns/SKILL.md +178 -0
  167. package/.agent/skills/testing-patterns/scripts/test_runner.py +219 -0
  168. package/.agent/skills/typescript-expert/SKILL.md +429 -0
  169. package/.agent/skills/typescript-expert/references/tsconfig-strict.json +92 -0
  170. package/.agent/skills/typescript-expert/references/typescript-cheatsheet.md +383 -0
  171. package/.agent/skills/typescript-expert/references/utility-types.ts +335 -0
  172. package/.agent/skills/typescript-expert/scripts/ts_diagnostic.py +203 -0
  173. package/.agent/skills/ui-ux-pro-max/SKILL.md +351 -0
  174. package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
  175. package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
  176. package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
  177. package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
  178. package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
  179. package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
  180. package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
  181. package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  182. package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  183. package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  184. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  185. package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  186. package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  187. package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
  188. package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  189. package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  190. package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  191. package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  192. package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
  193. package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
  194. package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  195. package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  196. package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
  197. package/.agent/skills/ui-ux-pro-max/scripts/core.py +257 -0
  198. package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +487 -0
  199. package/.agent/skills/ui-ux-pro-max/scripts/search.py +76 -0
  200. package/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
  201. package/.agent/skills/vulnerability-scanner/checklists.md +121 -0
  202. package/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  203. package/.agent/skills/webapp-testing/SKILL.md +187 -0
  204. package/.agent/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  205. package/.agent/workflows/brainstorm.md +113 -0
  206. package/.agent/workflows/create.md +59 -0
  207. package/.agent/workflows/debug.md +103 -0
  208. package/.agent/workflows/deploy.md +176 -0
  209. package/.agent/workflows/enhance.md +63 -0
  210. package/.agent/workflows/orchestrate.md +237 -0
  211. package/.agent/workflows/plan.md +89 -0
  212. package/.agent/workflows/preview.md +80 -0
  213. package/.agent/workflows/status.md +86 -0
  214. package/.agent/workflows/test.md +144 -0
  215. package/.agent/workflows/ui-ux-pro-max.md +231 -0
  216. package/LICENSE +21 -0
  217. package/README.md +101 -0
  218. package/bin/cli.js +235 -0
  219. package/index.js +1 -0
  220. package/package.json +43 -0
@@ -0,0 +1,231 @@
1
+ ---
2
+ description: Plan and implement UI
3
+ ---
4
+
5
+ # UI/UX Pro Max - Design Intelligence
6
+
7
+ Searchable database of UI styles, color palettes, font pairings, chart types, product recommendations, UX guidelines, and stack-specific best practices.
8
+
9
+ ## Prerequisites
10
+
11
+ Check if Python is installed:
12
+
13
+ ```bash
14
+ python3 --version || python --version
15
+ ```
16
+
17
+ If Python is not installed, install it based on user's OS:
18
+
19
+ **macOS:**
20
+ ```bash
21
+ brew install python3
22
+ ```
23
+
24
+ **Ubuntu/Debian:**
25
+ ```bash
26
+ sudo apt update && sudo apt install python3
27
+ ```
28
+
29
+ **Windows:**
30
+ ```powershell
31
+ winget install Python.Python.3.12
32
+ ```
33
+
34
+ ---
35
+
36
+ ## How to Use This Workflow
37
+
38
+ When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
39
+
40
+ ### Step 1: Analyze User Requirements
41
+
42
+ Extract key information from user request:
43
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
44
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
45
+ - **Industry**: healthcare, fintech, gaming, education, etc.
46
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
47
+
48
+ ### Step 2: Search Relevant Domains
49
+
50
+ Use `search.py` multiple times to gather comprehensive information. Search until you have enough context.
51
+
52
+ ```bash
53
+ python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
54
+ ```
55
+
56
+ **Recommended search order:**
57
+
58
+ 1. **Product** - Get style recommendations for product type
59
+ 2. **Style** - Get detailed style guide (colors, effects, frameworks)
60
+ 3. **Typography** - Get font pairings with Google Fonts imports
61
+ 4. **Color** - Get color palette (Primary, Secondary, CTA, Background, Text, Border)
62
+ 5. **Landing** - Get page structure (if landing page)
63
+ 6. **Chart** - Get chart recommendations (if dashboard/analytics)
64
+ 7. **UX** - Get best practices and anti-patterns
65
+ 8. **Stack** - Get stack-specific guidelines (default: html-tailwind)
66
+
67
+ ### Step 3: Stack Guidelines (Default: html-tailwind)
68
+
69
+ If user doesn't specify a stack, **default to `html-tailwind`**.
70
+
71
+ ```bash
72
+ python3 .shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
73
+ ```
74
+
75
+ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`
76
+
77
+ ---
78
+
79
+ ## Search Reference
80
+
81
+ ### Available Domains
82
+
83
+ | Domain | Use For | Example Keywords |
84
+ |--------|---------|------------------|
85
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
86
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
87
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
88
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
89
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
90
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
91
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
92
+ | `prompt` | AI prompts, CSS keywords | (style name) |
93
+
94
+ ### Available Stacks
95
+
96
+ | Stack | Focus |
97
+ |-------|-------|
98
+ | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
99
+ | `react` | State, hooks, performance, patterns |
100
+ | `nextjs` | SSR, routing, images, API routes |
101
+ | `vue` | Composition API, Pinia, Vue Router |
102
+ | `svelte` | Runes, stores, SvelteKit |
103
+ | `swiftui` | Views, State, Navigation, Animation |
104
+ | `react-native` | Components, Navigation, Lists |
105
+ | `flutter` | Widgets, State, Layout, Theming |
106
+ | `shadcn` | shadcn/ui components, theming, forms, patterns |
107
+
108
+ ---
109
+
110
+ ## Example Workflow
111
+
112
+ **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
113
+
114
+ **AI should:**
115
+
116
+ ```bash
117
+ # 1. Search product type
118
+ python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --domain product
119
+
120
+ # 2. Search style (based on industry: beauty, elegant)
121
+ python3 .shared/ui-ux-pro-max/scripts/search.py "elegant minimal soft" --domain style
122
+
123
+ # 3. Search typography
124
+ python3 .shared/ui-ux-pro-max/scripts/search.py "elegant luxury" --domain typography
125
+
126
+ # 4. Search color palette
127
+ python3 .shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness" --domain color
128
+
129
+ # 5. Search landing page structure
130
+ python3 .shared/ui-ux-pro-max/scripts/search.py "hero-centric social-proof" --domain landing
131
+
132
+ # 6. Search UX guidelines
133
+ python3 .shared/ui-ux-pro-max/scripts/search.py "animation" --domain ux
134
+ python3 .shared/ui-ux-pro-max/scripts/search.py "accessibility" --domain ux
135
+
136
+ # 7. Search stack guidelines (default: html-tailwind)
137
+ python3 .shared/ui-ux-pro-max/scripts/search.py "layout responsive" --stack html-tailwind
138
+ ```
139
+
140
+ **Then:** Synthesize all search results and implement the design.
141
+
142
+ ---
143
+
144
+ ## Tips for Better Results
145
+
146
+ 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
147
+ 2. **Search multiple times** - Different keywords reveal different insights
148
+ 3. **Combine domains** - Style + Typography + Color = Complete design system
149
+ 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
150
+ 5. **Use stack flag** - Get implementation-specific best practices
151
+ 6. **Iterate** - If first search doesn't match, try different keywords
152
+ 7. **Split Into Multiple Files** - For better maintainability:
153
+ - Separate components into individual files (e.g., `Header.tsx`, `Footer.tsx`)
154
+ - Extract reusable styles into dedicated files
155
+ - Keep each file focused and under 200-300 lines
156
+
157
+ ---
158
+
159
+ ## Common Rules for Professional UI
160
+
161
+ These are frequently overlooked issues that make UI look unprofessional:
162
+
163
+ ### Icons & Visual Elements
164
+
165
+ | Rule | Do | Don't |
166
+ |------|----|----- |
167
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
168
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
169
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
170
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
171
+
172
+ ### Interaction & Cursor
173
+
174
+ | Rule | Do | Don't |
175
+ |------|----|----- |
176
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
177
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
178
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
179
+
180
+ ### Light/Dark Mode Contrast
181
+
182
+ | Rule | Do | Don't |
183
+ |------|----|----- |
184
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
185
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
186
+ | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
187
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
188
+
189
+ ### Layout & Spacing
190
+
191
+ | Rule | Do | Don't |
192
+ |------|----|----- |
193
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
194
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
195
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
196
+
197
+ ---
198
+
199
+ ## Pre-Delivery Checklist
200
+
201
+ Before delivering UI code, verify these items:
202
+
203
+ ### Visual Quality
204
+ - [ ] No emojis used as icons (use SVG instead)
205
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
206
+ - [ ] Brand logos are correct (verified from Simple Icons)
207
+ - [ ] Hover states don't cause layout shift
208
+
209
+ ### Interaction
210
+ - [ ] All clickable elements have `cursor-pointer`
211
+ - [ ] Hover states provide clear visual feedback
212
+ - [ ] Transitions are smooth (150-300ms)
213
+ - [ ] Focus states visible for keyboard navigation
214
+
215
+ ### Light/Dark Mode
216
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
217
+ - [ ] Glass/transparent elements visible in light mode
218
+ - [ ] Borders visible in both modes
219
+ - [ ] Test both modes before delivery
220
+
221
+ ### Layout
222
+ - [ ] Floating elements have proper spacing from edges
223
+ - [ ] No content hidden behind fixed navbars
224
+ - [ ] Responsive at 320px, 768px, 1024px, 1440px
225
+ - [ ] No horizontal scroll on mobile
226
+
227
+ ### Accessibility
228
+ - [ ] All images have alt text
229
+ - [ ] Form inputs have labels
230
+ - [ ] Color is not the only indicator
231
+ - [ ] `prefers-reduced-motion` respected
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Musa
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,101 @@
1
+ # Musa Agent Kit
2
+
3
+ > 🚀 AI Agent templates với Skills, Agents, và Workflows
4
+
5
+ ## Quick Install
6
+
7
+ ```bash
8
+ npx @musashishao/agent-kit init
9
+ ```
10
+
11
+ Or install globally:
12
+
13
+ ```bash
14
+ npm install -g @musashishao/agent-kit
15
+ agent-kit init
16
+ ```
17
+
18
+ This installs the `.agent` folder containing all templates into your project.
19
+
20
+ ## 📦 What's Included
21
+
22
+ | Component | Count | Description |
23
+ |-----------|-------|-------------|
24
+ | **Agents** | 16 | Specialist AI personas (frontend, backend, security, etc.) |
25
+ | **Skills** | 40 | Domain-specific knowledge modules |
26
+ | **Workflows** | 11 | Slash command procedures |
27
+
28
+ ## 📁 Structure
29
+
30
+ ```
31
+ .agent/
32
+ ├── agents/ # 16 Specialist Agents
33
+ ├── skills/ # 40 Skills
34
+ ├── workflows/ # 11 Slash Commands
35
+ ├── rules/ # Workspace Rules
36
+ └── ARCHITECTURE.md # Full documentation
37
+ ```
38
+
39
+ ## 🎯 Usage
40
+
41
+ ### Using Agents
42
+
43
+ Mention an agent by name to invoke specialized expertise:
44
+
45
+ ```
46
+ Use the security-auditor agent to review authentication
47
+ Use the frontend-specialist to analyze React components
48
+ ```
49
+
50
+ ### Using Skills
51
+
52
+ Skills are loaded automatically based on task context. The AI reads skill descriptions and applies relevant knowledge.
53
+
54
+ ### Using Workflows
55
+
56
+ Invoke workflows with slash commands:
57
+
58
+ | Command | Description |
59
+ |---------|-------------|
60
+ | `/brainstorm` | Explore options before implementation |
61
+ | `/create` | Create new features or apps |
62
+ | `/debug` | Systematic debugging |
63
+ | `/deploy` | Deploy application |
64
+ | `/enhance` | Improve existing code |
65
+ | `/orchestrate` | Multi-agent coordination |
66
+ | `/plan` | Create task breakdown |
67
+ | `/preview` | Preview changes locally |
68
+ | `/status` | Check project status |
69
+ | `/test` | Generate and run tests |
70
+ | `/ui-ux-pro-max` | Design with 50 styles |
71
+
72
+ Example:
73
+ ```
74
+ /brainstorm authentication system
75
+ /create landing page with hero section
76
+ /debug why login fails
77
+ ```
78
+
79
+ ### Using Rules
80
+
81
+ Rules in `.agent/rules/` are automatically applied. The main configuration file is `GEMINI.md`.
82
+
83
+ ## 🛠 CLI Commands
84
+
85
+ | Command | Description |
86
+ |---------|-------------|
87
+ | `agent-kit init` | Install `.agent` folder into your project |
88
+ | `agent-kit update` | Update to the latest version |
89
+ | `agent-kit status` | Check installation status |
90
+
91
+ ### Options
92
+
93
+ ```bash
94
+ agent-kit init --force # Overwrite existing .agent folder
95
+ agent-kit init --path ./myapp # Install in specific directory
96
+ agent-kit init --quiet # Suppress output
97
+ ```
98
+
99
+ ## License
100
+
101
+ MIT © Musa (musashishao)
package/bin/cli.js ADDED
@@ -0,0 +1,235 @@
1
+ #!/usr/bin/env node
2
+
3
+ const fs = require('fs');
4
+ const path = require('path');
5
+ const { execSync } = require('child_process');
6
+
7
+ const VERSION = '1.0.0';
8
+ const PACKAGE_NAME = '@musashishao/agent-kit';
9
+
10
+ // Colors for terminal
11
+ const colors = {
12
+ reset: '\x1b[0m',
13
+ bright: '\x1b[1m',
14
+ green: '\x1b[32m',
15
+ yellow: '\x1b[33m',
16
+ blue: '\x1b[34m',
17
+ magenta: '\x1b[35m',
18
+ cyan: '\x1b[36m',
19
+ red: '\x1b[31m'
20
+ };
21
+
22
+ const log = {
23
+ info: (msg) => console.log(`${colors.blue}ℹ${colors.reset} ${msg}`),
24
+ success: (msg) => console.log(`${colors.green}✔${colors.reset} ${msg}`),
25
+ warn: (msg) => console.log(`${colors.yellow}⚠${colors.reset} ${msg}`),
26
+ error: (msg) => console.log(`${colors.red}✖${colors.reset} ${msg}`),
27
+ title: (msg) => console.log(`\n${colors.bright}${colors.magenta}${msg}${colors.reset}\n`)
28
+ };
29
+
30
+ function showHelp() {
31
+ console.log(`
32
+ ${colors.bright}${colors.cyan}🚀 Musa Agent Kit${colors.reset} v${VERSION}
33
+
34
+ ${colors.bright}Usage:${colors.reset}
35
+ npx ${PACKAGE_NAME} <command> [options]
36
+
37
+ ${colors.bright}Commands:${colors.reset}
38
+ init Install .agent folder into current project
39
+ update Update to the latest version
40
+ status Check installation status
41
+
42
+ ${colors.bright}Options:${colors.reset}
43
+ --force Overwrite existing .agent folder
44
+ --path <dir> Install in specific directory
45
+ --quiet Suppress output
46
+ --help Show this help message
47
+ --version Show version
48
+
49
+ ${colors.bright}Examples:${colors.reset}
50
+ npx ${PACKAGE_NAME} init
51
+ npx ${PACKAGE_NAME} init --force
52
+ npx ${PACKAGE_NAME} init --path ./my-project
53
+ npx ${PACKAGE_NAME} update
54
+ `);
55
+ }
56
+
57
+ function showVersion() {
58
+ console.log(`${PACKAGE_NAME} v${VERSION}`);
59
+ }
60
+
61
+ function copyFolderRecursive(src, dest) {
62
+ if (!fs.existsSync(dest)) {
63
+ fs.mkdirSync(dest, { recursive: true });
64
+ }
65
+
66
+ const entries = fs.readdirSync(src, { withFileTypes: true });
67
+
68
+ for (const entry of entries) {
69
+ const srcPath = path.join(src, entry.name);
70
+ const destPath = path.join(dest, entry.name);
71
+
72
+ if (entry.isDirectory()) {
73
+ copyFolderRecursive(srcPath, destPath);
74
+ } else {
75
+ fs.copyFileSync(srcPath, destPath);
76
+ }
77
+ }
78
+ }
79
+
80
+ function countItems(dir) {
81
+ let count = { files: 0, dirs: 0 };
82
+
83
+ const entries = fs.readdirSync(dir, { withFileTypes: true });
84
+ for (const entry of entries) {
85
+ if (entry.isDirectory()) {
86
+ count.dirs++;
87
+ const subCount = countItems(path.join(dir, entry.name));
88
+ count.files += subCount.files;
89
+ count.dirs += subCount.dirs;
90
+ } else {
91
+ count.files++;
92
+ }
93
+ }
94
+
95
+ return count;
96
+ }
97
+
98
+ function initCommand(options) {
99
+ const targetDir = options.path || process.cwd();
100
+ const agentDir = path.join(targetDir, '.agent');
101
+ const quiet = options.quiet;
102
+
103
+ if (!quiet) {
104
+ log.title('🚀 Musa Agent Kit - Installing...');
105
+ }
106
+
107
+ // Check if .agent exists
108
+ if (fs.existsSync(agentDir)) {
109
+ if (!options.force) {
110
+ log.warn('.agent folder already exists!');
111
+ log.info('Use --force to overwrite');
112
+ process.exit(1);
113
+ }
114
+ if (!quiet) log.info('Removing existing .agent folder...');
115
+ fs.rmSync(agentDir, { recursive: true, force: true });
116
+ }
117
+
118
+ // Find source .agent folder
119
+ const packageRoot = path.resolve(__dirname, '..');
120
+ const sourceAgent = path.join(packageRoot, '.agent');
121
+
122
+ if (!fs.existsSync(sourceAgent)) {
123
+ log.error('Source .agent folder not found in package!');
124
+ process.exit(1);
125
+ }
126
+
127
+ // Copy
128
+ if (!quiet) log.info('Copying .agent folder...');
129
+ copyFolderRecursive(sourceAgent, agentDir);
130
+
131
+ // Summary
132
+ const counts = countItems(agentDir);
133
+
134
+ if (!quiet) {
135
+ log.success('Installation complete!');
136
+ console.log(`
137
+ ${colors.bright}📦 Installed:${colors.reset}
138
+ ${colors.cyan}${counts.dirs}${colors.reset} folders
139
+ ${colors.cyan}${counts.files}${colors.reset} files
140
+
141
+ ${colors.bright}📁 Location:${colors.reset} ${agentDir}
142
+
143
+ ${colors.bright}🎯 Quick Start:${colors.reset}
144
+ 1. Open your project in Cursor/VS Code
145
+ 2. Use slash commands: /brainstorm, /create, /debug
146
+ 3. Mention agents: "Use security-auditor to review auth"
147
+
148
+ ${colors.bright}📚 Documentation:${colors.reset}
149
+ See .agent/ARCHITECTURE.md for full guide
150
+ `);
151
+ }
152
+ }
153
+
154
+ function statusCommand() {
155
+ const agentDir = path.join(process.cwd(), '.agent');
156
+
157
+ log.title('📊 Musa Agent Kit - Status');
158
+
159
+ if (!fs.existsSync(agentDir)) {
160
+ log.warn('.agent folder not found');
161
+ log.info(`Run: npx ${PACKAGE_NAME} init`);
162
+ return;
163
+ }
164
+
165
+ const counts = countItems(agentDir);
166
+ log.success('.agent folder found');
167
+ console.log(`
168
+ ${colors.bright}📦 Contents:${colors.reset}
169
+ ${colors.cyan}${counts.dirs}${colors.reset} folders
170
+ ${colors.cyan}${counts.files}${colors.reset} files
171
+
172
+ ${colors.bright}📁 Components:${colors.reset}`);
173
+
174
+ const components = ['agents', 'skills', 'workflows', 'rules'];
175
+ for (const comp of components) {
176
+ const compDir = path.join(agentDir, comp);
177
+ if (fs.existsSync(compDir)) {
178
+ const items = fs.readdirSync(compDir);
179
+ console.log(` ${colors.green}✔${colors.reset} ${comp}: ${items.length} items`);
180
+ } else {
181
+ console.log(` ${colors.yellow}○${colors.reset} ${comp}: not found`);
182
+ }
183
+ }
184
+ }
185
+
186
+ function updateCommand(options) {
187
+ log.title('🔄 Musa Agent Kit - Updating...');
188
+
189
+ // Re-run init with force
190
+ initCommand({ ...options, force: true });
191
+
192
+ log.success('Update complete!');
193
+ }
194
+
195
+ // Parse arguments
196
+ const args = process.argv.slice(2);
197
+ const command = args[0];
198
+
199
+ const options = {
200
+ force: args.includes('--force'),
201
+ quiet: args.includes('--quiet'),
202
+ path: null
203
+ };
204
+
205
+ // Parse --path
206
+ const pathIndex = args.indexOf('--path');
207
+ if (pathIndex !== -1 && args[pathIndex + 1]) {
208
+ options.path = path.resolve(args[pathIndex + 1]);
209
+ }
210
+
211
+ // Execute command
212
+ switch (command) {
213
+ case 'init':
214
+ initCommand(options);
215
+ break;
216
+ case 'update':
217
+ updateCommand(options);
218
+ break;
219
+ case 'status':
220
+ statusCommand();
221
+ break;
222
+ case '--version':
223
+ case '-v':
224
+ showVersion();
225
+ break;
226
+ case '--help':
227
+ case '-h':
228
+ case undefined:
229
+ showHelp();
230
+ break;
231
+ default:
232
+ log.error(`Unknown command: ${command}`);
233
+ showHelp();
234
+ process.exit(1);
235
+ }
package/index.js ADDED
@@ -0,0 +1 @@
1
+ module.exports = {};
package/package.json ADDED
@@ -0,0 +1,43 @@
1
+ {
2
+ "name": "@musashishao/agent-kit",
3
+ "version": "1.0.0",
4
+ "description": "AI Agent templates - Skills, Agents, and Workflows for enhanced coding assistance",
5
+ "main": "index.js",
6
+ "bin": {
7
+ "agent-kit": "./bin/cli.js",
8
+ "ak": "./bin/cli.js"
9
+ },
10
+ "files": [
11
+ "bin",
12
+ ".agent",
13
+ "README.md"
14
+ ],
15
+ "scripts": {
16
+ "prepublishOnly": "echo 'Ready to publish @musashishao/agent-kit'"
17
+ },
18
+ "keywords": [
19
+ "musa",
20
+ "musashishao",
21
+ "ai",
22
+ "agent",
23
+ "gemini",
24
+ "claude",
25
+ "cursor",
26
+ "skills",
27
+ "templates",
28
+ "workflows"
29
+ ],
30
+ "author": "Musa <musashishao>",
31
+ "license": "MIT",
32
+ "repository": {
33
+ "type": "git",
34
+ "url": "https://github.com/musashishao/agent-kit.git"
35
+ },
36
+ "homepage": "https://github.com/musashishao/agent-kit#readme",
37
+ "bugs": {
38
+ "url": "https://github.com/musashishao/agent-kit/issues"
39
+ },
40
+ "engines": {
41
+ "node": ">=16.0.0"
42
+ }
43
+ }