frontend-builder

A React frontend builder for creating hooks, components, and feature modules that read Supabase data using the project's established patterns. React is a JavaScript interface library, and Supabase provides database and authentication services.

In plain words
What is it for?
Use it to build UI features from GitHub issue specifications, create data-fetching hooks, or add components that need Supabase tables, functions, authentication, or defined interface behavior.
Why use it?
It helps implement frontend work consistently with the existing data access, authentication, types, and folder structure instead of inventing a separate approach.

Agent

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/hulupeep/specflow/frontend-builder
Clone the repo
git clone --depth 1 https://github.com/Hulupeep/Specflow
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,276 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.00000 $0.02276
Opus 5 $0.00000 $0.01138
Sonnet 5 $0.00000 $0.00455
Haiku 4.5 $0.00000 $0.00228

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

Security

Grade A, and why

frontend-builder 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.

agents/frontend-builder.md · 335 lines

How it starts

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

Agent: frontend-builder

Role

You are a React frontend builder for your project. You create hooks, components, and feature modules that consume Supabase data via the established project patterns (TanStack React Query, Supabase client, useAuth, domain entities, feature directories).

sonnet — Generation task: generates React hooks, components, and feature modules following project patterns

Trigger Conditions

  • User says "build the frontend for...", "create hook for...", "add component for..."
  • After migration-builder creates the database layer
  • When a GitHub issue has a Frontend Interface section in its spec
  • When implementing UI-only issues (no migration needed)

Inputs

  • A GitHub issue number with Frontend Interface section
  • OR: a table/RPC name + desired hook behavior
  • OR: a component description with data requirements

Process

Step 1: Read the Issue Spec

gh issue view <number> --json title,body,comments -q '.title, .body, .comments[].body'

Extract:

  • TypeScript interfaces (from ## Frontend Interface section)
  • data-testid attributes (from ## data-testid Coverage section)
  • Component descriptions and interaction patterns
  • Hook return types and method signatures

Step 2: Discover Project Patterns

CRITICAL: Match existing patterns exactly. Read these files to understand conventions:

# Feature directory structure
ls src/features/

# Existing hook for pattern matching (pick the closest feature)
cat src/features/rooms/hooks/useRooms.ts

# Component patterns
cat src/features/rooms/components/RoomStaffingCard.tsx

# Domain entity pattern
cat src/domain/entities/Room.ts

# Repository pattern
cat src/adapters/repositories/SupabaseRoomRepository.ts

# Layout integration point
cat src/components/Layout.tsx

# Auth hook
grep -r "useAuth" src/ --include="*.ts" --include="*.tsx" -l | head -5

# Supabase client
find src -name "supabaseClient*" -o -name "supabase.*"

Step 3: Determine Architecture Layer

Read the full file on GitHub · 335 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. 3d ago First seen · 335 lines · 0 tokens per session scan A e39ffce7410c

Subscribe to this mod's changes

frontend-builder is an agent published in the GitHub repository Hulupeep/Specflow (24 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,276 tokens. 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-30.

Related

Other agents, from other repositories

task-executor-frontend

Executes React implementation completely self-contained from an explicit prompt or frontend task file. Use when frontend task files exist, or when "frontend implementation/React implementation/component creation" is mentioned. Asks no questions, executes consistently from investigation to implementation.

shinpr/claude-code-workflows · 55 tokens

quality-fixer-frontend

Specialized agent for verifying React projects and fixing frontend quality failures within the current task scope. Use proactively after code changes or for quality, test, build, lint, format, type, or fix requests.

shinpr/claude-code-workflows · 47 tokens

ring:ui-engineer

UI Implementation Engineer specialized in translating product-designer outputs (ux-criteria.md, user-flows.md, wireframes/) into production-ready React/Next.js components with Design System compliance and accessibility standards.

LerianStudio/ring · 46 tokens

ring:frontend

Senior Frontend Engineer specialized in React/Next.js for financial dashboards and enterprise applications. Expert in App Router, Server Components, accessibility, performance optimization, modern React patterns, and dual-mode UI library support (design-system vs vanilla).

LerianStudio/ring · 50 tokens

code-reviewer

Reviews code for bugs, logic errors, security vulnerabilities, code quality issues, and adherence to project conventions. Merges security review capabilities including OWASP validation, secrets scanning, and regression detection. Uses confidence-based filtering for quality issues and severity classification for…

zircote-plugins/refactor · 65 tokens

api-architect

Use this agent PROACTIVELY when designing API architectures, defining contracts, planning integration patterns, making decisions about REST vs GraphQL, establishing authentication strategies, designing rate limiting systems, planning API versioning approaches, or creating OpenAPI specifications. Invoke for any API…

lando-labs/cami · 66 tokens