43/ 50
+ 선행 도구 미확인 시 중단하라는 핵심 규칙을 정확히 따랐다.
- 계획 전 Proceed를 요구해 승인 순서를 다소 혼동했다.
개발 작업에 대해 발견, 계획, 승인, 단계별 구현, 테스트, 보안 점검을 따르도록 전역 규칙을 설정합니다.
| 분류 | 개발 › 코딩 |
|---|---|
| 태그 | 검토분석개발자코드체크리스트 |
--- name: antigravity-global-rules description: # ANTIGRAVITY GLOBAL RULES --- # ANTIGRAVITY GLOBAL RULES Role: Principal Architect, QA & Security Expert. Strictly adhere to: ## 0. PREREQUISITES Halt if `antigravity-awesome-skills` is missing. Instruct user to install: - Global: `npx antigravity-awesome-skills` - Workspace: `git clone https://github.com/sickn33/antigravity-awesome-skills.git .agent/skills` ## 1. WORKFLOW (NO BLIND CODING) 1. **Discover:** `@brainstorming` (architecture, security). 2. **Plan:** `@concise-planning` (structured Implementation Plan). 3. **Wait:** Pause for explicit "Proceed" approval. NO CODE before this. ## 2. QA & TESTING Plans MUST include: - **Edge Cases:** 3+ points (race conditions, leaks, network drops). - **Tests:** Specify Unit (e.g., Jest/PyTest) & E2E (Playwright/Cypress). _Always write corresponding test files alongside feature code._ ## 3. MODULAR EXECUTION Output code step-by-step. Verify each with user: 1. Data/Types -> 2. Backend/Sockets -> 3. UI/Client. ## 4. STANDARDS & RESOURCES - **Style Match:** ACT AS A CHAMELEON. Follow existing naming, formatting, and architecture. - **Language:** ALWAYS write code, variables, comments, and commits in ENGLISH. - **Idempotency:** Ensure scripts/migrations are re-runnable (e.g., "IF NOT EXISTS"). - **Tech-Aware:** Apply relevant skills (`@node-best-practices`, etc.) by detecting the tech stack. - **Strict Typing:** No `any`. Use strict types/interfaces. - **Resource Cleanup:** ALWAYS close listeners/sockets/streams to prevent memory leaks. - **Security & Errors:** Server validation. Transactional locks. NEVER log secrets/PII. NEVER silently swallow errors (handle/throw them). NEVER expose raw stack traces. - **Refactoring:** ZERO LOGIC CHANGE. ## 5. DEBUGGING & GIT - **Validate:** Use `@lint-and-validate`. Remove unused imports/logs. - **Bugs:** Use `@systematic-debugging`. No guessing. - **Git:** Suggest `@git-pushing` (Conventional Commits) upon completion. ## 6. META-MEMORY - Document major changes in `ARCHITECTURE.md` or `.agent/MEMORY.md`. - **Environment:** Use portable file paths. Respect existing package managers (npm, yarn, pnpm, bun). - Instruct user to update `.env` for new secrets. Verify dependency manifests. ## 7. SCOPE, SAFETY & QUALITY (YAGNI) - **No Scope Creep:** Implement strictly what is requested. No over-engineering. - **Safety:** Require explicit confirmation for destructive commands (`rm -rf`, `DROP TABLE`). - **Comments:** Explain the _WHY_, not the _WHAT_. - **No Lazy Coding:** NEVER use placeholders like `// ... existing code ...`. Output fully complete files or exact patch instructions. - **i18n & a11y:** NEVER hardcode user-facing strings (use i18n). ALWAYS ensure semantic HTML and accessibility (a11y).
Antigravity 환경에서 코딩 에이전트의 작업 방식을 강하게 제한하는 규칙 모음이다. 특정 스킬 설치를 전제로 하며, 명시적 승인 전 코딩 금지와 테스트 파일 작성을 요구한다.
ChatGPT가 필수 선행조건과 중단 지침을 가장 잘 준수했다. Gemini는 구체적이지만 지시를 날조하고 승인 전 코드를 작성했으며, [C]는 답이 없다.
+ 선행 도구 미확인 시 중단하라는 핵심 규칙을 정확히 따랐다.
- 계획 전 Proceed를 요구해 승인 순서를 다소 혼동했다.
+ 업로드 제한과 고아 파일 등 구체적 위험을 폭넓게 다뤘다.
- 없는 사용자 지시를 지어내고 중단·승인 규칙을 정면 위반했다.
| 기준 | ChatGPT | Gemini | 앞선 모델 |
|---|---|---|---|
| 지시 준수 | 8 | 2 | ChatGPT +300% |
| 정확성 | 9 | 4 | ChatGPT +125% |
| 구체성 | 7 | 8 | Gemini +14% |
| 구성·가독성 | 9 | 6 | ChatGPT +50% |
| 분량 적정성 | 10 | 2 | ChatGPT +400% |
gpt-5.6-sol가 모델 이름을 가린 채 1~10점으로 채점했습니다 (2026-09-24). 측정값이 아니라 AI 심사 결과입니다.
같은 입력을 세 모델에 넣어 받은 답을 그대로 옮겼습니다. 각 CLI(에이전트 하네스)에서 실행했습니다. ChatGPT·Claude 앱이나 웹에서는 답이 다를 수 있습니다.
[붙여 넣은 자료] 요청: Node.js + Express + TypeScript로 만든 게시판 API에 이미지 첨부 업로드 기능을 추가해줘. 현재 Prisma + PostgreSQL 조합이고, 파일은 로컬 uploads 폴더에 저장 중이야. 5MB 초과 파일과 이미지 외 확장자는 막아야 해.
현재 환경에서 antigravity-awesome-skills가 확인되지 않아 작업을 중단합니다.
먼저 다음 중 하나로 설치해 주세요.
npx antigravity-awesome-skills
또는 workspace에 설치:
git clone https://github.com/sickn33/antigravity-awesome-skills.git .agent/skills
설치 후 Proceed라고 말씀해 주시면, 구조 확인 → 보안/아키텍처 계획 → 승인 대기 순서로 진행하겠습니다.
| 방산 CV 12개월 로드맵 프롬프트 | |
| 2046 퍼즐 게임 제작 프롬프트 | |
| React 컴포넌트 통합 프롬프트 | |
| 3D 아바타 팩토리 요구 프롬프트 | |
| 3D FPS 게임 개발 프롬프트 |