frontend-ui-foundry

frontend-ui-foundry is a skill for Claude Code from jiushiwon/wg-skills. It costs 135 tokens per session (2,405 once invoked), scanned A, original, Apache-2.0.

A frontend design and code toolkit for creating or improving web interfaces for different situations, such as mobile apps, business dashboards, marketing pages, documentation sites, finance apps, and 3D pages. It can work with HTML, React, Vue, Svelte, React Native, and related technologies.

In plain words
What is it for?
Use it to generate a new interface, refactor an existing project, extract shared design values, apply a brand style, unify several pages, or audit a frontend project.
Why use it?
It helps prevent pages and modules from developing inconsistent colours, fonts, spacing, components, and interactions. It also gives developers a way to review both the visual design and the code quality.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to generate a new interface, refactor an existing project, extract shared design values, apply a brand style, unify several pages, or audit a frontend project.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jiushiwon/wg-skills/frontend-ui-foundry
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 jiushiwon/wg-skills --skill frontend-ui-foundry
Clone the repo
git clone --depth 1 https://github.com/jiushiwon/wg-skills

Made for: Claude Code.

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-ui-foundry

README.md
[![agentmods](https://agentmods.dev/badge/skills/jiushiwon/wg-skills/frontend-ui-foundry/github.svg)](https://agentmods.dev/skills/jiushiwon/wg-skills/frontend-ui-foundry)
Your own site
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/frontend-ui-foundry"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/frontend-ui-foundry/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-ui-foundry

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/frontend-ui-foundry"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/frontend-ui-foundry.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,405 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00135 $0.02405
Opus 5.5 $0.00054 $0.00962
Sonnet 5.5 $0.00027 $0.00481
Haiku 4.5 $0.00014 $0.00241

Measured 1mo ago against content hash 8173c8bd59c3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

frontend-ui-foundry 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.

The scan reads SKILL.md. This mod also ships 5 executable files (demo/verify.sh, scripts/detect-stack.mjs, scripts/extract-tokens.mjs, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

frontend/frontend-ui-foundry/SKILL.md · 155 lines

How it starts

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

Frontend UI Foundry

综合性前端 UI 技能:按场景生成、一键优化、Token 统一、品牌套用、设计审查六位一体。

设计哲学

  • 场景驱动:不同场景(移动端/PC/管理端/营销页/文档/金融/原生/3D)有截然不同的布局、组件、交互基线
  • Token 优先:所有视觉决策沉淀为可消费的设计 Token,颜色/字体/间距/圆角/阴影/动效一应俱全
  • 双模式闭环:forge 从零生成,optimize 智能重构现有项目
  • 复用协同:直接引用 impeccable 的设计法则、ui-ux-pro-max 的规则库、ui-audit 的决策框架
  • 多栈适配:HTML+Tailwind、React+Next、Vue+Nuxt、uniapp、RN、Svelte 六栈统一体验

子命令

命令 类别 用途 详细
forge <scenario> 生成 从零按场景生成页面或项目 commands/forge.md
optimize [target] 优化 一键智能重构现有项目 commands/optimize.md
tokens <action> Token 提取/注入/导出设计 Token commands/tokens.md
unify [target] 统一 多页面/多模块风格统一 commands/unify.md
audit [target] 审查 设计 + 代码双维审查 commands/audit.md
brand <name> 品牌 套用品牌风格到目标 commands/brand.md
scenario <type> 场景 输出场景方案基线 commands/scenario.md
stack <name> 技术栈 技术栈最佳实践 commands/stack.md

路由规则

  1. 无参数 → 渲染子命令菜单 + 场景选择器,引导用户选择
  2. 首词匹配子命令 → 加载对应 references/commands/<cmd>.md 并按其流程执行
  3. 首词不匹配 → 视为通用设计请求,按"识别场景 → 选择风格 → 加载 Token → 实施"主流程

主流程(首词不匹配时)

1. 识别场景(mobile-responsive / pc-corporate / admin-dashboard / landing-marketing / docs-site / fintech-app / mobile-native / threejs-3d)
2. 选择风格(brand 名称 / 调色板 / 用户自描述)
3. 选择技术栈(html-tailwind / react-nextjs / vue-nuxt / uniapp / react-native / svelte)
4. 加载 references/tokens/ 对应 Token
5. 加载 references/scenarios/<scenario>.md 场景基线
6. 应用设计法则(OKLCH 调色策略、字号阶 ≥1.25、行长 65-75ch、AI slop 黑名单)
7. 输出代码 + Token 文件 + 报告

核心资源

设计 Token(6 份)

类别 文件
调色板 tokens/color-palettes.md
字体配对 tokens/typography.md
间距阶梯 tokens/spacing-scale.md
圆角阴影 tokens/radius-elevation.md
动效 tokens/motion.md
布局栅格 tokens/layout-grid.md

Read the full file on GitHub · 155 lines

Files

What ships with it

50 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 Changed · +4 lines 8173c8bd59c3
  2. 3mo ago First seen · 151 lines · 135 tokens per session scan A 1591fd2986a7

Subscribe to this mod's changes

frontend-ui-foundry is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 135 tokens to every session and 2,405 once invoked, about $0.0005 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-30.

Related

frontend-ui-foundry compared with skills from other repositories

frontend-ui-foundry next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-ui-foundryjiushiwon/wg-skillsSkill1546d agoApache-2.0A135Claude Code
anti-slop-designsickn33/agentic-awesome-skillsSkill51ktodayMITA34Claude Code
chakra-ui-builderchakra-ui/chakra-uiSkill41ktodayMITA214Claude Code, Codex
visual-ralphYeachan-Heo/oh-my-codexSkill34ktodayMITA52Codex
prototype-webnexu-io/html-anythingSkill17k2d agoApache-2.0A24Claude Code, Codex
open-design-setupcompozy/compozySkill2.9ktodayMITA67Claude Code, Codex
frontend-visual-qadaymade/claude-code-skillsSkill1.6kyesterdayMITA94Claude Code, Codex