thachvd-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.
Files changed (226) hide show
  1. package/.shared/ui-ux-pro-max/data/charts.csv +26 -0
  2. package/.shared/ui-ux-pro-max/data/colors.csv +97 -0
  3. package/.shared/ui-ux-pro-max/data/icons.csv +101 -0
  4. package/.shared/ui-ux-pro-max/data/landing.csv +31 -0
  5. package/.shared/ui-ux-pro-max/data/products.csv +97 -0
  6. package/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
  7. package/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
  8. package/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  9. package/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  10. package/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  11. package/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  12. package/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  13. package/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  14. package/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  15. package/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
  16. package/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  17. package/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  18. package/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  19. package/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  20. package/.shared/ui-ux-pro-max/data/styles.csv +59 -0
  21. package/.shared/ui-ux-pro-max/data/typography.csv +58 -0
  22. package/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
  23. package/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  24. package/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
  25. package/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  26. package/.shared/ui-ux-pro-max/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  27. package/.shared/ui-ux-pro-max/scripts/core.py +258 -0
  28. package/.shared/ui-ux-pro-max/scripts/design_system.py +1067 -0
  29. package/.shared/ui-ux-pro-max/scripts/search.py +106 -0
  30. package/ARCHITECTURE.md +288 -0
  31. package/CLAUDE.md +90 -0
  32. package/PROJECT_CONTEXT.template.md +68 -0
  33. package/README.md +69 -0
  34. package/agents/backend-specialist.md +263 -0
  35. package/agents/code-archaeologist.md +106 -0
  36. package/agents/database-architect.md +226 -0
  37. package/agents/debugger.md +225 -0
  38. package/agents/devops-engineer.md +242 -0
  39. package/agents/documentation-writer.md +104 -0
  40. package/agents/explorer-agent.md +73 -0
  41. package/agents/frontend-specialist.md +593 -0
  42. package/agents/game-developer.md +162 -0
  43. package/agents/mobile-developer.md +377 -0
  44. package/agents/orchestrator.md +416 -0
  45. package/agents/penetration-tester.md +188 -0
  46. package/agents/performance-optimizer.md +187 -0
  47. package/agents/product-manager.md +112 -0
  48. package/agents/product-owner.md +95 -0
  49. package/agents/project-planner.md +406 -0
  50. package/agents/qa-automation-engineer.md +103 -0
  51. package/agents/security-auditor.md +170 -0
  52. package/agents/seo-specialist.md +111 -0
  53. package/agents/test-engineer.md +158 -0
  54. package/bin/cli.js +373 -0
  55. package/kit/PROJECT_CONTEXT.template.md +35 -0
  56. package/kit/PROMPT_RECIPE.md +52 -0
  57. package/kit/README.md +32 -0
  58. package/mcp_config.json +24 -0
  59. package/package.json +25 -0
  60. package/rules/GEMINI.md +204 -0
  61. package/scripts/auto_preview.py +148 -0
  62. package/scripts/checklist.py +217 -0
  63. package/scripts/init.py +403 -0
  64. package/scripts/session_manager.py +120 -0
  65. package/scripts/verify_all.py +327 -0
  66. package/skills/api-design/SKILL.md +156 -0
  67. package/skills/api-patterns/SKILL.md +81 -0
  68. package/skills/api-patterns/api-style.md +42 -0
  69. package/skills/api-patterns/auth.md +24 -0
  70. package/skills/api-patterns/documentation.md +26 -0
  71. package/skills/api-patterns/graphql.md +41 -0
  72. package/skills/api-patterns/rate-limiting.md +31 -0
  73. package/skills/api-patterns/response.md +37 -0
  74. package/skills/api-patterns/rest.md +40 -0
  75. package/skills/api-patterns/scripts/api_validator.py +211 -0
  76. package/skills/api-patterns/security-testing.md +122 -0
  77. package/skills/api-patterns/trpc.md +41 -0
  78. package/skills/api-patterns/versioning.md +22 -0
  79. package/skills/app-builder/SKILL.md +75 -0
  80. package/skills/app-builder/agent-coordination.md +71 -0
  81. package/skills/app-builder/feature-building.md +53 -0
  82. package/skills/app-builder/project-detection.md +34 -0
  83. package/skills/app-builder/scaffolding.md +118 -0
  84. package/skills/app-builder/tech-stack.md +40 -0
  85. package/skills/app-builder/templates/SKILL.md +39 -0
  86. package/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
  87. package/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
  88. package/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
  89. package/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
  90. package/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
  91. package/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
  92. package/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
  93. package/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +122 -0
  94. package/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +122 -0
  95. package/skills/app-builder/templates/nextjs-static/TEMPLATE.md +169 -0
  96. package/skills/app-builder/templates/nuxt-app/TEMPLATE.md +134 -0
  97. package/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
  98. package/skills/app-builder/templates/react-native-app/TEMPLATE.md +119 -0
  99. package/skills/architecture/SKILL.md +55 -0
  100. package/skills/architecture/context-discovery.md +43 -0
  101. package/skills/architecture/examples.md +94 -0
  102. package/skills/architecture/pattern-selection.md +68 -0
  103. package/skills/architecture/patterns-reference.md +50 -0
  104. package/skills/architecture/trade-off-analysis.md +77 -0
  105. package/skills/bash-linux/SKILL.md +199 -0
  106. package/skills/behavioral-modes/SKILL.md +242 -0
  107. package/skills/brainstorming/SKILL.md +163 -0
  108. package/skills/brainstorming/dynamic-questioning.md +350 -0
  109. package/skills/clean-code/SKILL.md +201 -0
  110. package/skills/code-review-checklist/SKILL.md +109 -0
  111. package/skills/database-design/SKILL.md +52 -0
  112. package/skills/database-design/database-selection.md +43 -0
  113. package/skills/database-design/indexing.md +39 -0
  114. package/skills/database-design/migrations.md +48 -0
  115. package/skills/database-design/optimization.md +36 -0
  116. package/skills/database-design/orm-selection.md +30 -0
  117. package/skills/database-design/schema-design.md +56 -0
  118. package/skills/database-design/scripts/schema_validator.py +172 -0
  119. package/skills/deployment-procedures/SKILL.md +241 -0
  120. package/skills/dispatching-parallel-agents/SKILL.md +112 -0
  121. package/skills/doc.md +177 -0
  122. package/skills/docker-patterns/SKILL.md +232 -0
  123. package/skills/documentation-templates/SKILL.md +194 -0
  124. package/skills/executing-plans/SKILL.md +61 -0
  125. package/skills/finishing-a-development-branch/SKILL.md +135 -0
  126. package/skills/frontend-design/SKILL.md +418 -0
  127. package/skills/frontend-design/animation-guide.md +331 -0
  128. package/skills/frontend-design/color-system.md +311 -0
  129. package/skills/frontend-design/decision-trees.md +418 -0
  130. package/skills/frontend-design/motion-graphics.md +306 -0
  131. package/skills/frontend-design/scripts/accessibility_checker.py +183 -0
  132. package/skills/frontend-design/scripts/ux_audit.py +722 -0
  133. package/skills/frontend-design/typography-system.md +345 -0
  134. package/skills/frontend-design/ux-psychology.md +1116 -0
  135. package/skills/frontend-design/visual-effects.md +383 -0
  136. package/skills/game-development/2d-games/SKILL.md +119 -0
  137. package/skills/game-development/3d-games/SKILL.md +135 -0
  138. package/skills/game-development/SKILL.md +167 -0
  139. package/skills/game-development/game-art/SKILL.md +185 -0
  140. package/skills/game-development/game-audio/SKILL.md +190 -0
  141. package/skills/game-development/game-design/SKILL.md +129 -0
  142. package/skills/game-development/mobile-games/SKILL.md +108 -0
  143. package/skills/game-development/multiplayer/SKILL.md +132 -0
  144. package/skills/game-development/pc-games/SKILL.md +144 -0
  145. package/skills/game-development/vr-ar/SKILL.md +123 -0
  146. package/skills/game-development/web-games/SKILL.md +150 -0
  147. package/skills/geo-fundamentals/SKILL.md +156 -0
  148. package/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
  149. package/skills/golang-patterns/SKILL.md +226 -0
  150. package/skills/golang-testing/SKILL.md +182 -0
  151. package/skills/i18n-localization/SKILL.md +154 -0
  152. package/skills/i18n-localization/scripts/i18n_checker.py +241 -0
  153. package/skills/intelligent-routing/SKILL.md +335 -0
  154. package/skills/laravel-patterns/SKILL.md +224 -0
  155. package/skills/laravel-security/SKILL.md +171 -0
  156. package/skills/laravel-tdd/SKILL.md +149 -0
  157. package/skills/lint-and-validate/SKILL.md +45 -0
  158. package/skills/lint-and-validate/scripts/lint_runner.py +184 -0
  159. package/skills/lint-and-validate/scripts/type_coverage.py +173 -0
  160. package/skills/mcp-builder/SKILL.md +176 -0
  161. package/skills/mobile-design/SKILL.md +394 -0
  162. package/skills/mobile-design/decision-trees.md +516 -0
  163. package/skills/mobile-design/mobile-backend.md +491 -0
  164. package/skills/mobile-design/mobile-color-system.md +420 -0
  165. package/skills/mobile-design/mobile-debugging.md +122 -0
  166. package/skills/mobile-design/mobile-design-thinking.md +357 -0
  167. package/skills/mobile-design/mobile-navigation.md +458 -0
  168. package/skills/mobile-design/mobile-performance.md +767 -0
  169. package/skills/mobile-design/mobile-testing.md +356 -0
  170. package/skills/mobile-design/mobile-typography.md +433 -0
  171. package/skills/mobile-design/platform-android.md +666 -0
  172. package/skills/mobile-design/platform-ios.md +561 -0
  173. package/skills/mobile-design/scripts/mobile_audit.py +670 -0
  174. package/skills/mobile-design/touch-psychology.md +537 -0
  175. package/skills/nextjs-react-expert/1-async-eliminating-waterfalls.md +312 -0
  176. package/skills/nextjs-react-expert/2-bundle-bundle-size-optimization.md +240 -0
  177. package/skills/nextjs-react-expert/3-server-server-side-performance.md +490 -0
  178. package/skills/nextjs-react-expert/4-client-client-side-data-fetching.md +264 -0
  179. package/skills/nextjs-react-expert/5-rerender-re-render-optimization.md +581 -0
  180. package/skills/nextjs-react-expert/6-rendering-rendering-performance.md +432 -0
  181. package/skills/nextjs-react-expert/7-js-javascript-performance.md +684 -0
  182. package/skills/nextjs-react-expert/8-advanced-advanced-patterns.md +150 -0
  183. package/skills/nextjs-react-expert/SKILL.md +286 -0
  184. package/skills/nextjs-react-expert/scripts/convert_rules.py +222 -0
  185. package/skills/nextjs-react-expert/scripts/react_performance_checker.py +252 -0
  186. package/skills/nodejs-best-practices/SKILL.md +333 -0
  187. package/skills/parallel-agents/SKILL.md +175 -0
  188. package/skills/performance-profiling/SKILL.md +143 -0
  189. package/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
  190. package/skills/plan-writing/SKILL.md +152 -0
  191. package/skills/powershell-windows/SKILL.md +167 -0
  192. package/skills/project-onboarding/SKILL.md +62 -0
  193. package/skills/python-patterns/SKILL.md +441 -0
  194. package/skills/receiving-code-review/SKILL.md +120 -0
  195. package/skills/red-team-tactics/SKILL.md +199 -0
  196. package/skills/requesting-code-review/SKILL.md +67 -0
  197. package/skills/rust-pro/SKILL.md +176 -0
  198. package/skills/seo-fundamentals/SKILL.md +129 -0
  199. package/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
  200. package/skills/server-management/SKILL.md +161 -0
  201. package/skills/subagent-driven-development/SKILL.md +76 -0
  202. package/skills/systematic-debugging/SKILL.md +109 -0
  203. package/skills/tailwind-patterns/SKILL.md +269 -0
  204. package/skills/tdd-workflow/SKILL.md +149 -0
  205. package/skills/testing-patterns/SKILL.md +178 -0
  206. package/skills/testing-patterns/scripts/test_runner.py +219 -0
  207. package/skills/using-git-worktrees/SKILL.md +122 -0
  208. package/skills/verification-before-completion/SKILL.md +99 -0
  209. package/skills/vulnerability-scanner/SKILL.md +276 -0
  210. package/skills/vulnerability-scanner/checklists.md +121 -0
  211. package/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
  212. package/skills/web-design-guidelines/SKILL.md +57 -0
  213. package/skills/webapp-testing/SKILL.md +187 -0
  214. package/skills/webapp-testing/scripts/playwright_runner.py +173 -0
  215. package/skills/writing-skills/SKILL.md +110 -0
  216. package/workflows/brainstorm.md +113 -0
  217. package/workflows/create.md +59 -0
  218. package/workflows/debug.md +103 -0
  219. package/workflows/deploy.md +176 -0
  220. package/workflows/enhance.md +63 -0
  221. package/workflows/orchestrate.md +237 -0
  222. package/workflows/plan.md +89 -0
  223. package/workflows/preview.md +81 -0
  224. package/workflows/status.md +86 -0
  225. package/workflows/test.md +144 -0
  226. package/workflows/ui-ux-pro-max.md +296 -0
