Skip to content

Kingdaddy007/my-os

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anti-Gravity OS

Anti-Gravity OS — The Operating System for AI-Powered Engineering

130+ Files 29 Skills 41 Workflows 6+ IDEs

The operating system for AI-powered engineering

Most people paste a prompt into their IDE and call it a day. Anti-Gravity OS gives your AI a brain, a memory, and a discipline system — so it thinks like a senior engineer, not a chatbot.


❌ The Problem

You're using AI coding tools at maybe 10% of their capacity.

Here's what most developers do:

  • Open IDE → select model → type request → copy-paste result
  • No persistent context — the AI forgets everything between sessions
  • No standards — it writes code differently every time
  • No workflow — it skips planning, testing, error handling
  • No memory — it repeats the same mistakes you fixed last week

You're using a fighter jet as a bicycle.

✅ The Solution

Anti-Gravity OS is a 77-file intelligence architecture that transforms any AI coding assistant into a disciplined engineering partner.

It's not a prompt. It's not a .cursorrules file. It's a complete system:

Layer What It Does Files
🧠 Core Defines how the AI thinks, reasons, and communicates 3
Skills Domain expertise loaded before each task type 29
🔄 Workflows Step-by-step execution triggered by / slash commands 41
📍 Contexts Your stack, architecture, standards — no more generic advice 12
🧾 Templates Scaffolds for PRDs, ADRs, debug reports, feature plans 8
💾 Memory Living record of decisions, patterns, and mistakes 6

🔥 What Changes After You Install This

Before Anti-Gravity OS

You:  "Build me a login page"
AI:   *generic React component with no error handling, 
       wrong framework version, no tests*

After Anti-Gravity OS

You:  "Build me a login page"
AI:   *reads your stack-context → knows you use Next.js 15 App Router*
      *reads coding-standards → follows YOUR naming conventions*  
      *loads skill-coding + skill-security → handles auth properly*
      *follows /workflow-build-feature → plans before coding, tests after*
      *logs the decision to memory → remembers for next time*

Same AI. Same IDE. Completely different output.


🧩 How It Works

Anti-Gravity OS Architecture Flow

┌─────────────┐
│   YOU type   │  "Build me a login page"
│   a request  │
└──────┬──────┘
       ▼
┌──────────────────────────────────────────────┐
│              ANTI-GRAVITY OS                 │
│                                              │
│  1. CONTEXT     → reads your stack, arch,    │
│                   standards — knows YOUR env │
│                                              │
│  2. SKILLS      → loads coding + security    │
│                   expertise for this task    │
│                                              │
│  3. WORKFLOW    → follows /build-feature     │
│                   plan → code → test → ship  │
│                                              │
│  4. MEMORY      → checks past decisions,    │
│                   avoids repeated mistakes   │
└──────┬──────┘
       ▼
┌─────────────┐
│  PRECISE,    │  Code that matches your stack,
│  CONTEXTUAL  │  follows your patterns, and
│  OUTPUT      │  handles edge cases.
└─────────────┘


⚡ Slash-Command Workflows

After installation, type / in your IDE to trigger structured workflows:

Command What It Does
/workflow-build-feature Plan → code → test → ship — end to end
/workflow-debug-issue Symptoms → root cause → verified fix
/workflow-design-ui User goals → components → states → accessibility
/workflow-design-api Consumer needs → contract → error handling → docs
/workflow-plan-architecture Requirements → options → tradeoffs → decision record
/workflow-project-inception Raw idea → structured plan → execution sequence
/workflow-review-code Correctness → security → maintainability → quality
/workflow-refactor-module Identify → transform → verify behavior preserved
/workflow-security-audit STRIDE analysis → vulnerabilities → mitigations
/workflow-optimize-performance Measure → identify bottleneck → targeted fix
/workflow-ship-to-production Pre-deploy checklist → staged rollout → monitoring
/workflow-verify-project Security + quality + accessibility + performance scan
/workflow-visual-brainstorm Generate design previews before writing code

No more "just figure it out." Each workflow enforces planning before execution, testing before shipping, and documentation before moving on.


🧠 The Skill System

The AI loads domain-specific expertise before each task — not all 15 at once, just the 1-2 that matter:

You're doing... AI loads...
Writing code skill-coding — patterns, error handling, naming
Debugging skill-debugging — systematic root-cause analysis
Designing architecture skill-architecture — boundaries, tradeoffs, ADRs
Building UI skill-ui-ux — component design, states, accessibility
Security work skill-security — threat modeling, STRIDE, auth patterns
Database work skill-database — schema design, migrations, indexing
API design skill-api-design — contracts, versioning, error standards
Testing skill-testing — strategy, coverage, fixtures
Performance skill-performance — profiling, bottlenecks, optimization
DevOps / Infra skill-devops-infra — CI/CD, containers, deployments
Refactoring skill-refactoring — safe transforms, behavior preservation
Code review skill-review-audit — quality checklist, security review
Research skill-research-analysis — comparison, evaluation, recommendations
Scoping skill-product-thinking — prioritization, MVP, tradeoffs
Frontend polish skill-advanced-frontend — animations, layout, visual quality

📍 Context Files — Why Your AI Gives Generic Advice

This is the most important part.

Your AI gives you generic answers because it knows nothing about YOUR project. Context files fix that:

