Thank you for your interest in contributing! This guide will help you get started.
git clone https://github.com/YOUR_USERNAME/antigravity-architect.git
cd antigravity-architect
git checkout main # Work on main branchpip install -e .[dev]pytest tests/This project adheres to "Agent-First" principles.
- Modular Architecture - Maintain the package structure in
src/antigravity_architect/ - Zero External Dependencies - Standard library only
- Backward Compatibility - Don't break existing function signatures
# Linting & Formatting (required)
ruff check src/antigravity_architect/
ruff format src/antigravity_architect/
# Type Checking (required)
mypy src/antigravity_architect/
# All Tests (required)
pytest tests/All checks must pass before submitting a PR.
- Formatter: Ruff (Black-compatible)
- Line Length: 120 characters
- Quotes: Double quotes
- Type Hints: Required for all new functions
The codebase uses a hybrid class-based architecture:
| Class | Purpose |
|---|---|
AntigravityResources |
Constants, templates, mappings |
AntigravityEngine |
File operations, validation |
AntigravityBuilder |
Dynamic config generation |
AntigravityAssimilator |
Brain dump parsing |
AntigravityGenerator |
Project generation orchestration |
Add new features to the appropriate class.
# Make sure you're on main branch first
git checkout main
git pull origin main
# Create your feature branch from main
git checkout -b feat/my-new-feature- Follow the code standards above
- Add tests for new functionality
- Update documentation if needed
git commit -m "feat: add new protocol v3 feature"
git commit -m "fix: resolve path issue on Windows"
git commit -m "docs: update README badges"Commit Types:
| Type | Description |
|---|---|
feat |
New feature |
fix |
Bug fix |
docs |
Documentation only |
refactor |
Code change that neither fixes a bug nor adds a feature |
test |
Adding or updating tests |
chore |
Maintenance tasks |
git push origin feat/my-new-featureImportant: Open your Pull Request against the main branch.
All development happens on feature branches that are merged into main after passing CI and security checks.
We use Semantic Versioning and bump2version for automated version management.
# Patch release (3.0.0 → 3.0.1) - Bug fixes
bump2version patch
# Minor release (3.0.0 → 3.1.0) - New features
bump2version minor
# Major release (3.0.0 → 4.0.0) - Breaking changes
bump2version majorThis automatically updates:
src/antigravity_architect/resources/constants.py(VERSION constant)pyproject.toml(version field)README.md(version badge)- Creates a git commit and tag
- Questions? Open a Question Issue
- Bug Found? Open a Bug Report
- Feature Idea? Open a Feature Request
Every contribution, no matter how small, helps make Antigravity Architect better. We appreciate your time and effort!