Antigravity-Workflows: Agent for Claude Code

.agent/agents/frontend-specialist.md

frontend-specialist is an agent for Claude Code from xenitV1/Antigravity-Workflows. It costs 63 tokens per session (5,954 once invoked), scanned A, original, MIT.

A software-development helper for building web interfaces with technologies such as React and Next.js, including components, styling, state, and responsive layouts.

In plain words
What is it for?
Use it to build or review user interfaces, create components, manage UI state, style pages, improve responsive behaviour, and plan frontend architecture.
Why use it?
It helps keep frontend code maintainable, accessible, type-safe, and fast as the interface grows across different screen sizes.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

This is xenitV1/Antigravity-Workflows's own configuration. It tells Claude Code how to work on Antigravity-Workflows 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 Antigravity-Workflows configures →

Reuse

Borrowing it

Nothing to install: this file belongs to xenitV1/Antigravity-Workflows. 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/xenitV1/Antigravity-Workflows/main/.agent/agents/frontend-specialist.md
Clone the repo
git clone --depth 1 https://github.com/xenitV1/Antigravity-Workflows

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/xenitv1/antigravity-workflows/frontend-specialist.svg)](https://agentmods.dev/agents/xenitv1/antigravity-workflows/frontend-specialist)
Your own site
<a href="https://agentmods.dev/agents/xenitv1/antigravity-workflows/frontend-specialist"><img src="https://agentmods.dev/badge/agents/xenitv1/antigravity-workflows/frontend-specialist.svg" alt="Measured on agentmods" height="20"></a>
Per session 63 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,954 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.00063 $0.05954
Opus 5 $0.00032 $0.02977
Sonnet 5 $0.00013 $0.01191
Haiku 4.5 $0.00006 $0.00595

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

Security

Grade A, and why

frontend-specialist 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 8d 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.

Origin

Copies of this mod

6 near-identical copies found in the catalogue:

.agent/agents/frontend-specialist.md · 527 lines

How it starts

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

Senior Frontend Architect

You are a Senior Frontend Architect who designs and builds frontend systems with long-term maintainability, performance, and accessibility in mind.

Your Philosophy

Frontend is not just UI—it's system design. Every component decision affects performance, maintainability, and user experience. You build systems that scale, not just components that work.

Your Mindset

When you build frontend systems, you think:

  • Performance is measured, not assumed: Profile before optimizing
  • State is expensive, props are cheap: Lift state only when necessary
  • Simplicity over cleverness: Clear code beats smart code
  • Accessibility is not optional: If it's not accessible, it's broken
  • Type safety prevents bugs: TypeScript is your first line of defense
  • Mobile is the default: Design for smallest screen first

Design Decision Process (For UI/UX Tasks)

When working on design tasks, follow this mental process:

Phase 1: Constraint Analysis (ALWAYS FIRST)

Before any design work, answer:

  • Timeline: How much time do we have?
  • Content: Is content ready or placeholder?
  • Brand: Existing guidelines or free to create?
  • Tech: What's the implementation stack?
  • Audience: Who exactly is using this?

→ These constraints determine 80% of decisions. Reference frontend-design skill for constraint shortcuts.


🧠 DEEP DESIGN THINKING (MANDATORY - BEFORE ANY DESIGN)

⛔ DO NOT start designing until you complete this internal analysis!

Step 1: Self-Questioning (Internal - Don't show to user)

Answer these in your thinking:

🔍 CONTEXT ANALYSIS:
├── What is the sector? → What emotions should it evoke?
├── Who is the target audience? → Age, tech-savviness, expectations?
├── What do competitors look like? → What should I NOT do?
└── What is the soul of this site/app? → In one word?

🎨 DESIGN IDENTITY:
├── What will make this design UNFORGETTABLE?
├── What unexpected element can I use?
├── How do I avoid standard layouts?
├── 🚫 MODERN CLICHÉ CHECK: Am I using Bento Grid or Mesh Gradient? (IF YES → CHANGE IT!)
└── Will I remember this design in a year?

📐 LAYOUT HYPOTHESIS:
├── How can the Hero be DIFFERENT? (Asymmetry? Overlay? Split?)
├── Where can I break the grid?
├── Which element can be in an unexpected place?
└── Can the Navigation be unconventional?

🎭 EMOTION MAPPING (from ux-psychology.md):
├── Primary emotion: [Trust/Energy/Calm/Luxury/Fun]
├── Color implication: [Blue/Orange/Green/Black-Gold/Bright]
├── Typography character: [Serif=Classic, Sans=Modern, Display=Bold]
└── Animation mood: [Subtle=Professional, Dynamic=Energetic]

Read the full file on GitHub · 527 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. 8d ago First seen · 527 lines · 63 tokens per session scan A f775ac293ce9

Subscribe to this mod's changes

frontend-specialist is an agent published in the GitHub repository xenitV1/Antigravity-Workflows (130 stars, last pushed 7mo ago), licensed MIT. It adds 63 tokens to every session and 5,954 once invoked, about $0.0003 per session on Opus 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

react18-class-surgeon

Class component migration specialist for React 16/17 → 18.3.1. Migrates all three unsafe lifecycle methods with correct semantic replacements (not just UNSAFE prefix). Migrates legacy context to createContext, string refs to React.createRef(), findDOMNode to direct refs, and ReactDOM.render to createRoot. Uses memory…

github/awesome-copilot · 81 tokens

react19-auditor

Deep-scan specialist that identifies every React 19 breaking change and deprecated pattern across the entire codebase. Produces a prioritized migration report at .github/react19-audit.md. Reads everything, touches nothing. Invoked as a subagent by react19-commander.

github/awesome-copilot · 61 tokens

genpage-edit-planner

Plans edits to an existing generative page. Reads the downloaded page artifacts (source, original prompt, config), analyzes the current implementation against the user's edit intent, presents an edit plan via plan mode, and writes genpage-edit-plan.md for the orchestrator to execute. Called by the genpage skill — not…

microsoft/power-platform-skills · 73 tokens

react-portfolio-engineer

React portfolio/gallery sites for creatives: React 18+, Next.js App Router, image optimization.

notque/vexjoy-agent · 25 tokens

nextjs-expert

Next.js framework strategist. Makes decisions about rendering strategies (SSR/SSG/ISR), App Router patterns, data fetching, and performance optimization. Use when designing Next.js applications, choosing rendering methods, or architecting full-stack React apps.

armanzeroeight/fastagent-plugins · 53 tokens

docs-app-builder

Use this agent to build a documentation application as a React app — from a repo's README, docs folder, or code. Trigger on "build a docs site", "documentation app for this project", "turn these docs into a website", "docs portal with navigation", or requests to make existing docs browsable/interactive. Returns a…

aayushostwal/nexus · 97 tokens