agentleFS
Pouya-MansourniaPouya-Mansournia/ARCHON/skills/03_Frontend/SKILL.md

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

The file

Files
SKILL.md

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

FrameworkBest forAvoid when
Plain HTML/CSS/JSMarketing pages, minimal interactivityAny non-trivial app state or interactivity
React (CSR)Highly interactive SPAs, large ecosystem need, large hiring poolSEO-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 matterExtremely simple static sites where the framework overhead isn't earning its keep
Vue / NuxtTeams preferring a gentler learning curve and more opinionated structure than ReactNeed for the largest possible hiring pool / ecosystem (React's is larger)
Svelte / SvelteKitPerformance-sensitive apps wanting less runtime overhead and less boilerplateNeed for the deepest third-party component ecosystem
AngularLarge enterprise teams wanting a full, opinionated, batteries-included framework with strong conventionsSmall teams/startups wanting to move fast with minimal framework ceremony

Mobile Decision Matrix

ApproachBest forAvoid when
Native (Swift/iOS, Kotlin/Android)Performance-critical apps, deep platform API usage (AR, advanced camera, background processing), or a team with native expertise alreadySmall team needing to ship both platforms fast with limited mobile-specific hiring
React NativeTeams with existing React/JS expertise wanting shared logic across platforms, most consumer app categoriesApps with heavy custom native UI/animation needs or very tight performance budgets
FlutterTeams wanting one codebase with high UI consistency across platforms and willing to invest in DartNeed 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.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.