claude-pilot: Agent for Claude Code

.claude/agents/frontend-engineer.md

frontend-engineer is an agent for Claude Code from changoo89/claude-pilot. It costs 46 tokens per session (2,044 once invoked), scanned A, original, MIT.

A frontend coding agent for user interfaces, including React components, CSS styling, landing pages, and Tailwind-based work.

In plain words
What is it for?
Use it to build or change UI components, React features, page styling, landing pages, and mobile-friendly frontend behavior.
Why use it?
It keeps interface changes focused on reusable components, responsive layouts, accessibility, performance, and tests.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; names the TodoWrite tool.

This is changoo89/claude-pilot's own configuration. It tells Claude Code how to work on claude-pilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-pilot configures →

Part of the claude-pilot plugin — 32 skills, 11 commands, 14 agents, 2 MCP servers shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to changoo89/claude-pilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/changoo89/claude-pilot/main/.claude/agents/frontend-engineer.md
Clone the repo
git clone --depth 1 https://github.com/changoo89/claude-pilot

Made for: Claude Code.

Or install claude-pilot, the plugin that ships this one along with the rest of its 32 skills, 11 commands, 14 agents, 2 MCP servers.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/changoo89/claude-pilot/frontend-engineer"><img src="https://agentmods.dev/badge/agents/changoo89/claude-pilot/frontend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 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,044 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00046 $0.02044
Opus 5.5 $0.00018 $0.00818
Sonnet 5.5 $0.00009 $0.00409
Haiku 4.5 $0.00005 $0.00204

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

Security

Grade A, and why

frontend-engineer 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 2mo 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.

.claude/agents/frontend-engineer.md · 215 lines

How it starts

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

You are the Frontend Engineer Agent. Your mission is to implement frontend features using TDD + Ralph Loop in an isolated context.

Core Principles

  • Context isolation: Separate context window (~80K tokens)
  • TDD discipline: Red-Green-Refactor cycle for each SC
  • Ralph Loop: Iterate until all quality gates pass
  • Concise summary: Return ONLY summary to main orchestrator

Trigger Keywords

Use this agent proactively for: component, UI, styling, React, CSS, landing page, Tailwind

Frontend-First Approach

  1. Component Architecture (reusable, composable)
  2. Styling Strategy (apply frontend-design principles)
  3. Responsive Design (mobile-first)
  4. Accessibility (WCAG compliance)
  5. Performance (lazy loading, code splitting)

Workflow (TDD + Ralph Loop)

Phase 1: Discovery

  1. Read plan file to understand requirements
  2. Use Glob/Grep to find related frontend files
  3. Confirm integration points (API contracts, data models)
  4. Update plan if reality differs from assumptions

Phase 2: TDD Cycle

Red: Write failing test → npm test -- Button.test.tsx # FAIL Green: Minimal implementation → npm test -- Button.test.tsx # PASS Refactor: Clean up (Vibe Coding: SRP, DRY, KISS, Early Return)

Phase 3: Ralph Loop (CRITICAL: Enter IMMEDIATELY after first code change)

MAX_ITERATIONS=7
ITERATION=1

while [ $ITERATION -le $MAX_ITERATIONS ]; do
    npm test && npx tsc --noEmit && npm run lint
    COVERAGE=$(npm test -- --coverage 2>&1 | grep -oP 'Lines\s+:\s+\K[\d.]+')

    if [ $? -eq 0 ] && (( $(echo "$COVERAGE >= 80" | bc -l) )); then
        echo "<FRONTEND_COMPLETE>"
        break
    fi

    ITERATION=$((ITERATION + 1))
done

[ $ITERATION -gt $MAX_ITERATIONS ] && echo "<FRONTEND_BLOCKED>"

Output Format (MANDATORY)

Summary Template:

## Frontend Engineer Summary

### Implementation Complete
- Success Criteria Met: SC-1, SC-2
- Files Changed: 4 (src/components/Button.tsx, tests/Button.test.tsx)

### Test Files (MANDATORY)
- `tests/components/Button.test.tsx`: Created with 8 tests

### Test Results (MANDATORY)
- PASS: 24 | FAIL: 0 | SKIP: 0

### Coverage (MANDATORY)
- Overall: 88% (target: 80%) | Components: 95% (target: 90%)

### Ralph Loop (MANDATORY)
- Total Iterations: 2 | Final Status: <FRONTEND_COMPLETE>

### Verification Results
- Type Check: Pass | Lint: Pass

Read the full file on GitHub · 215 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. 2mo ago First seen · 215 lines · 46 tokens per session scan A 468a00e8697b

Subscribe to this mod's changes

frontend-engineer is an agent published in the GitHub repository changoo89/claude-pilot (20 stars, last pushed 8mo ago), licensed MIT. It adds 46 tokens to every session and 2,044 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

Other agents, from other repositories

observability-engineer

OpenTelemetry, Prometheus, Grafana, distributed tracing, SLO design, and alerting specialist. Use when implementing observability, designing monitoring systems, or troubleshooting production issues. Trigger phrases: observability, monitoring, tracing, Prometheus, Grafana, OpenTelemetry, SLO, SLI, alerting, metrics…

travisjneuman/.claude · 82 tokens

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

mobile-release-manager

App store submissions, mobile CI/CD, ASO, code signing, and beta distribution specialist. Use when preparing app releases, setting up mobile CI/CD, or managing app store presence. Trigger phrases: app store, Play Store, TestFlight, release, code signing, provisioning profile, Fastlane, ASO, beta, OTA update, version…

travisjneuman/.claude · 77 tokens

product-analytics-specialist

PostHog, Mixpanel, Amplitude event tracking, funnels, cohorts, and A/B testing specialist. Use when implementing analytics, designing event schemas, or setting up experimentation. Trigger phrases: analytics, tracking, PostHog, Mixpanel, Amplitude, Segment, events, funnel, cohort, A/B test, feature flag, conversion…

travisjneuman/.claude · 80 tokens

architecture-analyst

Analyzes system architecture, identifies patterns/anti-patterns, and provides strategic recommendations. Use for architectural reviews, refactoring planning, or system design decisions.

travisjneuman/.claude · 36 tokens

security-auditor

Deep security analysis for OWASP Top 10, auth vulnerabilities, secrets exposure, and dependency risks. Use when reviewing code security, before deployments, or investigating security concerns.

travisjneuman/.claude · 39 tokens