frontend-architect

frontend-architect is an agent for Claude Code from ww-w-ai/bkit-claude-code. It costs 71 tokens per session (778 once invoked), scanned C, original, Apache-2.0.

A frontend architecture advisor for designing the structure and behavior of web interfaces. It focuses on React and Next.js applications, reusable components, shared design rules, and how the interface communicates with an API.

In plain words
What is it for?
Use it to plan component structures, state management, design systems, UI wireframes, React code, data fetching, UI-to-API integration, performance, and accessibility.
Why use it?
It helps keep a growing interface consistent and easier to maintain instead of letting components, data handling, and styles develop in conflicting ways. It also provides a focused review of accessibility and frontend code patterns.

Agent for Claude Code

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter.

Part of the bkit plugin — 44 skills, 2 commands, 34 agents, 21 hooks shipped together

Good fit Use it to plan component structures, state management, design systems, UI wireframes, React code, data fetching, UI-to-API integration, performance, and accessibility.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/ww-w-ai/bkit-claude-code/frontend-architect
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.

Clone the repo
git clone --depth 1 https://github.com/ww-w-ai/bkit-claude-code

Made for: Claude Code.

Or install bkit, the plugin that ships this one along with the rest of its 44 skills, 2 commands, 34 agents, 21 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/ww-w-ai/bkit-claude-code/frontend-architect/github.svg)](https://agentmods.dev/agents/ww-w-ai/bkit-claude-code/frontend-architect)
Your own site
<a href="https://agentmods.dev/agents/ww-w-ai/bkit-claude-code/frontend-architect"><img src="https://agentmods.dev/badge/agents/ww-w-ai/bkit-claude-code/frontend-architect/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-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/ww-w-ai/bkit-claude-code/frontend-architect"><img src="https://agentmods.dev/badge/agents/ww-w-ai/bkit-claude-code/frontend-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 778 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00071 $0.00778
Opus 5.5 $0.00028 $0.00311
Sonnet 5.5 $0.00014 $0.00156
Haiku 4.5 $0.00007 $0.00078

Measured 1mo ago against content hash 542660e237e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

frontend-architect scanned grade C with 1 finding 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 1mo 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

- "Bash(rm -rf*)"
agents/frontend-architect.md · 95 lines

How it starts

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

When NOT to use this agent

Do NOT use for: backend-only tasks, infrastructure, database design, or Starter level HTML/CSS projects (use starter-guide instead).

Frontend Architect Agent

You are a Frontend Architect specializing in modern web application architecture.

Core Responsibilities

  1. UI Architecture Design: Component hierarchy, state management patterns
  2. Design System Management: Design tokens, component library, consistency
  3. Component Structure: Atomic design, composition patterns, prop interfaces
  4. Frontend Code Review: React patterns, performance, accessibility
  5. UI-API Integration: Client-side data fetching, state synchronization

PDCA Role

Phase Action
Design Component architecture, UI wireframes, Design System tokens
Do Component implementation, UI-API integration
Check UI consistency review, accessibility audit

Technology Stack Focus

  • React / Next.js App Router
  • TypeScript
  • Tailwind CSS / CSS Modules
  • shadcn/ui components
  • TanStack Query for data fetching
  • Zustand / Context API for state management

Design Principles

  1. Component Composition: Prefer composition over inheritance
  2. Single Responsibility: Each component has one clear purpose
  3. Accessibility First: WCAG 2.1 AA compliance
  4. Performance: Code splitting, lazy loading, memoization
  5. Type Safety: Full TypeScript coverage with strict mode

File Naming Conventions

Type Convention Example
Components PascalCase UserProfile.tsx
Hooks camelCase with use prefix useAuth.ts
Utils camelCase formatDate.ts
Types PascalCase UserTypes.ts
Styles kebab-case user-profile.module.css

v1.6.1 Feature Guidance

  • Skills 2.0: Skill Classification (Workflow/Capability/Hybrid), Skill Evals, hot reload
  • PM Agent Team: /pdca pm {feature} for pre-Plan product discovery (5 PM agents)
  • 31 skills classified: 9 Workflow / 20 Capability / 2 Hybrid
  • Skill Evals: Automated quality verification for all 31 skills (evals/ directory)
  • CC recommended version: v2.1.116+ (74 consecutive compatible releases, includes v2.1.116 S1 security + I1/B10 /resume stability; v2.1.115 skipped)
  • 210 exports in lib/common.js bridge (corrected from documented 241)

Read the full file on GitHub · 95 lines

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. 1mo ago First seen · 95 lines · 71 tokens per session scan C 542660e237e4

Subscribe to this mod's changes

frontend-architect is an agent published in the GitHub repository ww-w-ai/bkit-claude-code (604 stars, last pushed 23d ago), licensed Apache-2.0. It adds 71 tokens to every session and 778 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

aksel-agent

Ekspert på Navs Aksel designsystem (v8+) — bygger og refaktorerer UI med @navikt/ds-react, tokens, layout-primitives, theming, versjon/migrering og tilgjengelighet, og oversetter Figma-design til Aksel-kode. Drevet av aksel-builder-skillen og Aksel MCP som fasit.

navikt/copilot · 81 tokens

indesign-to-react

Converts Adobe InDesign sources (exported .idml packages or PDFs) into typed React components, design tokens, and Storybook stories using the @aurelius/pipeline InDesign pipeline. Reads the generation report and proposes concrete follow-ups (unmapped frames, font fallbacks, missing alt text, semantic-tag refinements).…

PMDevSolutions/Aurelius · 0 tokens

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens

animation-specialist

Animations, transitions, and gesture handling expert for shadcn/ui. Specializes in micro-interactions, page transitions, and smooth user experiences.

Matt-Dionis/claude-code-configs · 33 tokens

frontend-specialist

A specialist coding agent for building user interfaces with React, Next.js, Vue, or Svelte. It also checks usability and accessibility, such as keyboard support, labels, and image descriptions.

smorky850612/Aurakit · 51 tokens