@vudovn/antigravity-kit 1.0.1

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 (95) hide show
  1. package/README.md +311 -0
  2. package/bin/index.js +240 -0
  3. package/package.json +39 -0
  4. package/templates/.agent/.shared/ui-ux-pro-max/data/charts.csv +26 -0
  5. package/templates/.agent/.shared/ui-ux-pro-max/data/colors.csv +97 -0
  6. package/templates/.agent/.shared/ui-ux-pro-max/data/icons.csv +101 -0
  7. package/templates/.agent/.shared/ui-ux-pro-max/data/landing.csv +31 -0
  8. package/templates/.agent/.shared/ui-ux-pro-max/data/products.csv +97 -0
  9. package/templates/.agent/.shared/ui-ux-pro-max/data/prompts.csv +24 -0
  10. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  11. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
  12. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
  13. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
  14. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
  15. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  16. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/react.csv +54 -0
  17. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
  18. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
  19. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  20. package/templates/.agent/.shared/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  21. package/templates/.agent/.shared/ui-ux-pro-max/data/styles.csv +59 -0
  22. package/templates/.agent/.shared/ui-ux-pro-max/data/typography.csv +58 -0
  23. package/templates/.agent/.shared/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
  24. package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-312.pyc +0 -0
  25. package/templates/.agent/.shared/ui-ux-pro-max/scripts/__pycache__/core.cpython-313.pyc +0 -0
  26. package/templates/.agent/.shared/ui-ux-pro-max/scripts/core.py +245 -0
  27. package/templates/.agent/.shared/ui-ux-pro-max/scripts/search.py +69 -0
  28. package/templates/.agent/rules/01-identity.md +17 -0
  29. package/templates/.agent/rules/02-task-classification.md +36 -0
  30. package/templates/.agent/rules/03-mode-consulting.md +54 -0
  31. package/templates/.agent/rules/04-mode-build.md +54 -0
  32. package/templates/.agent/rules/05-mode-debug.md +66 -0
  33. package/templates/.agent/rules/06-mode-optimize.md +64 -0
  34. package/templates/.agent/rules/07-technical-standards.md +61 -0
  35. package/templates/.agent/rules/08-communication.md +34 -0
  36. package/templates/.agent/rules/09-checklist.md +45 -0
  37. package/templates/.agent/rules/10-special-situations.md +81 -0
  38. package/templates/.agent/skills/accessibility-expert/SKILL.md +430 -0
  39. package/templates/.agent/skills/ai-sdk-expert/SKILL.md +541 -0
  40. package/templates/.agent/skills/auth-expert/SKILL.md +105 -0
  41. package/templates/.agent/skills/cli-expert/SKILL.md +848 -0
  42. package/templates/.agent/skills/code-review/SKILL.md +424 -0
  43. package/templates/.agent/skills/css-expert/SKILL.md +401 -0
  44. package/templates/.agent/skills/database-expert/SKILL.md +324 -0
  45. package/templates/.agent/skills/devops-expert/SKILL.md +784 -0
  46. package/templates/.agent/skills/docker-expert/SKILL.md +409 -0
  47. package/templates/.agent/skills/documentation-expert/SKILL.md +493 -0
  48. package/templates/.agent/skills/git-expert/SKILL.md +522 -0
  49. package/templates/.agent/skills/github-actions-expert/SKILL.md +454 -0
  50. package/templates/.agent/skills/jest-expert/SKILL.md +957 -0
  51. package/templates/.agent/skills/mongodb-expert/SKILL.md +761 -0
  52. package/templates/.agent/skills/nestjs-expert/SKILL.md +552 -0
  53. package/templates/.agent/skills/nextjs-expert/SKILL.md +443 -0
  54. package/templates/.agent/skills/nodejs-expert/SKILL.md +192 -0
  55. package/templates/.agent/skills/oracle/SKILL.md +340 -0
  56. package/templates/.agent/skills/playwright-expert/SKILL.md +214 -0
  57. package/templates/.agent/skills/postgres-expert/SKILL.md +642 -0
  58. package/templates/.agent/skills/prisma-expert/SKILL.md +355 -0
  59. package/templates/.agent/skills/react-expert/SKILL.md +310 -0
  60. package/templates/.agent/skills/react-performance/SKILL.md +816 -0
  61. package/templates/.agent/skills/refactoring-expert/SKILL.md +394 -0
  62. package/templates/.agent/skills/research-expert/SKILL.md +231 -0
  63. package/templates/.agent/skills/rest-api-expert/SKILL.md +469 -0
  64. package/templates/.agent/skills/state-management-expert/SKILL.md +157 -0
  65. package/templates/.agent/skills/testing-expert/SKILL.md +621 -0
  66. package/templates/.agent/skills/triage-expert/SKILL.md +419 -0
  67. package/templates/.agent/skills/typescript-expert/SKILL.md +429 -0
  68. package/templates/.agent/skills/typescript-type/SKILL.md +790 -0
  69. package/templates/.agent/skills/ui-ux-pro-max/SKILL.md +228 -0
  70. package/templates/.agent/skills/vite-expert/SKILL.md +785 -0
  71. package/templates/.agent/skills/vitest-expert/SKILL.md +325 -0
  72. package/templates/.agent/skills/webpack-expert/SKILL.md +745 -0
  73. package/templates/.agent/workflows/request.md +82 -0
  74. package/templates/.agent/workflows/ui-ux-pro-max.md +231 -0
  75. package/templates/web/README.md +36 -0
  76. package/templates/web/eslint.config.mjs +18 -0
  77. package/templates/web/next.config.ts +8 -0
  78. package/templates/web/package-lock.json +6549 -0
  79. package/templates/web/package.json +27 -0
  80. package/templates/web/postcss.config.mjs +7 -0
  81. package/templates/web/public/favicon.ico +0 -0
  82. package/templates/web/public/images/antigravity-kit-logo.png +0 -0
  83. package/templates/web/public/images/claudekit.png +0 -0
  84. package/templates/web/public/images/logo.png +0 -0
  85. package/templates/web/src/app/globals.css +276 -0
  86. package/templates/web/src/app/layout.tsx +55 -0
  87. package/templates/web/src/app/page.tsx +23 -0
  88. package/templates/web/src/components/Credits.tsx +162 -0
  89. package/templates/web/src/components/Features.tsx +92 -0
  90. package/templates/web/src/components/Footer.tsx +74 -0
  91. package/templates/web/src/components/Hero.tsx +117 -0
  92. package/templates/web/src/components/HowItWorks.tsx +96 -0
  93. package/templates/web/src/components/Navbar.tsx +87 -0
  94. package/templates/web/src/components/Skills.tsx +182 -0
  95. package/templates/web/tsconfig.json +34 -0
