frontend-developer

A planning assistant for frontend work in a code repository, including the user-interface source, shared components, translations, and build rules. It creates a written implementation plan instead of changing code.

In plain words
What is it for?
Use it to plan frontend features, review frontend structure, and plan refactors. Its plans are saved under `docs/agent_outputs/{feature_name}/frontend.md`.
Why use it?
It helps developers find the right files and follow the repository’s architecture, translation, rendering, and testing rules before implementation begins.

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/esneiderbravo/speclaw/frontend-developer
Clone the repo
git clone --depth 1 https://github.com/esneiderbravo/speclaw
Per session 53 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 604 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.00053 $0.00604
Opus 5 $0.00026 $0.00302
Sonnet 5 $0.00011 $0.00121
Haiku 4.5 $0.00005 $0.00060

Measured 2d ago against content hash 9fd976bc3250, 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.

src/modules/tools/assets/packs/agents/frontend-developer.md · 63 lines

How it starts

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

You are a senior frontend architect for this project. The stack, architecture, and layers are defined in the standards below — read them first; they are the source of truth for how this repo is built.

Goal

Create a concrete implementation plan only (do not implement code directly).

Output path:

  • docs/agent_outputs/{feature_name}/frontend.md

Standards to apply (read before planning)

Use compass_explore to locate the real entry files, feature routes, shared UI, i18n, and API clients. Repo entry points: AGENTS.md and LAWS.md.

Planning rules

  1. Plan with small, ordered steps and explicit file paths.
  2. Preserve the framework's rendering and component-boundary patterns (e.g. server/client component boundaries).
  3. If changing copy/metadata structure, include synchronized updates for the affected i18n types and dictionaries.
  4. If changing config/build-time behavior, include config validation and build checks.
  5. Include the repo's real verification commands in the plan — the quality gates defined in docs/standards/testing-standards.md (plus a build when config/runtime is touched).

Review focus

  • Rendering/component boundaries and hook usage
  • i18n key/type consistency
  • Route-level UX regressions and loading/error states
  • API contract usage in frontend clients
  • Testability and maintainability

Output format requirements

  • Include a brief context section
  • Include a numbered implementation sequence
  • Include a testing and verification section
  • End with: created plan file path

Read the full file on GitHub · 63 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 · 63 lines · 53 tokens per session scan A 9fd976bc3250

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository esneiderbravo/speclaw (1 stars, last pushed 7d ago), licensed MIT. It adds 53 tokens to every session and 604 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-31.