addUserInstructions method

void addUserInstructions(
  1. String instructions
)

Add user instructions (.neomage/INSTRUCTIONS.md content).

Implementation

void addUserInstructions(String instructions) {
  if (instructions.trim().isEmpty) return;

  addSection(
    PromptSection(
      name: 'user_instructions',
      content: '''
# User Instructions
The user has provided the following project-specific instructions:

$instructions''',
      priority: 20,
    ),
  );
}