frontend-design-writer

frontend-design-writer is a skill for Claude Code, Codex from kkunkunya/ai-frontend-design-kit. It costs 205 tokens per session (5,806 once invoked), scanned A, original, MIT.

A writer for maintaining design.md, DESIGN-LANGUAGE.md, and MOTION-SPEC.md: documents that describe how a website should look, behave, and move throughout development.

In plain words
What is it for?
Use it to create or update the website design contract across design stages, including visual direction, page mockups, motion prompts, and reusable design rules.
Why use it?
It turns research, interviews, visual references, and animation decisions into instructions an implementation agent can follow.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /Users/kunkun/note/01-AI工程/AI设计与前端/01-认知框架/AI前端设计认知框架.md.

Part of the ai-frontend-design-kit plugin — 10 skills shipped together

Good fit Use it to create or update the website design contract across design stages, including visual direction, page mockups, motion prompts, and reusable design rules.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add kkunkunya/ai-frontend-design-kit
Claude Code
/plugin install ai-frontend-design-kit

Made for: Claude Code, Codex.

Or install ai-frontend-design-kit, the plugin that ships this one along with the rest of its 10 skills.

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-design-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer/github.svg)](https://agentmods.dev/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer)
Your own site
<a href="https://agentmods.dev/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer"><img src="https://agentmods.dev/badge/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer/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 frontend-design-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer"><img src="https://agentmods.dev/badge/skills/kkunkunya/ai-frontend-design-kit/frontend-design-writer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 205 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,806 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.00205 $0.05806
Opus 5 $0.00102 $0.02903
Sonnet 5 $0.00041 $0.01161
Haiku 4.5 $0.00020 $0.00581

Measured 11d ago against content hash 3e0b6c1d6044, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

frontend-design-writer 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 11d 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-design-writer/SKILL.md · 339 lines

How it starts

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

Packaged Knowledge Snapshot

This packaged copy includes local note snapshots for portability. When the original Obsidian absolute path is unavailable, use the packaged snapshot instead:

  • /Users/kunkun/note/01-AI工程/AI设计与前端/01-认知框架/AI前端设计认知框架.md -> references/packaged-knowledge/AI前端设计认知框架.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/01-认知框架/主语言是设计的第一原则.md -> references/packaged-knowledge/主语言是设计的第一原则.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/01-认知框架/六维:形色字构质动是网站试吃的机械骨架.md -> references/packaged-knowledge/六维:形色字构质动是网站试吃的机械骨架.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/02-执行方法/AI 前端动效盲区与采访补偿.md -> references/packaged-knowledge/AI 前端动效盲区与采访补偿.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/02-执行方法/动效文档两层:MOTION-SPEC vs 实现 prompt 集.md -> references/packaged-knowledge/动效文档两层:MOTION-SPEC vs 实现 prompt 集.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/02-执行方法/深度采访双轮:产品设计师视角的横切机制.md -> references/packaged-knowledge/深度采访双轮:产品设计师视角的横切机制.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/02-执行方法/视觉锚定三件套:代价结构与资产生成双路径.md -> references/packaged-knowledge/视觉锚定三件套:代价结构与资产生成双路径.md

Frontend Design Writer

这个 skill 在做什么

把前端阶段 1-4 的所有产出(主语言、六维试吃数据、双轮采访记录、视觉锚定三件套、资源选型)压缩成三份 Agent 可执行的交付文件。核心过程是三轮写作,不是从 §1 顺着写到 §14。

在阶段化流程里的位置

本 skill 贯穿阶段 1-7(见 [[AI前端设计认知框架]]),是所有其他前端 skill 的汇总写手:

阶段1 前轮采访 ─┐
阶段2 六维试吃 ─┤
阶段3 后轮采访 ─┼─→ design.md 初稿 → 定稿
阶段4 视觉锚定 ─┘    ↓
                    §12 §13 §14 引用视觉锚定三件套
                    ↓
阶段6 代码实现 ──── Pre-flight 外显化读本文件
                    ↓
阶段7 迭代微调 ──── review 反写回本文件

kun 15 段分工:

  • §0-§11:原 12 段(主语言 + token + Agent prompt guide + motion spec + interview)
  • §12 Moodboard Prompt(视觉锚定 A):引用 knowledge/design-docs/visual-anchors/moodboard-prompt.md
  • §13 Page Mockup Prompt(视觉锚定 B):引用 knowledge/design-docs/visual-anchors/mockup-*.md
  • §14 Motion Prompts(视觉锚定 C + 动效微观层):引用 knowledge/design-docs/visual-anchors/motion-frames/knowledge/design-docs/motion-prompts/

Read the full file on GitHub · 339 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. 11d ago First seen · 339 lines · 205 tokens per session scan A 3e0b6c1d6044

Subscribe to this mod's changes

frontend-design-writer is a skill published in the GitHub repository kkunkunya/ai-frontend-design-kit (7 stars, last pushed 3mo ago), licensed MIT. It adds 205 tokens to every session and 5,806 once invoked, about $0.0010 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

ux-design

Use when the user asks for UX, product flow, user journey, wireframes, usability, conversion, onboarding, checkout, signup, navigation, forms, state design, dashboard workflows, command palettes, settings, permissions, long-running task progress, admin/internal tools, activation, retention, or making an app easier to…

f0d010c/stark · 125 tokens

android-design

Use when the user asks for an Android app, Compose UI, Material 3, Material You, Material 3 Expressive, Pixel-style app, foldable/adaptive layout, Play Store deliverable, React Native Android, Flutter Android, Compose Multiplatform, or any Android deliverable. Builds Android apps across system-like Compose, branded…

f0d010c/stark · 128 tokens

design-tokens

Use when the user asks for design tokens, DTCG tokens, theme systems, color/typography/spacing/radius/elevation/motion tokens, translating tokens, exporting tokens, making a Compose color scheme from a palette, auditing tokens, or sharing a single token source across web and native. Generates, audits, and translates…

f0d010c/stark · 126 tokens

apple-design

Use when the user asks for SwiftUI, UIKit, AppKit, iOS, iPadOS, macOS, watchOS, visionOS, Liquid Glass, HIG, SF Symbols, App Store deliverables, Apple settings/forms, branded Apple apps, React Native iOS, Flutter Cupertino, or Electron/Tauri macOS shells. Builds Apple-platform apps across system-like SwiftUI, branded…

f0d010c/stark · 149 tokens

windows-design

Use when the user asks for a Windows app, Win11/Win12 UI, XAML, Fluent design, WinUI, WPF, PowerToys-style tool, Microsoft Store app, desktop utility, admin tool, music/photo/creative app, Tauri desktop, Electron desktop, or any Windows desktop deliverable. Builds Windows apps across system-like WinUI 3, branded WinUI…

f0d010c/stark · 142 tokens

stark

Use for UI/UX design, product flows, frontend or native interface design, design audits, design translation, asset planning, motion direction, design tokens, or distinctive non-generic apps and websites. Covers web and React, Windows and WinUI/Mica, Apple and SwiftUI, Android and Jetpack Compose/Material…

f0d010c/stark · 96 tokens