33 lines
885 B
Markdown
33 lines
885 B
Markdown
|
|
# Antigravity Rules
|
||
|
|
|
||
|
|
This document defines the coding and behavior rules for the Antigravity agent.
|
||
|
|
|
||
|
|
## General Rules
|
||
|
|
|
||
|
|
- **Language**: All output, explanations, and commit messages MUST be in **Korean (한국어)**.
|
||
|
|
- **Tone**: Professional, helpful, and concise.
|
||
|
|
|
||
|
|
## Documentation Rules
|
||
|
|
|
||
|
|
### JSX Comments
|
||
|
|
|
||
|
|
- Mandatory use of section comments in JSX to delineate logical blocks.
|
||
|
|
- Format: `{/* ========== SECTION NAME ========== */}`
|
||
|
|
|
||
|
|
### JSDoc Tags
|
||
|
|
|
||
|
|
- **@see**: Mandatory for function/component documentation. Must include calling file, function/event name, and purpose.
|
||
|
|
- **@author**: Mandatory file-level tag. Use `@author jihoon87.lee`.
|
||
|
|
|
||
|
|
### Inline Comments
|
||
|
|
|
||
|
|
- High density of inline comments required for:
|
||
|
|
- State definitions
|
||
|
|
- Event handlers
|
||
|
|
- Complex logic in JSX
|
||
|
|
- Balance conciseness with clarity.
|
||
|
|
|
||
|
|
## Code Style
|
||
|
|
|
||
|
|
- Follow Project-specific linting and formatting rules.
|