architecture-micro-frontends

architecture-micro-frontends is a skill for Claude Code, Codex from j4flmao/agent-skills. It costs 143 tokens per session (1,761 once invoked), scanned A, original, MIT.

A guide to micro-frontends, an approach that splits a web interface into independently maintained parts owned or deployed by different teams. It covers combining those parts in applications built with frameworks such as React, Vue, or Angular.

In plain words
What is it for?
Planning and implementing independently delivered sections of a web application, including runtime composition with tools such as module federation.
Why use it?
It addresses the coordination and release problems of a single large web application, where a small change may require rebuilding or deploying the whole interface.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Planning and implementing independently delivered sections of a web application, including runtime composition with tools such as module federation.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/j4flmao/agent-skills/micro-frontends
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add j4flmao/agent-skills --skill micro-frontends
Clone the repo
git clone --depth 1 https://github.com/j4flmao/agent-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architecture-micro-frontends

README.md
[![agentmods](https://agentmods.dev/badge/skills/j4flmao/agent-skills/micro-frontends/github.svg)](https://agentmods.dev/skills/j4flmao/agent-skills/micro-frontends)
Your own site
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/micro-frontends"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/micro-frontends/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-micro-frontends

Your own site · 80×15
<a href="https://agentmods.dev/skills/j4flmao/agent-skills/micro-frontends"><img src="https://agentmods.dev/badge/skills/j4flmao/agent-skills/micro-frontends.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,761 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00143 $0.01761
Opus 5.5 $0.00057 $0.00704
Sonnet 5.5 $0.00029 $0.00352
Haiku 4.5 $0.00014 $0.00176

Measured 1mo ago against content hash e4e759f3fde2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

architecture-micro-frontends scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/architecture/micro-frontends/SKILL.md · 159 lines

How it starts

The opening of the file, as written. The whole thing — 159 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Micro-Frontends

Purpose

Micro-frontends let independent teams build, test, and deploy parts of one web UI separately. They solve an organizational scaling problem (many teams blocking each other on one release), not a technical performance problem, and they add runtime complexity, duplication risk, and consistency work. Use them when team autonomy is the bottleneck; otherwise a well-structured modular monolith is cheaper.

Agent Protocol

Trigger

"micro-frontends", "MFE", "Module Federation", "remoteEntry", "single-spa", "import maps", "app shell", "independent UI deployments".

Input Context

  • Number of teams and how they map to product areas.
  • Current frontend stack(s), build tooling (webpack, Rspack, Vite), deployment pipeline.
  • Pain points: release coordination, build times, ownership conflicts.
  • SEO/SSR requirements and performance budgets.

Output Artifact

Go/no-go decision, domain split, composition approach, shared-dependency policy, contracts (routes, events), and governance rules.

Response Format

Decision: {MFE|modular monolith} because {reason}
Split: {MFE: owning team, routes}
Composition: {build-time|module federation|web components|server/edge|iframe}
Shared: {react@x singleton, design-system@y} policy={versions}
Comms: {URL/state params|CustomEvent|shared minimal store}
Styling isolation: {CSS Modules|Shadow DOM|prefix}
Perf budget: {JS KB per route}

Completion Criteria

  • MFEs split by business domain/route, not by technical layer.
  • One framework major version enforced for shared singletons.
  • Contracts between host and remotes versioned and tested.
  • Remote failures degrade gracefully (error boundary/fallback).
  • Performance budget measured per route.

Should You?

Signal Points to
1-3 teams, one product area Modular monolith (monorepo packages, enforced boundaries)
Many teams blocked on one release train Micro-frontends
Need to embed legacy app during migration MFE (strangler pattern)
Mixed frameworks as a goal in itself Red flag: cost without benefit

Read the full file on GitHub · 159 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +120 lines · +143 tokens per session e4e759f3fde2
  2. 3mo ago First seen · 39 lines · 0 tokens per session scan A 44f7fac1759e

Subscribe to this mod's changes

architecture-micro-frontends is a skill published in the GitHub repository j4flmao/agent-skills (47 stars, last pushed 17d ago), licensed MIT. It adds 143 tokens to every session and 1,761 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-05.

Related

architecture-micro-frontends compared with skills from other repositories

architecture-micro-frontends next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
architecture-micro-frontendsj4flmao/agent-skillsSkill4717d agoMITA143Claude Code, Codex
module-federationsoulcodex/agenticSkill1014d agoMITA51Claude Code, Codex
module-federation-ssrsoulcodex/agenticSkill1014d agoMITA48Claude Code, Codex
module-federation-debuggingsoulcodex/agenticSkill1014d agoMITA44Claude Code, Codex
sparc-methodologyruvnet/RuViewSkill106ktodayMITA29Claude Code
architecture-diagrammateaix/mateclawSkill1.2k3d agoApache-2.0A15Claude Code, Codex
product-image-processorAlpacaLabsLLC/skills-for-architectsSkill4559d agoMITA45Claude Code