antigravity-devkit 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 (60) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +421 -0
  3. package/bin/cli.js +179 -0
  4. package/package.json +38 -0
  5. package/template/ARCHITECTURE.md +148 -0
  6. package/template/README.md +421 -0
  7. package/template/agents/backend-specialist.md +137 -0
  8. package/template/agents/database-architect.md +114 -0
  9. package/template/agents/debugger.md +108 -0
  10. package/template/agents/devops-engineer.md +125 -0
  11. package/template/agents/documentation-writer.md +109 -0
  12. package/template/agents/explorer-agent.md +107 -0
  13. package/template/agents/frontend-specialist.md +231 -0
  14. package/template/agents/orchestrator.md +100 -0
  15. package/template/agents/performance-optimizer.md +109 -0
  16. package/template/agents/project-planner.md +123 -0
  17. package/template/agents/security-auditor.md +107 -0
  18. package/template/agents/test-engineer.md +133 -0
  19. package/template/rules/GEMINI.md +180 -0
  20. package/template/scripts/checklist.py +170 -0
  21. package/template/scripts/verify_all.py +243 -0
  22. package/template/skills/api-patterns/SKILL.md +116 -0
  23. package/template/skills/architecture/SKILL.md +98 -0
  24. package/template/skills/aspnet-patterns/SKILL.md +120 -0
  25. package/template/skills/azure-aks/SKILL.md +136 -0
  26. package/template/skills/azure-devops/SKILL.md +123 -0
  27. package/template/skills/azure-keyvault/SKILL.md +100 -0
  28. package/template/skills/brainstorming/SKILL.md +96 -0
  29. package/template/skills/clean-code/SKILL.md +84 -0
  30. package/template/skills/csharp-patterns/SKILL.md +115 -0
  31. package/template/skills/documentation-templates/SKILL.md +127 -0
  32. package/template/skills/english-education/SKILL.md +116 -0
  33. package/template/skills/english-education/references/lesson-templates.md +151 -0
  34. package/template/skills/english-education/references/quiz-templates.md +177 -0
  35. package/template/skills/english-education/scripts/curriculum_validator.py +175 -0
  36. package/template/skills/frontend-design/SKILL.md +199 -0
  37. package/template/skills/frontend-design/animation-guide.md +217 -0
  38. package/template/skills/frontend-design/design-systems.md +230 -0
  39. package/template/skills/frontend-design/ux-psychology.md +128 -0
  40. package/template/skills/gitops-patterns/SKILL.md +105 -0
  41. package/template/skills/grafana-logging/SKILL.md +107 -0
  42. package/template/skills/intelligent-routing/SKILL.md +75 -0
  43. package/template/skills/plan-writing/SKILL.md +96 -0
  44. package/template/skills/sqlserver-design/SKILL.md +97 -0
  45. package/template/skills/systematic-debugging/SKILL.md +98 -0
  46. package/template/skills/testing-patterns/SKILL.md +102 -0
  47. package/template/skills/vitest-testing/SKILL.md +116 -0
  48. package/template/skills/vue3-patterns/SKILL.md +195 -0
  49. package/template/skills/vulnerability-scanner/SKILL.md +104 -0
  50. package/template/skills/xunit-testing/SKILL.md +127 -0
  51. package/template/workflows/brainstorm.md +69 -0
  52. package/template/workflows/code.md +82 -0
  53. package/template/workflows/create.md +79 -0
  54. package/template/workflows/debug.md +83 -0
  55. package/template/workflows/deploy.md +101 -0
  56. package/template/workflows/orchestrate.md +86 -0
  57. package/template/workflows/plan.md +79 -0
  58. package/template/workflows/review.md +85 -0
  59. package/template/workflows/status.md +90 -0
  60. package/template/workflows/test.md +89 -0
@@ -0,0 +1,89 @@
1
+ ---
2
+ description: Generate tests for existing code
3
+ ---
4
+
5
+ # /test - Test Generation
6
+
7
+ $ARGUMENTS
8
+
9
+ ---
10
+
11
+ ## Purpose
12
+
13
+ Generate unit and integration tests for specified code.
14
+
15
+ ---
16
+
17
+ ## Protocol
18
+
19
+ ### 1. Analyze Target
20
+ - What code needs testing?
21
+ - Frontend (Vitest) or Backend (xUnit)?
22
+ - Unit or integration tests?
23
+
24
+ ### 2. Apply Testing Agent
25
+ Route to `@test-engineer` with appropriate skills.
26
+
27
+ ### 3. Generate Tests
28
+
29
+ **Frontend (Vitest):**
30
+ ```typescript
31
+ describe('ComponentName', () => {
32
+ it('should render', () => {
33
+ // Arrange, Act, Assert
34
+ })
35
+ })
36
+ ```
37
+
38
+ **Backend (xUnit):**
39
+ ```csharp
40
+ [Fact]
41
+ public void Method_Scenario_Expected()
42
+ {
43
+ // Arrange, Act, Assert
44
+ }
45
+ ```
46
+
47
+ ### 4. Run Tests
48
+
49
+ ```bash
50
+ # Frontend
51
+ npm run test
52
+
53
+ # Backend
54
+ dotnet test
55
+ ```
56
+
57
+ ---
58
+
59
+ ## Test Coverage
60
+
61
+ | Target | Minimum |
62
+ |--------|---------|
63
+ | Business logic | 90% |
64
+ | API endpoints | 80% |
65
+ | Components | 70% |
66
+
67
+ ---
68
+
69
+ ## Output
70
+
71
+ ```markdown
72
+ ✅ **Tests generated**
73
+
74
+ Files:
75
+ - `tests/UserService.test.ts`
76
+ - `tests/UserController.Tests.cs`
77
+
78
+ Results:
79
+ - 10 tests passed
80
+ - Coverage: 85%
81
+ ```
82
+
83
+ ---
84
+
85
+ ## After Testing
86
+
87
+ ```
88
+ Next: `/review` for code review
89
+ ```