antigravity-devkit 1.0.3 → 1.0.4

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/README.md +153 -26
  2. package/package.json +1 -1
  3. package/template/ARCHITECTURE.md +0 -148
  4. package/template/README.md +0 -421
  5. package/template/agents/backend-specialist.md +0 -137
  6. package/template/agents/database-architect.md +0 -114
  7. package/template/agents/debugger.md +0 -108
  8. package/template/agents/devops-engineer.md +0 -125
  9. package/template/agents/documentation-writer.md +0 -109
  10. package/template/agents/explorer-agent.md +0 -107
  11. package/template/agents/frontend-specialist.md +0 -231
  12. package/template/agents/orchestrator.md +0 -100
  13. package/template/agents/performance-optimizer.md +0 -109
  14. package/template/agents/project-planner.md +0 -123
  15. package/template/agents/security-auditor.md +0 -107
  16. package/template/agents/test-engineer.md +0 -133
  17. package/template/rules/GEMINI.md +0 -180
  18. package/template/scripts/README.md +0 -317
  19. package/template/scripts/checklist.py +0 -170
  20. package/template/scripts/lint_runner.py +0 -253
  21. package/template/scripts/schema_validator.py +0 -277
  22. package/template/scripts/security_scan.py +0 -354
  23. package/template/scripts/verify_all.py +0 -243
  24. package/template/scripts/vitest_runner.py +0 -203
  25. package/template/scripts/xunit_runner.py +0 -235
  26. package/template/skills/api-patterns/SKILL.md +0 -116
  27. package/template/skills/architecture/SKILL.md +0 -98
  28. package/template/skills/aspnet-patterns/SKILL.md +0 -122
  29. package/template/skills/azure-aks/SKILL.md +0 -136
  30. package/template/skills/azure-devops/SKILL.md +0 -123
  31. package/template/skills/azure-keyvault/SKILL.md +0 -100
  32. package/template/skills/brainstorming/SKILL.md +0 -96
  33. package/template/skills/clean-code/SKILL.md +0 -84
  34. package/template/skills/csharp-patterns/SKILL.md +0 -155
  35. package/template/skills/documentation-templates/SKILL.md +0 -127
  36. package/template/skills/frontend-design/SKILL.md +0 -199
  37. package/template/skills/frontend-design/animation-guide.md +0 -217
  38. package/template/skills/frontend-design/design-systems.md +0 -230
  39. package/template/skills/frontend-design/ux-psychology.md +0 -128
  40. package/template/skills/gitops-patterns/SKILL.md +0 -105
  41. package/template/skills/grafana-logging/SKILL.md +0 -107
  42. package/template/skills/intelligent-routing/SKILL.md +0 -75
  43. package/template/skills/plan-writing/SKILL.md +0 -96
  44. package/template/skills/sqlserver-design/SKILL.md +0 -97
  45. package/template/skills/systematic-debugging/SKILL.md +0 -98
  46. package/template/skills/testing-patterns/SKILL.md +0 -102
  47. package/template/skills/vitest-testing/SKILL.md +0 -116
  48. package/template/skills/vue3-patterns/SKILL.md +0 -235
  49. package/template/skills/vulnerability-scanner/SKILL.md +0 -104
  50. package/template/skills/xunit-testing/SKILL.md +0 -127
  51. package/template/workflows/brainstorm.md +0 -69
  52. package/template/workflows/code.md +0 -82
  53. package/template/workflows/create.md +0 -79
  54. package/template/workflows/debug.md +0 -83
  55. package/template/workflows/deploy.md +0 -101
  56. package/template/workflows/orchestrate.md +0 -86
  57. package/template/workflows/plan.md +0 -79
  58. package/template/workflows/review.md +0 -85
  59. package/template/workflows/status.md +0 -90
  60. package/template/workflows/test.md +0 -89
package/README.md CHANGED
@@ -69,32 +69,46 @@ After installation, start using slash commands:
69
69
 
70
70
  ## How It Works
71
71
 
