Skip to content
Back to skills

Angular Architecture Micro Frontends Dependency Sharing Policy

ASecurity

Reviews shared dependency policy for Angular micro-frontends in Nx monorepos, focusing on singleton control, version alignment, bundle duplication risk, and shared library boundaries.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 2, 2026
developmentgoangularfrontend

Security analysis

A100/100

Scanned October 2, 2026

npx -y skills add janpereira-dev/ngAutoPilot --skill angular-architecture-micro-frontends-dependency-sharing-policy --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Angular Architecture Micro Frontends Dependency Sharing Policy?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Angular Architecture Micro Frontends Dependency Sharing Policy
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/janpereira-dev-angular-architecture-micro-frontends-dependency-sh/badge)](https://www.skillsdirectory.com/skills/janpereira-dev-angular-architecture-micro-frontends-dependency-sh)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: angular-architecture-micro-frontends-dependency-sharing-policy
description: "Reviews shared dependency policy for Angular micro-frontends in Nx monorepos, focusing on singleton control, version alignment, bundle duplication risk, and shared library boundaries."
license: MIT
metadata:
  ngautopilot-id: "angular.architecture.micro-frontends-dependency-sharing-policy"
  ngautopilot-source: "skills/angular/architecture/micro-frontends-dependency-sharing-policy/SKILL.md"
  ngautopilot-version: "0.10.0"
---


# Micro-frontends Dependency Sharing Policy

## Purpose

Use this skill to review shared dependency policy for Angular micro-frontends.

Runtime composition only stays maintainable when shared dependencies are intentionally selected, version-aligned, and governed. This skill determines what should be shared, what should remain isolated, and how to prevent bundle duplication or hidden coupling.

The core rule is simple:

```txt
Share less than you think. Share only what is truly transversal.
```

## When to Use

Use this skill when:

- Module Federation shared configuration needs review
- singleton dependencies may conflict
- bundle duplication is a concern
- remotes use shared libraries inconsistently
- shared dependency governance is unclear

## Do

Keep the shared set small:

```txt
Typically shared:
- @angular/core
- @angular/common
- @angular/router
- rxjs
- shared/ui
- design-system
```

Treat domain-specific code as isolated by default.

Prefer explicit version alignment for singleton candidates.

Review bundle impact before sharing large libraries.

## Do Not

Avoid sharing arbitrary app state through dependency config.

Avoid turning every dependency into a singleton.

Avoid sharing domain services across remotes.

Avoid letting bundle convenience override architectural clarity.

## Review Checklist

- [ ] The shared dependency set is intentionally small.
- [ ] Singleton candidates have a reason to be shared.
- [ ] Domain-specific libraries remain isolated.
- [ ] Version alignment is reviewed.
- [ ] Bundle duplication risk is understood.
- [ ] Shared configuration is documented and enforced.

## Expected Output

1. Identify dependencies that are candidates for sharing.
2. Flag over-sharing or bundle bloat risk.
3. Recommend a minimal shared set.
4. Separate transversal libraries from domain libraries.
5. Produce a dependency sharing policy.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…