cs-frontend-design

cs-frontend-design is a skill for Codex from ChenShuo2004/cs-skills. It costs 67 tokens per session (744 once invoked), scanned A, original, MIT.

A working guide for designing and building user-facing interfaces such as websites, dashboards, admin tools, editors, and interactive prototypes. It focuses on layout, navigation, controls, responsive screens, and the different states an interface can have.

In plain words
What is it for?
Use it when creating, revising, reviewing, or checking a frontend. It supports work on pages, forms, tables, charts, uploads, account tools, navigation, and other visible product features.
Why use it?
It helps turn a rough interface idea into a product that people can understand and use. It also helps catch missing screens, awkward workflows, poor mobile layouts, and visual problems.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it when creating, revising, reviewing, or checking a frontend. It supports work on pages, forms, tables, charts, uploads, account tools, navigation, and other visible product features.

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

Made for: 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 cs-frontend-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chenshuo2004/cs-skills/cs-frontend-design"><img src="https://agentmods.dev/badge/skills/chenshuo2004/cs-skills/cs-frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 744 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.00067 $0.00744
Opus 5.5 $0.00027 $0.00298
Sonnet 5.5 $0.00013 $0.00149
Haiku 4.5 $0.00007 $0.00074

Measured 19d ago against content hash b22dc2739d2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cs-frontend-design 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 19d 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.

cs-frontend-design/SKILL.md · 40 lines

What it actually says

CS Frontend Design

先理解页面给谁用、主要动作是什么、完成后应发生什么。检查现有页面、路由、组件、设计 tokens 与真实数据,再作设计决定。

Work Modes

  • Build:交付可运行的页面或完整用户流程。
  • Iterate:解决指定体验问题,保留产品目的与已有视觉语言。
  • Review:交付具体发现、证据和修复优先级,不擅自改代码。

目标明确时直接执行。小改动只需简短说明;新页面或复杂流程可内部整理 Page Spec。多状态流程可用 State Matrix;简单静态改动不用填表。只有需要更详细交接时读 execution contract。

产品与视觉判断

  • 用户要求工具时,第一屏就是可工作的工具;不要替换成营销落地页。原型中的示例数据需明确,不能冒充已连接服务。
  • 沿用项目组件、字体、颜色、圆角与间距。新项目默认极简、现代、留白充足,以 Apple、Linear、Vercel、Notion 的清晰度为参考;用户品牌或参考图优先。
  • 布局由信息关系决定。表格服务比较,列表服务扫描,卡片用于独立内容组;不设脱离项目的固定圆角上限或颜色禁令。
  • 按钮标签说明动作和结果。熟悉且重复的工具操作可以用带可访问名称的图标;陌生、核心或破坏性动作保留清晰文字。
  • 只使用能解释真实产品的截图、素材或图形。装饰、动画和依赖必须对理解或操作有帮助。
  • 复用项目栈。无既有栈时可选 React、TypeScript、TailwindCSS 和适用的 shadcn/ui;不要为简单页面引入整套服务架构。

实现与验收

完成真实可达的 loading、empty、error、success、disabled 状态与恢复动作。检查键盘操作、焦点、表单标签、可读对比度;不要给静态页面制造假的加载或错误状态。

用项目适用的构建/类型检查验证实现,并在可用浏览器中操作主流程和最容易失败的分支。响应式页面至少检查桌面与窄屏的导航、溢出、点击目标与内容顺序;截图好看不等于按钮可用。

Verification Evidence 记录实际路由、动作、观察结果和必要的视口。工具不可用时说清未做的检查,不把源码推断当作浏览器通过。通过验收后交付,只有新失败或变更才重复检查。

交付

简短说明用户能做什么、修改文件、实际检查与未验证项。Review 按影响排序,区分缺陷与设计建议。不要强制输出完整 Page Spec 或 State Matrix。

Files

What ships with it

2 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. 19d ago Changed · -72 lines · -29 tokens per session b22dc2739d2c
  2. 1mo ago First seen · 112 lines · 96 tokens per session scan A b2d43394a8bf

Subscribe to this mod's changes

cs-frontend-design is a skill published in the GitHub repository ChenShuo2004/cs-skills (204 stars, last pushed 18d ago), licensed MIT. It adds 67 tokens to every session and 744 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-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

glance-canonical-layouts

Use this skill to create home screen widgets using Jetpack Glance Canonical Layouts from the Android Platform Samples project, or when asked to implement standard widget layout patterns (including Check List, Image Grid, Snap Scrolling, and Standard Toolbar).

android/skills · 56 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens