WAVE: Skill for Claude Code

.agents/skills/scaffold-frontend/SKILL.md

scaffold-frontend is a skill for Claude Code, Codex from emilyLi2020/WAVE. It costs 75 tokens per session (1,681 once invoked), scanned A, original, Apache-2.0.

A tool that scaffolds a Next.js, TypeScript, and Tailwind frontend from a project's PRD.md and AGENTS.md files. A PRD is a product requirements document; AGENTS.md contains instructions for coding agents.

In plain words
What is it for?
It creates pages, navigation, and placeholder components inside a clients/ directory, using the documented pages, user flow, and data types.
Why use it?
It turns the written product requirements into an initial frontend structure while refusing to guess when the required project documents are missing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md; mentions Cursor.

This is emilyLi2020/WAVE's own configuration. It tells Claude Code and Codex how to work on WAVE 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 WAVE configures →

Reuse

Borrowing it

Nothing to install: this file belongs to emilyLi2020/WAVE. 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/emilyLi2020/WAVE/main/.agents/skills/scaffold-frontend/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/emilyLi2020/WAVE

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/emilyli2020/wave/scaffold-frontend.svg)](https://agentmods.dev/skills/emilyli2020/wave/scaffold-frontend)
Your own site
<a href="https://agentmods.dev/skills/emilyli2020/wave/scaffold-frontend"><img src="https://agentmods.dev/badge/skills/emilyli2020/wave/scaffold-frontend.svg" alt="Measured on agentmods" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,681 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.00075 $0.01681
Opus 5 $0.00037 $0.00840
Sonnet 5 $0.00015 $0.00336
Haiku 4.5 $0.00007 $0.00168

Measured 7d ago against content hash 0bfed7e654f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

scaffold-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 7d 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/skills/scaffold-frontend/SKILL.md · 165 lines

How it starts

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

Scaffold Frontend

This skill creates the frontend for the user's project inside a clients/ directory at the repo root. The app is driven by the existing PRD.md and AGENTS.md. Every page, every navigation link, and every data type is derived from those two files.

Preflight: PRD and AGENTS Must Exist

Before doing anything else, check that both files exist at the repo root:

test -f AGENTS.md && test -f PRD.md && echo OK || echo MISSING

If either file is missing, STOP and respond exactly:

This skill cannot run yet. AGENTS.md and PRD.md must exist at the repo root before scaffolding the frontend. Run the domain-to-spec skill first, or run the quickstart skill to chain everything automatically.

Do not create any files. Do not ask clarifying questions. Just direct the user to domain-to-spec.

Step 1: Read the PRD and AGENTS

Read PRD.md and AGENTS.md end-to-end. Extract:

  • Project name and one-sentence summary (from PRD.md > What Is This?)
  • Pages list (from PRD.md > Pages / Screens table). You will generate one route per row.
  • User flow (from PRD.md > User Flow). Used to order the pages and decide navigation.
  • Core features (from PRD.md > Core Features (MVP)). Used to decide the primary CTA on the landing page.
  • Data model (from PRD.md > Data Model). Used to create TypeScript interfaces in clients/types/.
  • Backend Needed? (from PRD.md > Backend Needed?). If Yes, create clients/lib/api.ts with a fetch wrapper pointed at NEXT_PUBLIC_API_URL. If No, skip that file.
  • Tech stack and code style (from AGENTS.md). Match the conventions it declares.

Step 2: Scaffold clients/

Run these commands from the repo root:

pnpm create next-app@latest clients --typescript --tailwind --app --eslint --src-dir=false --import-alias="@/*" --turbopack --no-install
cd clients && pnpm install

Notes:

  • The scaffold goes into clients/ at the repo root, NOT a sibling of the repo.
  • If clients/ already exists and is non-empty, STOP and ask the user whether to overwrite, merge, or skip. Never overwrite silently.

Read the full file on GitHub · 165 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. 7d ago First seen · 165 lines · 75 tokens per session scan A 0bfed7e654f8

Subscribe to this mod's changes

scaffold-frontend is a skill published in the GitHub repository emilyLi2020/WAVE (2 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 1,681 once invoked, about $0.0004 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.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

repro-admin

Reproduce an EmDash admin UI bug. Attach a container, start the demo dev server, drive the admin with agent-browser using the dev-bypass session, and capture the reproduction as screenshots plus a replayable transcript.

emdash-cms/emdash · 48 tokens

create-site

Creates a new Power Pages code site (SPA) using React, Angular, Vue, or Astro. Guides through the full process from initial concept to deployed site: requirements discovery, scaffolding, component planning, design, implementation, validation, and deployment. Use when the user wants to create, build, or scaffold a new…

microsoft/power-platform-skills · 73 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens

menu-transitions-rtl

Animate react-horizontal-scrolling-menu scrolling and build right-to-left menus: noPolyfill defaults to true since v8, so transitionDuration (default 500), a custom-easing-function transitionBehavior, and per-call ScrollOptions { duration, boundary } on scrollToItem/scrollNext/scrollPrev are silently ignored unless…

asmyshlyaev177/react-horizontal-scrolling-menu · 137 tokens

vite

Vite build tool configuration, plugin API, SSR, and Vite 8 Rolldown migration. Use when working with Vite projects, vite.config.ts, Vite plugins, or building libraries/SSR apps with Vite.

antfu/skills · 49 tokens