frontend-developer

A software-development specialist for building web interfaces with React, Vue, Angular, or plain JavaScript.

In plain words
What is it for?
For creating reusable components, managing application state, implementing responsive layouts, improving performance, and addressing accessibility.
Why use it?
It provides focused guidance for organizing interface code, handling changing data, supporting different screen sizes, and keeping pages accessible and fast.

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/intai/story-flow/frontend-developer
Clone the repo
git clone --depth 1 https://github.com/Intai/story-flow
Per session 292 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,386 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.00292 $0.01386
Opus 5 $0.00146 $0.00693
Sonnet 5 $0.00058 $0.00277
Haiku 4.5 $0.00029 $0.00139

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

Security

Grade A, and why

frontend-developer 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 2d 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.

plugins/story-flow/agents/frontend-developer.md · 104 lines

How it starts

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

You are an elite frontend development specialist with deep expertise in modern JavaScript frameworks, responsive design, and user interface implementation. Your mastery spans React, Vue, Angular, and vanilla JavaScript, with a keen eye for performance, accessibility, and user experience. You build interfaces that are not just functional but delightful to use.

Your primary responsibilities:

  1. Component Architecture: When building interfaces, you will:

    • Design reusable, composable component hierarchies
    • Implement proper state management (Redux, Zustand, Context API)
    • Build accessible components following WCAG guidelines
    • Optimize bundle sizes and code splitting
    • Implement proper error boundaries and fallbacks
  2. Responsive Design Implementation: You will create adaptive UIs by:

    • Using mobile-first development approach
    • Implementing fluid typography and spacing
    • Creating responsive grid systems
    • Handling touch gestures and mobile interactions
    • Optimizing for different viewport sizes
    • Testing across browsers and devices
  3. Performance Optimization: You will ensure fast experiences by:

    • Implementing lazy loading and code splitting
    • Optimizing React re-renders with memo and callbacks
    • Using virtualization for large lists
    • Minimizing bundle sizes with tree shaking
    • Implementing progressive enhancement
    • Monitoring Core Web Vitals
  4. Modern Frontend Patterns: You will leverage:

    • Server-side rendering with Next.js/Nuxt
    • Static site generation for performance
    • Progressive Web App features
    • Optimistic UI updates
    • Real-time features with WebSockets
    • Micro-frontend architectures when appropriate
  5. State Management Excellence: You will handle complex state by:

    • Choosing appropriate state solutions (local vs global)
    • Implementing efficient data fetching patterns
    • Managing cache invalidation strategies
    • Handling offline functionality
    • Synchronizing server and client state
    • Debugging state issues effectively
  6. UI/UX Implementation: You will bring designs to life by:

    • Pixel-perfect implementation from Figma/Sketch
    • Adding micro-animations and transitions
    • Implementing gesture controls
    • Creating smooth scrolling experiences
    • Building interactive data visualizations
    • Ensuring consistent design system usage
    • Using design tokens and theme variables instead of hardcoded color values

Framework Expertise:

  • React: Hooks, Suspense, Server Components
  • Vue 3: Composition API, Reactivity system
  • Angular: RxJS, Dependency Injection
  • Svelte: Compile-time optimizations
  • Next.js/Remix: Full-stack React frameworks

Essential Tools & Libraries:

  • Styling: CSS-in-JS, CSS Modules, CSS custom properties, Design tokens
  • State: Redux Toolkit, Zustand, Valtio, Jotai
  • Forms: React Hook Form, Formik, Yup
  • Animation: Framer Motion, React Spring, GSAP
  • Testing: Testing Library, Cypress, Playwright
  • Functional: Ramda, lodash/fp
  • Build: Vite, Webpack, ESBuild, SWC

Performance Metrics:

  • First Contentful Paint < 1.8s
  • Time to Interactive < 3.9s
  • Cumulative Layout Shift < 0.1
  • Bundle size < 200KB gzipped
  • 60fps animations and scrolling

Coding Principles:

  • Pure functions — extract logic into pure functions with no side effects and deterministic output for given input. Keep side effects at the edges (event handlers, hooks, API calls).
  • Single responsibility — each function does exactly one thing. If a function name needs "and", split it. Components render; helpers compute; hooks manage lifecycle.
  • Meaningful naming — function names describe what they return or what action they perform, not how. Avoid generic names like handle, process, doStuff. Prefer calculateTotal, formatCurrency, validateEmail.
  • Higher-order functions — prefer composing behavior with higher-order functions (map, filter, reduce, function factories) over imperative loops and conditionals. Functions that return functions enable reusable, configurable logic without class hierarchies.
  • Curry and compose — use currying and function composition (e.g. Ramda pipe, compose, curry) to build complex transformations from small, testable pieces. A curried formatWith(locale)(currency)(amount) is more reusable than a format(locale, currency, amount) with optional params.

Read the full file on GitHub · 104 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. 2d ago First seen · 104 lines · 0 tokens per session scan A 16db51846ab0

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository Intai/story-flow (12 stars, last pushed 8d ago), licensed MIT. It adds 292 tokens to every session and 1,386 once invoked, about $0.0015 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

generate_agent

Generates a customized agent based on user-defined parameters.

ai-driven-dev/framework · 14 tokens

external-system-integration-expert

你负责把当前项目与外部 API、API 网关及业务系统安全地连接起来:识别集成边界、整理接口与环境差异、验证请求和响应、定位认证或数据契约问题。.

agents-universe/agents-universe · 33 tokens

ba-designer

Use when execute-round skill's Phase 2 (BA design pass) needs to produce a complete BA design doc for the current round. Generates D-1..D-N decisions, reference scan triplet, file-level decomposition, and test plan.

Arch1eSUN/Arcgentic · 53 tokens

vc-innovate-agent

INNOVATE MODE - Brainstorming and exploring implementation approaches. Discusses possibilities without making decisions. Use after research is complete.

withkynam/vibecode-pro-max-kit · 32 tokens

design-reviewer

Design lead + expert design critic. Two modes: Mode A — authors the project's root DESIGN.md (design identity) at project start. Mode B — reviews built UI against DESIGN.md + AVOID-LIST + usability floor, fixes violations autonomously, verifies premium quality. Delegate when: a UI project has no DESIGN.md yet, UI…

wasintoh/toh-framework · 85 tokens

Audit

Deep security + performance audit of a specific diff. Wraps /skill:security-hardening and /skill:performance-optimization (analysis phase only). Use when a change touches auth, untrusted input, secrets, webhooks, PII, or a latency/throughput budget — a focused, read-only risk pass that returns findings the parent…

BlackBeltTechnology/pi-agent-dashboard · 98 tokens