Skip to content
Back to skills

Angular Microfrontends Micro Frontends Dependency Sharing Policy

ASecurity

Control which libraries may be shared across Angular micro-frontends and prevent domain leakage through shared packages.

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 2, 2026
developmenttypescriptgoshellangularfrontend

Security analysis

A100/100

Scanned October 2, 2026

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

Installs into .claude/skills of the current project.

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

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

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

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
---
id: angular.microfrontends.micro-frontends-dependency-sharing-policy
name: Micro-frontends Dependency Sharing Policy
description: Control which libraries may be shared across Angular micro-frontends and prevent domain leakage through shared packages.
stack:
  - Angular
  - TypeScript
  - Nx
  - Module Federation
category: architecture
status: stable
version: 0.10.0
owner: NgAutoPilot
triggers:
  - dependency sharing
  - shared libraries
  - domain leakage
  - micro fronts dependency sharing
  - micro-frontends dependency sharing
  - dependency sharing policy
  - shared singleton policy
  - bundle duplication risk
  - shared dependency alignment
  - shared library boundaries
  - module federation shared dependencies
  - micro frontends dependencies
compatibility:
  angular:
    min: "2"
    signalInputsFrom: "17"
    recommendedModern: "17+"
---

# Micro-frontends Dependency Sharing Policy

Use this skill to decide what may be shared between shell and remotes.

## Core Rule

```txt
Share contracts, not domain ownership.
```

## Safe Shares

- shared/ui
- shared/domain
- shared/data-access
- shared/util
- design-system

## Purpose

Allow only contracts that are safe to share across remotes.

## When to Use

Use this skill when deciding what a shell and remotes may share.

## Do

- share contracts, not ownership
- block domain services from shared libraries
- keep singleton candidates intentionally small
- review bundle duplication before broad sharing

## Do Not

- leak remote-private state into shared packages
- introduce hidden singleton coupling

## Review Checklist

- [ ] Safe shared libraries are identified.
- [ ] Blocked shared libraries are explicit.
- [ ] Dependency drift risks are described.
- [ ] The sharing policy is minimal.

## Avoid

- remote-private services in shared libraries
- domain state leaking across remotes
- hidden runtime coupling through singleton services

## Expected Output

Return:

1. Shared libraries that are acceptable.
2. Shared libraries that should be blocked.
3. Dependency drift risks.
4. A minimal 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…