72
- ```
73
- User Request
74
-
75
- ┌─────────────────────────────────────────────────────┐
76
- │ rules/GEMINI.md (Always Active) │
77
- │ - Classifies request type │
78
- │ - Routes to appropriate agent │
79
- - Enforces global standards │
80
- └─────────────────────────────────────────────────────┘
81
-
82
- ┌─────────────────────────────────────────────────────┐
83
- │ agents/*.md (Specialist Selected) │
84
- │ - Applies domain expertise │
85
- - Loads required skills │
86
- - Follows agent-specific rules │
87
- └─────────────────────────────────────────────────────┘
88
-
89
- ┌─────────────────────────────────────────────────────┐
90
- skills/*/SKILL.md (Knowledge Loaded)
91
- - Provides patterns and templates │
92
- - Defines best practices │
93
- - References additional docs if needed │
94
- └─────────────────────────────────────────────────────┘
95
-
96
- Response with specialized knowledge
97
- ```
72
+ ![Antigravity DevKit Workflow](./docs/workflow-diagram.png)
73
+
74
+ ### The Complete Flow
75
+
76
+ **1. User Request** → Everything starts with your request to the AI assistant.
77
+
78
+ **2. Classification Layer** (`rules/GEMINI.md`)
79
+ - **Always Active** - This runs before every response
80
+ - Analyzes your request to determine the type (question, code, design, etc.)
81
+ - Routes to the most appropriate specialist agent
82
+ - Enforces global coding standards and best practices
83
+
84
+ **3. Agent Selection Layer** (`agents/*.md`)
85
+ - The right specialist is automatically selected based on your request
86
+ - Available specialists: Frontend, Backend, Database, DevOps, Test Engineer, and more
87
+ - Each agent brings domain-specific expertise
88
+ - Agents load their required skills for the task
89
+
90
+ **4. Skills Loading Layer** (`skills/*/SKILL.md`)
91
+ - Agents load relevant knowledge modules
92
+ - Skills include: clean-code, vue3-patterns, aspnet-patterns, azure-devops, testing-patterns, architecture, and more
93
+ - Each skill provides patterns, templates, and best practices
94
+ - Skills can reference additional documentation and examples
95
+
96
+ **5. Output Generation**
97
+ - AI generates specialized responses using the loaded knowledge
98
+ - Output types: Code files, Documentation, Tests, Configuration, etc.
99
+ - All outputs follow the patterns and standards from the loaded skills
100
+
101
+ ### Supporting Components
102
+
103
+ **Optional Workflows** (Right Panel)
104
+ - Slash commands like `/plan`, `/create`, `/code`, `/test`, `/deploy`
105
+ - These trigger pre-defined multi-step procedures
106
+ - Can be used to streamline common development tasks
107
+
108
+ **Validation Scripts** (Left Panel)
109
+ - `checklist.py` - Quick validation during development
110
+ - `verify_all.py` - Comprehensive checks before deployment
111
+ - Automatically run after certain operations or manually triggered
98
112
 
99
113
  ---
100
114
 
@@ -304,6 +318,119 @@ python .agent/scripts/verify_all.py . --url http://localhost:3000
304
318
 
305
319
  ---
306
320
 
