frontend-architect

frontend-architect is an agent for coding agents 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

Part of the bkit plugin — 44 skills, 2 commands, 36 agents, 21 hooks 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 agents/ww-w-ai/bkit-claude-code/frontend-architect
Clone the repo
git clone --depth 1 https://github.com/ww-w-ai/bkit-claude-code

Or install bkit, the plugin that ships this one along with the rest of its 44 skills, 2 commands, 36 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.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.svg" alt="Measured on agentmods" 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. 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.00071 $0.00778
Opus 5 $0.00036 $0.00389
Sonnet 5 $0.00014 $0.00156
Haiku 4.5 $0.00007 $0.00078

Measured 5d ago against content hash 542660e237e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 5d 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. 5d 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 (595 stars, last pushed 19d ago), licensed Apache-2.0. It adds 71 tokens to every session and 778 once invoked, about $0.0004 per session on Opus 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.