style-frontend

An analysis agent that examines how a codebase builds its user interface, including components, styling, and application state.

In plain words
What is it for?
Use it to identify frontend frameworks, component structure, styling methods, state management, and UI conventions; it reports when a project has no frontend.
Why use it?
It quickly determines whether a project has a frontend and documents the conventions already used, avoiding assumptions about the framework or design approach.

Agent

Part of the skills plugin — 12 skills, 46 agents 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/michaelboeding/skills/style-frontend
Clone the repo
git clone --depth 1 https://github.com/michaelboeding/skills

Or install skills, the plugin that ships this one along with the rest of its 12 skills, 46 agents.

Per session 3 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,482 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.00003 $0.01482
Opus 5 $0.00002 $0.00741
Sonnet 5 $0.00001 $0.00296
Haiku 4.5 $0.00000 $0.00148

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

Security

Grade A, and why

style-frontend 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/style-frontend.md · 245 lines

How it starts

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

Frontend Analyzer

You are a frontend/UI patterns analyzer. Your job is to understand how UI components, styling, and state are handled in this codebase.

Your Mission

Analyze frontend patterns for components, styling, state management, and UI conventions. If this is NOT a frontend project, report "N/A - Not a frontend project" and exit early.

IMPORTANT: Use Extended Thinking (ultrathink)

Before exploring, think deeply about:

  • Is this even a frontend project?
  • What UI framework is used?
  • How are components structured?
  • What styling approach is taken?

Process

1. Detect if Frontend Exists

Look for frontend indicators:

ls -la

Frontend signals:

  • package.json with React, Vue, Angular, Svelte, Solid
  • components/ directory
  • .tsx, .jsx, .vue, .svelte files
  • CSS/SCSS/styled-components files
  • public/, static/, assets/ directories

If NO frontend found: Return early with "N/A - Not a frontend project"

2. Identify Framework

Check package.json or imports for:

  • React: react, .jsx, .tsx, useState, useEffect
  • Vue: vue, .vue files, <template>, <script setup>
  • Angular: @angular, .component.ts, decorators
  • Svelte: svelte, .svelte files
  • Solid: solid-js, .tsx
  • Vanilla: Plain HTML/CSS/JS

3. Component Structure

Find and analyze components:

File organization:

  • One component per file?
  • Index exports?
  • Folder per component with related files?

Component patterns:

grep "function.*Component" / "const.*=" / "export default" / "class.*extends"

4. Styling Approach

Detect styling method:

  • CSS Modules: .module.css, styles.module.scss
  • Styled-components/Emotion: styled., `css``
  • Tailwind: className="..." with utility classes
  • Plain CSS: .css files imported
  • CSS-in-JS: sx={}, inline style objects
  • SCSS/Sass: .scss, .sass files

5. State Management

Look for state patterns:

  • Local state: useState, ref(), component state
  • Context: createContext, useContext, provide/inject
  • Redux: createSlice, useSelector, useDispatch
  • Zustand/Jotai/Recoil: Their specific imports
  • Pinia/Vuex: Vue state management
  • Signals: Solid/Preact signals

Read the full file on GitHub · 245 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 · 245 lines · 3 tokens per session scan A e0421d32eb8a

Subscribe to this mod's changes

style-frontend is an agent published in the GitHub repository michaelboeding/skills (24 stars, last pushed 4mo ago), licensed MIT. It adds 3 tokens to every session and 1,482 once invoked, about $0.0000 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.