frontend-architecture
Skill2 starsChanged 5 months agoMITView on GitHub
Frontend and mobile architecture decisions — web frameworks (React, Next.js, Vue, Svelte, Angular), mobile approaches (native Swift/Kotlin vs React Native/Flutter), and the decision rules for choosing between them based on team, product, and performance needs.
8 other projects use a version of this.
Adopted by
Most recently taken up by
- hemapriyan-rk/claude-rigor-skillstheir own version, first seen Sep 26, 2026
- microsoft/FSQtheir own version, first seen Sep 2, 2026
- we-are-singular/skillstheir own version, first seen Aug 13, 2026
- nimadorostkar/Claude-Skills-collectiontheir own version, first seen Jul 14, 2026
- roanbrasil/engineer-grade-agent-skillstheir own version, first seen Jun 17, 2026
- stareezy-1/frontend-architecture-skilltheir own version, first seen Jun 14, 2026
Other versions8 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 8
- nimadorostkar/Claude-Skills-collection★ 28same name
- microsoft/FSQ★ 23same name
- stareezy-1/frontend-architecture-skill★ 10same name
- roanbrasil/engineer-grade-agent-skills★ 8same name
- harshitsinghbhandari/domain-expansion★ 2same name
- we-are-singular/skills★ 2same name
- yend724/agent-skills★ 2same name
- hemapriyan-rk/claude-rigor-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- core-principles-decision-engineSkill
- foundationsSkill
- product-businessSkill
- backend-architectureSkill
- database-data-architectureSkill
- api-communication-architectureSkill
- architecture-patternsSkill
- cloud-infrastructureSkill
- devops-cicdSkill
- ai-ml-architectureSkill
- robotics-systems-architectureSkill
- security-architectureSkill
- reliability-sreSkill
- performance-engineeringSkill
- engineering-practicesSkill
- team-leadershipSkill
- cost-business-architectureSkill
- domain-reference-architecturesSkill
- review-output-standardsSkill
- archon-decision-engineSkill
The file
Files
03 — Frontend Architecture (L2)
Level: L2 — Software Engineering.
Goal
Pick the frontend/mobile stack that matches the team's skill set, the product's performance/interactivity needs, and the platform reach required — not the framework that's currently trending.
Web Framework Decision Matrix
| Framework | Best for | Avoid when |
| Plain HTML/CSS/JS | Marketing pages, minimal interactivity | Any non-trivial app state or interactivity |
| React (CSR) | Highly interactive SPAs, large ecosystem need, large hiring pool | SEO-critical content without SSR added on top |
| Next.js (React + SSR/SSG) | Default modern choice for most product web apps — SEO, performance, and interactivity all matter | Extremely simple static sites where the framework overhead isn't earning its keep |
| Vue / Nuxt | Teams preferring a gentler learning curve and more opinionated structure than React | Need for the largest possible hiring pool / ecosystem (React's is larger) |
| Svelte / SvelteKit | Performance-sensitive apps wanting less runtime overhead and less boilerplate | Need for the deepest third-party component ecosystem |
| Angular | Large enterprise teams wanting a full, opinionated, batteries-included framework with strong conventions | Small teams/startups wanting to move fast with minimal framework ceremony |
Mobile Decision Matrix
| Approach | Best for | Avoid when |
| Native (Swift/iOS, Kotlin/Android) | Performance-critical apps, deep platform API usage (AR, advanced camera, background processing), or a team with native expertise already | Small team needing to ship both platforms fast with limited mobile-specific hiring |
| React Native | Teams with existing React/JS expertise wanting shared logic across platforms, most consumer app categories | Apps with heavy custom native UI/animation needs or very tight performance budgets |
| Flutter | Teams wanting one codebase with high UI consistency across platforms and willing to invest in Dart | Need to maximize reuse of existing JS/web team skills |
Decision Rule
Default to Next.js for web and React Native (if the team already knows React) or Flutter (if starting fresh with no existing stack bias) for cross-platform mobile, unless a specific, named requirement (SEO depth, native performance ceiling, existing team expertise) points elsewhere. Never choose a frontend framework primarily because it's new — frontend framework churn has a real, recurring cost in retraining and ecosystem instability.
Reference Files
reference/frontend-architecture.md— full framework comparison, state management, rendering strategy (CSR/SSR/SSG/ISR) decision rules.reference/mobile-architecture.md— native vs. cross-platform deep dive, offline-first mobile patterns, app store release process considerations.
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.

