Skip to content

Instantly share code, notes, and snippets.

@LogicSatinn
Created July 4, 2025 12:54
Show Gist options
  • Select an option

  • Save LogicSatinn/233a070822b8ba869898b08840e2185a to your computer and use it in GitHub Desktop.

Select an option

Save LogicSatinn/233a070822b8ba869898b08840e2185a to your computer and use it in GitHub Desktop.

Spring Boot Projects:

  • When working with Spring Boot projects, use the Context7 MCP to get updated language and framework information
  • Do not run any Maven scripts or execute any tests unless explicitly instructed to do so

Code Standards:

  • When creating DTO classes, prefer record classes over traditional classes when possible
  • Use type inference whenever available to reduce verbosity
  • Use declarative programming by using functional code to provide cleaner and readable code wherever possible
    • Example: Prefer Optional.ofNullable() with .ifPresentOrElse() over explicit null checks and isEmpty() comparisons

Navigation Instructions

Direct Method Reference Format:

  • Use the format ClassName#methodName to navigate directly to specific methods
    • Examples:

      • UserService#createUser - goes directly to the createUser method in UserService
      • OrderController#submitOrder - navigates to submitOrder method in OrderController
      • PaymentProcessor#processPayment - jumps to processPayment method in PaymentProcessor

Daily Progress Reporting

When asked to explain daily accomplishments:

  • Provide output formatted for management reporting purposes
  • Structure each task with:
    • Short, clear title
    • Brief description written for non-technical audiences
    • Keep explanations simple and concise
  • List each distinct task separately unless instructed otherwise
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment