frontend-development

frontend-development is a skill for Claude Code from dhslegen/digital-delivery-team. It costs 75 tokens per session (2,415 once invoked), scanned A, original, MIT.

A set of instructions for building the user-facing part of a web application, such as its pages, controls, and interactions. It applies to single-page applications and follows the project’s API, product, technology, and design documents.

In plain words
What is it for?
Use it when implementing or reviewing files in a web front end, connecting screens to an API contract, or incorporating approved design sources.
Why use it?
It helps keep the interface aligned with the defined data and error rules instead of inventing fields or behavior. It also requires the finished front end to pass build, lint, and type checks.

Skill for Claude Code

Written for Claude Code: PreToolUse hook event. Also seen: mentions subagents; names the AskUserQuestion tool.

Part of the digital-delivery-team plugin — 13 skills, 21 commands, 9 agents, 8 hooks shipped together

Good fit Use it when implementing or reviewing files in a web front end, connecting screens to an API contract, or incorporating approved design sources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dhslegen/digital-delivery-team/frontend-development
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.

Any agent
npx skills add dhslegen/digital-delivery-team --skill frontend-development
Clone the repo
git clone --depth 1 https://github.com/dhslegen/digital-delivery-team

Made for: Claude Code.

Or install digital-delivery-team, the plugin that ships this one along with the rest of its 13 skills, 21 commands, 9 agents, 8 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/dhslegen/digital-delivery-team/frontend-development.svg)](https://agentmods.dev/skills/dhslegen/digital-delivery-team/frontend-development)
Your own site
<a href="https://agentmods.dev/skills/dhslegen/digital-delivery-team/frontend-development"><img src="https://agentmods.dev/badge/skills/dhslegen/digital-delivery-team/frontend-development.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 2,415 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.02415
Opus 5 $0.00037 $0.01208
Sonnet 5 $0.00015 $0.00483
Haiku 4.5 $0.00007 $0.00242

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

Security

Grade A, and why

frontend-development 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.

skills/frontend-development/SKILL.md · 172 lines

How it starts

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

Frontend Development · 前端实现知识包

M6.4 整改:v0.6.x 用 frontend-agent subagent 黑盒派发。v0.7.0 改 main thread + 6-phase 范式。 本 skill 是 main thread 实现 web/ 时的"必读知识包"。

Triggers

  • /build-web 命令的 IMPLEMENT phase(frontend.type === "spa"server-side / none 由 build-web Phase 1 提前 noop 退出)
  • /impl 命令串行执行前端阶段
  • 任何 main thread 写 web/**/*.{tsx,ts,vue,html,css} 文件时
  • /design-brief 编译 brief 与 /design-execute --channel <type> 派发/摄取外部设计稿时

PR-E(v0.7.2):当 .ddt/tech-stack.json::frontend.typeserver-side(Thymeleaf/JSP/FreeMarker/...)或 none 时,没有独立的 web/ 工程,本 skill 不应被触发。模板由 backend 项目(如 src/main/resources/templates/)承载,归 /build-api + skills/backend-development 处理。

Inputs(main thread 必读清单)

  • docs/api-contract.yaml(唯一接口真相源)
  • docs/prd.md(UX 语义参考)
  • .ddt/tech-stack.json(前端栈 + ai_design 选项 SSoT,禁止偏离)
  • skills/api-contract-first/SKILL.md(契约优先原则)
  • skills/ai-native-design/SKILL.md(AI 设计稿工作流:claude-design / figma / v0)
  • contexts/delivery.md(DDT 全局上下文)
  • rules/delivery/agent-invariants.md(6 条全局不变量)

Hard Requirements(main thread 必须遵守)

  1. 严格按契约:不得擅自发明字段、改字段名、改错误码(contract 不清写 blocker,不要猜)
  2. build/lint/typecheck:完成后必须跑构建 + lint + type-check + 最小 happy-path UI 测试
  3. 代码组织web/ 目录;组件测试放 web/__tests__/
  4. 统一 client:所有网络调用走统一 client(自动从 OpenAPI 生成 types,如 openapi-typescript
  5. 栈刚性约束:必须使用 .ddt/tech-stack.json::frontend 段定义的 framework / bundler / ui / state / data_fetching;禁止偏离
  6. AI-native UI 工作流:按 tech-stack.json::ai_design.type 决定 UI 来源(claude-design / figma / v0);接入流程统一为 /design-brief/design-execute --channel <type> → main thread 按 ai-native-design SKILL §7 改写
  7. SSoT 锁死.ddt/tech-stack.json 仅可 Read,严禁 Write/Edit/MultiEdit(PreToolUse hook 硬拦截)
  8. validation loop:每完成一个组件立即跑 build / lint / type-check / 组件测试,失败立即停下

6-Phase 实施流程(main thread)

Phase 1: EXPLORE

如果 web/ 已有代码:

  • 用 Grep / Glob / Read 扫描组件树 + 已有 hooks / store / api client
  • 找类似页面作参照
  • docs/build-web-exploration.md

Read the full file on GitHub · 172 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 · 172 lines · 75 tokens per session scan A 702f14c6e719

Subscribe to this mod's changes

frontend-development is a skill published in the GitHub repository dhslegen/digital-delivery-team (1 stars, last pushed 3mo ago), licensed MIT. It adds 75 tokens to every session and 2,415 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

design-system-reference

Style guides and implementation rules for frontend design. Works with design-discovery agent which handles context gathering and VS-based style recommendations. Contains detailed style guides, anti-patterns, and implementation checklists.

wigtn/wigtn-plugins · 43 tokens

site-to-prompt

Use when given a website URL and asked to reverse-engineer it — to produce a detailed reconstruction prompt and/or rebuild the site in HTML/CSS or React/Tailwind. Covers animated, scroll-driven, and WebGL sites.

dhernz/site-to-prompt · 51 tokens

scroll-craft

Build premium scroll-driven landing pages for service, product, food, and drink brands. Plan the visitor journey, page grammar, emotional peak, and bespoke signature move. Create dimensional heroes with independent visual planes, restrained motion, and separate mobile composition. Use supplied photos and footage or…

nateherkai/scroll-craft · 177 tokens

interface-redesign

Upgrades an existing interface to a higher standard without rebuilding it — auditing what is there, identifying what reads as generic or unfinished, and sequencing changes by impact. Use this when a product works but looks dated or default, when a redesign is being considered, when deciding whether to restyle or…

cbrock84/headcount · 77 tokens

team-memory-protocol

A shared-memory process for teams of coding agents working on the same build. It stores project knowledge, shared context, and task progress in separate files or repositories.

wigtn/wigtn-plugins · 42 tokens

knowledge-wiki

A tool that turns useful lessons from coding sessions into general articles for a team wiki. A wiki is a collection of linked reference pages, and this one can be kept locally or shared through a Git repository.

wigtn/wigtn-plugins · 97 tokens