name: antigravity-preferences-pack description: Preferences + coding-style rules pack for Google Antigravity IDE (agent-first IDE). Use when generating, refactoring, or reviewing code for Đàn in OF1 projects (Java/Spring + React/TypeScript) and when preparing DEVLOG.md entries or copy-pastable Pull Request titles/descriptions.
Antigravity Preferences Pack (Đàn / OF1)
Apply Đàn’s preferences consistently when an Antigravity agent is asked to generate code, refactor, or prepare PR notes.
Quick start (how to use)
When starting a coding task:
- Read
references/core.md. - If the task is Java/Spring, read
references/java-spring.md. - If the task is React/TypeScript, read
references/react-typescript.md. - If the user asks for PR text, read
references/pr-template.md. - If the task is completed (or a chunk is completed), update/create
DEVLOG.mdusingreferences/devlog-template.md.
Working rules (always enforce)
- Follow existing OF1 patterns from the source code. Do not impose a new formatter or architecture style unless explicitly requested.
- Format code by hand to match:
- 2-space indent, no tabs
- <= 120 chars per line
- line breaks are intentional (avoid aggressive hard-wrap)
- Comments are short and explain intent/why.
- No logging unless explicitly requested.
- Tests are on-request. If a change is risky, propose tests and ask.
- Ask before large/wide refactors or changes that are hard to roll back.
Deliverables to produce (when applicable)
A) DEVLOG entry
- Ensure
DEVLOG.mdexists at repo root. - Append one entry per completed chunk of work.
- Do not include a "Files touched" section.
B) Pull Request text
- Produce a PR title + PR description using the template in
references/pr-template.md. - Keep snippets minimal and only include the core logic.
- Keep config changes under Configuration Required.