SDD-Pro: Command for Claude Code

.claude/commands/dev-frontend.md

dev-frontend is a command for Claude Code from zekiriabd/SDD-Pro. It costs 17 tokens per session (741 once invoked), scanned A, original, Apache-2.0.

An internal command that turns one written user story into frontend code and any related HTML mockup into pages, components, layouts, styles, and startup HTML. A user story is a short description of a software requirement from the user's point of view.

In plain words
What is it for?
Use it to implement one existing frontend user story at a time from the project's workspace files. It can create the client interface, visual layout, theme styles, and initial HTML structure.
Why use it?
It connects a defined frontend requirement to the client-side files needed to implement it. It also skips requirements that only concern the backend, which is the server-side part of an application.

Command for Claude Code

Written for Claude Code: installed under .claude/. Also seen: reads .claude/ paths.

This is zekiriabd/SDD-Pro's own configuration. It tells Claude Code how to work on SDD-Pro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything SDD-Pro configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zekiriabd/SDD-Pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/zekiriabd/SDD-Pro/main/.claude/commands/dev-frontend.md
Clone the repo
git clone --depth 1 https://github.com/zekiriabd/SDD-Pro

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 dev-frontend

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/zekiriabd/sdd-pro/dev-frontend"><img src="https://agentmods.dev/badge/commands/zekiriabd/sdd-pro/dev-frontend.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 741 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.00017 $0.00741
Opus 5.5 $0.00007 $0.00296
Sonnet 5.5 $0.00003 $0.00148
Haiku 4.5 $0.00002 $0.00074

Measured 1mo ago against content hash 9b64f90b1ffd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dev-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 1mo 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.

.claude/commands/dev-frontend.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.

/dev-frontend — Génère le code client d'UNE US

⚠️ Commande interne v7.0.0 — invoquée par /dev-run STEP 6.c (batch 1 US). Utilisateur final : préférer /sdd-full ou /dev-run (gèrent pré-conditions, idempotence, état).

Invoque l'agent dev-frontend pour matérialiser l'US workspace/us/{n}-{m}-{Name}.md + le mockup HTML éventuel workspace/ui/{n}-{m}-{Name}.html en code client (Pages, Components, Layouts, theme.css, bootstrap HTML). L'agent planifie inline les fichiers à produire à partir de l'US + du mockup HTML + des stacks frontend/ui actifs.

Si l'US n'a aucune contrepartie frontend (US backend pure), l'agent exit silencieusement avec une ligne skipped (backend-only US).

1 invocation = 1 US = 1 build frontend. Pour traiter plusieurs US, lancer la commande plusieurs fois ou utiliser /dev-run {n}.

Usage : /dev-frontend {n}-{m} — où {n}-{m} cible une US existante (ex. /dev-frontend 1-2).


STEP 1 — Valider l'argument

Argument obligatoire : {n}-{m}.

Si absent → demander :

Quelle est l'US à matérialiser côté frontend ? (format : {n}-{m}, ex. 1-2)

Si format invalide →

ERROR: /dev-frontend — argument invalide
CAUSE: [INVALID_ARG] "{argument}" ne respecte pas le format {n}-{m}
FIX: relancer /dev-frontend {n}-{m} (ex. /dev-frontend 1-2)

STEP 2 — Invoquer l'agent dev-frontend

Lancer l'agent dev-frontend (défini dans .claude/agents/dev-frontend.md) avec l'argument {n}-{m}. L'agent gère :

  • la lecture sélective de l'US, du mockup HTML, des stacks frontend + UI actifs
  • le plan inline des fichiers client (ou exit silencieux si US backend-only)
  • la génération de code conforme au mapping du stack (HTML brut traduit en composants natifs DS)
  • le build loop (max 3 itérations)
  • la vérification de fidélité textuelle (libellés HTML présents dans le markup généré)
  • la confirmation 1 ligne

Attendre la fin de l'agent. Relayer sa sortie telle quelle.


STEP 3 — Confirmation finale

Si l'agent réussit avec génération, ajouter UNE SEULE ligne :

Prochaine étape : si l'US a une partie backend, lancer /dev-backend {n}-{m}.

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. 1mo ago First seen · 83 lines · 17 tokens per session scan A 9b64f90b1ffd

Subscribe to this mod's changes

dev-frontend is a command published in the GitHub repository zekiriabd/SDD-Pro (196 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 17 tokens to every session and 741 once invoked, about $0.0001 per session on Opus 5.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.