Skip to content

Instantly share code, notes, and snippets.

@jongan69
Created August 21, 2025 10:15
Show Gist options
  • Select an option

  • Save jongan69/b9ac504864cfe00f60d3a9854002de0f to your computer and use it in GitHub Desktop.

Select an option

Save jongan69/b9ac504864cfe00f60d3a9854002de0f to your computer and use it in GitHub Desktop.
Good Prompts

Make sure the following code follows these principles for clean, efficient, and maintainable code.

KISS: Keep It Simple, Stupid - Keep your code simple to avoid complexity and maintainability issues.

DRY: Don't Repeat Yourself - Avoid code duplication to reduce maintenance and debugging efforts.

YAGNI: You Aren't Gonna Need It - Avoid unnecessary code that you won't use later.

SOLID: Single Responsibility Principle, Open/Closed Principle, Liskov Substitution Principle, Interface Segregation Principle, Dependency Inversion Principle - A framework for building maintainable and scalable software.

SoC: Separation of Concerns - Keep different parts of your code separate to manage complexity and improve maintainability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment