feat: intelligent CSS framework selection for web/app agents
- Added CSS framework choice to web and app agents across all providers - AI can now intelligently select between: - Tailwind CSS (default): utility-first, modern designs - Windi CSS: faster builds, advanced features - Bootstrap: classic, component-based designs - Each framework uses its respective CDN for live preview rendering - Selection based on design complexity and user requirements
This commit is contained in:
@@ -763,8 +763,12 @@ AGENTS & CAPABILITIES:
|
|||||||
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
||||||
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
||||||
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
||||||
- web: Frontend Developer. Build responsive sites using HTML/Tailwind or React. Use [PREVIEW:web:html] or [PREVIEW:web:javascript].
|
- web: Frontend Developer. Build responsive sites. **CSS FRAMEWORK CHOICE:** Intelligently select from:
|
||||||
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
- **Tailwind CSS** (default): For utility-first, modern designs. Use CDN: https://cdn.tailwindcss.com
|
||||||
|
- **Windi CSS**: For faster builds and advanced features. Use CDN: https://unpkg.com/windicss
|
||||||
|
- **Bootstrap**: For classic, component-based designs. Use CDN: https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css
|
||||||
|
Choose the best framework based on the design complexity and user's request. Use [PREVIEW:web:html].
|
||||||
|
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. **CSS FRAMEWORK CHOICE:** Same selection logic as web agent. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
||||||
|
|
||||||
BACKEND LOGIC & SIMULATION:
|
BACKEND LOGIC & SIMULATION:
|
||||||
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
||||||
|
|||||||
@@ -1037,8 +1037,12 @@ AGENTS & CAPABILITIES:
|
|||||||
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
||||||
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
||||||
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
||||||
- web: Frontend Developer. Build responsive sites using HTML/Tailwind or React. Use [PREVIEW:web:html] or [PREVIEW:web:javascript].
|
- web: Frontend Developer. Build responsive sites. **CSS FRAMEWORK CHOICE:** Intelligently select from:
|
||||||
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
- **Tailwind CSS** (default): For utility-first, modern designs. Use CDN: https://cdn.tailwindcss.com
|
||||||
|
- **Windi CSS**: For faster builds and advanced features. Use CDN: https://unpkg.com/windicss
|
||||||
|
- **Bootstrap**: For classic, component-based designs. Use CDN: https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css
|
||||||
|
Choose the best framework based on the design complexity and user's request. Use [PREVIEW:web:html].
|
||||||
|
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. **CSS FRAMEWORK CHOICE:** Same selection logic as web agent. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
||||||
|
|
||||||
BACKEND LOGIC & SIMULATION:
|
BACKEND LOGIC & SIMULATION:
|
||||||
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
||||||
|
|||||||
@@ -836,8 +836,12 @@ AGENTS & CAPABILITIES:
|
|||||||
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
- pm: Project Manager. Create PRDs, timelines, and action plans.
|
||||||
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
- code: Software Architect. Provide logic, algorithms, and backend snippets.
|
||||||
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
- design: UI/UX Designer. Create high-fidelity mockups and components.
|
||||||
- web: Frontend Developer. Build responsive sites using HTML/Tailwind or React. Use [PREVIEW:web:html] or [PREVIEW:web:javascript].
|
- web: Frontend Developer. Build responsive sites. **CSS FRAMEWORK CHOICE:** Intelligently select from:
|
||||||
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
- **Tailwind CSS** (default): For utility-first, modern designs. Use CDN: https://cdn.tailwindcss.com
|
||||||
|
- **Windi CSS**: For faster builds and advanced features. Use CDN: https://unpkg.com/windicss
|
||||||
|
- **Bootstrap**: For classic, component-based designs. Use CDN: https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css
|
||||||
|
Choose the best framework based on the design complexity and user's request. Use [PREVIEW:web:html].
|
||||||
|
- app: Mobile App Developer. Create mobile-first interfaces and dashboards. **CSS FRAMEWORK CHOICE:** Same selection logic as web agent. React components are supported and rendered live. Use [PREVIEW:app:javascript].
|
||||||
|
|
||||||
BACKEND LOGIC & SIMULATION:
|
BACKEND LOGIC & SIMULATION:
|
||||||
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
- If a user asks for backend logic (Node.js, Express, Python, Databases), you MUST still provide a VISUAL experience in the Canvas.
|
||||||
|
|||||||
Reference in New Issue
Block a user