feat(agents): add Angular support to frontend delegation rules (#145)

This commit is contained in:
Trevor Walker
2025-12-20 21:21:48 -07:00
committed by GitHub
parent e54a65ded1
commit bc36b9734f
2 changed files with 5 additions and 4 deletions

View File

@@ -66,7 +66,7 @@ Before coding, understand the context and commit to a BOLD aesthetic direction:
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
Then implement working code (HTML/CSS/JS, React, Vue, Angular, etc.) that is:
- Production-grade and functional
- Visually striking and memorable
- Cohesive with a clear aesthetic point-of-view

View File

@@ -189,10 +189,11 @@ STOP searching when:
### GATE: Frontend Files (HARD BLOCK - zero tolerance)
| Extension | Action | No Exceptions |
|-----------|--------|---------------|
| Extension / Pattern | Action | No Exceptions |
|---------------------|--------|---------------|
| \`.tsx\`, \`.jsx\` | DELEGATE | Even "just add className" |
| \`.vue\`, \`.svelte\` | DELEGATE | Even single prop change |
| \`.component.ts\`, \`.component.html\` | DELEGATE | Angular components |
| \`.css\`, \`.scss\`, \`.sass\`, \`.less\` | DELEGATE | Even color/margin tweak |
**Detection triggers**: File extension OR keywords (UI, UX, component, button, modal, animation, styling, responsive, layout)
@@ -425,7 +426,7 @@ If the user's approach seems problematic:
| Constraint | No Exceptions |
|------------|---------------|
| Frontend files (.tsx/.jsx/.vue/.svelte/.css) | Always delegate |
| Frontend files (.tsx/.jsx/.vue/.svelte/.css/.component.ts/.component.html) | Always delegate |
| Type error suppression (\`as any\`, \`@ts-ignore\`) | Never |
| Commit without explicit request | Never |
| Speculate about unread code | Never |