frontend-architecture-planner

frontend-architecture-planner is a skill for Claude Code, Codex from ytvee-dev/webdev-agent-kit. It costs 47 tokens per session (1,705 once invoked), scanned A, original, Apache-2.0.

A planning guide for deciding how a React or Next.js frontend should be structured before implementation. It covers areas such as routes, state, data access, styling, forms, builds, and migrations.

In plain words
What is it for?
Use it to plan multi-part features, routes, screen groups, component boundaries, state ownership, data fetching, forms, or frontend refactors.
Why use it?
It turns broad frontend work into clear architecture decisions and an implementation handoff, reducing uncertainty about where code and responsibilities belong.

Skill for Claude CodeCodex

Part of the webdev-agent-kit plugin — 19 skills shipped together

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.

agentmods
npx agentmods add skills/ytvee-dev/webdev-agent-kit/frontend-architecture-planner
Any agent
npx skills add ytvee-dev/webdev-agent-kit --skill frontend-architecture-planner
Clone the repo
git clone --depth 1 https://github.com/ytvee-dev/webdev-agent-kit

Made for: Claude Code, Codex.

Or install webdev-agent-kit, the plugin that ships this one along with the rest of its 19 skills.

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-planner

README.md
[![agentmods](https://agentmods.dev/badge/skills/ytvee-dev/webdev-agent-kit/frontend-architecture-planner.svg)](https://agentmods.dev/skills/ytvee-dev/webdev-agent-kit/frontend-architecture-planner)
Your own site
<a href="https://agentmods.dev/skills/ytvee-dev/webdev-agent-kit/frontend-architecture-planner"><img src="https://agentmods.dev/badge/skills/ytvee-dev/webdev-agent-kit/frontend-architecture-planner.svg" alt="Measured on agentmods" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,705 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00047 $0.01705
Opus 5 $0.00023 $0.00852
Sonnet 5 $0.00009 $0.00341
Haiku 4.5 $0.00005 $0.00170

Measured 3d ago against content hash 6c5fe45418d1, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-architecture-planner 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 3d 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/frontend-architecture-planner/SKILL.md · 182 lines

How it starts

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

Frontend Architecture Planner

Purpose

Plan frontend architecture decisions for React and Next.js projects when a task affects structure, ownership, routing, React state, Redux state, TanStack remote state, Axios data access, CSS Modules styling, form behavior, build/workspace shape, or long-lived conventions.

This skill creates an architecture decision and implementation handoff. It does not implement code by default.

When To Use

Use this skill after prompt intent routing when the task is Standard Workflow or Deep Workflow, the project is within the target stack, and architecture decisions matter.

Use this skill when the user asks to:

  • plan a new React or Next.js feature that touches multiple modules;
  • design a route, screen group, or application section;
  • define component boundaries before implementation;
  • decide where React, Redux, or TanStack state should live;
  • decide how Axios or TanStack data fetching should fit the existing project;
  • plan routing changes;
  • plan form ownership and validation boundaries;
  • plan a frontend refactor before editing code;
  • assess architecture risk before implementation;
  • define a greenfield React or Next.js architecture before scaffolding.

When Not To Use

Do not use this skill for:

  • one small bug;
  • one obvious type error;
  • one small styling adjustment;
  • one direct file-scope edit;
  • unrelated frontend frameworks or app stacks;
  • purely visual direction without architecture impact;
  • rendered visual QA;
  • UI component library selection;
  • backend, database, ORM, migrations, or infrastructure work unless the user explicitly changes the scope.

Required Context

  1. Read AGENTS.md.
  2. Read common/target-stack-policy.md.
  3. Read common/prompt-intent-routing-rules.md when workflow level is unclear.
  4. Read the compact goal contract or execution plan when present.
  5. Read only relevant boundary rules for the task.
  6. Read relevant project overlays when present: stack, architecture, styling, verification, docs, build, workspace, state, and data-fetching profiles.
  7. Read affected source files only when architectural boundaries cannot be planned from overlays.
  8. Do not read generated dist/** during normal runtime.

Read the full file on GitHub · 182 lines

Files

What ships with it

1 file 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. 3d ago First seen · 182 lines · 47 tokens per session scan A 6c5fe45418d1

Subscribe to this mod's changes

frontend-architecture-planner is a skill published in the GitHub repository ytvee-dev/webdev-agent-kit (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 47 tokens to every session and 1,705 once invoked, about $0.0002 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

design-dna

Extract, define, and apply design DNA across three dimensions: design system (tokens), design style (qualitative feel), and visual effects (Canvas, WebGL, 3D, particles, shaders, scroll effects, etc.). Use this skill when: (1) a user wants to see the full 3-dimension design structure/schema, (2) a user provides…

zanwei/design-dna · 192 tokens

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance…

CherryHQ/cherry-studio · 67 tokens

modern-site-engineering

Implement beautiful modern websites and web apps with an opinionated premium frontend stack. Use for Next.js, React, Tailwind, Motion, GSAP, Lenis, Three.js/React Three Fiber, shadcn/ui customization, responsive layouts, landing pages, portfolios, cinematic sites, luxury brand sites, Squarespace-like sites, and any…

TheGoat395/Codex-Skills · 86 tokens

playwright-cli

Automates browser interactions for testing and validating your own web applications using playwright-cli. Use when you need terminal-first browser control for navigation, form filling, screenshots, tracing, bound browser sessions, debugging, or generating Playwright test code. Only use against applications you own or…

testdino-hq/playwright-skill · 64 tokens

motion-react-microinteractions

Implement refined React and Motion for React microinteractions. Use for buttons, menus, nav, modals, tabs, cards, accordions, layout transitions, reveal wrappers, hover/tap states, mobile menus, and interactive UI that should feel premium without heavy GSAP timelines.

TheGoat395/Codex-Skills · 63 tokens

nextjs-site-architecture

Structure modern Next.js websites and landing pages. Use for App Router projects, TypeScript, metadata, fonts, images, static pages, route groups, sections, component organization, performance, SEO basics, and production-ready architecture for premium websites.

TheGoat395/Codex-Skills · 54 tokens