frontend-visual-reference

frontend-visual-reference is a skill for Claude Code from kkunkunya/ai-frontend-design-kit. It costs 251 tokens per session (5,714 once invoked), scanned A, original, MIT.

A visual-planning workflow for fixing a website’s design direction before coding, using a moodboard, a complete page image, and animation frames.

In plain words
What is it for?
It helps explore style options, settle the look of a webpage, plan motion, generate or source visual assets, and save the references in the project’s design files.
Why use it?
It gives the developer concrete visual references before implementation and keeps those decisions linked to the design documentation.

Skill for Claude Code

Written for Claude Code: Claude Code plugin machinery. Also seen: $skill-name invocation.

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 It helps explore style options, settle the look of a webpage, plan…

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.

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-visual-reference

README.md
[![agentmods](https://agentmods.dev/badge/skills/kkunkunya/ai-frontend-design-kit/frontend-visual-reference.svg)](https://agentmods.dev/skills/kkunkunya/ai-frontend-design-kit/frontend-visual-reference)
Your own site
<a href="https://agentmods.dev/skills/kkunkunya/ai-frontend-design-kit/frontend-visual-reference"><img src="https://agentmods.dev/badge/skills/kkunkunya/ai-frontend-design-kit/frontend-visual-reference.svg" alt="Measured on agentmods" height="20"></a>
Per session 251 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,714 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.00251 $0.05714
Opus 5 $0.00125 $0.02857
Sonnet 5 $0.00050 $0.01143
Haiku 4.5 $0.00025 $0.00571

Measured 6d ago against content hash 51b80ba03766, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

frontend-visual-reference 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 6d 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-visual-reference/SKILL.md · 355 lines

How it starts

The opening of the file, as written. The whole thing — 355 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设计与前端/02-执行方法/动效文档两层:MOTION-SPEC vs 实现 prompt 集.md -> references/packaged-knowledge/动效文档两层:MOTION-SPEC vs 实现 prompt 集.md
  • /Users/kunkun/note/01-AI工程/AI设计与前端/02-执行方法/反 slop 硬禁令:AI 前端的十条视觉红线.md -> references/packaged-knowledge/反 slop 硬禁令:AI 前端的十条视觉红线.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 Visual Reference

这个 skill 在做什么

阶段 4 视觉锚定三件套的执行器。在写第一行代码之前,用三种图像级锚点把视觉方向钉死:

锚点 图像形态 凝聚维度 探索属性
A. Moodboard 综合风格板(色板 + 材质样本 + 符号族 + 字体 + UI 片段) 六维静态 5 维(形/色/字/构/质) 前移探索:2-3 张让用户选
B. 完整网页示意图 主页 → 子页的完整页面示意图 真实页面布局 + 信息层级 + 叙事推进 单线:主页 → OK → 子页
C. 动效帧序列 从左到右的帧变化示例 六维动维 单线:每个核心动效 1 套

核心赌局:AI 生图便宜 + 视觉传达直接,所以把"探索"前移到图像层,代码层单线执行。

在阶段化流程里的位置

阶段3 后轮深度采访 → design.md 定稿
         ↓
阶段4 视觉锚定三件套 ← 本 skill
  ├─ A. Moodboard Prompt(2-3 张,前移探索)
  ├─ B. 完整网页示意图 Prompt(主页 → 子页,单线)
  └─ C. 动效帧序列 Prompt(每个核心动效 1 套,单线)
         ↓
阶段5 资产生成(baoyu-imagine 主 + 手动兜底)
         ↓
阶段6 代码实现(读 design.md + 三件套图像 + 动效微观 prompt)

关键重定位(和老版的差异):老版 visual-reference 是"Layer 4 方向选择门"——派生 2-4 个视觉方向候选出图让用户选。2026-04-21 重构后明确:

  • 老版"派生 2-4 视觉方向"吸收进本 skill 的 A. Moodboard 阶段——2-3 张 Moodboard 做探索分支
  • B. 完整网页示意图、C. 动效帧序列 是新增职责
  • "探索" 只在 A 阶段做,B/C 是单线执行(A 选定后方向已钉死)
  • 产出路径从 visual-directions/ 改为 visual-anchors/(三件套统一收纳)

Read the full file on GitHub · 355 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. 6d ago First seen · 355 lines · 251 tokens per session scan A 51b80ba03766

Subscribe to this mod's changes

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

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

web-design

Use for web interfaces, landing pages, product sites, dashboards, React, Next.js, Astro, Tailwind, frontend audits, responsive design, browser interaction, web motion, or requests for a distinctive non-generic website. Select the web surface and implementation track, load a small reference bundle, preserve usability…

f0d010c/stark · 87 tokens

design-with-claude

Use when design work needs a product designer's eye: auditing a codebase for design-system gaps, fixing WCAG contrast and unlabeled inputs, choosing type scales or spacing steps, reviewing UI that looks generic or AI-generated, or designing forms, tables, dashboards, navigation, checkout, onboarding, dark mode, and…

imsaif/design-with-claude · 85 tokens

web-prototype

General-purpose desktop web prototype. Single self-contained HTML file built by copying the seed assets/template.html and pasting section layouts from references/layouts.md. Default for any landing / marketing / docs / SaaS page when no more specific skill matches.

nexu-io/open-design · 59 tokens

web-prototype-taste-brutalist

Swiss industrial-print web prototype. Newsprint canvas, monolithic black grotesque, viewport-bleeding numerals, hairline grid dividers, hazard-red accent, ASCII syntax decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Swiss Industrial Print mode).

nexu-io/open-design · 70 tokens

web-prototype-taste-soft

Apple-tier soft web prototype. Silver/cream canvas, double-bezel cards, button-in-button CTAs, generous squircle radii, spring motion, ambient mesh. Distilled from Leonxlnx/taste-skill soft-skill + sections 4–8 of taste-skill.

nexu-io/open-design · 69 tokens