linktogo/maggie/component-architecture

Claude Code and agent skill by linktogo/maggie

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Structure Angular apps with standalone components, smart/dumb split, and OnPush

Install

npx vskill@latest install linktogo/maggie/component-architecture

SKILL.md

The same SKILL.md was published earlier as linktogo/maggie/component-architecture.

Angular component architecture

Favor standalone components and a clear container/presentational split. Keep templates declarative and logic in the class.

Rules

  • Use standalone components (standalone: true) and import what each component

needs directly. Reserve NgModules for legacy or genuinely shared bundles.

  • Separate concerns: container ("smart") components fetch data and hold state;

presentational ("dumb") components take @Input()s and emit @Output()s and own no service dependencies.

  • Set changeDetection: ChangeDetectionStrategy.OnPush on presentational

components and pass immutable inputs so Angular can skip unchanged subtrees.

  • Keep templates thin: no heavy expressions or method calls in the template that

run every change-detection cycle — precompute in the class or use a pipe.

  • Unsubscribe from observables (takeUntilDestroyed, the async pipe, or a

teardown) to avoid leaks. Prefer the async pipe over manual subscribe.

Anti-patterns

  • Business logic in the template or in constructors (use ngOnInit/effects).
  • A presentational component injecting HttpClient — that couples it to data.
  • Calling a function in an interpolation ({{ compute() }}) under default change

detection — it runs constantly.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/linktogo/maggie/component-architecture/badge)](https://verified-skill.com/skills/linktogo/maggie/component-architecture)

Something wrong with this skill or its page? Tell us.