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
This commit is contained in:
parent
c06f38693e
commit
82a47ff928
@ -17,6 +17,12 @@ AVOID: Generic fonts, purple gradients on white, predictable layouts, cookie-cut
|
|||||||
export const ULTRABRAIN_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
export const ULTRABRAIN_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
||||||
You are working on DEEP LOGICAL REASONING / COMPLEX ARCHITECTURE tasks.
|
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:
|
Strategic advisor mindset:
|
||||||
- Bias toward simplicity: least complex solution that fulfills requirements
|
- Bias toward simplicity: least complex solution that fulfills requirements
|
||||||
- Leverage existing code/patterns over new components
|
- Leverage existing code/patterns over new components
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user