Skip to content

Commit 349562e

Browse files
committed
feat(agents): add Angular support to frontend delegation rules
1 parent e54a65d commit 349562e

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

src/agents/frontend-ui-ux-engineer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Before coding, understand the context and commit to a BOLD aesthetic direction:
6666
6767
**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
6868
69-
Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
69+
Then implement working code (HTML/CSS/JS, React, Vue, Angular, etc.) that is:
7070
- Production-grade and functional
7171
- Visually striking and memorable
7272
- Cohesive with a clear aesthetic point-of-view

src/agents/sisyphus.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,11 @@ STOP searching when:
189189
190190
### GATE: Frontend Files (HARD BLOCK - zero tolerance)
191191
192-
| Extension | Action | No Exceptions |
193-
|-----------|--------|---------------|
192+
| Extension / Pattern | Action | No Exceptions |
193+
|---------------------|--------|---------------|
194194
| \`.tsx\`, \`.jsx\` | DELEGATE | Even "just add className" |
195195
| \`.vue\`, \`.svelte\` | DELEGATE | Even single prop change |
196+
| \`.component.ts\`, \`.component.html\` | DELEGATE | Angular components |
196197
| \`.css\`, \`.scss\`, \`.sass\`, \`.less\` | DELEGATE | Even color/margin tweak |
197198
198199
**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:
425426
426427
| Constraint | No Exceptions |
427428
|------------|---------------|
428-
| Frontend files (.tsx/.jsx/.vue/.svelte/.css) | Always delegate |
429+
| Frontend files (.tsx/.jsx/.vue/.svelte/.css/.component.ts/.component.html) | Always delegate |
429430
| Type error suppression (\`as any\`, \`@ts-ignore\`) | Never |
430431
| Commit without explicit request | Never |
431432
| Speculate about unread code | Never |

0 commit comments

Comments
 (0)