angular-enterprise
Skill0 starsChanged 4 months agoMITView on GitHub
House conventions for enterprise Angular work (NgRx, RxJS, SyncFusion or similar component libraries). Use for any task that creates or edits Angular components, services, state, or templates in this codebase — features, fixes, refactors, migrations — even when the user doesn't mention conventions.
In this repository11 other files it gives its agents.
- angular-migrationSkill
- characterization-testsSkill
- claude-md-architectSkill
- code-archaeologySkill
- feature-flag-changeSkill
- frontend-review-checklistSkill
- rxjs-modernizeSkill
- session-hygieneSkill
- session-stateSkill
- strangler-migrationSkill
- tdd-loopSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
No logic in subscribe callbacks beyond dispatch/assignment.
- Distinctive: line 28
Document each landmine once, with workaround, e.g.:
- Distinctive: line 35
No logic in templates (function calls in bindings).
- Distinctive: line 37
No direct DOM access; Renderer2/CDK.
- Distinctive: line 38
No new deps without approval label.
- Distinctive: line 39
Never upgrade the component library as a side effect of another task.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
<!-- owner: Muskan, added: 2026-07-16, model: claude-sonnet-5, review: quarterly -->Angular Enterprise Conventions
Stack declaration (EDIT PER REPO — exact versions mandatory)
Angular <X.Y>, NgRx <X> (<classic|signals> store), RxJS <X.Y>,
TypeScript <X.Y>, Component library: <SyncFusion vX / Material vX>,
Node <X>. Build: <ng build cmd>. Test: <cmd>. Lint: <cmd>.
State pattern
- Feature state lives in NgRx. Components read via selectors only; write via actions only. No BehaviorSubject-as-store in services for feature state (allowed for purely local, non-shared UI state).
- Effects: side effects only; no state derivation. One effect per concern.
- Action hygiene: [Source] Event naming; no action reuse across features.
Rx rules
- switchMap for replaceable requests, concatMap for ordered writes, mergeMap only with justification comment, exhaustMap for submit buttons.
- Async pipe by default. takeUntilDestroyed for imperative subscriptions.
- No logic in subscribe callbacks beyond dispatch/assignment.
Component library quirks (EDIT PER REPO — this section earns its keep)
Document each landmine once, with workaround, e.g.:
<Grid>: change detection quirk → call X after data mutation.<Dialog>: destroy hooks not fired on route change → pattern Y.- CDK drag in
<context>: known bug → use the workaround directive at<path>, never inline fixes.
Never
- No logic in templates (function calls in bindings).
- No
anyin new code; unknown + narrowing. - No direct DOM access; Renderer2/CDK.
- No new deps without approval label.
- Never upgrade the component library as a side effect of another task.
Migration posture
New components standalone; signals for new local state where stack allows; do not convert existing modules opportunistically — migrations are their own tasks with their own plan (see code-archaeology skill).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