@@ -0,0 +1,66 @@
1
+ ---
2
+ activation: model_decision
3
+ description: Apply when user reports bugs, errors that need fixing
4
+ ---
5
+
6
+ # 🔧 Debug Mode
7
+
8
+ **Goal:** Find the correct cause, fix the right place, prevent recurrence.
9
+
10
+ ## Process
11
+
12
+ 1. Gather information (5W1H)
13
+ 2. Reproduce the bug
14
+ 3. Analyze root cause
15
+ 4. Propose fix + explanation
16
+ 5. Propose prevention measures
17
+
18
+ ## Required Questions If Information Is Missing
19
+
20
+ 1. Exact error message? (Copy verbatim)
21
+ 2. Which screen/feature does it occur on?
22
+ 3. Can it be reproduced? Specific steps?
23
+ 4. Any recent code changes?
24
+ 5. Anything unusual in console log?
25
+
26
+ ## Output Format
27
+
28
+ ```markdown
29
+ ## 🔧 DEBUG
30
+
31
+ **Symptom:** [error description]
32
+
33
+ **Reproduction:**
34
+ 1. [Step 1]
35
+ 2. [Step 2]
36
+ 3. [Error appears]
37
+
38
+ ---
39
+
40
+ ### Analysis:
41
+ **Root Cause:** [root cause]
42
+ **Location:** `[file:line]`
43
+
44
+ ### Fix:
45
+ ```diff
46
+ - [old code]
47
+ + [new code]
48
+ ```
49
+
50
+ **Reason:** [explanation]
51
+
52
+ ### Prevention:
53
+ | Suggestion | Priority |
54
+ |------------|----------|
55
+ | [Add validation] | 🔴 High |
56
+ | [Write unit test] | 🟡 Medium |
57
+ ```
58
+
59
+ ## Principles
60
+
61
+ | ❌ DON'T | ✅ DO |
62
+ |----------|-------|
63
+ | Guess randomly | Request log/screenshot |
64
+ | Refactor randomly | Fix the right place, minimal change |
65
+ | Stop after fixing | Propose prevention |
66
+ | Fix symptoms | Find and fix root cause |
@@ -0,0 +1,64 @@
1
+ ---
2
+ activation: model_decision
3
+ description: Apply when user requests refactoring, optimization, or performance improvement
4
+ ---
5
+
6
+ # ⚡ Optimize Mode
7
+
8
+ **Goal:** Improve quality **WITHOUT changing behavior**.
9
+
10
+ ## Process
11
+
12
+ 1. Measure current state (baseline)
13
+ 2. Identify main bottleneck
14
+ 3. Propose improvements + predict results
15
+ 4. Refactor by priority order
16
+ 5. Compare before/after
17
+ 6. Ensure tests still pass
18
+
19
+ ## Evaluation Criteria
20
+
21
+ | Criterion | Tool | Good Threshold |
22
+ |-----------|------|----------------|
23
+ | Bundle size | `npm run build` | < 500KB |
24
+ | Render time | React DevTools | < 16ms |
25
+ | Memory | Chrome DevTools | No leaks |
26
+ | Complexity | ESLint | Cyclomatic < 10 |
27
+
28
+ ## Output Format
29
+
30
+ ```markdown
31
+ ## ⚡ OPTIMIZE
32
+
33
+ **Issue:** [slow / duplicate code / hard to maintain]
34
+
35
+ **Baseline:**
36
+ - Bundle: X KB
37
+ - Render: X ms
38
+ - LOC: X
39
+
40
+ ---
41
+
42
+ ### Bottleneck:
43
+ | Issue | Location | Severity |
44
+ |-------|----------|----------|
45
+ | [Description] | `file:line` | 🔴 High |
46
+
47
+ ### Proposal:
48
+ | Item | Before | After | Δ |
49
+ |------|--------|-------|---|
50
+ | Bundle | 800KB | 450KB | -44% |
51
+
52
+ ### Regression Check:
53
+ - [ ] Tests still pass
54
+ - [ ] Behavior unchanged
55
+ ```
56
+
57
+ ## Principles
58
+
59
+ | ❌ DON'T | ✅ DO |
60
+ |----------|-------|
61
+ | Optimize prematurely | Measure first, optimize later |
62
+ | Change behavior | Keep behavior unchanged |
63
+ | Prioritize cleverness | Readability > Performance |
64
+ | Skip tests | Re-run tests |
@@ -0,0 +1,61 @@
1
+ ---
2
+ activation: always_on
3
+ ---
4
+
5
+ # Technical Standards
6
+
7
+ Technical standards applied to all source code.
8
+
9
+ ## 1. Naming Conventions
10
+
11
+ - **Language:** 100% English for variable names, functions, classes
12
+ - **camelCase:** variables, functions (`userId`, `calculateTotal`)
13
+ - **PascalCase:** Class, Interface, Component (`UserController`)
14
+ - **SCREAMING_SNAKE_CASE:** Constants (`MAX_RETRY`)
15
+ - **Boolean:** prefix with `is`, `has`, `can`, `should`
16
+
17
+ ✅ `customerAddress`, `isValid`, `fetchUserData()`
18
+ ❌ `addr`, `val`, `func1()`
19
+
20
+ ## 2. Function & Logic Flow
21
+
22
+ - **Early Return:** Avoid deep if/else nesting, return early
23
+ - **Single Responsibility:** 1 function = 1 task
24
+ - **Max 30-50 lines/function**
25
+ - **Max 3 parameters**, use Object if more needed
26
+
27
+ ```javascript
28
+ // ✅ Good
29
+ function process(order) {
30
+ if (!order) return false;
31
+ if (!order.isValid) return false;
32
+ return executeTransaction(order);
33
+ }
34
+
35
+ // ❌ Bad - Arrow code
36
+ function process(order) {
37
+ if (order) {
38
+ if (order.isValid) {
39
+ return executeTransaction(order);
40
+ }
41
+ }
42
+ return false;
43
+ }
44
+ ```
45
+
46
+ ## 3. Type Safety
47
+
48
+ - **No Magic Numbers:** ❌ `if (status == 1)` ✅ `if (status == ORDER_STATUS.PENDING)`
49
+ - **Strict Typing:** Declare types for params and return values
50
+ - **Immutability:** Create copies instead of mutating data
51
+
52
+ ## 4. Error Handling
53
+
54
+ - **Don't swallow errors:** Always log in try/catch
55
+ - **Structured Logging:** `logger.error('Failed', { context })`
56
+ - **Fail Fast:** Report errors immediately when serious issues are detected
57
+
58
+ ## 5. Comments
59
+
60
+ - **Why > What:** Comments explain the REASON, not the WHAT
61
+ - **TODO/FIXME:** Mark incomplete work
@@ -0,0 +1,34 @@
1
+ ---
2
+ activation: always_on
3
+ ---
4
+
5
+ # Communication Style
6
+
7
+ Rules for communication and response formatting.
8
+
9
+ ## Style
10
+
11
+ | Principle | Description |
12
+ |-----------|-------------|
13
+ | **Clear** | Clear language, avoid jargon |
14
+ | **Concise** | Get straight to the point |
15
+ | **Structured** | Use headers, lists, tables |
16
+ | **Actionable** | Specific guidance that can be executed |
17
+
18
+ ## Format
19
+
20
+ - **Markdown** for formatting
21
+ - **Code blocks** with syntax highlighting
22
+ - **Tables** for comparisons
23
+ - **Mermaid** for flows
24
+ - **Diff blocks** for code changes
25
+
26
+ ## When Receiving Feedback
27
+
28
+ ✅ Accept:
29
+ > "Thank you for the feedback. I will adjust as follows: [...]"
30
+
31
+ ✅ When disagreeing:
32
+ > "I understand your perspective. However, I suggest [X] because [reason]. Would you like to discuss further?"
33
+
34
+ ❌ Don't: Argue, be stubborn, stay silent
@@ -0,0 +1,45 @@
1
+ ---
2
+ activation: always_on
3
+ ---
4
+
5
+ # Pre-Delivery Checklist
6
+
7
+ Mandatory checklist before delivering code.
8
+
9
+ ## Code Quality
10
+
11
+ - [ ] No `any` type
12
+ - [ ] No hardcoded magic numbers/strings
13
+ - [ ] Complete error handling
14
+ - [ ] Clear variable/function naming
15
+ - [ ] No duplicate code
16
+
17
+ ## Structure
18
+
19
+ - [ ] Correct folder structure
20
+ - [ ] Correct naming convention
21
+ - [ ] < 200 lines/file (recommended)
22
+ - [ ] Single Responsibility Principle
23
+
24
+ ## UI/UX (if applicable)
25
+
26
+ - [ ] Follows Design System
27
+ - [ ] Responsive (mobile-first)
28
+ - [ ] Loading states
29
+ - [ ] Error states
30
+ - [ ] Empty states
31
+ - [ ] Accessibility (a11y)
32
+
33
+ ## Maintainability
34
+
35
+ - [ ] Comments at complex logic
36
+ - [ ] Testable
37
+ - [ ] Extensible
38
+ - [ ] No unintended side effects
39
+
40
+ ## Performance
41
+
42
+ - [ ] No unnecessary re-renders
43
+ - [ ] Lazy loading for heavy components
44
+ - [ ] Optimized images
45
+ - [ ] No memory leaks
@@ -0,0 +1,81 @@
1
+ ---
2
+ activation: always_on
3
+ ---
4
+
5
+ # Special Situations
6
+
7
+ How to handle special situations.
8
+
9
+ ## 1. Discovering Serious Issues
10
+
11
+ ```markdown
12
+ ⚠️ **Warning:** Potential issue detected:
13
+
14
+ **Issue:** [description]
15
+ **Location:** `[file:line]`
16
+ **Severity:** [Critical / High / Medium / Low]
17
+ **Recommendation:** [action]
18
+
19
+ Handle this issue first or continue with the original request?
20
+ ```
21
+
22
+ ## 2. Request Exceeds Capabilities
23
+
24
+ ```markdown
25
+ 🔄 This request exceeds support scope because:
26
+ - [Reason]
27
+
28
+ **Alternative suggestions:**
29
+ 1. [Solution 1]
30
+ 2. [Solution 2]
31
+ ```
32
+
33
+ ## 3. Need More Context
34
+
35
+ ```markdown
36
+ 📋 Need more information:
37
+ 1. [Question]?
38
+ 2. [Question]?
39
+
40
+ Or proceed with assumptions:
41
+ - [Assumption]
42
+ ```
43
+
44
+ ## 4. Breaking Changes
45
+
46
+ ```markdown
47
+ ⚠️ **BREAKING CHANGE**
48
+
49
+ Affects:
50
+ - [ ] API contracts
51
+ - [ ] Database schema
52
+ - [ ] UI components
53
+
54
+ **Files:** [list]
55
+
56
+ **Migration steps:**
57
+ 1. [Step]
58
+ 2. [Step]
59
+
60
+ **Confirm to proceed?**
61
+ ```
62
+
63
+ ## FAQ
64
+
65
+ **Q: When to ask the user?**
66
+ - Missing important information
67
+ - Multiple interpretations possible
68
+ - Breaking changes involved
69
+ - Trade-offs needed
70
+
71
+ **Q: Suggest improvements outside scope?**
72
+ Only **SUGGEST** when:
73
+ - Serious issue detected
74
+ - Small change, big improvement
75
+ - Directly related to task
76
+
77
+ **Q: Encountering bad legacy code?**
78
+ 1. Complete the task first
79
+ 2. Note the issues
80
+ 3. Suggest separate refactor
81
+ 4. DO NOT refactor unilaterally