everything-gemini 0.0.0-stage → 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 (103) hide show
  1. package/.agents/hooks.json +16 -0
  2. package/.agents/rules/everything-gemini-dev.md +5 -0
  3. package/.agents/rules/instincts.md +8 -0
  4. package/.agents/skills/everything-gemini-maintainer/SKILL.md +22 -0
  5. package/.github/ISSUE_TEMPLATE/skill_proposal.md +24 -0
  6. package/.github/pull_request_template.md +9 -0
  7. package/.github/workflows/ci.yml +35 -0
  8. package/.github/workflows/release.yml +42 -0
  9. package/AGENTS.md +15 -0
  10. package/CHANGELOG.md +45 -0
  11. package/CONTRIBUTING.md +114 -0
  12. package/GEMINI.md +15 -0
  13. package/LICENSE +176 -0
  14. package/README.md +316 -2
  15. package/agents/architect.md +21 -0
  16. package/agents/browser-qa.md +26 -0
  17. package/agents/build-repair.md +20 -0
  18. package/agents/code-reviewer.md +22 -0
  19. package/agents/planner.md +21 -0
  20. package/agents/security-auditor.md +21 -0
  21. package/bin/everything-gemini +514 -0
  22. package/docs/architecture/cortex-loop.md +57 -0
  23. package/docs/architecture/memory-and-context.md +50 -0
  24. package/docs/architecture/progressive-disclosure.md +41 -0
  25. package/docs/customization/hooks-reference.md +78 -0
  26. package/docs/ecc-vs-everything-gemini.md +59 -0
  27. package/docs/surfaces/cli.md +46 -0
  28. package/docs/surfaces/desktop-2.0.md +30 -0
  29. package/docs/surfaces/ide.md +29 -0
  30. package/docs/surfaces/python-sdk.md +53 -0
  31. package/docs/workflows/slash-commands.md +27 -0
  32. package/hooks/auto-lint-formatter/hooks.json +16 -0
  33. package/hooks/auto-lint-formatter/scripts/auto-format.sh +48 -0
  34. package/hooks/ephemeral-context/hooks.json +11 -0
  35. package/hooks/ephemeral-context/scripts/inject-context.sh +8 -0
  36. package/hooks/gemini-shield/hooks.json +16 -0
  37. package/hooks/gemini-shield/scripts/shield-gate.sh +72 -0
  38. package/hooks/goal-verifier/hooks.json +11 -0
  39. package/hooks/goal-verifier/scripts/verify-goal.sh +26 -0
  40. package/hooks/learned-instincts/hooks.json +11 -0
  41. package/hooks/learned-instincts/scripts/save-instinct.sh +23 -0
  42. package/hooks/safety-shield/hooks.json +16 -0
  43. package/hooks/safety-shield/scripts/safety-gate.sh +64 -0
  44. package/mcp/README.md +41 -0
  45. package/mcp/mcp_config.example.json +30 -0
  46. package/package.json +39 -4
  47. package/plugins/core/hooks.json +16 -0
  48. package/plugins/core/plugin.json +3 -0
  49. package/plugins/core/rules/core-practices.md +5 -0
  50. package/plugins/python-ai/plugin.json +3 -0
  51. package/plugins/python-ai/rules/ai-agent-patterns.md +5 -0
  52. package/plugins/python-ai/skills/antigravity-sdk-orchestrator/SKILL.md +54 -0
  53. package/plugins/security-shield/hooks.json +16 -0
  54. package/plugins/security-shield/plugin.json +3 -0
  55. package/plugins/security-shield/rules/zero-trust.md +5 -0
  56. package/plugins/web-fullstack/plugin.json +3 -0
  57. package/plugins/web-fullstack/rules/frontend-standards.md +5 -0
  58. package/plugins/web-fullstack/skills/responsive-design/SKILL.md +23 -0
  59. package/rules/common/AGENTS.md +30 -0
  60. package/rules/common/GEMINI.md +30 -0
  61. package/rules/languages/golang.md +10 -0
  62. package/rules/languages/python.md +16 -0
  63. package/rules/languages/typescript.md +18 -0
  64. package/rules/paradigms/security-hardened.md +17 -0
  65. package/rules/paradigms/tdd.md +19 -0
  66. package/scripts/install.ps1 +26 -0
  67. package/scripts/install.sh +52 -0
  68. package/scripts/validate.sh +73 -0
  69. package/skills/api-craftsman/SKILL.md +45 -0
  70. package/skills/api-craftsman/examples/openapi-spec.yaml +37 -0
  71. package/skills/architecture-designer/SKILL.md +33 -0
  72. package/skills/architecture-designer/examples/c4-architecture.md +33 -0
  73. package/skills/browser-qa-tester/SKILL.md +43 -0
  74. package/skills/browser-qa-tester/references/browser-recipes.md +21 -0
  75. package/skills/cloudflare-workers/SKILL.md +72 -0
  76. package/skills/context-caching/SKILL.md +48 -0
  77. package/skills/continuous-learning/SKILL.md +31 -0
  78. package/skills/database-architect/SKILL.md +26 -0
  79. package/skills/database-architect/references/migration-checklist.md +9 -0
  80. package/skills/devops-pipeline/SKILL.md +23 -0
  81. package/skills/devops-pipeline/templates/github-ci.yml +31 -0
  82. package/skills/fullstack-nextjs/SKILL.md +27 -0
  83. package/skills/fullstack-nextjs/references/app-router-patterns.md +46 -0
  84. package/skills/gemini-grounding/SKILL.md +37 -0
  85. package/skills/gemini-multimodal/SKILL.md +43 -0
  86. package/skills/git-craftsman/SKILL.md +43 -0
  87. package/skills/kubernetes-operator/SKILL.md +82 -0
  88. package/skills/performance-profiler/SKILL.md +35 -0
  89. package/skills/performance-profiler/scripts/profile-node.sh +13 -0
  90. package/skills/repo-onboarding/SKILL.md +35 -0
  91. package/skills/repo-onboarding/references/knowledge-item-schema.md +30 -0
  92. package/skills/root-cause-debugger/SKILL.md +35 -0
  93. package/skills/root-cause-debugger/scripts/git-bisect-helper.sh +13 -0
  94. package/skills/security-audit/SKILL.md +29 -0
  95. package/skills/security-audit/scripts/scan-secrets.sh +26 -0
  96. package/skills/stripe-integration/SKILL.md +65 -0
  97. package/skills/subagent-handoff/SKILL.md +28 -0
  98. package/skills/subagent-handoff/references/handoff-patterns.md +30 -0
  99. package/skills/supabase-architect/SKILL.md +53 -0
  100. package/skills/tdd-workflow/SKILL.md +40 -0
  101. package/skills/tdd-workflow/references/tdd-patterns.md +23 -0
  102. package/templates/minimal/GEMINI.md +5 -0
  103. package/templates/minimal/hooks.json +16 -0
package/README.md CHANGED
@@ -1,3 +1,317 @@
1
- # Temporary Holding Version
1
+ # 🪐 Everything Gemini (everything-gemini)
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ <div align="center">
4
+
5
+ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](LICENSE)
6
+ [![Antigravity](https://img.shields.io/badge/Google-Antigravity-4285F4.svg)](https://antigravity.google)
7
+ [![Version](https://img.shields.io/badge/version-1.0.1-emerald.svg)](package.json)
8
+ [![Status](https://img.shields.io/badge/status-active-success.svg)](https://github.com/salmandev/everything-gemini)
9
+ [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)
10
+
11
+ **The open-source agent harness, multi-agent orchestrator, and performance ecosystem for Google Gemini & Antigravity.**
12
+
13
+ [Quickstart](#-quickstart) • [What is everything-gemini?](#-what-is-everything-gemini) • [Architecture](#-architecture--internals) • [Customization Catalog](#-customization-catalog) • [Surfaces Guide](#-the-4-antigravity-surfaces) • [Contributing](CONTRIBUTING.md)
14
+
15
+ </div>
16
+
17
+ ---
18
+
19
+ ## ⚡ What is Everything Gemini?
20
+
21
+ **Google Antigravity** is Google’s state-of-the-art AI-first coding platform, powered by Gemini models, an event-driven execution loop (Cortex), progressive disclosure, multi-surface orchestration (Desktop 2.0, VS Code-based IDE, `agy` CLI, and Python SDK), and localized Knowledge Items (KI).
22
+
23
+ Out of the box, Antigravity is a formidable pair programmer. But without structured harnesses, agents can suffer from:
24
+ - **Context bloat**: Loading massive guidelines into every prompt turn, eroding the model's reasoning window.
25
+ - **Unchecked execution risks**: Accidentally running destructive terminal commands or pushing unfinished code.
26
+ - **Premature stops**: Quitting multi-step tasks before tests pass or edge cases are verified.
27
+ - **Amnesia between sessions**: Forgetting architectural lessons learned yesterday.
28
+
29
+ **Everything Gemini (`everything-gemini`)** solves this. It provides a battle-tested harness system consisting of:
30
+ 1. 🛡️ **Safety Shield & Lifecycle Hooks (`hooks.json`)**: Deterministic gating for destructive commands, auto-lint formatters, and stop-guard verifiers.
31
+ 2. 🧠 **Progressive Disclosure Skills (`skills/`)**: On-demand procedural playbooks that load *only* when needed, saving up to **85% in token overhead**.
32
+ 3. 📏 **Hierarchical Rules (`GEMINI.md` / `AGENTS.md`)**: Context-aware coding standards, zero-hallucination protocols, and clean-architecture rules.
33
+ 4. 🔌 **Plug-and-Play Plugins (`plugins/`)**: Domain bundles for Fullstack Web, Python AI, DevOps, and Security.
34
+ 5. 🌐 **Curated MCP Servers (`mcp/`)**: Pre-configured connections for GitHub, PostgreSQL, SQLite, and Documentation scrapers.
35
+ 6. 🤖 **Subagent & Browser Automation**: Specialized recipes for autonomous browser subagents with automated WebP recording.
36
+
37
+ ---
38
+
39
+ ## 🚀 Quickstart
40
+
41
+ ### 1. Instant Installation via npx (Zero Setup)
42
+
43
+ Run this directly in any project directory or terminal:
44
+
45
+ ```bash
46
+ npx everything-gemini install
47
+ ```
48
+
49
+ ### 2. One-Line Interactive Installer
50
+
51
+ ```bash
52
+ # macOS / Linux
53
+ curl -fsSL https://raw.githubusercontent.com/salmandev/everything-gemini/main/scripts/install.sh | bash
54
+ ```
55
+
56
+ ```powershell
57
+ # Windows (PowerShell)
58
+ irm https://raw.githubusercontent.com/salmandev/everything-gemini/main/scripts/install.ps1 | iex
59
+ ```
60
+
61
+ ### 3. Via Repository Clone
62
+ ```bash
63
+ # Clone the repository
64
+ git clone https://github.com/salmandev/everything-gemini.git
65
+ cd everything-gemini
66
+
67
+ # Run the Everything Gemini CLI
68
+ ./bin/everything-gemini install --profile developer
69
+ ```
70
+
71
+ ### 4. Installation Profiles
72
+
73
+ | Profile | Target Audience | What Gets Installed |
74
+ | :--- | :--- | :--- |
75
+ | **`core`** | Minimalists & Speed | Safety-shield hook, TDD skill, repo-onboarding skill, baseline `GEMINI.md`. |
76
+ | **`developer`** *(Recommended)* | Daily Software Engineers | Core + Fullstack Web plugin, Python AI plugin, Git Craftsman, Auto-formatter hook, Stop verifier hook. |
77
+ | **`full`** | Lead Engineers & Archs | Everything: all plugins, full skills catalog, all lifecycle hooks, pre-tested MCP configs, and templates. |
78
+
79
+ ---
80
+
81
+ ## 🏗️ Architecture & Internals
82
+
83
+ `everything-gemini` is engineered specifically around Google Antigravity's internal execution engine:
84
+
85
+ ```mermaid
86
+ flowchart TB
87
+ subgraph AntigravitySurfaces["1. Antigravity Surfaces"]
88
+ Desktop["Antigravity 2.0 (Desktop)"]
89
+ IDE["Antigravity IDE (VS Code Fork)"]
90
+ CLI["Antigravity CLI ('agy')"]
91
+ SDK["Python SDK ('google-antigravity')"]
92
+ end
93
+
94
+ subgraph CustomizationRoots["2. Customization Roots"]
95
+ Global["~/.gemini/config/ (Global)"]
96
+ Workspace[".agents/ (Workspace Root)"]
97
+ end
98
+
99
+ subgraph GeminiHarness["3. Everything Gemini Harness & Engine"]
100
+ direction TB
101
+ HookEngine["Lifecycle Hooks Engine\n(PreToolUse | PostToolUse | PreInvocation | Stop)"]
102
+ Progressive["Progressive Disclosure Router\n(Injects only metadata until model decides to view)"]
103
+ MemoryBridge["Memory Bridge\n(Knowledge Items [KI] + Brain Artifacts + Transcripts)"]
104
+ end
105
+
106
+ subgraph Capabilities["4. Agent Capabilities & Sandboxes"]
107
+ Subagents["Autonomous Subagents\n(browser_subagent, test-runner)"]
108
+ MCP["Model Context Protocol (MCP)\n(Stdio & SSE Servers)"]
109
+ TerminalSandbox["Terminal Sandbox & Execution Policy"]
110
+ end
111
+
112
+ AntigravitySurfaces --> CustomizationRoots
113
+ CustomizationRoots --> GeminiHarness
114
+ GeminiHarness --> Capabilities
115
+ ```
116
+
117
+ ### Key Differences: ECC vs. Everything Gemini
118
+
119
+ > 📖 **Read the Comprehensive Architectural Breakdown**: [Everything Claude Code (ECC) vs. Everything Gemini](docs/ecc-vs-everything-gemini.md)
120
+
121
+ | Feature | Everything Claude Code (ECC) | Everything Gemini (`everything-gemini`) |
122
+ | :--- | :--- | :--- |
123
+ | **Target Platform** | Claude Code CLI & harnesses | Antigravity 2.0 Desktop, IDE, `agy` CLI, Python SDK |
124
+ | **Model Engine** | Claude 3.5 / 3.7 Sonnet | Gemini 3.8 / 1.5 Flash & Pro |
125
+ | **Context Protocol** | Direct markdown prompts | **Progressive Disclosure** (Metadata injected first, bodies lazy-loaded) |
126
+ | **Context Window & Caching** | 200k tokens, ephemeral | **1M-2M+ tokens with Native Prefix Context Caching (~75% cost savings)** |
127
+ | **Memory System** | Flat markdown files | **Knowledge Items (KI)** + **Adaptive Learned Instincts** |
128
+ | **UI & Visual Multimodality** | Standard text output | **Native `browser_subagent` + WebP Screen Video Recording + Vision** |
129
+ | **Subagents Fleet** | Manual sub-prompts | **6 Scoped Subagents (`agents/`) with Formal Handoff Protocol** |
130
+ | **Lifecycle Hooks** | Shell scripts | Typed protojson contracts (`PreToolUse`, `PostToolUse`, `PreInvocation`, `PostInvocation`, `Stop`) |
131
+ | **Tool Integration** | Claude tool use | **MCP standard (Stdio & SSE)** with auto-discovery & namespacing |
132
+
133
+ ---
134
+
135
+ ## 📂 Repository Directory Layout
136
+
137
+ ```text
138
+ everything-gemini/
139
+ ├── .github/ # CI/CD workflows & issue templates
140
+ ├── bin/ # Zero-dependency harness & scaffolding CLI
141
+ ├── agents/ # Scoped subagent fleet (Planner, Reviewer, Architect, etc.)
142
+ ├── scripts/ # Automated installers and harness validators
143
+ ├── plugins/ # Reusable modular plugins (web-fullstack, python-ai, security)
144
+ ├── skills/ # 21+ Progressive disclosure skills
145
+ ├── rules/ # Contextual guidelines & standards
146
+ ├── hooks/ # Event-driven lifecycle hooks (GeminiShield, Auto-lint)
147
+ ├── mcp/ # Production-ready MCP server blueprints
148
+ ├── docs/ # The Comprehensive Antigravity Bible
149
+ └── templates/ # Starter templates (minimal, recommended, full-power)
150
+ ```
151
+
152
+ ---
153
+
154
+ ## 🧰 Customization Catalog
155
+
156
+ ### 🤖 Scoped Sub-Agents (`agents/`)
157
+
158
+ Everything Gemini provides specialized subagent specifications designed for Antigravity's native `invoke_subagent` delegation and Python SDK orchestration:
159
+
160
+ | Subagent | Role | Focus Area |
161
+ | :--- | :--- | :--- |
162
+ | **[`planner`](agents/planner.md)** | Strategic Planner | Dependency mapping, impact radius analysis, phased checklists. |
163
+ | **[`code-reviewer`](agents/code-reviewer.md)** | Quality Auditor | Edge case verification, type safety, regression prevention, minimal diffs. |
164
+ | **[`build-repair`](agents/build-repair.md)** | Build Triage Specialist | Compiler error diagnosis, test failure auto-repair, surgical fixes. |
165
+ | **[`browser-qa`](agents/browser-qa.md)** | Automated Visual QA | Native browser testing with automated WebP recording into artifacts. |
166
+ | **[`security-auditor`](agents/security-auditor.md)** | Security Auditor | Credential scanning, OWASP Top 10, dependency audit, permission gates. |
167
+ | **[`architect`](agents/architect.md)** | Systems Architect | C4 Mermaid blueprints, sequence diagrams, and formal ADR records. |
168
+
169
+ ### 1. Skills (`skills/`)
170
+ Skills in Antigravity are lazy-loaded runbooks. Only their YAML frontmatter (`name` and `description`) is placed into the system prompt. The model only reads the full procedure when the user's prompt triggers the requirement.
171
+
172
+ - **[`gemini-multimodal`](skills/gemini-multimodal/SKILL.md)**: Native visual reasoning over mockups, diagrams, and automated WebP browser recordings.
173
+ - **[`context-caching`](skills/context-caching/SKILL.md)**: 1M-2M token context optimization, static prefix caching, and repository indexing.
174
+ - **[`subagent-handoff`](skills/subagent-handoff/SKILL.md)**: Multi-agent task delegation protocol, scoped contexts, and report synthesis.
175
+ - **[`api-craftsman`](skills/api-craftsman/SKILL.md)**: REST, OpenAPI 3.1 specifications, gRPC protos, and RFC 7807 error envelopes.
176
+ - **[`database-architect`](skills/database-architect/SKILL.md)**: Zero-downtime migrations, concurrent indexing, and ACID schema modeling.
177
+ - **[`devops-pipeline`](skills/devops-pipeline/SKILL.md)**: Multi-stage Dockerfiles and caching GitHub Actions CI/CD workflows.
178
+ - **[`root-cause-debugger`](skills/root-cause-debugger/SKILL.md)**: Regression diagnosis using binary search (`git bisect`) and minimal reproduction harnesses.
179
+ - **[`tdd-workflow`](skills/tdd-workflow/SKILL.md)**: Red-Green-Refactor loop with automated test runners.
180
+ - **[`browser-qa-tester`](skills/browser-qa-tester/SKILL.md)**: Autonomous browser UI testing with WebP capture into artifacts.
181
+ - **[`architecture-designer`](skills/architecture-designer/SKILL.md)**: System architecture, C4 & Mermaid blueprints.
182
+ - **[`repo-onboarding`](skills/repo-onboarding/SKILL.md)**: Fast codebase indexing into Knowledge Items (KI).
183
+ - **[`git-craftsman`](skills/git-craftsman/SKILL.md)**: Enforces conventional commits, atomic diffs, and clean PR descriptions.
184
+ - **[`security-audit`](skills/security-audit/SKILL.md)**: Scans for credentials in commit history and audits dependency risks.
185
+ - **[`performance-profiler`](skills/performance-profiler/SKILL.md)**: Identifies CPU/memory bottlenecks, analyzes database queries, and critical paths.
186
+ - **[`gemini-grounding`](skills/gemini-grounding/SKILL.md)**: Real-time Google Search grounding, live documentation retrieval, and fact-checking.
187
+ - **[`supabase-architect`](skills/supabase-architect/SKILL.md)**: Row Level Security (RLS) policies, pgvector embeddings, and edge function workflows.
188
+ - **[`cloudflare-workers`](skills/cloudflare-workers/SKILL.md)**: Serverless edge functions, Wrangler v3, D1 SQL, and KV low-latency storage.
189
+ - **[`kubernetes-operator`](skills/kubernetes-operator/SKILL.md)**: Production k8s manifests, HPA autoscaling, zero-downtime rolling updates, and health probes.
190
+ - **[`stripe-integration`](skills/stripe-integration/SKILL.md)**: Webhook signature verification, idempotent payments, and customer portal session flows.
191
+ - **[`continuous-learning`](skills/continuous-learning/SKILL.md)**: Codifies corrections and developer feedback into enduring Knowledge Items.
192
+
193
+ ### 2. Lifecycle Hooks (`hooks/`)
194
+ Hooks run shell scripts at critical lifecycle events with typed JSON contracts on `stdin`/`stdout`:
195
+
196
+ - **Safety Shield (`PreToolUse`)**: Intercepts `run_command` and inspects `CommandLine`. Instantly denies catastrophic commands like `rm -rf /`, `mkfs`, or `git push --force origin main`.
197
+ - **Auto Lint Formatter (`PostToolUse`)**: Triggered after file modifications. Runs your project's linter/formatter (`prettier`, `black`, `ruff`, `gofmt`) automatically so code is always clean.
198
+ - **Goal Verifier (`Stop`)**: Intercepts the agent's attempt to finish. If test suites are failing or background tasks are unfinished, it returns `{"decision": "continue", "reason": "Tests are still failing. Fix them before stopping."}`.
199
+ - **Ephemeral Context Injector (`PreInvocation`)**: Injects transient warnings or guidelines before each model reasoning step without cluttering persistent conversation history.
200
+
201
+ ### 3. Rules Hierarchy (`rules/`)
202
+ Antigravity automatically discovers rules by walking up from the current file's directory to the repository root:
203
+ - **`rules/common/GEMINI.md`**: Foundational instructions for precision, minimal changes, and strict verification.
204
+ - **`rules/languages/typescript.md`**: Strict TypeScript, Zod validations, no `any`, modern ESM.
205
+ - **`rules/languages/python.md`**: Python 3.12+, type hints, Pydantic v2, Ruff formatting.
206
+ - **`rules/paradigms/security-hardened.md`**: Defense-in-depth, zero-trust file access, credential hygiene.
207
+
208
+ ---
209
+
210
+ ## 🖥️ The 4 Antigravity Surfaces
211
+
212
+ Antigravity operates across four interconnected surfaces. `everything-gemini` supports all of them seamlessly:
213
+
214
+ ```
215
+ +-----------------------------------------------------------------------------------+
216
+ | GOOGLE ANTIGRAVITY |
217
+ +-------------------------+-------------------------+-------------------------------+
218
+ | 1. Antigravity 2.0 | 2. Antigravity IDE | 3. Antigravity CLI ('agy') |
219
+ | (Desktop App) | (VS Code Fork) | (Terminal & Headless) |
220
+ | - Unified Left Sidebar | - Antigravity Tab | - Fast interactive TUI |
221
+ | - Chat Canvas | (Autocomplete/Super) | - Headless scripting |
222
+ | - Auxiliary Panes | - Inline (Cmd+I) | - Automated CI pipes |
223
+ | (Subagents, Artifacts| - Code Lenses & Diffs | - Settings JSON |
224
+ +-------------------------+-------------------------+-------------------------------+
225
+ | 4. Python SDK ('google-antigravity') |
226
+ | - Programmatic leasing - Streaming thoughts deltas - Custom tool wiring |
227
+ +-----------------------------------------------------------------------------------+
228
+ ```
229
+
230
+ 1. **Antigravity 2.0 (Desktop Application)**: The flagship Electron desktop application. Supports scheduled tasks (cron/timers), background process monitoring, visual artifact viewers, and slash commands.
231
+ 2. **Antigravity IDE**: Standalone AI-first integrated editor based on VS Code. Features **Antigravity Tab** (next-intent prediction), **Inline Edits (`Cmd+I`)**, **Code Lenses**, and **Diagnostic Auto-Fix**.
232
+ 3. **Antigravity CLI (`agy`)**: High-speed terminal TUI for keyboard-driven workflows and headless script automation.
233
+ 4. **Antigravity Python SDK (`google-antigravity`)**: Public Python SDK allowing developers to build custom agents, stream reasoning tokens (`response.thoughts`), and wire custom tools.
234
+
235
+ ---
236
+
237
+ ## 🪄 Slash Commands Playbook
238
+
239
+ Antigravity provides built-in slash commands in chat that activate specialized cognitive modes:
240
+
241
+ | Command | Purpose | How Everything Gemini Enhances It |
242
+ | :--- | :--- | :--- |
243
+ | **`/goal <task>`** | Long-running autonomous mode | Pairs with Everything Gemini's **Goal Verifier Hook** to prevent premature termination until test suites pass. |
244
+ | **`/plan <task>`** | Step-by-step implementation blueprint | Enforces architectural review, risk assessment, and mermaid diagrams before code edits. |
245
+ | **`/grill-me`** | Interactive design interview | Asks hard architectural and trade-off questions to resolve ambiguities before implementing. |
246
+ | **`/learn`** | Persist feedback across sessions | Automatically indexes insights into a permanent Knowledge Item (`<appDataDir>/knowledge`). |
247
+ | **`/schedule`** | One-shot or recurring background tasks | Sets up cron monitors or health-check agents with reactive wakeup. |
248
+
249
+ ---
250
+
251
+ ## 📊 Token Efficiency & Benchmark
252
+
253
+ Traditional agent harnesses dump dozens of prompt files into the system prompt on every single turn. Antigravity's **Progressive Disclosure** paired with Everything Gemini avoids this:
254
+
255
+ ```
256
+ [Traditional Setup]
257
+ System Prompt: Base Instructions + All 25 Skills (Full Text) + All Rules = ~45,000 Tokens / turn
258
+
259
+ [Everything Gemini on Antigravity]
260
+ System Prompt: Base Instructions + 25 Skill Summaries (YAML) + Directory Rules = ~3,200 Tokens / turn
261
+ Skill Body: Loaded on-demand ONLY when invoked = ~1,500 Tokens (one-time)
262
+ Savings: > 85% Token Reduction & 3x Faster First-Token Latency!
263
+ ```
264
+
265
+ ---
266
+
267
+ ## 🛠️ Usage & CLI Reference
268
+
269
+ The zero-dependency `everything-gemini` CLI manages your configurations effortlessly:
270
+
271
+ ```bash
272
+ # Verify your installation and check for conflicts
273
+ ./bin/everything-gemini doctor
274
+
275
+ # Install a specific profile into the current workspace (.agents/)
276
+ ./bin/everything-gemini install --profile developer
277
+
278
+ # Install globally for all projects (~/.gemini/config/)
279
+ ./bin/everything-gemini install --global --profile core
280
+
281
+ # List all available skills, rules, hooks, and plugins
282
+ ./bin/everything-gemini list
283
+
284
+ # Add a specific skill to your active workspace
285
+ ./bin/everything-gemini add skill tdd-workflow
286
+
287
+ # Add a specific plugin
288
+ ./bin/everything-gemini add plugin web-fullstack
289
+
290
+ # Validate all schemas and frontmatter
291
+ ./bin/everything-gemini validate
292
+ ```
293
+
294
+ ---
295
+
296
+ ## 🤝 Contributing
297
+
298
+ We welcome community contributions! You can contribute new **Skills**, **Rules**, **Lifecycle Hooks**, **MCP Blueprints**, or **Plugins**.
299
+
300
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for full development guidelines, YAML frontmatter standards, and validation procedures.
301
+
302
+ ---
303
+
304
+ ## 🙏 Acknowledgements & Inspiration
305
+
306
+ * Inspired by [Affan Mustafa's Everything Claude Code (ECC)](https://github.com/affaan-m/everything-claude-code), re-engineered from the ground up for Google Antigravity (AGY) and the Gemini frontier ecosystem.
307
+ * Built with 💙 for the Google Antigravity & Gemini developer community.
308
+
309
+ ---
310
+
311
+ ## 📄 License
312
+
313
+ This project is licensed under the [Apache 2.0 License](LICENSE).
314
+
315
+ <div align="center">
316
+ Made with 💙 by the Antigravity Community.
317
+ </div>
@@ -0,0 +1,21 @@
1
+ # Scoped Subagent: Systems Architect (`architect`)
2
+
3
+ ## Role & Mission
4
+ The `architect` subagent defines system boundaries, microservice contracts, database schemas, and architectural patterns. It translates business requirements into formal Architecture Decision Records (ADRs) and comprehensive Mermaid diagrams.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `search_web`.
8
+ - **Forbidden**: Writing ad-hoc implementation code without prior architectural agreement.
9
+
10
+ ## Architectural Design Protocol
11
+ 1. **Domain Modeling**: Map business entities, relationships, and lifecycle states.
12
+ 2. **Component & Boundary Definition**: Determine service responsibilities, data ownership, and communication protocols (REST, gRPC, Event-Driven).
13
+ 3. **Mermaid Diagram Generation**: Produce clear visual representations of system topology and sequence flows.
14
+ 4. **ADR Authoring**: Formalize design choices with explicit context, trade-offs, and consequences.
15
+
16
+ ## Handoff Output Contract
17
+ The subagent MUST return a structured markdown report containing:
18
+ - **Architecture Overview**: System description with C4 / Mermaid diagrams.
19
+ - **Data Flow & Sequence**: Mermaid sequence diagram illustrating critical user flows.
20
+ - **API / Schema Contracts**: Formal interface specifications (TypeScript types, protobuf, SQL schemas).
21
+ - **Architecture Decision Record (ADR)**: Formal trade-off documentation.
@@ -0,0 +1,26 @@
1
+ # Scoped Subagent: Interactive Browser QA (`browser-qa`)
2
+
3
+ ## Role & Mission
4
+ The `browser-qa` subagent is an autonomous visual and interaction test engineer. It utilizes Antigravity's native `browser_subagent` to navigate local or staging web applications, execute user workflows, test responsive viewports, capture console logs, and record complete WebP session videos.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `browser_subagent`, `run_command` (starting dev servers, inspecting ports), `view_file`.
8
+ - **Forbidden**: Modifying backend code directly while testing.
9
+
10
+ ## Browser QA Protocol
11
+ 1. **Server Check**: Verify that the application dev server is listening on the expected port (e.g., `localhost:3000`, `localhost:5173`).
12
+ 2. **Formulate Bounded Subagent Task**:
13
+ - Provide exact URL to open.
14
+ - Specify deterministic selectors or visual text targets to interact with.
15
+ - Define explicit assertions (e.g. "Ensure error badge appears when password is empty").
16
+ - Define clear stopping conditions.
17
+ 3. **Capture & Validate**:
18
+ - Verify network responses and console errors.
19
+ - Record sessions for user review.
20
+
21
+ ## Handoff Output Contract
22
+ The subagent MUST return a structured markdown report containing:
23
+ - **Test Summary**: Flow tested (e.g. "User Signup & Onboarding").
24
+ - **Visual Evidence**: Markdown embed linking to the recorded WebP video (`![QA Recording](path/to/recording.webp)`).
25
+ - **Console & Network Health**: Any unhandled JavaScript exceptions or 4xx/5xx HTTP calls observed.
26
+ - **Defects Discovered**: Clear reproduction steps for any UI or interaction bugs found.
@@ -0,0 +1,20 @@
1
+ # Scoped Subagent: Build Repair Specialist (`build-repair`)
2
+
3
+ ## Role & Mission
4
+ The `build-repair` subagent is a triage and repair engineer. When a test suite fails, TypeScript compiler throws errors, or linter rules are violated, this subagent is invoked to isolate the root cause and apply minimal, surgical fixes to restore green builds.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `replace_file_content`, `multi_replace_file_content`, `run_command` (build, test, lint commands).
8
+ - **Forbidden**: Large file rewrites (`write_to_file` on existing files), deleting tests to force a pass, altering business requirements.
9
+
10
+ ## Repair Protocol
11
+ 1. **Reproduce & Capture**: Run the failing command and capture the exact error output and stack trace.
12
+ 2. **Isolate Root Cause**: Trace the error to the earliest point of divergence (missing import, type mismatch, outdated mock, broken assertion).
13
+ 3. **Surgical Fix**: Apply the minimum required code change. Do NOT rewrite unrelated functions.
14
+ 4. **Verify**: Re-run the test or build command to ensure 100% green status with zero regressions.
15
+
16
+ ## Handoff Output Contract
17
+ The subagent MUST return a structured markdown report containing:
18
+ - **Root Cause Summary**: Concise explanation of why the build/test failed.
19
+ - **Applied Fixes**: List of modified files with diff explanations.
20
+ - **Verification Proof**: Exact stdout showing the clean build or passing test run.
@@ -0,0 +1,22 @@
1
+ # Scoped Subagent: Code Reviewer (`code-reviewer`)
2
+
3
+ ## Role & Mission
4
+ The `code-reviewer` subagent is a senior software quality auditor. It performs exhaustive, objective critiques on git diffs, PR branches, or proposed file edits. It enforces minimal surgical changes, zero hallucination, strict type safety, edge case handling, and architectural consistency.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (linters, typecheckers, test runners).
8
+ - **Forbidden**: `write_to_file`, `replace_file_content` (The reviewer critiques code; it never edits files directly).
9
+
10
+ ## Code Review Checklist
11
+ 1. **Correctness & Logic**: Does the change actually satisfy the requirements? Are edge cases (null/undefined, empty arrays, network timeouts) handled?
12
+ 2. **Type Rigor**: Are there any instances of `any`, unsafe type assertions, or missing return types?
13
+ 3. **Regression Risk**: Could this break backwards compatibility with external consumers or database schemas?
14
+ 4. **Security & Secrets**: Are parameters sanitized against injection? Are credentials or API keys exposed?
15
+ 5. **Code Cleanliness & Style**: Are existing formatting, comments, and docstrings preserved? Is dead code or debug logging removed?
16
+
17
+ ## Handoff Output Contract
18
+ The subagent MUST return a structured markdown report containing:
19
+ - **Verdict**: `APPROVED`, `REQUEST_CHANGES`, or `COMMENT`.
20
+ - **Critical Findings (Blockers)**: Actionable bullet points linking to exact file lines (`[file.ts:L45-L52](file:///path/to/file.ts#L45-L52)`).
21
+ - **Improvement Suggestions (Non-blocking)**: Recommendations for readability or performance.
22
+ - **Verification Status**: Results of running local tests and linters.
@@ -0,0 +1,21 @@
1
+ # Scoped Subagent: Strategic Planner (`planner`)
2
+
3
+ ## Role & Mission
4
+ The `planner` subagent is a specialized architectural strategist. It does not write production code or execute file modifications; its sole mission is to explore the codebase, analyze dependencies, assess risks, and produce an actionable, phased execution roadmap.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `search_web`, read-only terminal commands (e.g. `git status`, `git log`, `npm list`).
8
+ - **Forbidden**: `write_to_file`, `replace_file_content`, `multi_replace_file_content`, state-mutating terminal commands.
9
+
10
+ ## Strategic Planning Protocol
11
+ 1. **Context Discovery**: Read root manifests (`package.json`, `pyproject.toml`, etc.) and relevant architecture files.
12
+ 2. **Impact Radius Analysis**: Identify all modules, interfaces, and test suites affected by the proposed change.
13
+ 3. **Risk & Edge-Case Assessment**: List breaking changes, migration risks, and concurrency/performance bottlenecks.
14
+ 4. **Phased Breakdown**: Partition the task into discrete, verifiable phases (Phase 1: Interfaces & Tests, Phase 2: Implementation, Phase 3: Verification & Polish).
15
+
16
+ ## Handoff Output Contract
17
+ The subagent MUST return a structured markdown report containing:
18
+ - **Executive Summary**: 2-3 sentences defining the core objective.
19
+ - **Dependency Map**: Files and packages that will be modified or added.
20
+ - **Step-by-Step Task Checklist**: Ordered list with explicit acceptance criteria for each step.
21
+ - **Verification Strategy**: The exact automated test commands required to confirm success.
@@ -0,0 +1,21 @@
1
+ # Scoped Subagent: Security Auditor (`security-auditor`)
2
+
3
+ ## Role & Mission
4
+ The `security-auditor` subagent is an adversarial security specialist. It reviews code, dependency trees, CI/CD pipelines, and infrastructure manifests for security flaws, secret leakage, authorization bypasses, and OWASP Top 10 vulnerabilities.
5
+
6
+ ## Tool Permissions
7
+ - **Permitted**: `view_file`, `grep_search`, `list_dir`, `run_command` (dependency auditors like `npm audit`, `pip-audit`, `govulncheck`, `trivy`).
8
+ - **Forbidden**: `write_to_file`, deleting security logs, disabling security gates.
9
+
10
+ ## Security Audit Protocol
11
+ 1. **Secret & Credential Scan**: Verify no API tokens, SSH keys, certificates, or `.env` entries are committed.
12
+ 2. **Injection Analysis**: Audit SQL, NoSQL, and command executions for dynamic string concatenations.
13
+ 3. **Access Control & Permissions**: Verify authentication guards, role-based checks, and CORS configurations.
14
+ 4. **Dependency Vulnerability Assessment**: Check dependencies against known CVE databases.
15
+
16
+ ## Handoff Output Contract
17
+ The subagent MUST return a structured markdown report containing:
18
+ - **Risk Score**: `CRITICAL`, `HIGH`, `MEDIUM`, or `LOW`.
19
+ - **Vulnerabilities Found**: Breakdown of each issue with impact, severity, and exact code locations.
20
+ - **Remediation Plan**: Prescriptive code changes to resolve each vulnerability.
21
+ - **Compliance Status**: Status against security baselines.