321
+ ## Project Lifecycle
322
+
323
+ ![Project Lifecycle with Antigravity DevKit](./docs/project-lifecycle-diagram.png)
324
+
325
+ ### Understanding the Development Phases
326
+
327
+ The antigravity-dev-kit supports your entire development lifecycle with specialized workflows for each phase:
328
+
329
+ #### **Phase 1: Discovery & Planning** 🔍
330
+ **Workflows:** `/brainstorm`, `/plan`
331
+
332
+ Start here when you have a new feature idea or requirement. The kit helps you:
333
+ - Clarify vague requirements through strategic questions
334
+ - Create detailed task breakdowns
335
+ - Generate a `PLAN-*.md` file for structured implementation
336
+
337
+ **When to use:**
338
+ - New feature requests
339
+ - Complex requirements that need clarification
340
+ - Architecture decisions
341
+
342
+ ---
343
+
344
+ #### **Phase 2: Development** 💻
345
+ **Workflows:** `/create` (full feature), `/code` (single task)
346
+
347
+ Build your features with specialized agents:
348
+ - **Frontend Specialist** - Vue3 components and UI
349
+ - **Backend Specialist** - ASP.NET APIs and services
350
+ - **Database Architect** - SQL schema and queries
351
+
352
+ **Key features:**
353
+ - Checkpoints for human approval
354
+ - Follows your plan file
355
+ - Multi-agent coordination for complex features
356
+
357
+ ---
358
+
359
+ #### **Phase 3: Testing** 🧪
360
+ **Workflows:** `/test`
361
+ **Scripts:** `checklist.py`
362
+
363
+ Generate comprehensive tests:
364
+ - Unit tests (xUnit for backend, Vitest for frontend)
365
+ - Integration tests
366
+ - Test coverage reports
367
+
368
+ **Automated checks:**
369
+ - Linting and type checking
370
+ - Code quality validation
371
+ - Test execution
372
+
373
+ ---
374
+
375
+ #### **Phase 4: Code Review** 🔎
376
+ **Workflows:** `/review`
377
+ **Agent:** Security Auditor
378
+
379
+ Get automated code reviews covering:
380
+ - Security vulnerabilities
381
+ - Code quality issues
382
+ - Best practice violations
383
+ - Performance concerns
384
+
385
+ **Output:** Detailed review report with actionable recommendations
386
+
387
+ ---
388
+
389
+ #### **Phase 5: Deployment** 🚀
390
+ **Workflows:** `/deploy`
391
+ **Scripts:** `verify_all.py`
392
+
393
+ Deploy with confidence:
394
+ - Comprehensive pre-deployment validation
395
+ - Azure DevOps pipeline trigger
396
+ - Deployment verification
397
+
398
+ **Checks before deploy:**
399
+ - All tests passing
400
+ - No security vulnerabilities
401
+ - Build successful
402
+ - Dependencies up to date
403
+
404
+ ---
405
+
406
+ #### **Phase 6: Maintenance** 🔧
407
+ **Workflows:** `/debug`, `/status`
408
+ **Agents:** Debugger, Performance Optimizer
409
+
410
+ Keep your application healthy:
411
+ - Root cause analysis for bugs
412
+ - Performance optimization
413
+ - System health monitoring
414
+ - Quick fixes and patches
415
+
416
+ **Continuous improvement:**
417
+ - Monitor application metrics
418
+ - Optimize slow queries
419
+ - Fix production issues
420
+ - Iterate back to Phase 1 for new features
421
+
422
+ ---
423
+
424
+ ### Quick Reference: Common Scenarios
425
+
426
+ | Scenario | Workflow Path | Duration |
427
+ |----------|--------------|----------|
428
+ | **New Feature** | `/brainstorm` → `/plan` → `/create` → `/test` → `/review` → `/deploy` | Full cycle |
429
+ | **Bug Fix** | `/debug` → `/test` → `/review` → `/deploy` | Fast track |
430
+ | **Quick Task** | `/code` → Done | Immediate |
431
+
432
+ ---
433
+
307
434
  ## Typical Workflows
308
435
 
309
436
  ### Building a New Feature
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antigravity-devkit",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "AI DevKit for Vue3 + ASP.NET + Azure development with specialized agents, skills, and workflows",
5
5
  "author": "tridp.it@outlook.com",
6
6
  "license": "MIT",
