mfe-skills
Copilot instructions53 starsChanged 2 months agoMITView on GitHub
Use this file as the Copilot-native entry point for MFE governance. When reviewing or generating micro-frontend code:
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .cursor/rules/mfe-architecture-boundary-design.mdcCursor rule
- .cursor/rules/mfe-architecture-canvas-pointer.mdcCursor rule
- .cursor/rules/mfe-architecture-decisions.mdcCursor rule
- .cursor/rules/mfe-architecture.mdcCursor rule
- .cursor/rules/mfe-architecture-rules-ref.mdcCursor rule
- .cursor/rules/mfe-boundary-code-patterns.mdcCursor rule
- .cursor/rules/mfe-boundary-remediation.mdcCursor rule
- .cursor/rules/mfe-boundary-review.mdcCursor rule
- .cursor/rules/mfe-boundary-routing.mdcCursor rule
- .cursor/rules/mfe-boundary-rules-core-critical.mdcCursor rule
- .cursor/rules/mfe-boundary-rules-core-standard.mdcCursor rule
- .cursor/rules/mfe-boundary-toolchain.mdcCursor rule
- reviewing-mfe-boundariesSkill
- understanding-mfe-architectureSkill
The file
We split this copilot-instructions.md 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
- Distinctive: line 3
Use this file as the Copilot-native entry point for MFE governance.
- Distinctive: line 12
When reviewing or generating micro-frontend code:
- Distinctive: line 16
Keep shell responsibilities thin: first route segment, platform chrome, fallbacks.
- Distinctive: line 17
Keep MFE contracts minimal: identifiers only, not full domain objects.
- Distinctive: line 18
Prefer runtime remote discovery over version-pinned shell remotes.
- Distinctive: line 25
Use architecture fitness functions in monorepos to enforce boundaries continuously.
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions 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.
Files
GitHub Copilot repository instructions
Use this file as the Copilot-native entry point for MFE governance.
Canonical source
AGENTS.mdis the canonical cross-agent governance baseline in this repository.- This file mirrors the highest-value instructions for Copilot and points to
AGENTS.mdfor full context.
Boundary governance defaults
When reviewing or generating micro-frontend code:
- Apply the eight MFE boundary rules from
AGENTS.md. - Prioritise Critical violations first (cross-MFE imports, shared state across boundaries).
- Keep shell responsibilities thin: first route segment, platform chrome, fallbacks.
- Keep MFE contracts minimal: identifiers only, not full domain objects.
- Prefer runtime remote discovery over version-pinned shell remotes.
Additional governance extensions
- Feature flags for behaviour belong inside owning MFEs.
- Edge compute should be justified (canary, strangler, traffic steering).
- SSR ownership should stay route/domain based with clear team accountability.
- Use architecture fitness functions in monorepos to enforce boundaries continuously.
Response style for Copilot reviews
- Cite rule numbers when flagging violations.
- Return findings by severity order: Critical, High, Medium.
- Include concise remediation steps for each violation.
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
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.

