middle-tool: Skill for Claude Code

.agents/skills/frontend-design/SKILL.md

frontend-design is a skill for Claude Code, Codex from 2514385224/middle-tool. It costs 60 tokens per session (936 once invoked), scanned A, original, MIT.

A visual guide for building desktop developer tools with a restrained, information-focused interface. It defines colours, fonts, spacing, navigation, forms, lists, and common layout patterns.

In plain words
What is it for?
Use it when creating or redesigning dashboards, sidebars, forms, lists, and other front-end screens.
Why use it?
It gives implementation-specific design rules instead of leaving each screen to inconsistent choices or generic interface patterns.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

This is 2514385224/middle-tool's own configuration. It tells Claude Code and Codex how to work on middle-tool itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything middle-tool configures →

Reuse

Borrowing it

Nothing to install: this file belongs to 2514385224/middle-tool. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/2514385224/middle-tool/main/.agents/skills/frontend-design/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/2514385224/middle-tool

Made for: Claude Code, 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 frontend-design

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/2514385224/middle-tool/frontend-design"><img src="https://agentmods.dev/badge/skills/2514385224/middle-tool/frontend-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 936 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.00060 $0.00936
Opus 5 $0.00030 $0.00468
Sonnet 5 $0.00012 $0.00187
Haiku 4.5 $0.00006 $0.00094

Measured today against content hash 6fae74bba681, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

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 today.

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.

.agents/skills/frontend-design/SKILL.md · 72 lines

What it actually says

MiddleTool Frontend Design

基于 Anthropic frontend-design,针对本项目的约束扩展。

产品定位

  • 是什么:桌面端中间件连接管理器,导出 MCP 配置给 Codex
  • 受众:开发者 / 运维,在本地 Electron 中高频操作
  • 参考气质:VS Code 设置、Linear 内部工具、Raycast — 不是 SaaS 营销页

设计令牌(MiddleTool)

角色 说明
背景 --bg #111318 中性炭灰,避免蓝紫底
表面 --bg-surface #181a20 卡片/面板
边框 --border #2c3038 细线分隔
正文 --text #e8eaed 高对比可读
次要 --text-muted #8b919e 说明文字
强调 --accent #4a9eff 工具蓝,不用 #6366f1 靛紫
圆角 4px / 6px 小圆角,避免 12px+ 胶囊卡片
字体 UI IBM Plex Sans index.html 引入
字体数据 IBM Plex Mono 统计数字、代码、连接预览

禁止(AI slop)

  • Emoji 作为导航主图标(🚀📋◉⬡ 等)
  • 大面积紫色/靛蓝渐变、发光阴影、box-shadow 装饰
  • 三列等大「统计卡片」+ 超大数字(32px+)作为首页主视觉
  • Inter / 系统默认无个性堆叠 + 千篇一律的 border-radius: 12px 卡片墙
  • 空洞营销文案(「统一管理」「赋能」);改用动词和操作结果

组件模式

侧边栏

  • 左栏固定宽度 ~220px,品牌区一行标题 + 一行副标题(小字、muted)
  • 导航项:文字为主,激活态用 左侧 2px accent 竖条,不用整块紫色底
  • 图标:几何/CSS 标记或省略,不用 emoji

概览页

  • 指标区:横向 metrics 条(label + value 一行),等宽分隔,mono 数字
  • 快捷操作:列表行(标题、说明、右侧按钮),非卡片网格
  • 信息密度适中,留白用于分组而非装饰

表单与列表

  • 字段分组用细线标题,不用大色块
  • 主按钮仅一个强调色;次要操作为 ghost/outline
  • 表格/列表 hover 用 --bg-hover,无动画花哨

流程

  1. 先确认页面任务(用户要完成什么操作)
  2. 用上述 token,不引入新色除非有理由
  3. 改完后自检:是否像「AI 生成的深色 SaaS」?若是,减圆角、减渐变、减装饰
  4. 保持 prefers-reduced-motion、键盘 focus 可见

与全局 CSS 的关系

  • 令牌定义在 src/index.css :root
  • 布局在 AppLayout.css,页面在各自 *.css
  • 新页面复用 .page-header.btn-primary.card,不重复造变量
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. today First seen · 72 lines · 60 tokens per session scan A 6fae74bba681

Subscribe to this mod's changes

frontend-design is a skill published in the GitHub repository 2514385224/middle-tool (4 stars, last pushed yesterday), licensed MIT. It adds 60 tokens to every session and 936 once invoked, about $0.0003 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-09-12.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 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

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens