Skip to content

Minimal Code Implementation

Implicit Instruction

<implicitInstruction>
- Write only the ABSOLUTE MINIMAL amount of code needed to address the requirement correctly, avoid verbose implementations and any code that doesn't directly contribute to the solution
</implicitInstruction>

Purpose

Ensures AI assistants generate concise, focused code without unnecessary verbosity or boilerplate that doesn't directly solve the problem.

Application

This rule should be applied as an implicit instruction in workspace rules to guide code generation behavior across all programming languages and contexts.

Benefits

  • Faster code generation
  • Easier code review
  • Reduced maintenance burden
  • Clearer intent and purpose