frontend-architecture-design

frontend-architecture-design is a skill for Claude Code from LeekJay/claude-skills-plugin. It costs 80 tokens per session (2,411 once invoked), scanned A, original, MIT.

A guide for reviewing and redesigning the structure of frontend projects built with React, Vue, or other web technologies.

In plain words
What is it for?
Use it to assess project structure, plan architectural changes, review performance, and improve maintainability, scalability, engineering practices, and type safety.
Why use it?
It helps find problems that can make a frontend slow, difficult to maintain, hard to expand, or prone to type-related errors.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions subagents.

Part of the frontend-architecture-design plugin — 1 skill, 1 agent shipped together

Good fit Use it to assess project structure, plan architectural changes, review performance, and improve maintainability, scalability, engineering practices, and type safety.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/leekjay/claude-skills-plugin/frontend-architecture-design
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 LeekJay/claude-skills-plugin --skill frontend-architecture-design
Clone the repo
git clone --depth 1 https://github.com/LeekJay/claude-skills-plugin

Made for: Claude Code.

Or install frontend-architecture-design, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

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 frontend-architecture-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/leekjay/claude-skills-plugin/frontend-architecture-design/github.svg)](https://agentmods.dev/skills/leekjay/claude-skills-plugin/frontend-architecture-design)
Your own site
<a href="https://agentmods.dev/skills/leekjay/claude-skills-plugin/frontend-architecture-design"><img src="https://agentmods.dev/badge/skills/leekjay/claude-skills-plugin/frontend-architecture-design/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 frontend-architecture-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/leekjay/claude-skills-plugin/frontend-architecture-design"><img src="https://agentmods.dev/badge/skills/leekjay/claude-skills-plugin/frontend-architecture-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,411 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.
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.00080 $0.02411
Opus 5 $0.00040 $0.01205
Sonnet 5 $0.00016 $0.00482
Haiku 4.5 $0.00008 $0.00241

Measured 10d ago against content hash 84ae366d625b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

frontend-architecture-design 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 10d 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.

plugins/frontend-architecture-design/skills/frontend-architecture-design/SKILL.md · 350 lines

How it starts

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

Frontend Architecture Design & Review

Comprehensive frontend project architecture review from five key dimensions: performance, maintainability, scalability, engineering, and type safety.

Decision Framework

Default behavior: For architecture review tasks, prefer Sub-Agent mode for thorough analysis.

🔴 Mandatory Sub-Agent Triggers (ANY ONE triggers delegation)

  1. Full architecture review: User requests comprehensive/complete architecture analysis
  2. Multi-dimension analysis: Needs evaluation across 2+ dimensions (performance, maintainability, etc.)
  3. Large codebase: Project has 50+ components or 100+ source files
  4. Redesign request: User mentions "redesign", "restructure", "overhaul", "major refactor"
  5. Migration planning: Evaluating tech stack migration or major upgrades
  6. Performance audit: Deep performance analysis with metrics collection
  7. Report generation: User wants a formal architecture review report
  8. Comparison analysis: Comparing old vs new architecture, or multiple approaches

🟢 Main Conversation Handling (ALL conditions must be met)

  1. Single dimension: Only checking one specific aspect (e.g., "check TypeScript config")
  2. Quick question: Simple questions like "is this pattern okay?" or "what's wrong with this structure?"
  3. Small scope: Looking at 1-3 specific files or components
  4. No report needed: Just need quick feedback, not a formal report

Decision Flow

Check for ANY 🔴 mandatory trigger?
  ├─ YES → ✅ USE SUB-AGENT MODE immediately
  │         subagent_type="frontend-architecture-design:frontend-architecture-design"
  └─ NO → Check if ALL 🟢 simple conditions are met?
           ├─ YES → Handle in main conversation
           └─ NO → ✅ USE SUB-AGENT MODE (default behavior)

Quick Reference Examples

User Description Trigger Signal Decision
"Review the frontend architecture" 🔴 Full review Sub-Agent
"Is this component structure okay?" 🟢 Quick question, small scope Main conversation
"Analyze performance and maintainability" 🔴 Multi-dimension Sub-Agent
"Check my tsconfig settings" 🟢 Single dimension, small scope Main conversation
"We need to restructure the app" 🔴 Redesign request Sub-Agent
"What's wrong with this import?" 🟢 Quick question Main conversation
"Generate an architecture report" 🔴 Report generation Sub-Agent
"Should I use barrel exports?" 🟢 Quick question Main conversation

Read the full file on GitHub · 350 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 10d ago First seen · 350 lines · 80 tokens per session scan A 84ae366d625b

Subscribe to this mod's changes

frontend-architecture-design is a skill published in the GitHub repository LeekJay/claude-skills-plugin (4 stars, last pushed 9mo ago), licensed MIT. It adds 80 tokens to every session and 2,411 once invoked, about $0.0004 per session on Opus 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-08-31.

Related

Other skills, from other repositories

ui-toolkit/web

Reference skill for Zoom Video SDK UI Toolkit. Use after routing to a web video workflow when you want prebuilt React UI instead of building a fully custom Video SDK interface.

anthropics/knowledge-work-plugins · 39 tokens

zoom-meeting-sdk-web-component-view

Zoom Meeting SDK Web - Component View. Embeddable Zoom meeting components with Promise-based API for flexible integration. Ideal for React/Vue/Angular apps and custom layouts. Uses ZoomMtgEmbedded with async/await patterns and embeddable UI containers.

anthropics/knowledge-work-plugins · 61 tokens

astro

Build content-focused websites with Astro — zero JS by default, islands architecture, multi-framework components, and Markdown/MDX support.

sickn33/agentic-awesome-skills · 28 tokens

tanstack-form

Headless, performant, and type-safe form state management for TS/JS, React, Vue, Angular, Solid, Lit, and Svelte.

Kiranism/next-shadcn-dashboard-starter · 34 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

web-development

Use when users need to implement, integrate, debug, build, deploy, or validate a Web frontend after the product direction is already clear, especially for React, Vue, Vite, browser flows, or CloudBase Web integration.

TencentCloudBase/CloudBase-AI-Toolkit · 49 tokens