Skip to content
Development
Skill

/frontend-architecture-planner

Plan architecture and ownership for standard or deep React/Next.js work across routing, state, data, styling, forms, builds, migrations, and implementation handoff. Skip micro-fixes and unrelated stacks.

From plugin
webdev-agent-kit
723 skills9 agents

Claude Code

$ npx -y skills add ytvee-dev/webdev-agent-kit --skill frontend-architecture-planner --agent claude-code

SKILL.md

frontend-architecture-planner.SKILL.md
name: frontend-architecture-planner
description: 'Plan architecture and ownership for standard or deep React/Next.js work across routing, state, data, styling, forms, builds, migrations, and implementation handoff. Skip micro-fixes and unrelated stacks.'
id: 'agents.skills.frontend-architecture-planner.skill'
title: 'Frontend Architecture Planner'
doc_type: 'skill'
layer: 'skill'
status: 'active'
publishable: true
local_only: false
skill: 'frontend-architecture-planner'
tags:
    - 'agents/skill-package'
    - 'agents/architecture'
    - 'workflow/frontend-architecture'
parent:
    - '[[AGENTS|Canonical Agent Policy]]'
related:
    - '[[common/react-performance-rules]]'
    - '[[common/target-stack-policy|Target Stack Policy]]'
    - '[[common/prompt-intent-routing-rules|Prompt Intent Routing Rules]]'
    - '[[common/framework-adaptation-policy|Framework Adaptation Policy]]'
    - '[[common/state-ownership-rules|State Ownership Rules]]'
    - '[[common/routing-boundary-rules|Routing Boundary Rules]]'
    - '[[common/data-fetching-boundary-rules|Data Fetching Boundary Rules]]'
    - '[[common/form-boundary-rules|Form Boundary Rules]]'
    - '[[common/build-tool-boundary-rules|Build Tool Boundary Rules]]'
    - '[[common/frontend-integration-boundaries|Frontend Integration Boundaries]]'
    - '[[skills/goal-planner/SKILL|Goal Planner]]'
    - '[[skills/execution-plan-manager/SKILL|Execution Plan Manager]]'
    - '[[skills/frontend-layout-implementer/SKILL|Frontend Layout Implementer]]'
depends_on:
    - '[[AGENTS|Canonical Agent Policy]]'

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.

When React/Next work changes loading, imports, subscriptions or expensive rendering, read the relevant section of `common/react-performance-rules.md`.

Tool Contract

  • May use filesystem access to inspect relevant project overlays and affected source files.
  • May use `context7` for React, Next.js, Redux, TanStack, Axios, TypeScript, or build-tool documentation when architecture depends on current behavior.
  • Activate `openai_platform_docs` only when current OpenAI API or ChatGPT Apps SDK behavior affects the architecture.
  • May use MDN for platform constraints that affect architecture, such as forms, browser APIs, accessibility, and CSS behavior.
  • Must not install packages, UI libraries, state libraries, data libraries, form libraries, or MCP servers.
  • Must not change project source files, configs, package manager files, or build tooling.
  • Must not interact with production systems, secrets, or production data.

Workflow

1. Confirm target stack scope. If the project is outside React, Next.js, CSS Modules, Redux, TanStack, or Axios scope, report unsupported scope. 2. If the prompt is lightweight and no architecture boundary is affected, stop and route to the direct skill. 3. State the architectural question. 4. Inspect current conventions: React/Next.js router, folder/module structure, component ownership, CSS Modules, Redux ownership, TanStack ownership, Axios API layer, form conventions, build/workspace shape, and verification commands. 5. Define only relevant boundaries: route/page, feature/module, shared vs local component, React local state, Redux object state, TanStack remote state, Axios adapter, form state, CSS Modules styling, accessibility, build/workspace, and verification. 6. Choose the smallest architecture that satisfies the goal. 7. Require explicit approval for package installation, framework migration, package manager changes, new state/data/form/styling libraries, global architecture layers, build tooling changes, large refactors, destructive operations, or production access. 8. Create the architecture handoff without editing source files. 9. Define verification strategy using existing project checks and rendered verification where re

Read more
@ytvee-dev
Ships withwebdev-agent-kit

A cross-platform frontend kit for Codex, Claude Code, Cursor, OpenCode, etc. It helps AI coding agents work predictably and safely with existing frontend projects.

723 skills9 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
7
Star history of ytvee-dev/webdev-agent-kit on GitHub, a chart by star-history.com

Other skills on webdev-agent-kit.

agent-self-improvement

agent-self-improvement

Project memory: remember this mistake, save for learning, запиши себе в базу, сохрани для обучения, запомни эту ошибку. Requested…

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about frontend-architecture-planner.

Which coding agents can use frontend-architecture-planner?
frontend-architecture-planner installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.