frontend-style-harmonizer-skill

frontend-style-harmonizer-skill is a skill for Claude Code, Codex from jiushiwon/wg-skills. It costs 109 tokens per session (2,235 once invoked), scanned A, original, Apache-2.0.

A frontend style review and cleanup tool for uni-app, Vue, React, or plain HTML projects. It finds repeated styles, inconsistent component sizes, and scattered fixed values such as colors and spacing.

In plain words
What is it for?
Use it to find reusable CSS, align buttons, tabs, inputs, and list items, or replace repeated hard-coded values with shared CSS or SCSS variables. It scans relevant source files while leaving application logic, routing, state, events, and APIs unchanged.
Why use it?
It helps prevent pages from looking inconsistent when similar components are built separately. By default it reports issues first, while an apply option can make visual-only changes with a diff and rollback path.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find reusable CSS, align buttons, tabs, inputs, and list items, or replace repeated hard-coded values with shared CSS or SCSS variables. It scans relevant source files while leaving application logic, routing, state, events, and APIs unchanged.

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

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-style-harmonizer-skill

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/frontend-style-harmonizer-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/frontend-style-harmonizer-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,235 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.00109 $0.02235
Opus 5.5 $0.00044 $0.00894
Sonnet 5.5 $0.00022 $0.00447
Haiku 4.5 $0.00011 $0.00224

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

Security

Grade A, and why

frontend-style-harmonizer-skill 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 23d 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.

frontend/frontend-style-harmonizer-skill/SKILL.md · 136 lines

How it starts

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

前端 UI 一致性审查器

面向多人协作和 AI 连续开发的跨页面审查 Skill。它不只看“颜色是否相同”,还要回答:

  • 同一类按钮为什么有三种高度、两种圆角?
  • 搜索框是否都有约定的左侧图标、清空能力、筛选入口和状态?
  • Checkbox、Input、Dialog 是公共组件、UI 库组件还是页面自定义副本?
  • 列表、表单、空状态、加载和错误状态是否有一致的页面骨架?
  • 两个页面视觉上都有留白,但一个由外层 padding 提供、另一个由子项 margin 或居中宽度凑出来;新页面为什么会忘记留白?
  • 固定底部按钮是否被内容、键盘或安全区遮挡?顶部导航是否走同一个安全区和胶囊避让方案?
  • 同一个“编辑”动作是否复用了同一铅笔图标、尺寸、默认/禁用/危险状态颜色?

边界与依赖

本 Skill 是审查器与协调器,不新建平行设计系统。

技术栈 Token / 组件事实来源 本 Skill 的职责
Vue vue-theme-skill、vue-style-skill、vue-base-skill 及子组件 Skill 取证、比对、指出未复用与漂移
uni-app uniapp-theme-skill、uniapp-style-skill、uniapp-base-skill 按其 rpx、主题与组件规则审查
React / HTML 项目既有 CSS 变量、组件库、设计规范 取证、提出待确认基线,不强套 Vue/uni-app 值

绝不修改 props、事件、状态、接口、路由、权限、业务文案和数据结构。

触发词

前端一致性审查
UI 一致性
检查所有页面的按钮、搜索框和 Checkbox 是否统一
我的搜索框有的带图标有的不带
统一各页面样式
样式对齐
去硬编码
组件契约审查
frontend-style-harmonizer

参数与兼容性

参数 说明 默认
[path] 项目路径 当前目录
--report-only 只输出报告,不修改源码 是
--apply 仅在报告、基线和用户确认后执行高置信度视觉修复 否
--scope 指定审查维度 all
--baseline 基线来源:auto、theme、library、confirmed auto

兼容旧范围:reuse、align、hardcode、all;其中 align 等价于 space + components + patterns,all 包含全部维度。

审查维度

范围 审查内容 主要参考
tokens 颜色、字号、间距、圆角、阴影、层级、动效 Token 漂移 token-conventions.md
space 页面 gutter、padding / margin 责任边界、顶部距离、模块节奏、固定底栏预留 space-system.md、layout-audit-matrix.md
components 按钮、搜索框、输入、选择、Checkbox、Radio、Switch、Tab、卡片、弹窗、表格、空状态的组件契约 component-contracts.md
icons 图标资产、动作语义、尺寸、色彩状态、点击区域 icon-contracts.md
platform 键盘顶起、safe-area、顶部导航、固定操作区与内容避让 space-system.md
patterns 头部、搜索筛选区、工具栏、表单、列表、固定操作区、空/加载/错误状态 page-patterns.md
states hover / focus / disabled / loading / error / empty 等状态是否齐全且统一 component-contracts.md
reuse 重复声明块、重复组件副本 detection-rules.md
hardcode 裸颜色、裸尺寸、近义值、内联样式 hardcode-patterns.md
request 统一请求实例、Token/拦截器、入参出参一致性、loading/错误反馈、登录失效与重复提交 frontend-audit-checklist.md

Read the full file on GitHub · 136 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. 23d ago Changed · +1 lines 688ef656a545
  2. 25d ago Changed · -147 lines · +22 tokens per session 8bdd3354cc00
  3. 1mo ago Changed · +11 lines · +19 tokens per session 16c007572fca
  4. 3mo ago First seen · 271 lines · 68 tokens per session scan A 6b99f868af20

Subscribe to this mod's changes

frontend-style-harmonizer-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 6d ago), licensed Apache-2.0. It adds 109 tokens to every session and 2,235 once invoked, about $0.0004 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-style-harmonizer-skill compared with skills from other repositories

frontend-style-harmonizer-skill next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
frontend-style-harmonizer-skilljiushiwon/wg-skillsSkill1546d agoApache-2.0A109Claude Code, Codex
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