@@ -0,0 +1,106 @@
1
+ #!/usr/bin/env python3
2
+ # -*- coding: utf-8 -*-
3
+ """
4
+ UI/UX Pro Max Search - BM25 search engine for UI/UX style guides
5
+ Usage: python search.py "<query>" [--domain <domain>] [--stack <stack>] [--max-results 3]
6
+ python search.py "<query>" --design-system [-p "Project Name"]
7
+ python search.py "<query>" --design-system --persist [-p "Project Name"] [--page "dashboard"]
8
+
9
+ Domains: style, prompt, color, chart, landing, product, ux, typography
10
+ Stacks: html-tailwind, react, nextjs
11
+
12
+ Persistence (Master + Overrides pattern):
13
+ --persist Save design system to design-system/MASTER.md
14
+ --page Also create a page-specific override file in design-system/pages/
15
+ """
16
+
17
+ import argparse
18
+ from core import CSV_CONFIG, AVAILABLE_STACKS, MAX_RESULTS, search, search_stack
19
+ from design_system import generate_design_system, persist_design_system
20
+
21
+
22
+ def format_output(result):
23
+ """Format results for Claude consumption (token-optimized)"""
24
+ if "error" in result:
25
+ return f"Error: {result['error']}"
26
+
27
+ output = []
28
+ if result.get("stack"):
29
+ output.append(f"## UI Pro Max Stack Guidelines")
30
+ output.append(f"**Stack:** {result['stack']} | **Query:** {result['query']}")
31
+ else:
32
+ output.append(f"## UI Pro Max Search Results")
33
+ output.append(f"**Domain:** {result['domain']} | **Query:** {result['query']}")
34
+ output.append(f"**Source:** {result['file']} | **Found:** {result['count']} results\n")
35
+
36
+ for i, row in enumerate(result['results'], 1):
37
+ output.append(f"### Result {i}")
38
+ for key, value in row.items():
39
+ value_str = str(value)
40
+ if len(value_str) > 300:
41
+ value_str = value_str[:300] + "..."
42
+ output.append(f"- **{key}:** {value_str}")
43
+ output.append("")
44
+
45
+ return "\n".join(output)
46
+
47
+
48
+ if __name__ == "__main__":
49
+ parser = argparse.ArgumentParser(description="UI Pro Max Search")
50
+ parser.add_argument("query", help="Search query")
51
+ parser.add_argument("--domain", "-d", choices=list(CSV_CONFIG.keys()), help="Search domain")
52
+ parser.add_argument("--stack", "-s", choices=AVAILABLE_STACKS, help="Stack-specific search (html-tailwind, react, nextjs)")
53
+ parser.add_argument("--max-results", "-n", type=int, default=MAX_RESULTS, help="Max results (default: 3)")
54
+ parser.add_argument("--json", action="store_true", help="Output as JSON")
55
+ # Design system generation
56
+ parser.add_argument("--design-system", "-ds", action="store_true", help="Generate complete design system recommendation")
57
+ parser.add_argument("--project-name", "-p", type=str, default=None, help="Project name for design system output")
58
+ parser.add_argument("--format", "-f", choices=["ascii", "markdown"], default="ascii", help="Output format for design system")
59
+ # Persistence (Master + Overrides pattern)
60
+ parser.add_argument("--persist", action="store_true", help="Save design system to design-system/MASTER.md (creates hierarchical structure)")
61
+ parser.add_argument("--page", type=str, default=None, help="Create page-specific override file in design-system/pages/")
62
+ parser.add_argument("--output-dir", "-o", type=str, default=None, help="Output directory for persisted files (default: current directory)")
63
+
64
+ args = parser.parse_args()
65
+
66
+ # Design system takes priority
67
+ if args.design_system:
68
+ result = generate_design_system(
69
+ args.query,
70
+ args.project_name,
71
+ args.format,
72
+ persist=args.persist,
73
+ page=args.page,
74
+ output_dir=args.output_dir
75
+ )
76
+ print(result)
77
+
78
+ # Print persistence confirmation
79
+ if args.persist:
80
+ project_slug = args.project_name.lower().replace(' ', '-') if args.project_name else "default"
81
+ print("\n" + "=" * 60)
82
+ print(f"✅ Design system persisted to design-system/{project_slug}/")
83
+ print(f" 📄 design-system/{project_slug}/MASTER.md (Global Source of Truth)")
84
+ if args.page:
85
+ page_filename = args.page.lower().replace(' ', '-')
86
+ print(f" 📄 design-system/{project_slug}/pages/{page_filename}.md (Page Overrides)")
87
+ print("")
88
+ print(f"📖 Usage: When building a page, check design-system/{project_slug}/pages/[page].md first.")
89
+ print(f" If exists, its rules override MASTER.md. Otherwise, use MASTER.md.")
90
+ print("=" * 60)
91
+ # Stack search
92
+ elif args.stack:
93
+ result = search_stack(args.query, args.stack, args.max_results)
94
+ if args.json:
95
+ import json
96
+ print(json.dumps(result, indent=2, ensure_ascii=False))
97
+ else:
98
+ print(format_output(result))
99
+ # Domain search
100
+ else:
101
+ result = search(args.query, args.domain, args.max_results)
102
+ if args.json:
103
+ import json
104
+ print(json.dumps(result, indent=2, ensure_ascii=False))
105
+ else:
106
+ print(format_output(result))
@@ -0,0 +1,288 @@
1
+ # Antigravity Kit Architecture
2
+
3
+ > Comprehensive AI Agent Capability Expansion Toolkit
4
+
5
+ ---
6
+
7
+ ## 📋 Overview
8
+
9
+ Antigravity Kit is a modular system consisting of:
10
+
11
+ - **20 Specialist Agents** - Role-based AI personas
12
+ - **36 Skills** - Domain-specific knowledge modules
13
+ - **11 Workflows** - Slash command procedures
14
+
15
+ ---
16
+
17
+ ## 🏗️ Directory Structure
18
+
19
+ ```plaintext
20
+ .agent/
21
+ ├── ARCHITECTURE.md # This file
22
+ ├── agents/ # 20 Specialist Agents
23
+ ├── skills/ # 36 Skills
24
+ ├── workflows/ # 11 Slash Commands
25
+ ├── rules/ # Global Rules
26
+ └── scripts/ # Master Validation Scripts
27
+ ```
28
+
29
+ ---
30
+
31
+ ## 🤖 Agents (20)
32
+
33
+ Specialist AI personas for different domains.
34
+
35
+ | Agent | Focus | Skills Used |
36
+ | ------------------------ | -------------------------- | -------------------------------------------------------- |
37
+ | `orchestrator` | Multi-agent coordination | parallel-agents, behavioral-modes |
38
+ | `project-planner` | Discovery, task planning | brainstorming, plan-writing, architecture |
39
+ | `frontend-specialist` | Web UI/UX | frontend-design, react-best-practices, tailwind-patterns |
40
+ | `backend-specialist` | API, business logic | api-patterns, nodejs-best-practices, database-design |
41
+ | `database-architect` | Schema, SQL | database-design, prisma-expert |
42
+ | `mobile-developer` | iOS, Android, RN | mobile-design |
43
+ | `game-developer` | Game logic, mechanics | game-development |
44
+ | `devops-engineer` | CI/CD, Docker | deployment-procedures, docker-expert |
45
+ | `security-auditor` | Security compliance | vulnerability-scanner, red-team-tactics |
46
+ | `penetration-tester` | Offensive security | red-team-tactics |
47
+ | `test-engineer` | Testing strategies | testing-patterns, tdd-workflow, webapp-testing |
48
+ | `debugger` | Root cause analysis | systematic-debugging |
49
+ | `performance-optimizer` | Speed, Web Vitals | performance-profiling |
50
+ | `seo-specialist` | Ranking, visibility | seo-fundamentals, geo-fundamentals |
51
+ | `documentation-writer` | Manuals, docs | documentation-templates |
52
+ | `product-manager` | Requirements, user stories | plan-writing, brainstorming |
53
+ | `product-owner` | Strategy, backlog, MVP | plan-writing, brainstorming |
54
+ | `qa-automation-engineer` | E2E testing, CI pipelines | webapp-testing, testing-patterns |
55
+ | `code-archaeologist` | Legacy code, refactoring | clean-code, code-review-checklist |
56
+ | `explorer-agent` | Codebase analysis | - |
57
+
58
+ ---
59
+
60
+ ## 🧩 Skills (36)
61
+
62
+ Modular knowledge domains that agents can load on-demand. based on task context.
63
+
64
+ ### Frontend & UI
65
+
66
+ | Skill | Description |
67
+ | ----------------------- | --------------------------------------------------------------------- |
68
+ | `react-best-practices` | React & Next.js performance optimization (Vercel - 57 rules) |
69
+ | `web-design-guidelines` | Web UI audit - 100+ rules for accessibility, UX, performance (Vercel) |
70
+ | `tailwind-patterns` | Tailwind CSS v4 utilities |
71
+ | `frontend-design` | UI/UX patterns, design systems |
72
+ | `ui-ux-pro-max` | 50 styles, 21 palettes, 50 fonts |
73
+
74
+ ### Backend & API
75
+
76
+ | Skill | Description |
77
+ | ----------------------- | ------------------------------ |
78
+ | `api-patterns` | REST, GraphQL, tRPC |
79
+ | `nestjs-expert` | NestJS modules, DI, decorators |
80
+ | `nodejs-best-practices` | Node.js async, modules |
81
+ | `python-patterns` | Python standards, FastAPI |
82
+
83
+ ### Database
84
+
85
+ | Skill | Description |
86
+ | ----------------- | --------------------------- |
87
+ | `database-design` | Schema design, optimization |
88
+ | `prisma-expert` | Prisma ORM, migrations |
89
+
90
+ ### TypeScript/JavaScript
91
+
92
+ | Skill | Description |
93
+ | ------------------- | ----------------------------------- |
94
+ | `typescript-expert` | Type-level programming, performance |
95
+
96
+ ### Cloud & Infrastructure
97
+
98
+ | Skill | Description |
99
+ | ----------------------- | ------------------------- |
100
+ | `docker-expert` | Containerization, Compose |
101
+ | `deployment-procedures` | CI/CD, deploy workflows |
102
+ | `server-management` | Infrastructure management |
103
+
104
+ ### Testing & Quality
105
+
106
+ | Skill | Description |
107
+ | ----------------------- | ------------------------ |
108
+ | `testing-patterns` | Jest, Vitest, strategies |
109
+ | `webapp-testing` | E2E, Playwright |
110
+ | `tdd-workflow` | Test-driven development |
111
+ | `code-review-checklist` | Code review standards |
112
+ | `lint-and-validate` | Linting, validation |
113
+
114
+ ### Security
115
+
116
+ | Skill | Description |
117
+ | ----------------------- | ------------------------ |
118
+ | `vulnerability-scanner` | Security auditing, OWASP |
119
+ | `red-team-tactics` | Offensive security |
120
+
121
+ ### Architecture & Planning
122
+
123
+ | Skill | Description |
124
+ | --------------- | -------------------------- |
125
+ | `app-builder` | Full-stack app scaffolding |
126
+ | `architecture` | System design patterns |
127
+ | `plan-writing` | Task planning, breakdown |
128
+ | `brainstorming` | Socratic questioning |
129
+
130
+ ### Mobile
131
+
132
+ | Skill | Description |
133
+ | --------------- | --------------------- |
134
+ | `mobile-design` | Mobile UI/UX patterns |
135
+
136
+ ### Game Development
137
+
138
+ | Skill | Description |
139
+ | ------------------ | --------------------- |
140
+ | `game-development` | Game logic, mechanics |
141
+
142
+ ### SEO & Growth
143
+
144
+ | Skill | Description |
145
+ | ------------------ | ----------------------------- |
146
+ | `seo-fundamentals` | SEO, E-E-A-T, Core Web Vitals |
147
+ | `geo-fundamentals` | GenAI optimization |
148
+
149
+ ### Shell/CLI
150
+
151
+ | Skill | Description |
152
+ | -------------------- | ------------------------- |
153
+ | `bash-linux` | Linux commands, scripting |
154
+ | `powershell-windows` | Windows PowerShell |
155
+
156
+ ### Other
157
+
158
+ | Skill | Description |
159
+ | ------------------------- | ------------------------- |
160
+ | `clean-code` | Coding standards (Global) |
161
+ | `behavioral-modes` | Agent personas |
162
+ | `parallel-agents` | Multi-agent patterns |
163
+ | `mcp-builder` | Model Context Protocol |
164
+ | `documentation-templates` | Doc formats |
165
+ | `i18n-localization` | Internationalization |
166
+ | `performance-profiling` | Web Vitals, optimization |
167
+ | `systematic-debugging` | Troubleshooting |
168
+
169
+ ---
170
+
171
+ ## 🔄 Workflows (11)
172
+
173
+ Slash command procedures. Invoke with `/command`.
174
+
175
+ | Command | Description |
176
+ | ---------------- | ------------------------ |
177
+ | `/brainstorm` | Socratic discovery |
178
+ | `/create` | Create new features |
179
+ | `/debug` | Debug issues |
180
+ | `/deploy` | Deploy application |
181
+ | `/enhance` | Improve existing code |
182
+ | `/orchestrate` | Multi-agent coordination |
183
+ | `/plan` | Task breakdown |
184
+ | `/preview` | Preview changes |
185
+ | `/status` | Check project status |
186
+ | `/test` | Run tests |
187
+ | `/ui-ux-pro-max` | Design with 50 styles |
188
+
189
+ ---
190
+
191
+ ## 🎯 Skill Loading Protocol
192
+
193
+ ```plaintext
194
+ User Request → Skill Description Match → Load SKILL.md
195
+ ↓
196
+ Read references/
197
+ ↓
198
+ Read scripts/
199
+ ```
200
+
201
+ ### Skill Structure
202
+
203
+ ```plaintext
204
+ skill-name/
205
+ ├── SKILL.md # (Required) Metadata & instructions
206
+ ├── scripts/ # (Optional) Python/Bash scripts
207
+ ├── references/ # (Optional) Templates, docs
208
+ └── assets/ # (Optional) Images, logos
209
+ ```
210
+
211
+ ### Enhanced Skills (with scripts/references)
212
+
213
+ | Skill | Files | Coverage |
214
+ | ------------------- | ----- | ----------------------------------- |
215
+ | `ui-ux-pro-max` | 27 | 50 styles, 21 palettes, 50 fonts |
216
+ | `app-builder` | 20 | Full-stack scaffolding |
217
+
218
+ ---
219
+
220
+ ## � Scripts (2)
221
+
222
+ Master validation scripts that orchestrate skill-level scripts.
223
+
224
+ ### Master Scripts
225
+
226
+ | Script | Purpose | When to Use |
227
+ | --------------- | --------------------------------------- | ------------------------ |
228
+ | `checklist.py` | Priority-based validation (Core checks) | Development, pre-commit |
229
+ | `verify_all.py` | Comprehensive verification (All checks) | Pre-deployment, releases |
230
+
231
+ ### Usage
232
+
233
+ ```bash
234
+ # Quick validation during development
235
+ python .agent/scripts/checklist.py .
236
+
237
+ # Full verification before deployment
238
+ python .agent/scripts/verify_all.py . --url http://localhost:3000
239
+ ```
240
+
241
+ ### What They Check
242
+
243
+ **checklist.py** (Core checks):
244
+
245
+ - Security (vulnerabilities, secrets)
246
+ - Code Quality (lint, types)
247
+ - Schema Validation
248
+ - Test Suite
249
+ - UX Audit
250
+ - SEO Check
251
+
252
+ **verify_all.py** (Full suite):
253
+
254
+ - Everything in checklist.py PLUS:
255
+ - Lighthouse (Core Web Vitals)
256
+ - Playwright E2E
257
+ - Bundle Analysis
258
+ - Mobile Audit
259
+ - i18n Check
260
+
261
+ For details, see [scripts/README.md](scripts/README.md)
262
+
263
+ ---
264
+
265
+ ## 📊 Statistics
266
+
267
+ | Metric | Value |
268
+ | ------------------- | ----------------------------- |
269
+ | **Total Agents** | 20 |
270
+ | **Total Skills** | 36 |
271
+ | **Total Workflows** | 11 |
272
+ | **Total Scripts** | 2 (master) + 18 (skill-level) |
273
+ | **Coverage** | ~90% web/mobile development |
274
+
275
+ ---
276
+
277
+ ## 🔗 Quick Reference
278
+
279
+ | Need | Agent | Skills |
280
+ | -------- | --------------------- | ------------------------------------- |
281
+ | Web App | `frontend-specialist` | react-best-practices, frontend-design |
282
+ | API | `backend-specialist` | api-patterns, nodejs-best-practices |
283
+ | Mobile | `mobile-developer` | mobile-design |
284
+ | Database | `database-architect` | database-design, prisma-expert |
285
+ | Security | `security-auditor` | vulnerability-scanner |
286
+ | Testing | `test-engineer` | testing-patterns, webapp-testing |
287
+ | Debug | `debugger` | systematic-debugging |
288
+ | Plan | `project-planner` | brainstorming, plan-writing |
package/CLAUDE.md ADDED
@@ -0,0 +1,90 @@
1
+ # CLAUDE.md
2
+ # thachvd-kit — Universal Agent Kit
3
+ # For Claude Code, Codex, OpenCode compatibility
4
+ #
5
+ # After cloning: run `python scripts/init.py --platform all`
6
+ # to generate PROJECT_CONTEXT.md + customize this file for your project.
7
+
8
+ ## Quick Start
9
+
10
+ 1. Run `python scripts/init.py` → generates PROJECT_CONTEXT.md
11
+ 2. Open project in your AI editor
12
+ 3. The agent reads PROJECT_CONTEXT.md on every session start
13
+
14
+ ---
15
+
16
+ ## Core Protocol
17
+
18
+ **Every session starts by reading PROJECT_CONTEXT.md.**
19
+ If missing → run `python scripts/init.py` first.
20
+
21
+ ### Request Classification
22
+
23
+ | Type | Triggers | Action |
24
+ |------|----------|--------|
25
+ | QUESTION | "what", "how", "explain" | Direct answer |
26
+ | SURVEY | "analyze", "list", "overview" | Analysis only, no code |
27
+ | SIMPLE FIX | "fix", "add", "change" (single file) | Inline edit |
28
+ | BUILD | "build", "create", "implement" | Plan → Agent → Code |
29
+ | DESIGN | "design", "UI", "page" | Plan → Agent → Code |
30
+
31
+ ### Agent Selection
32
+
33
+ Read `stack.primary_language` from PROJECT_CONTEXT.md, then:
34
+
35
+ | Language/Framework | Agent | Key Skills |
36
+ |-------------------|-------|-----------|
37
+ | Vue / React / Next | frontend-specialist | frontend-design |
38
+ | Laravel / PHP | backend-specialist | laravel-patterns, laravel-security |
39
+ | Node / Express | backend-specialist | nodejs-best-practices, api-design |
40
+ | Python / FastAPI | backend-specialist | python-patterns |
41
+ | Go | backend-specialist | golang-patterns, golang-testing |
42
+ | Rust / Tauri | mobile-developer | rust-pro |
43
+ | Docker / AWS | devops-engineer | docker-patterns |
44
+ | Any | debugger | systematic-debugging |
45
+
46
+ Before writing code: **announce the agent** — `🤖 Applying knowledge of @[agent]...`
47
+
48
+ ---
49
+
50
+ ## Execution Workflow (BUILD tasks)
51
+
52
+ ```
53
+ 1. brainstorming → Clarify requirements
54
+ 2. plan-writing → Create task-slug.md plan
55
+ 3. using-git-worktrees → Isolated workspace
56
+ 4. subagent-driven-development → Implement with 2-stage review
57
+ 5. requesting-code-review → After each major task
58
+ 6. verification-before-completion → Before claiming done
59
+ 7. finishing-a-development-branch → Merge / PR / keep
60
+ ```
61
+
62
+ Simple fixes: skip worktree, go straight to implementation.
63
+
64
+ ---
65
+
66
+ ## Universal Rules
67
+
68
+ - Respond in user's language; code/comments in English
69
+ - `clean-code` applies to all code, all languages
70
+ - Tests mandatory: Unit > Integration > E2E
71
+ - Verify with evidence before claiming "done"
72
+ - Identify dependent files before modifying any
73
+
74
+ ---
75
+
76
+ ## Project-Specific Info
77
+
78
+ See PROJECT_CONTEXT.md (generated by `python scripts/init.py`).
79
+
80
+ ---
81
+
82
+ ## Commands
83
+
84
+ | Slash Command | Action |
85
+ |---------------|--------|
86
+ | `/plan` | Create implementation plan → task-slug.md |
87
+ | `/debug` | Systematic debugging workflow |
88
+ | `/review` | Request code review |
89
+ | `/verify` | Run verification checks before claiming done |
90
+ | `/finish` | Finish development branch (merge/PR/discard) |
@@ -0,0 +1,68 @@
1
+ # PROJECT_CONTEXT.md
2
+ # Auto-generated by scripts/init.py — edit as needed
3
+
4
+ ## Project
5
+
6
+ - **Name:** {{PROJECT_NAME}}
7
+ - **Description:** {{PROJECT_DESCRIPTION}}
8
+ - **Type:** {{PROJECT_TYPE}} # web-app | api | mobile | desktop | cli | library
9
+
10
+ ---
11
+
12
+ ## Stack
13
+
14
+ ```yaml
15
+ stack:
16
+ primary_language: {{PRIMARY_LANGUAGE}} # typescript | python | go | php | rust | java | ...
17
+ frameworks:
18
+ frontend: {{FRONTEND_FRAMEWORK}} # vue | react | next | nuxt | svelte | none
19
+ backend: {{BACKEND_FRAMEWORK}} # laravel | express | fastapi | gin | none
20
+ mobile: {{MOBILE_FRAMEWORK}} # tauri | react-native | flutter | none
21
+ database: {{DATABASE}} # postgres | mysql | sqlite | mongodb | redis | none
22
+ infrastructure:
23
+ containerization: {{USES_DOCKER}} # true | false
24
+ cloud: {{CLOUD_PROVIDER}} # aws | gcp | azure | vercel | fly | none
25
+ ci_cd: {{CI_CD}} # github-actions | gitlab-ci | none
26
+ ```
27
+
28
+ ---
29
+
30
+ ## Agent Routing (Auto-configured)
31
+
32
+ | Task Type | Agent | Primary Skills |
33
+ |-----------|-------|----------------|
34
+ | Frontend UI | `frontend-specialist` | {{FRONTEND_SKILLS}} |
35
+ | Backend API | `backend-specialist` | {{BACKEND_SKILLS}} |
36
+ | DevOps / Infra | `devops-engineer` | {{DEVOPS_SKILLS}} |
37
+ | Database | `database-architect` | database-design |
38
+ | Debug | `debugger` | systematic-debugging |
39
+ | Security | `security-auditor` | vulnerability-scanner |
40
+
41
+ ---
42
+
43
+ ## Project Conventions
44
+
45
+ - **Max file size:** {{MAX_FILE_LINES}} lines (then split into modules)
46
+ - **Test framework:** {{TEST_FRAMEWORK}}
47
+ - **Package manager:** {{PACKAGE_MANAGER}}
48
+ - **Code style:** {{CODE_STYLE}}
49
+
50
+ ---
51
+
52
+ ## Architecture Notes
53
+
54
+ {{ARCHITECTURE_NOTES}}
55
+
56
+ ---
57
+
58
+ ## Current Phase
59
+
60
+ - **Done:** {{DONE_PHASES}}
61
+ - **In Progress:** {{CURRENT_PHASE}}
62
+ - **Next:** {{NEXT_PHASE}}
63
+
64
+ ---
65
+
66
+ ## Known Issues / Tasks
67
+
68
+ {{KNOWN_ISSUES}}
package/README.md ADDED
@@ -0,0 +1,69 @@
1
+ # thachvd-kit — Universal Agent Kit
2
+
3
+ A universally compatible, high-power agent toolkit designed for **Antigravity**, **Claude Code**, and **Codex/OpenCode**.
4
+ It dynamically sets up rules and intelligently routes agent skills based on your project's technology stack using a CLI wizard.
5
+
6
+ ## 🚀 Quick Start
7
+
8
+ You can initialize `thachvd-kit` in **any** project directory without manually copying files!
9
+
10
+ Simply run the wizard:
11
+
12
+ ```bash
13
+ npx thachvd-kit
14
+ # or
15
+ npx github:thachvd/thachvd-kit
16
+ ```
17
+
18
+ The interactive wizard will ask you a few questions about your project (frontend, backend, database, infrastructure, etc.).
19
+ Based on your answers, it will:
20
+ 1. **Copy** the highly optimized agents, skills, and rules to a `.agent` folder inside your project.
21
+ 2. **Generate** a smart `PROJECT_CONTEXT.md` file tailored specifically to your chosen stack.
22
+ 3. **Generate** a `CLAUDE.md` to ensure maximum cross-platform compatibility.
23
+
24
+ ### Global Installation (Like `agkit-init`)
25
+
26
+ If you want to install it globally on your machine:
27
+
28
+ ```bash
29
+ npm install -g github:thachvd/thachvd-kit
30
+ ```
31
+
32
+ Then, whenever you start a new project, just type:
33
+
34
+ ```bash
35
+ thachvd-kit
36
+ ```
37
+
38
+ ---
39
+
40
+ ## 🧠 How It Works
41
+
42
+ This kit uses a **Universal Protocol Engine** (`GEMINI.md` / `CLAUDE.md`) that is completely stack-agnostic.
43
+
44
+ Instead of hardcoding rules, it relies on the `PROJECT_CONTEXT.md` file (generated by the CLI wizard) to automatically detect the environment and load the **right** skills:
45
+
46
+ - Are you using **Laravel**? It loads `laravel-patterns`, `laravel-security`, and `laravel-tdd`.
47
+ - Are you using **Go**? It brings in `golang-patterns` and `golang-testing`.
48
+ - Are you using **React/Vue** & **Tailwind**? It primes the agent with `frontend-design` and `nextjs-react-expert`.
49
+
50
+ ## 🛠️ Features
51
+
52
+ - 🎯 **50+ Production-Grade Skills:** From architecture patterns to multi-agent parallel dispatching.
53
+ - ⚡️ **Subagent-Driven Development:** Agents act as your implementer, spec-verifier, and code-reviewer without human bottlenecks.
54
+ - 🛡️ **Zero Hallucination Completion:** Built-in `verification-before-completion` forces the agent to run tests before claiming "done".
55
+ - 🚀 **Isolated Worktrees:** Automatically manages hidden `git worktrees` so you never pollute your main branch with broken iterations.
56
+
57
+ ## Directory Structure (Inside your `.agent` folder)
58
+
59
+ ```text
60
+ .agent/
61
+ ├── rules/GEMINI.md ← The Universal Rules Engine
62
+ ├── agents/ ← 20+ specialized agents (frontend, backend, db, ...)
63
+ ├── skills/ ← 50+ domain & workflow skills
64
+ └── workflows/ ← Executable workflows
65
+ ```
66
+
67
+ ---
68
+
69
+ **Made with ❤️ for AI-native software engineering.**