implement-spec-frontend

implement-spec-frontend is a command for Claude Code from Oriolshhh/runware-image-mcp. It costs 34 tokens per session (1,495 once invoked), scanned A, original, MIT.

A command that carries out an approved plan for redesigning an existing web interface, then checks the result in a browser with several reviewers.

In plain words
What is it for?
Use it to apply an approved frontend redesign specification, compare the rendered page with the plan, and validate the result across design, UX, interaction, accessibility, and testing concerns.
Why use it?
It helps prevent a planned redesign from being implemented incorrectly or leaving usability, accessibility, visual, or interaction problems unnoticed.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents.

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 commands/oriolshhh/runware-image-mcp/implement-spec-frontend
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 implement-spec-frontend

README.md
[![agentmods](https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/implement-spec-frontend.svg)](https://agentmods.dev/commands/oriolshhh/runware-image-mcp/implement-spec-frontend)
Your own site
<a href="https://agentmods.dev/commands/oriolshhh/runware-image-mcp/implement-spec-frontend"><img src="https://agentmods.dev/badge/commands/oriolshhh/runware-image-mcp/implement-spec-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 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,495 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.1 $0.00034 $0.01495
Opus 5 $0.00017 $0.00747
Sonnet 5 $0.00007 $0.00299
Haiku 4.5 $0.00003 $0.00150

Measured 5d ago against content hash 1d315f21071e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

implement-spec-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 5d 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/implement-spec-frontend.md · 125 lines

How it starts

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

/implement-spec-frontend — Implement an approved frontend redesign

Purpose

Implement an approved /spec-frontend artifact faithfully, then prove the redesign in the rendered product with independent specialist review.

Invocation

/implement-spec-frontend <spec name or path>

Accepted input

An approved .agent/specs/*.md file with work_type: frontend-redesign, baseline conditions, an implementation plan, and browser acceptance scenarios.

Prerequisites

  • The spec exists, is readable, and has status: approved.
  • The target route, preview, stable fixture/data, and required source paths are available.
  • Material brand, product, information-architecture, dependency, and shared design-system decisions are already approved.

Procedure

  1. Read the entire spec and confirm generated_by: spec, work_type: frontend-redesign, status: approved, repository revision, source paths, preservation constraints, requirements, tasks, tests, browser scenarios, and approval-sensitive decisions. Stop if the spec is unapproved.
  2. Apply context-discovery, then verify change-sensitive claims against source. If the target, design system, route behavior, fixtures, or relevant source has materially drifted, return to /spec-frontend for an amendment; do not reinterpret a stale direction while coding.
  3. Reproduce the spec's baseline before editing with browser-visual-validation. Use identical route, data, state, viewport, theme, and interaction conditions. If comparison conditions changed, repair the fixture or stop—the final cannot be compared against a different baseline.
  4. Load and apply the curated canonical skills required by the approved scope: frontend-guidelines, code-quality-guidelines, frontend-design-direction, visual-craft, design-system-integration, ui-state-design, responsive-ui-engineering, accessible-ui-engineering, motion-design, test-design, and browser-visual-validation. Load architecture-guidelines only for approved shared frontend architecture, routing, data-flow, or design-system ownership changes.
  5. Inspect active packs. If more than one primary aesthetic pack is enabled, stop and ask the user to choose exactly one; do not rely on priority order to reconcile contradictory visual directions. Otherwise apply at most one explicitly enabled primary aesthetic pack (frontend-design, taste-skill, or ui-ux-pro-max) plus optional emil-design-engineering. Do not silently enable packs, blend conflicts, fetch remote prompts, execute upstream installers/scripts, or add a dependency because a third-party skill prefers it.
  6. Hand the approved brief, context capsule, reuse map, preservation list, tasks, and acceptance matrix to frontend-implementer. Use one coherent production-code writer by default; do not assign overlapping UI files to parallel agents. Parallelize only truly independent read-only research, isolated tests, or non-overlapping assets explicitly marked safe by the spec.
  7. Implement in dependency order: semantics and content, state/behavior, structure and responsive transitions, visual system, then justified interaction/motion. Reuse local primitives, keep scope coherent, and add the specified unit/component/E2E/visual/accessibility tests.
  8. Run independent final checks, in parallel when native isolated subagents are available and otherwise as honestly labelled separated passes:
    • visual-qa-tester: like-for-like baseline/final browser comparison, relevant viewports/states/themes/zoom/long content, console, and network;
    • accessibility-reviewer: keyboard, focus, semantics, names/states, contrast, reflow, reduced motion, forms, and recovery;
    • visual-craft-specialist: approved direction, hierarchy, typography, color, spacing, density, alignment, shape, icon/image, and anti-slop fidelity;
    • ux-reviewer: named task outcome, comprehension, friction, copy, and recovery;
    • motion-design-reviewer when interaction or motion changed: purpose, responsiveness, interruption, reduced motion, and performance.
  9. Consolidate only reproducible, in-scope blockers. Have frontend-implementer perform at most one correction pass, then re-run the affected checks. Do not create a hidden unbounded loop. If blockers remain, stop with evidence and use the configurable improve-ui-ux loop only when the user explicitly wants additional bounded iterations.
  10. Run configured gates. Write or update .agent/evidence/ui/<spec-name>/report.md with baseline/final conditions, evidence paths, changed files, requirement coverage, specialist execution mode and verdicts, states/viewports, accessibility, motion, console/network, tests/gates, deviations, remaining blockers, and untested coverage.

Read the full file on GitHub · 125 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. 5d ago First seen · 125 lines · 34 tokens per session scan A 1d315f21071e

Subscribe to this mod's changes

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