frontend-design

frontend-design is a command for Claude Code from Oriolshhh/runware-image-mcp. It costs 27 tokens per session (884 once invoked), scanned A, original, MIT.

A command for designing and building a new webpage, screen, or frontend component through a responsive, accessible, design-system-aware implementation.

In plain words
What is it for?
Use it for a new frontend surface when the repository has a runnable preview. It discovers the project setup, maps existing design-system parts, implements the surface, and validates it in the browser.
Why use it?
It turns a product goal into one coherent interface and verifies the result in the running application, including its visual behavior rather than only its source code.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md).

Good fit Use it for a new frontend surface when the repository has a runnable preview. It discovers the project setup, maps existing design-system parts, implements the surface, and validates it in the browser.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/oriolshhh/runware-image-mcp/frontend-design
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.

Clone the repo
git clone --depth 1 https://github.com/Oriolshhh/runware-image-mcp

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/frontend-design/github.svg)](https://agentmods.dev/commands/oriolshhh/runware-image-mcp/frontend-design)
Your own site
<a href="https://agentmods.dev/commands/oriolshhh/runware-image-mcp/frontend-design"><img src="https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/frontend-design/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-design

Your own site · 80×15
<a href="https://agentmods.dev/commands/oriolshhh/runware-image-mcp/frontend-design"><img src="https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 884 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.00027 $0.00884
Opus 5 $0.00014 $0.00442
Sonnet 5 $0.00005 $0.00177
Haiku 4.5 $0.00003 $0.00088

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

Security

Grade A, and why

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

.agent/commands/frontend-design.md · 83 lines

How it starts

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

/frontend-design — Design and build a frontend surface

Purpose

Create a production-quality page, screen, or component whose visual direction comes from the product brief and whose quality is proven in the rendered app.

Invocation

/frontend-design <surface and product goal>

Accepted input

A new frontend request, product goal, target users, route/component, references, brand constraints, or an approved spec. Real content is preferred.

Prerequisites

A frontend repository or approved location for a new frontend. A runnable preview is required before visual completion can be claimed.

Procedure

  1. Reuse fresh .agent/context/, inspect the relevant frontend, and discover its install, preview, test, styling, design-system, and browser-validation setup.
  2. Normalize the brief: target user, primary task, surface, content, constraints, success criteria, and desired degree of visual change. Ask one small grouped blocker batch only when repository evidence and safe defaults cannot answer it.
  3. Have design-system-specialist map existing tokens, primitives, components, themes, typography, icons, stories, and closest precedents.
  4. Have frontend-design-lead create one direction using frontend-design-direction. Use at most one enabled primary pack among frontend-design, taste-skill, and ui-ux-pro-max; optionally layer emil-design-engineering for motion. Disabled packs are not silently applied.
  5. Define complete states, responsive transitions, accessibility requirements, content/copy, motion intent, reused primitives, tests, and browser acceptance.
  6. Present a compact direction before code. Stop for explicit approval when the request materially changes brand language, navigation/information architecture, shared design-system APIs, dependencies, or product behavior. For a clear, scoped and reversible request, the invocation itself authorizes implementation.
  7. Have frontend-implementer implement the smallest coherent version. Preserve repository patterns and require approval before adding dependencies.
  8. Have visual-qa-tester run browser-visual-validation at representative narrow, medium, and wide states, including relevant loading/error/empty/success, keyboard/focus, long content, theme, zoom, and reduced-motion paths.
  9. Route independent review to accessibility-reviewer and, only when motion changed, motion-design-reviewer. Correct verified in-scope blockers once.
  10. Run configured gates and report the direction, files, states, viewports, browser evidence, tests, remaining risks, and untested coverage.

Read the full file on GitHub · 83 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 · 83 lines · 27 tokens per session scan A dcfe712cc325

Subscribe to this mod's changes

frontend-design is a command published in the GitHub repository Oriolshhh/runware-image-mcp (0 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 884 once invoked, about $0.0001 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-31.