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/github.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/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 scaffold-frontend

Your own site · 80×15
<a href="https://agentmods.dev/skills/emilyli2020/wave/scaffold-frontend"><img src="https://agentmods.dev/badge/skills/emilyli2020/wave/scaffold-frontend.svg" alt="Reviewed on agentmods" width="80" 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.5 $0.00030 $0.00672
Sonnet 5.5 $0.00015 $0.00336
Haiku 4.5 $0.00007 $0.00168

Measured 1mo ago against content hash 0bfed7e654f8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 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.

.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. 1mo 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 4mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 1,681 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chronicle

Analyze Copilot session history for standup reports, usage tips, session search, and session reindexing. Use when the user asks for a standup, daily summary, usage tips, workflow recommendations, wants to search or find past sessions by keyword/file/PR, wants to reindex their session store, or asks about deleting…

microsoft/vscode · 72 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

component-fixtures

Use when creating or updating component fixtures for screenshot testing or their shared infrastructure, or when designing UI components to be fixture-friendly. Covers fixture file structure, theming, service setup, CSS scoping, async rendering, validation, and common pitfalls.

microsoft/vscode · 53 tokens