Essentials

Best Practices

1. Start Small#

Begin with clear, small, verifiable tasks. Don't let AI take over entire project refactoring on first try.

Good starting points:

  • Create a test object
  • Fix a specific compilation error
  • Build a simple UI
  • Read and explain current scene structure

2. Let It Read Before Modifying#

Recommended approach:

First read relevant scripts and summarize issues, then modify minimum necessary scope.

This avoids:

  • Entire file overwrites
  • Wrong script modifications
  • Fixing one bug causing more compilation errors

3. Use Plan Mode for Complex Tasks#

Tasks suitable for Plan mode:

  • Prototype level building
  • Groups of related script changes
  • Batch UI page generation
  • Compilation error batch processing

Plan mode's value is not being "smarter" but "less likely to miss steps".

4. Validate in Test Environment When Possible#

Recommended priority:

  • Create new test scenes
  • Create new test object parent nodes
  • Generate independent prototypes
  • Run validation tools or screenshot checks

This way even if results aren't ideal, main scene won't be polluted.