@@ -1,148 +0,0 @@
1
- # Antigravity Kit Architecture
2
-
3
- > Vue3 + ASP.NET + Azure Development Toolkit
4
-
5
- ---
6
-
7
- ## Overview
8
-
9
- | Metric | Value |
10
- |--------|-------|
11
- | Agents | 12 |
12
- | Skills | 20 |
13
- | Workflows | 10 |
14
- | Scripts | 2 master + skill-level |
15
-
16
- ---
17
-
18
- ## Directory Structure
19
-
20
- ```
21
- .agent-antigravity/
22
- ├── ARCHITECTURE.md # This file
23
- ├── README.md # Usage guide
24
- ├── rules/GEMINI.md # Global rules
25
- ├── agents/ # 12 Specialist Agents
26
- ├── skills/ # 20 Skill Modules
27
- ├── workflows/ # 10 Slash Commands
28
- └── scripts/ # Validation Scripts
29
- ```
30
-
31
- ---
32
-
33
- ## Agents (12)
34
-
35
- | Agent | Focus | Skills |
36
- |-------|-------|--------|
37
- | orchestrator | Multi-agent coordination | intelligent-routing, brainstorming |
38
- | project-planner | Discovery, planning | brainstorming, plan-writing, architecture |
39
- | frontend-specialist | Vue3, TypeScript, Pinia | vue3-patterns, vitest-testing |
40
- | backend-specialist | ASP.NET Core, C# | aspnet-patterns, csharp-patterns, api-patterns |
41
- | database-architect | SQL Server | sqlserver-design |
42
- | devops-engineer | Azure DevOps, AKS, GitOps | azure-devops, azure-aks, gitops-patterns |
43
- | security-auditor | KeyVault, OWASP | vulnerability-scanner, azure-keyvault |
44
- | test-engineer | xUnit, Vitest, E2E | xunit-testing, vitest-testing |
45
- | debugger | Root cause analysis | systematic-debugging |
46
- | performance-optimizer | Grafana, metrics | grafana-logging |
47
- | documentation-writer | API docs | documentation-templates |
48
- | explorer-agent | Codebase analysis | - |
49
-
50
- ---
51
-
52
- ## Skills (20)
53
-
54
- ### Frontend & Vue3
55
- | Skill | Description |
56
- |-------|-------------|
57
- | vue3-patterns | Composition API, Pinia, Vue Router |
58
- | vitest-testing | Vue component testing |
59
-
60
- ### Backend & ASP.NET
61
- | Skill | Description |
62
- |-------|-------------|
63
- | aspnet-patterns | Controllers, Services, Middleware |
64
- | csharp-patterns | C# best practices, async/await |
65
- | api-patterns | REST API design |
66
-
67
- ### Database
68
- | Skill | Description |
69
- |-------|-------------|
70
- | sqlserver-design | Schema, stored procedures, optimization |
71
-
72
- ### Azure & DevOps
73
- | Skill | Description |
74
- |-------|-------------|
75
- | azure-devops | CI/CD pipelines, YAML |
76
- | azure-aks | Kubernetes, Helm charts |
77
- | azure-keyvault | Secrets management |
78
- | grafana-logging | Metrics, dashboards |
79
- | gitops-patterns | ArgoCD, Flux |
80
-
81
- ### Testing
82
- | Skill | Description |
83
- |-------|-------------|
84
- | xunit-testing | C# unit tests |
85
- | testing-patterns | Test strategies |
86
-
87
- ### Core
88
- | Skill | Description |
89
- |-------|-------------|
90
- | clean-code | Coding standards |
91
- | architecture | System design patterns |
92
- | brainstorming | Socratic discovery |
93
- | plan-writing | Task breakdown |
94
- | intelligent-routing | Agent selection |
95
- | vulnerability-scanner | Security auditing |
96
-
97
- ### Industry
98
- | Skill | Description |
99
- |-------|-------------|
100
- | english-education | Curriculum, lessons, quizzes |
101
-
102
- ---
103
-
104
- ## Workflows (10)
105
-
106
- | Command | Description |
107
- |---------|-------------|
108
- | /brainstorm | Socratic discovery |
109
- | /plan | Create PLAN-{slug}.md |
110
- | /create | Full feature build |
111
- | /code | Code generation |
112
- | /test | Generate tests |
113
- | /debug | Root cause analysis |
114
- | /review | Code review |
115
- | /deploy | Azure DevOps trigger |
116
- | /status | Project health |
117
- | /orchestrate | Multi-agent coordination |
118
-
119
- ---
120
-
121
- ## Skill Loading Protocol
122
-
123
- ```
124
- User Request → Agent Selected → Load SKILL.md → Read references/
125
- ```
126
-
127
- ### Skill Structure
128
- ```
129
- skill-name/
130
- ├── SKILL.md # Required - metadata & rules
131
- ├── references/ # Optional - templates, docs
132
- └── scripts/ # Optional - validation scripts
133
- ```
134
-
135
- ---
136
-
137
- ## Quick Reference
138
-
139
- | Need | Agent | Skills |
140
- |------|-------|--------|
141
- | Vue3 Component | frontend-specialist | vue3-patterns |
142
- | ASP.NET API | backend-specialist | aspnet-patterns, api-patterns |
143
- | SQL Schema | database-architect | sqlserver-design |
144
- | Deploy to AKS | devops-engineer | azure-aks, gitops-patterns |
145
- | Security Audit | security-auditor | vulnerability-scanner |
146
- | Tests | test-engineer | xunit-testing, vitest-testing |
147
- | Debug | debugger | systematic-debugging |
148
- | Plan | project-planner | brainstorming, plan-writing |