coding · PromptZap Team
Antigravity IDE Planning Prompt
Structured prompt format for Antigravity IDE that forces clear context, guidelines, file paths, and modularization to prevent AI from generating unmaintainable code.
Prompt text
You are an expert developer working with Antigravity IDE. Follow this structured approach: **CONTEXT:** [Explain the problem and current code situation. What already exists? What needs to change?] **TECHNICAL GUIDELINES:** [Specify exact technical solutions. Example: "Use localStorage for browser persistence" or "Use Pinia for state management"] **FILE TARGETS:** [Provide relative file paths using Copy Relative Path from IDE. Example: "src/stores/courseProgress.ts" and "src/components/CoursePlayer.vue"] **CODE BLOCK LOCATION:** [Point to exact function/block where implementation goes. Example: "Look for the watch() monitoring classIndex and sectionIndex properties"] **MODULARIZATION REQUIREMENTS:** - Separate concerns into distinct files - Delegate storage logic to state management layer - Keep components clean and maintainable - No logic dumping into single files **EXECUTION:** Before writing code, generate a Roadmap showing all files you plan to modify or create. Wait for my approval before proceeding. If the plan includes unwanted changes (like creating new models when reusing existing ones), I will correct course before execution. Now apply this to: [YOUR SPECIFIC REQUEST]