File What You Fill In What Changes
stack-context.md Your languages, frameworks, versions AI stops suggesting wrong libraries
coding-standards.md Your naming, patterns, principles AI matches your existing codebase
architecture-context.md How your system is structured AI respects your boundaries
project-context.md What you're building, current state AI understands your goals
design-system.md Your colors, typography, components AI generates matching UI
database-context.md Your schema, queries, migrations AI writes correct queries
security-baselines.md Your auth model, threat posture AI doesn't skip security

Empty contexts = generic AI. Filled contexts = an AI that knows your project like a senior teammate.


💾 Memory — Your AI Learns Across Sessions

Most AI tools forget everything when you close the window. Anti-Gravity OS doesn't.

Memory File What Gets Captured
decisions-log.md Architecture and strategy decisions made during work
common-patterns.md Patterns that worked well — reuse instead of reinvent
mistakes-to-avoid.md Bugs and anti-patterns — never repeat them
postmortems.md Post-ship analysis — what went wrong and why

The AI writes to memory automatically after significant sessions. Next session, it reads before starting.


🔧 Quick Start

1. Clone

git clone https://github.com/Kingdaddy007/Antigravity-OS.git
cd Antigravity-OS

2. Tell your AI to read the setup guide

"Read SETUP.md and help me install Anti-Gravity OS"

The AI will ask which IDE you use and walk you through everything.

3. Or run the installer directly

# Windows
.\install.ps1

# Mac/Linux
chmod +x install.sh && ./install.sh

The installer handles:

  • ✅ Detecting your IDE
  • ✅ Copying workspace files (rules + slash commands)
  • ✅ Installing global brain (skills, contexts, workflows)
  • ✅ Setting correct paths

🖥️ IDE Support

IDE Support Config Location
Google Gemini / AI Studio ✅ Full ~/.gemini/antigravity/
Cursor ✅ Full ~/.cursor/rules/
Windsurf ✅ Full ~/.codeium/windsurf/memories/
VS Code + Copilot ✅ Partial .github/copilot-instructions.md
OpenCode ✅ Full ~/.config/opencode/
Claude Dev / Cline ✅ Partial .clinerules

🏗️ Architecture

Antigravity-OS/
├── SETUP.md                    ← AI reads this first (setup guide)
├── install.ps1                 ← Windows installer
├── install.sh                  ← Mac/Linux installer
│
└── global/                     ← Goes in your IDE's global config
    ├── GEMINI.md               ← Master system prompt
    ├── GLOBAL_MEMORY.md        ← System map
    ├── core/                   ← AI identity (deep reference)
    ├── skills/                 ← Folder-based skills (SKILL.md)
    ├── contexts/               ← Context templates
    ├── workflows/              ← Workflow reference files
    └── scripts/                ← Maintenance & verification tools


🔌 How Is This Different from .cursorrules?

Feature .cursorrules / Prompt Files Anti-Gravity OS
Structure Single flat file 77-file layered architecture
Skills None — one prompt does everything 15 domain-specific skill files
Workflows None — AI wings it 13 step-by-step execution guides
Memory None — forgets every session Persistent decisions, patterns, mistakes
Context None — generic advice 12 context files about YOUR project
Self-assessment None 11 rubric scorecards
Quality control Hope for the best Verification scripts + benchmarks
IDE support Usually 1 IDE 6+ IDEs with auto-detection
Customizable Copy-paste and edit Fork, extend, add your own skills

🎯 Skill Packs (Coming Soon)

Specialized skill + context + workflow bundles for specific domains:

Pack What's Included
🌐 Web3 / Blockchain Solidity skill, smart contract workflows, security audit for DeFi
🏢 SaaS Boilerplate Multi-tenant architecture, billing context, auth workflows
📱 Mobile (React Native) Navigation patterns, native module context, app store workflows
🤖 AI/ML Engineering Model training workflows, data pipeline contexts, eval rubrics
🛒 E-Commerce Payment integration context, inventory patterns, checkout workflows
📊 Trading Systems Market data context, backtesting workflows, real-time data skills

Want a specific pack? Open an issue or DM.


🤝 Need Help Setting Up?

The repo is free. The system works on its own.

But if you want it working perfectly for YOUR stack in 30 minutes instead of 3 hours:

  • 🎯 Setup Session — Screen share where I install it in your IDE, fill your context files, and show you the ropes
  • 🏗️ Custom Configuration — Pre-filled contexts and workflows tuned to your specific tech stack
  • 📦 Skill Pack Creation — Custom skill files for your niche domain

Open an issue or DM me on LinkedIn


🛠️ Extend It

This is designed to be forked and made yours:

  • New skill: Create skills/<name>/SKILL.md → add to loading table in GEMINI.md
  • New workflow: Add source to workflows/ → slim trigger to .agents/workflows/
  • New context: Add file to contexts/ → add load rule in GEMINI.md

📜 License

MIT — use it, fork it, build on it, make it yours.


Anti-Gravity OS

Stop using your AI at 10%. Give it an operating system.

About

Anti-Gravity: The Agentic OS that turns AI (Antigravity, Cursor, Codex, Claude Code, Gemini CLI, OpenCode, VS Code) into disciplined senior engineers. A 150+ file architecture featuring persistent memory, execution workflows, and state-of-the-art UI/UX generation.

Topics

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors