antigravity-manager
Technical reference for Antigravity Manager development.
Install
mkdir -p .claude/skills/antigravity-manager && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/8535" && unzip -o skill.zip -d .claude/skills/antigravity-manager && rm skill.zipInstalls to .claude/skills/antigravity-manager
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Comprehensive guide to Antigravity Manager architecture, workflows, and development. Use this to understand how to work on the project.Key capabilities
- →Provide architectural overview of Electron/NestJS stack
- →Manage IPC communication via ORPC
- →Handle SQLite database access
- →Facilitate account rotation and OAuth logic
How it works
The skill acts as a reference guide for the project's modular architecture, providing context on IPC, services, and build workflows.
Inputs & outputs
When to use antigravity-manager
- →Learn the project architecture
- →Find where to add new services or routes
- →Understand the IPC communication flow
About this skill
Antigravity Manager Developer Guide
🏗️ Architecture Overview
Antigravity Manager is a hybrid Desktop Application built with Electron, React, and NestJS. It follows a modular architecture where the frontend (Renderer) communicates with the backend (Main) via type-safe IPC (ORPC).
graph TD
User[User Interface] -->|React/Vite| Renderer[Renderer Process]
Renderer -->|ORPC Client| IPC[IPC Layer]
IPC -->|ORPC Router| Main[Main Process]
Main -->|Bootstraps| Server[NestJS Server]
Main -->|Calls| Services[Service Layer]
Services -->|Read/Write| DB[(SQLite Database)]
Services -->|HTTP| Cloud[Cloud APIs (Google/Anthropic)]
Key Technologies
- Frontend: React 19, TailwindCSS v4, TanStack Router, TanStack Query.
- Backend: Electron (Main), NestJS (Core Logic), Better-SQLite3 (Data).
- Communication: ORPC (Type-safe IPC wrapper around Electron IPC).
- Build: Electron Forge + Vite.
📂 Directory Structure
src/main.ts: Electron Main Process entry point.src/preload.ts: Bridge between Main and Renderer.src/renderer.tsx: React App entry point.src/components/: Reusable React UI components (Radix UI based).src/ipc/: IPC Routers and Handlers (Domain logic).router.ts: Main ORPC router definition.account/,cloud/,database/: Domain-specific handlers.
src/server/: NestJS application modules (proxies/gateways).src/services/: Core business logic (framework agnostic).GoogleAPIService.ts: Gemini/Cloud interactions.AutoSwitchService.ts: Account rotation logic.
src/routes/: Frontend routing definitions (File-based).
🚀 Development Workflow
Prerequisites
- Node.js 18+
- npm (Project uses
package-lock.json)
Common Commands
- Start Dev Server:
npm start - Lint Code:
npm run lint - Unit Test:
npm run test:unit - E2E Test:
npm run test:e2e - Build Production:
npm run make
🧠 Core Concepts
IPC Communication (ORPC)
The project uses orpc for type-safe communication.
- Define: Create a router in
src/ipc/router.tswith Zod schemas. - Implement: Add logic in handlers (e.g.,
src/ipc/account/handler.ts). - Call: Use the generated client in React components.
Database Access
Data is stored in a local SQLite file.
- Use
Better-SQLite3for direct access. - Logic should be encapsulated in
src/servicesorsrc/ipc.
Account Management
- Accounts are added via OAuth (Google/Claude).
GoogleAPIServicehandles token exchange and refreshing.AutoSwitchServicemonitors usage and switches active accounts automatically.
⚠️ Critical Rules
- Type Safety: strict TypeScript usage; Zod for runtime validation.
- Components: Use
src/components/ui(Radix primitives) for consistency. - Async: Handle all IPC/DB calls asynchronously with try/catch.
- Security: Never commit secrets. API keys are user-provided or encrypted locally.
When not to use it
- →Projects outside the Antigravity Manager architecture
Prerequisites
Limitations
- →Strict adherence to project-specific type safety and component rules required
- →Secrets must not be committed
How it compares
It provides project-specific architectural context rather than generic framework documentation.
Compared to similar skills
antigravity-manager side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| antigravity-manager (this skill) | 0 | 4mo | No flags | Intermediate |
| typescript | 28 | 2mo | No flags | Beginner |
| typescript-skills | 3 | 6mo | Review | Intermediate |
| fullstack-guardian | 1 | 3mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by Draculabo
View all by Draculabo →You might also like
typescript
lobehub
TypeScript code style and optimization guidelines. Use when writing TypeScript code (.ts, .tsx, .mts files), reviewing code quality, or implementing type-safe patterns. Triggers on TypeScript development, type safety questions, or code style discussions.
typescript-skills
llama-farm
Shared TypeScript best practices for Designer and Electron subsystems.
fullstack-guardian
Jeffallan
Use when implementing features across frontend and backend, building APIs with UI, or creating end-to-end data flows. Invoke for feature implementation, API development, UI building, cross-stack work.
initialize
reactive
Setup, install, and onboard new developers to Reactive Data Client monorepo - nvm, yarn, build, test, getting started guide
mcp-builder
anthropics
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
nodejs-best-practices
davila7
Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.