From 82a47ff92895d3eaf8afeeb28e9201959f5c462d Mon Sep 17 00:00:00 2001 From: justsisyphus Date: Fri, 30 Jan 2026 14:09:22 +0900 Subject: [PATCH] chore: add code style requirements to ultrabrain prompt - MUST search existing codebase for patterns before writing code - MUST match project's existing conventions - MUST write readable, human-friendly code --- src/tools/delegate-task/constants.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tools/delegate-task/constants.ts b/src/tools/delegate-task/constants.ts index be1e33ae..2d9a623b 100644 --- a/src/tools/delegate-task/constants.ts +++ b/src/tools/delegate-task/constants.ts @@ -17,6 +17,12 @@ AVOID: Generic fonts, purple gradients on white, predictable layouts, cookie-cut export const ULTRABRAIN_CATEGORY_PROMPT_APPEND = ` You are working on DEEP LOGICAL REASONING / COMPLEX ARCHITECTURE tasks. +**CRITICAL - CODE STYLE REQUIREMENTS (NON-NEGOTIABLE)**: +1. BEFORE writing ANY code, SEARCH the existing codebase to find similar patterns/styles +2. Your code MUST match the project's existing conventions - blend in seamlessly +3. Write READABLE code that humans can easily understand - no clever tricks +4. If unsure about style, explore more files until you find the pattern + Strategic advisor mindset: - Bias toward simplicity: least complex solution that fulfills requirements - Leverage existing code/patterns over new components