@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.
- package/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/.shared/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/.shared/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/.shared/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/core.py +258 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/design_system.py +487 -0
- package/.agent/.shared/ui-ux-pro-max/scripts/search.py +76 -0
- package/.agent/ARCHITECTURE.md +225 -0
- package/.agent/CONTEXT.md +229 -0
- package/.agent/FEATURE_ROADMAP.md +435 -0
- package/.agent/PROMPT_TEMPLATES.md +261 -0
- package/.agent/agents/backend-specialist.md +263 -0
- package/.agent/agents/database-architect.md +226 -0
- package/.agent/agents/debugger.md +225 -0
- package/.agent/agents/devops-engineer.md +242 -0
- package/.agent/agents/documentation-writer.md +104 -0
- package/.agent/agents/explorer-agent.md +73 -0
- package/.agent/agents/frontend-specialist.md +556 -0
- package/.agent/agents/game-developer.md +162 -0
- package/.agent/agents/mobile-developer.md +377 -0
- package/.agent/agents/orchestrator.md +416 -0
- package/.agent/agents/penetration-tester.md +188 -0
- package/.agent/agents/performance-optimizer.md +187 -0
- package/.agent/agents/project-planner.md +403 -0
- package/.agent/agents/security-auditor.md +170 -0
- package/.agent/agents/seo-specialist.md +111 -0
- package/.agent/agents/test-engineer.md +158 -0
- package/.agent/rules/GEMINI.md +251 -0
- package/.agent/skills/api-patterns/SKILL.md +81 -0
- package/.agent/skills/api-patterns/api-style.md +42 -0
- package/.agent/skills/api-patterns/auth.md +24 -0
- package/.agent/skills/api-patterns/documentation.md +26 -0
- package/.agent/skills/api-patterns/graphql.md +41 -0
- package/.agent/skills/api-patterns/rate-limiting.md +31 -0
- package/.agent/skills/api-patterns/response.md +37 -0
- package/.agent/skills/api-patterns/rest.md +40 -0
- package/.agent/skills/api-patterns/scripts/api_validator.py +211 -0
- package/.agent/skills/api-patterns/security-testing.md +122 -0
- package/.agent/skills/api-patterns/trpc.md +41 -0
- package/.agent/skills/api-patterns/versioning.md +22 -0
- package/.agent/skills/app-builder/SKILL.md +75 -0
- package/.agent/skills/app-builder/agent-coordination.md +71 -0
- package/.agent/skills/app-builder/feature-building.md +53 -0
- package/.agent/skills/app-builder/project-detection.md +34 -0
- package/.agent/skills/app-builder/scaffolding.md +118 -0
- package/.agent/skills/app-builder/tech-stack.md +40 -0
- package/.agent/skills/app-builder/templates/SKILL.md +39 -0
- package/.agent/skills/app-builder/templates/astro-static/TEMPLATE.md +76 -0
- package/.agent/skills/app-builder/templates/chrome-extension/TEMPLATE.md +92 -0
- package/.agent/skills/app-builder/templates/cli-tool/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/electron-desktop/TEMPLATE.md +88 -0
- package/.agent/skills/app-builder/templates/express-api/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/flutter-app/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/monorepo-turborepo/TEMPLATE.md +90 -0
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +82 -0
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +100 -0
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +106 -0
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +101 -0
- package/.agent/skills/app-builder/templates/python-fastapi/TEMPLATE.md +83 -0
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +93 -0
- package/.agent/skills/architecture/SKILL.md +55 -0
- package/.agent/skills/architecture/context-discovery.md +43 -0
- package/.agent/skills/architecture/examples.md +94 -0
- package/.agent/skills/architecture/pattern-selection.md +68 -0
- package/.agent/skills/architecture/patterns-reference.md +50 -0
- package/.agent/skills/architecture/trade-off-analysis.md +77 -0
- package/.agent/skills/bash-linux/SKILL.md +199 -0
- package/.agent/skills/behavioral-modes/SKILL.md +242 -0
- package/.agent/skills/brainstorming/SKILL.md +163 -0
- package/.agent/skills/brainstorming/dynamic-questioning.md +350 -0
- package/.agent/skills/clean-code/SKILL.md +201 -0
- package/.agent/skills/code-review-checklist/SKILL.md +109 -0
- package/.agent/skills/database-design/SKILL.md +52 -0
- package/.agent/skills/database-design/database-selection.md +43 -0
- package/.agent/skills/database-design/indexing.md +39 -0
- package/.agent/skills/database-design/migrations.md +48 -0
- package/.agent/skills/database-design/optimization.md +36 -0
- package/.agent/skills/database-design/orm-selection.md +30 -0
- package/.agent/skills/database-design/schema-design.md +56 -0
- package/.agent/skills/database-design/scripts/schema_validator.py +172 -0
- package/.agent/skills/deployment-procedures/SKILL.md +241 -0
- package/.agent/skills/doc.md +177 -0
- package/.agent/skills/docker-expert/SKILL.md +409 -0
- package/.agent/skills/documentation-templates/SKILL.md +194 -0
- package/.agent/skills/frontend-design/SKILL.md +396 -0
- package/.agent/skills/frontend-design/animation-guide.md +331 -0
- package/.agent/skills/frontend-design/color-system.md +311 -0
- package/.agent/skills/frontend-design/decision-trees.md +418 -0
- package/.agent/skills/frontend-design/motion-graphics.md +306 -0
- package/.agent/skills/frontend-design/scripts/accessibility_checker.py +183 -0
- package/.agent/skills/frontend-design/scripts/ux_audit.py +722 -0
- package/.agent/skills/frontend-design/typography-system.md +345 -0
- package/.agent/skills/frontend-design/ux-psychology.md +541 -0
- package/.agent/skills/frontend-design/visual-effects.md +383 -0
- package/.agent/skills/game-development/2d-games/SKILL.md +119 -0
- package/.agent/skills/game-development/3d-games/SKILL.md +135 -0
- package/.agent/skills/game-development/SKILL.md +167 -0
- package/.agent/skills/game-development/game-art/SKILL.md +185 -0
- package/.agent/skills/game-development/game-audio/SKILL.md +190 -0
- package/.agent/skills/game-development/game-design/SKILL.md +129 -0
- package/.agent/skills/game-development/mobile-games/SKILL.md +108 -0
- package/.agent/skills/game-development/multiplayer/SKILL.md +132 -0
- package/.agent/skills/game-development/pc-games/SKILL.md +144 -0
- package/.agent/skills/game-development/vr-ar/SKILL.md +123 -0
- package/.agent/skills/game-development/web-games/SKILL.md +150 -0
- package/.agent/skills/geo-fundamentals/SKILL.md +156 -0
- package/.agent/skills/geo-fundamentals/scripts/geo_checker.py +289 -0
- package/.agent/skills/i18n-localization/SKILL.md +154 -0
- package/.agent/skills/i18n-localization/scripts/i18n_checker.py +241 -0
- package/.agent/skills/lint-and-validate/SKILL.md +45 -0
- package/.agent/skills/lint-and-validate/scripts/lint_runner.py +172 -0
- package/.agent/skills/lint-and-validate/scripts/type_coverage.py +173 -0
- package/.agent/skills/mcp-builder/SKILL.md +176 -0
- package/.agent/skills/mobile-design/SKILL.md +394 -0
- package/.agent/skills/mobile-design/decision-trees.md +516 -0
- package/.agent/skills/mobile-design/mobile-backend.md +491 -0
- package/.agent/skills/mobile-design/mobile-color-system.md +420 -0
- package/.agent/skills/mobile-design/mobile-debugging.md +122 -0
- package/.agent/skills/mobile-design/mobile-design-thinking.md +357 -0
- package/.agent/skills/mobile-design/mobile-navigation.md +458 -0
- package/.agent/skills/mobile-design/mobile-performance.md +767 -0
- package/.agent/skills/mobile-design/mobile-testing.md +356 -0
- package/.agent/skills/mobile-design/mobile-typography.md +433 -0
- package/.agent/skills/mobile-design/platform-android.md +666 -0
- package/.agent/skills/mobile-design/platform-ios.md +561 -0
- package/.agent/skills/mobile-design/scripts/mobile_audit.py +670 -0
- package/.agent/skills/mobile-design/touch-psychology.md +537 -0
- package/.agent/skills/nestjs-expert/SKILL.md +552 -0
- package/.agent/skills/nextjs-best-practices/SKILL.md +203 -0
- package/.agent/skills/nodejs-best-practices/SKILL.md +333 -0
- package/.agent/skills/parallel-agents/SKILL.md +175 -0
- package/.agent/skills/performance-profiling/SKILL.md +143 -0
- package/.agent/skills/performance-profiling/scripts/lighthouse_audit.py +76 -0
- package/.agent/skills/plan-writing/SKILL.md +152 -0
- package/.agent/skills/powershell-windows/SKILL.md +167 -0
- package/.agent/skills/prisma-expert/SKILL.md +355 -0
- package/.agent/skills/python-patterns/SKILL.md +441 -0
- package/.agent/skills/react-patterns/SKILL.md +198 -0
- package/.agent/skills/red-team-tactics/SKILL.md +199 -0
- package/.agent/skills/seo-fundamentals/SKILL.md +129 -0
- package/.agent/skills/seo-fundamentals/scripts/seo_checker.py +219 -0
- package/.agent/skills/server-management/SKILL.md +161 -0
- package/.agent/skills/systematic-debugging/SKILL.md +109 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +269 -0
- package/.agent/skills/tdd-workflow/SKILL.md +149 -0
- package/.agent/skills/testing-patterns/SKILL.md +178 -0
- package/.agent/skills/testing-patterns/scripts/test_runner.py +219 -0
- package/.agent/skills/typescript-expert/SKILL.md +429 -0
- package/.agent/skills/typescript-expert/references/tsconfig-strict.json +92 -0
- package/.agent/skills/typescript-expert/references/typescript-cheatsheet.md +383 -0
- package/.agent/skills/typescript-expert/references/utility-types.ts +335 -0
- package/.agent/skills/typescript-expert/scripts/ts_diagnostic.py +203 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +351 -0
- package/.agent/skills/ui-ux-pro-max/data/charts.csv +26 -0
- package/.agent/skills/ui-ux-pro-max/data/colors.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/icons.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/landing.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/data/products.csv +97 -0
- package/.agent/skills/ui-ux-pro-max/data/prompts.csv +24 -0
- package/.agent/skills/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.agent/skills/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.agent/skills/ui-ux-pro-max/data/styles.csv +59 -0
- package/.agent/skills/ui-ux-pro-max/data/typography.csv +58 -0
- package/.agent/skills/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.agent/skills/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.agent/skills/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.agent/skills/ui-ux-pro-max/scripts/core.py +257 -0
- package/.agent/skills/ui-ux-pro-max/scripts/design_system.py +487 -0
- package/.agent/skills/ui-ux-pro-max/scripts/search.py +76 -0
- package/.agent/skills/vulnerability-scanner/SKILL.md +276 -0
- package/.agent/skills/vulnerability-scanner/checklists.md +121 -0
- package/.agent/skills/vulnerability-scanner/scripts/security_scan.py +458 -0
- package/.agent/skills/webapp-testing/SKILL.md +187 -0
- package/.agent/skills/webapp-testing/scripts/playwright_runner.py +173 -0
- package/.agent/workflows/brainstorm.md +113 -0
- package/.agent/workflows/create.md +59 -0
- package/.agent/workflows/debug.md +103 -0
- package/.agent/workflows/deploy.md +176 -0
- package/.agent/workflows/enhance.md +63 -0
- package/.agent/workflows/orchestrate.md +237 -0
- package/.agent/workflows/plan.md +89 -0
- package/.agent/workflows/preview.md +80 -0
- package/.agent/workflows/status.md +86 -0
- package/.agent/workflows/test.md +144 -0
- package/.agent/workflows/ui-ux-pro-max.md +231 -0
- package/LICENSE +21 -0
- package/README.md +101 -0
- package/bin/cli.js +235 -0
- package/index.js +1 -0
- package/package.json +43 -0
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# Antigravity Kit Architecture
|
|
2
|
+
|
|
3
|
+
> **Version 5.0** - Comprehensive AI Agent Capability Expansion Toolkit
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## 📋 Overview
|
|
8
|
+
|
|
9
|
+
Antigravity Kit is a modular system consisting of:
|
|
10
|
+
- **16 Specialist Agents** - Role-based AI personas
|
|
11
|
+
- **40 Skills** - Domain-specific knowledge modules
|
|
12
|
+
- **11 Workflows** - Slash command procedures
|
|
13
|
+
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## 🏗️ Directory Structure
|
|
17
|
+
|
|
18
|
+
```
|
|
19
|
+
.agent/
|
|
20
|
+
├── ARCHITECTURE.md # This file
|
|
21
|
+
├── agents/ # 16 Specialist Agents
|
|
22
|
+
├── skills/ # 40 Skills
|
|
23
|
+
├── workflows/ # 11 Slash Commands
|
|
24
|
+
├── rules/ # Global Rules
|
|
25
|
+
└── .shared/ # Shared Resources
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
## 🤖 Agents (16)
|
|
31
|
+
|
|
32
|
+
Specialist AI personas for different domains.
|
|
33
|
+
|
|
34
|
+
| Agent | Focus | Skills Used |
|
|
35
|
+
|-------|-------|-------------|
|
|
36
|
+
| `orchestrator` | Multi-agent coordination | parallel-agents, behavioral-modes |
|
|
37
|
+
| `project-planner` | Discovery, task planning | brainstorming, plan-writing, architecture |
|
|
38
|
+
| `frontend-specialist` | Web UI/UX | frontend-design, react-patterns, tailwind-patterns |
|
|
39
|
+
| `backend-specialist` | API, business logic | api-patterns, nodejs-best-practices, database-design |
|
|
40
|
+
| `database-architect` | Schema, SQL | database-design, prisma-expert |
|
|
41
|
+
| `mobile-developer` | iOS, Android, RN | mobile-design |
|
|
42
|
+
| `game-developer` | Game logic, mechanics | game-development |
|
|
43
|
+
| `devops-engineer` | CI/CD, Docker | deployment-procedures, docker-expert |
|
|
44
|
+
| `security-auditor` | Security compliance | vulnerability-scanner, red-team-tactics |
|
|
45
|
+
| `penetration-tester` | Offensive security | red-team-tactics |
|
|
46
|
+
| `test-engineer` | Testing strategies | testing-patterns, tdd-workflow, webapp-testing |
|
|
47
|
+
| `debugger` | Root cause analysis | systematic-debugging |
|
|
48
|
+
| `performance-optimizer` | Speed, Web Vitals | performance-profiling |
|
|
49
|
+
| `seo-specialist` | Ranking, visibility | seo-fundamentals, geo-fundamentals |
|
|
50
|
+
| `documentation-writer` | Manuals, docs | documentation-templates |
|
|
51
|
+
| `explorer-agent` | Codebase analysis | - |
|
|
52
|
+
|
|
53
|
+
---
|
|
54
|
+
|
|
55
|
+
## 🧠 Skills (40)
|
|
56
|
+
|
|
57
|
+
Domain-specific knowledge modules. Skills are loaded on-demand based on task context.
|
|
58
|
+
|
|
59
|
+
### Frontend & UI
|
|
60
|
+
| Skill | Description |
|
|
61
|
+
|-------|-------------|
|
|
62
|
+
| `react-patterns` | React hooks, state, performance |
|
|
63
|
+
| `nextjs-best-practices` | App Router, Server Components |
|
|
64
|
+
| `tailwind-patterns` | Tailwind CSS v4 utilities |
|
|
65
|
+
| `frontend-design` | UI/UX patterns, design systems |
|
|
66
|
+
| `ui-ux-pro-max` | 50 styles, 21 palettes, 50 fonts |
|
|
67
|
+
|
|
68
|
+
### Backend & API
|
|
69
|
+
| Skill | Description |
|
|
70
|
+
|-------|-------------|
|
|
71
|
+
| `api-patterns` | REST, GraphQL, tRPC |
|
|
72
|
+
| `nestjs-expert` | NestJS modules, DI, decorators |
|
|
73
|
+
| `nodejs-best-practices` | Node.js async, modules |
|
|
74
|
+
| `python-patterns` | Python standards, FastAPI |
|
|
75
|
+
|
|
76
|
+
### Database
|
|
77
|
+
| Skill | Description |
|
|
78
|
+
|-------|-------------|
|
|
79
|
+
| `database-design` | Schema design, optimization |
|
|
80
|
+
| `prisma-expert` | Prisma ORM, migrations |
|
|
81
|
+
|
|
82
|
+
### TypeScript/JavaScript
|
|
83
|
+
| Skill | Description |
|
|
84
|
+
|-------|-------------|
|
|
85
|
+
| `typescript-expert` | Type-level programming, performance |
|
|
86
|
+
|
|
87
|
+
### Cloud & Infrastructure
|
|
88
|
+
| Skill | Description |
|
|
89
|
+
|-------|-------------|
|
|
90
|
+
| `docker-expert` | Containerization, Compose |
|
|
91
|
+
| `deployment-procedures` | CI/CD, deploy workflows |
|
|
92
|
+
| `server-management` | Infrastructure management |
|
|
93
|
+
|
|
94
|
+
### Testing & Quality
|
|
95
|
+
| Skill | Description |
|
|
96
|
+
|-------|-------------|
|
|
97
|
+
| `testing-patterns` | Jest, Vitest, strategies |
|
|
98
|
+
| `webapp-testing` | E2E, Playwright |
|
|
99
|
+
| `tdd-workflow` | Test-driven development |
|
|
100
|
+
| `code-review-checklist` | Code review standards |
|
|
101
|
+
| `lint-and-validate` | Linting, validation |
|
|
102
|
+
|
|
103
|
+
### Security
|
|
104
|
+
| Skill | Description |
|
|
105
|
+
|-------|-------------|
|
|
106
|
+
| `vulnerability-scanner` | Security auditing, OWASP |
|
|
107
|
+
| `red-team-tactics` | Offensive security |
|
|
108
|
+
|
|
109
|
+
### Architecture & Planning
|
|
110
|
+
| Skill | Description |
|
|
111
|
+
|-------|-------------|
|
|
112
|
+
| `app-builder` | Full-stack app scaffolding |
|
|
113
|
+
| `architecture` | System design patterns |
|
|
114
|
+
| `plan-writing` | Task planning, breakdown |
|
|
115
|
+
| `brainstorming` | Socratic questioning |
|
|
116
|
+
|
|
117
|
+
### Mobile
|
|
118
|
+
| Skill | Description |
|
|
119
|
+
|-------|-------------|
|
|
120
|
+
| `mobile-design` | Mobile UI/UX patterns |
|
|
121
|
+
|
|
122
|
+
### Game Development
|
|
123
|
+
| Skill | Description |
|
|
124
|
+
|-------|-------------|
|
|
125
|
+
| `game-development` | Game logic, mechanics |
|
|
126
|
+
|
|
127
|
+
### SEO & Growth
|
|
128
|
+
| Skill | Description |
|
|
129
|
+
|-------|-------------|
|
|
130
|
+
| `seo-fundamentals` | SEO, E-E-A-T, Core Web Vitals |
|
|
131
|
+
| `geo-fundamentals` | GenAI optimization |
|
|
132
|
+
|
|
133
|
+
### Shell/CLI
|
|
134
|
+
| Skill | Description |
|
|
135
|
+
|-------|-------------|
|
|
136
|
+
| `bash-linux` | Linux commands, scripting |
|
|
137
|
+
| `powershell-windows` | Windows PowerShell |
|
|
138
|
+
|
|
139
|
+
### Other
|
|
140
|
+
| Skill | Description |
|
|
141
|
+
|-------|-------------|
|
|
142
|
+
| `clean-code` | Coding standards (Global) |
|
|
143
|
+
| `behavioral-modes` | Agent personas |
|
|
144
|
+
| `parallel-agents` | Multi-agent patterns |
|
|
145
|
+
| `mcp-builder` | Model Context Protocol |
|
|
146
|
+
| `documentation-templates` | Doc formats |
|
|
147
|
+
| `i18n-localization` | Internationalization |
|
|
148
|
+
| `performance-profiling` | Web Vitals, optimization |
|
|
149
|
+
| `systematic-debugging` | Troubleshooting |
|
|
150
|
+
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
## 🔄 Workflows (11)
|
|
154
|
+
|
|
155
|
+
Slash command procedures. Invoke with `/command`.
|
|
156
|
+
|
|
157
|
+
| Command | Description |
|
|
158
|
+
|---------|-------------|
|
|
159
|
+
| `/brainstorm` | Socratic discovery |
|
|
160
|
+
| `/create` | Create new features |
|
|
161
|
+
| `/debug` | Debug issues |
|
|
162
|
+
| `/deploy` | Deploy application |
|
|
163
|
+
| `/enhance` | Improve existing code |
|
|
164
|
+
| `/orchestrate` | Multi-agent coordination |
|
|
165
|
+
| `/plan` | Task breakdown |
|
|
166
|
+
| `/preview` | Preview changes |
|
|
167
|
+
| `/status` | Check project status |
|
|
168
|
+
| `/test` | Run tests |
|
|
169
|
+
| `/ui-ux-pro-max` | Design with 50 styles |
|
|
170
|
+
|
|
171
|
+
---
|
|
172
|
+
|
|
173
|
+
## 🎯 Skill Loading Protocol
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
User Request → Skill Description Match → Load SKILL.md
|
|
177
|
+
↓
|
|
178
|
+
Read references/
|
|
179
|
+
↓
|
|
180
|
+
Read scripts/
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Skill Structure
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
skill-name/
|
|
187
|
+
├── SKILL.md # (Required) Metadata & instructions
|
|
188
|
+
├── scripts/ # (Optional) Python/Bash scripts
|
|
189
|
+
├── references/ # (Optional) Templates, docs
|
|
190
|
+
└── assets/ # (Optional) Images, logos
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Enhanced Skills (with scripts/references)
|
|
194
|
+
|
|
195
|
+
| Skill | Files | Coverage |
|
|
196
|
+
|-------|-------|----------|
|
|
197
|
+
| `typescript-expert` | 5 | Utility types, tsconfig, cheatsheet |
|
|
198
|
+
| `ui-ux-pro-max` | 27 | 50 styles, 21 palettes, 50 fonts |
|
|
199
|
+
| `app-builder` | 20 | Full-stack scaffolding |
|
|
200
|
+
|
|
201
|
+
---
|
|
202
|
+
|
|
203
|
+
## 📊 Statistics
|
|
204
|
+
|
|
205
|
+
| Metric | Value |
|
|
206
|
+
|--------|-------|
|
|
207
|
+
| **Total Agents** | 16 |
|
|
208
|
+
| **Total Skills** | 40 |
|
|
209
|
+
| **Total Workflows** | 11 |
|
|
210
|
+
| **Coverage** | ~90% web/mobile development |
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
## 🔗 Quick Reference
|
|
215
|
+
|
|
216
|
+
| Need | Agent | Skills |
|
|
217
|
+
|------|-------|--------|
|
|
218
|
+
| Web App | `frontend-specialist` | react-patterns, nextjs-best-practices |
|
|
219
|
+
| API | `backend-specialist` | api-patterns, nodejs-best-practices |
|
|
220
|
+
| Mobile | `mobile-developer` | mobile-design |
|
|
221
|
+
| Database | `database-architect` | database-design, prisma-expert |
|
|
222
|
+
| Security | `security-auditor` | vulnerability-scanner |
|
|
223
|
+
| Testing | `test-engineer` | testing-patterns, webapp-testing |
|
|
224
|
+
| Debug | `debugger` | systematic-debugging |
|
|
225
|
+
| Plan | `project-planner` | brainstorming, plan-writing |
|
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
# Antigravity Kit - AI Development Context
|
|
2
|
+
|
|
3
|
+
> **Version:** 2.0.0
|
|
4
|
+
> **Last Updated:** 2026-01-21
|
|
5
|
+
> **Purpose:** Context prompt cho AI Agent phát triển dự án
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## 🎯 Project Overview
|
|
10
|
+
|
|
11
|
+
**Antigravity Kit** là một bộ AI Agent templates bao gồm Skills, Agents, và Workflows để tăng cường khả năng của AI coding assistants.
|
|
12
|
+
|
|
13
|
+
### Tech Stack
|
|
14
|
+
| Layer | Technology |
|
|
15
|
+
|-------|------------|
|
|
16
|
+
| **Framework** | Next.js 16.1.3 (App Router) |
|
|
17
|
+
| **Language** | TypeScript 5.x |
|
|
18
|
+
| **UI Library** | React 19.2.3 |
|
|
19
|
+
| **Styling** | Tailwind CSS 4.x |
|
|
20
|
+
| **Components** | @base-ui/react, lucide-react |
|
|
21
|
+
| **Theme** | next-themes (dark/light mode) |
|
|
22
|
+
|
|
23
|
+
### Project Structure
|
|
24
|
+
```
|
|
25
|
+
antigravity-kit/
|
|
26
|
+
├── .agent/ # 🧠 AI Agent System (CORE)
|
|
27
|
+
│ ├── agents/ # 16 Specialist Agents
|
|
28
|
+
│ ├── skills/ # 40 Domain Skills
|
|
29
|
+
│ ├── workflows/ # 11 Slash Commands
|
|
30
|
+
│ ├── rules/ # Global Rules
|
|
31
|
+
│ └── ARCHITECTURE.md # Full documentation
|
|
32
|
+
│
|
|
33
|
+
├── web/ # 🌐 Documentation Website
|
|
34
|
+
│ ├── src/
|
|
35
|
+
│ │ ├── app/ # Next.js App Router pages
|
|
36
|
+
│ │ │ ├── docs/ # Documentation pages
|
|
37
|
+
│ │ │ ├── layout.tsx # Root layout
|
|
38
|
+
│ │ │ ├── page.tsx # Homepage
|
|
39
|
+
│ │ │ └── globals.css # Global styles
|
|
40
|
+
│ │ ├── components/ # React components
|
|
41
|
+
│ │ │ ├── ui/ # 51 UI components
|
|
42
|
+
│ │ │ ├── layout/ # Header, Footer, etc.
|
|
43
|
+
│ │ │ └── docs/ # Docs-specific components
|
|
44
|
+
│ │ ├── lib/ # Utilities
|
|
45
|
+
│ │ └── hooks/ # Custom hooks
|
|
46
|
+
│ ├── public/ # Static assets
|
|
47
|
+
│ ├── package.json
|
|
48
|
+
│ ├── next.config.ts
|
|
49
|
+
│ └── tsconfig.json
|
|
50
|
+
│
|
|
51
|
+
├── package.json # Root package
|
|
52
|
+
├── README.md # Main documentation
|
|
53
|
+
└── LICENSE # MIT License
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
---
|
|
57
|
+
|
|
58
|
+
## 🔧 Development Guidelines
|
|
59
|
+
|
|
60
|
+
### Code Style
|
|
61
|
+
- **TypeScript:** Strict mode, explicit types
|
|
62
|
+
- **Components:** Functional components, React hooks
|
|
63
|
+
- **Styling:** Tailwind CSS classes, CSS variables for theming
|
|
64
|
+
- **Imports:** Absolute imports with `@/` alias
|
|
65
|
+
|
|
66
|
+
### Component Pattern
|
|
67
|
+
```tsx
|
|
68
|
+
// Standard component structure
|
|
69
|
+
"use client"; // Only if client-side features needed
|
|
70
|
+
|
|
71
|
+
import { cn } from "@/lib/utils";
|
|
72
|
+
|
|
73
|
+
interface ComponentProps {
|
|
74
|
+
className?: string;
|
|
75
|
+
children?: React.ReactNode;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export function Component({ className, children }: ComponentProps) {
|
|
79
|
+
return (
|
|
80
|
+
<div className={cn("base-classes", className)}>
|
|
81
|
+
{children}
|
|
82
|
+
</div>
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Theming
|
|
88
|
+
- Uses CSS variables defined in `globals.css`
|
|
89
|
+
- Dark mode: `.dark` class on root element
|
|
90
|
+
- Color tokens: `--background`, `--foreground`, `--primary`, etc.
|
|
91
|
+
|
|
92
|
+
---
|
|
93
|
+
|
|
94
|
+
## 📋 Current Features
|
|
95
|
+
|
|
96
|
+
### Documentation Site
|
|
97
|
+
- [x] Homepage with hero section
|
|
98
|
+
- [x] Documentation layout with sidebar
|
|
99
|
+
- [x] Pages: Installation, CLI, Agents, Skills, Workflows
|
|
100
|
+
- [x] Dark/Light mode toggle
|
|
101
|
+
- [x] Responsive design
|
|
102
|
+
- [x] Donate dialog (Buy Me Coffee + Bank Transfer)
|
|
103
|
+
|
|
104
|
+
### Agent System
|
|
105
|
+
- [x] 16 Specialist Agents (orchestrator, frontend-specialist, etc.)
|
|
106
|
+
- [x] 40 Skills (react-patterns, api-patterns, etc.)
|
|
107
|
+
- [x] 11 Workflows (/create, /debug, /deploy, etc.)
|
|
108
|
+
- [x] GEMINI.md rules file
|
|
109
|
+
- [x] Modular skill loading
|
|
110
|
+
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
## 🚀 Roadmap / TODO
|
|
114
|
+
|
|
115
|
+
### Priority 1 - Security
|
|
116
|
+
- [ ] Add security headers to `next.config.ts`
|
|
117
|
+
- [ ] Add CSP (Content Security Policy)
|
|
118
|
+
|
|
119
|
+
### Priority 2 - New Features
|
|
120
|
+
- [ ] Interactive playground for testing agents
|
|
121
|
+
- [ ] Search functionality for docs
|
|
122
|
+
- [ ] Skill comparison tool
|
|
123
|
+
- [ ] Agent workflow visualizer
|
|
124
|
+
|
|
125
|
+
### Priority 3 - Improvements
|
|
126
|
+
- [ ] Add more code examples to docs
|
|
127
|
+
- [ ] Add API reference section
|
|
128
|
+
- [ ] Add contribution guide page
|
|
129
|
+
- [ ] Performance optimization
|
|
130
|
+
|
|
131
|
+
---
|
|
132
|
+
|
|
133
|
+
## 🎨 Design System
|
|
134
|
+
|
|
135
|
+
### Colors (CSS Variables)
|
|
136
|
+
```css
|
|
137
|
+
/* Light Mode */
|
|
138
|
+
--background: white
|
|
139
|
+
--foreground: neutral-800
|
|
140
|
+
--primary: neutral-800
|
|
141
|
+
--accent: rgba(0,0,0,0.04)
|
|
142
|
+
|
|
143
|
+
/* Dark Mode */
|
|
144
|
+
--background: #0a0a0a
|
|
145
|
+
--foreground: neutral-100
|
|
146
|
+
--primary: neutral-100
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Typography
|
|
150
|
+
- **Sans:** Geist Sans (--font-geist-sans)
|
|
151
|
+
- **Mono:** Geist Mono (--font-geist-mono)
|
|
152
|
+
|
|
153
|
+
### Components Available
|
|
154
|
+
51 UI components in `/web/src/components/ui/`:
|
|
155
|
+
Button, Card, Dialog, Input, Select, Sidebar, Tabs, Toast, etc.
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## 🔗 Key Files Reference
|
|
160
|
+
|
|
161
|
+
| Purpose | File |
|
|
162
|
+
|---------|------|
|
|
163
|
+
| Homepage | `web/src/app/page.tsx` |
|
|
164
|
+
| Docs Layout | `web/src/app/docs/layout.tsx` |
|
|
165
|
+
| Global Styles | `web/src/app/globals.css` |
|
|
166
|
+
| Next Config | `web/next.config.ts` |
|
|
167
|
+
| Utils | `web/src/lib/utils.ts` |
|
|
168
|
+
| Docs Config | `web/src/lib/docs-config.ts` |
|
|
169
|
+
| Agent Rules | `.agent/rules/GEMINI.md` |
|
|
170
|
+
| Architecture | `.agent/ARCHITECTURE.md` |
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## 📦 Dependencies
|
|
175
|
+
|
|
176
|
+
### Production
|
|
177
|
+
```json
|
|
178
|
+
{
|
|
179
|
+
"next": "16.1.3",
|
|
180
|
+
"react": "19.2.3",
|
|
181
|
+
"@base-ui/react": "^1.1.0",
|
|
182
|
+
"lucide-react": "^0.562.0",
|
|
183
|
+
"next-themes": "^0.4.6",
|
|
184
|
+
"tailwind-merge": "^3.4.0",
|
|
185
|
+
"class-variance-authority": "^0.7.1"
|
|
186
|
+
}
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Dev
|
|
190
|
+
```json
|
|
191
|
+
{
|
|
192
|
+
"typescript": "^5",
|
|
193
|
+
"tailwindcss": "^4",
|
|
194
|
+
"eslint": "^9",
|
|
195
|
+
"eslint-config-next": "16.1.3"
|
|
196
|
+
}
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
---
|
|
200
|
+
|
|
201
|
+
## 🛠️ Commands
|
|
202
|
+
|
|
203
|
+
```bash
|
|
204
|
+
# Development
|
|
205
|
+
cd web && npm run dev # Start dev server at localhost:3000
|
|
206
|
+
|
|
207
|
+
# Build
|
|
208
|
+
cd web && npm run build # Production build
|
|
209
|
+
|
|
210
|
+
# Lint
|
|
211
|
+
cd web && npm run lint # ESLint check
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
## 💡 Usage Instructions
|
|
217
|
+
|
|
218
|
+
When working on this project:
|
|
219
|
+
|
|
220
|
+
1. **For Documentation Pages:** Edit files in `web/src/app/docs/`
|
|
221
|
+
2. **For UI Components:** Check `web/src/components/ui/` first
|
|
222
|
+
3. **For Agent/Skill Updates:** Edit files in `.agent/agents/` or `.agent/skills/`
|
|
223
|
+
4. **For Styling:** Use Tailwind classes, reference `globals.css` for tokens
|
|
224
|
+
|
|
225
|
+
### Important Notes
|
|
226
|
+
- This is a **static documentation site** - no backend/API
|
|
227
|
+
- The `.agent/` folder contains the actual product (AI templates)
|
|
228
|
+
- The `web/` folder is just the marketing/docs website
|
|
229
|
+
- All external links should have `rel="noopener noreferrer"`
|