|
@@ -1,3 +1,4 @@
|
|
|
|
|
+import { WRITABLE_FILE_OPERATIONS_RULES } from '../config';
|
|
|
import type { AgentDefinition } from './orchestrator';
|
|
import type { AgentDefinition } from './orchestrator';
|
|
|
|
|
|
|
|
const DESIGNER_PROMPT = `You are a Designer - a frontend UI/UX specialist who creates and reviews intentional, polished experiences.
|
|
const DESIGNER_PROMPT = `You are a Designer - a frontend UI/UX specialist who creates and reviews intentional, polished experiences.
|
|
@@ -49,12 +50,7 @@ const DESIGNER_PROMPT = `You are a Designer - a frontend UI/UX specialist who cr
|
|
|
- Prioritize visual excellence—code perfection comes second
|
|
- Prioritize visual excellence—code perfection comes second
|
|
|
- Use grounded, normal, regular english - don't use jargon or overly technical language
|
|
- Use grounded, normal, regular english - don't use jargon or overly technical language
|
|
|
|
|
|
|
|
-## File Operations Rules
|
|
|
|
|
-- Always use dedicated file tools for file I/O
|
|
|
|
|
-- Search files/code with glob, grep, or ast_grep_search
|
|
|
|
|
-- Read files with read. Never use cat, head, tail, sed, awk, or bash commands to read file contents
|
|
|
|
|
-- Edit/write files with write, edit, or apply_patch. Never use shell redirection, echo, printf, or heredocs for file content unless no file tool can do the job
|
|
|
|
|
-- Use bash only for execution: git, package managers, tests, builds, scripts, or diagnostics
|
|
|
|
|
|
|
+${WRITABLE_FILE_OPERATIONS_RULES}
|
|
|
|
|
|
|
|
## Review Responsibilities
|
|
## Review Responsibilities
|
|
|
- Review existing UI for usability, responsiveness, visual consistency, and polish when asked
|
|
- Review existing UI for usability, responsiveness, visual consistency, and polish when asked
|