agentleFS
itsmuskanagarwalitsmuskanagarwal/claude-pack/skills/angular-enterprise/SKILL.md

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.

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
  1. Distinctive:

    No logic in subscribe callbacks beyond dispatch/assignment.

    line 25
  2. Distinctive:

    Document each landmine once, with workaround, e.g.:

    line 28
  3. Distinctive:

    No logic in templates (function calls in bindings).

    line 35
  4. Distinctive:

    No direct DOM access; Renderer2/CDK.

    line 37
  5. Distinctive:

    No new deps without approval label.

    line 38
  6. Distinctive:

    Never upgrade the component library as a side effect of another task.

    line 39

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md
<!-- 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 any in 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).

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.