product-app-ui-polish

product-app-ui-polish is a skill for Claude Code, Codex from GCWing/Sparo-OS. It costs 71 tokens per session (2,064 once invoked), scanned A, original, MIT.

A design guide for polishing Sparo OS Product App interfaces, including layout, visual styling, responsive behavior, accessibility, and loading or error states. It explains which UI tools belong in sandboxed Product Apps and which belong in the main web interface.

In plain words
What is it for?
Use it to improve Product App screens, apply the injected UI components, fix empty or loading states, and review accessibility, responsiveness, and Chinese or English text.
Why use it?
It prevents interface changes from conflicting with the existing app structure, runtime UI kit, theme, or localization. It also helps check behavior in light and dark modes and at different screen sizes.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to improve Product App screens, apply the injected UI components, fix empty or loading states, and review accessibility, responsiveness, and Chinese or English text.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/gcwing/sparo-os/product-app-ui-polish
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 GCWing/Sparo-OS --skill product-app-ui-polish
Clone the repo
git clone --depth 1 https://github.com/GCWing/Sparo-OS

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 product-app-ui-polish

README.md
[![agentmods](https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-ui-polish/github.svg)](https://agentmods.dev/skills/gcwing/sparo-os/product-app-ui-polish)
Your own site
<a href="https://agentmods.dev/skills/gcwing/sparo-os/product-app-ui-polish"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-ui-polish/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 product-app-ui-polish

Your own site · 80×15
<a href="https://agentmods.dev/skills/gcwing/sparo-os/product-app-ui-polish"><img src="https://agentmods.dev/badge/skills/gcwing/sparo-os/product-app-ui-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,064 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.00071 $0.02064
Opus 5 $0.00036 $0.01032
Sonnet 5 $0.00014 $0.00413
Haiku 4.5 $0.00007 $0.00206

Measured 12d ago against content hash fc8c54922736, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

product-app-ui-polish 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 12d 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.

bundles/skill-suites/product-app-development/skills/product-app-ui-polish/SKILL.md · 130 lines

How it starts

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

Product App UI Polish Skill

Use this skill for Product App visual polish and experience quality. Do not start from generic web aesthetics; prefer the current scaffold, existing Product App shape, and real issues exposed by runtime preview.

Product App UI Boundary

  • Product App surfaces run inside sandboxed iframes and usually use native HTML/CSS/ESM JavaScript.
  • Product Apps cannot directly import @/design-system or main-app React components. Those belong to the Web UI / desktop app development contract.
  • Product Apps can use window.app.ui. It is a runtime-injected DOM UI Kit and does not depend on React, Vite aliases, or main-app context.
  • If the change is inside src/web-ui, follow src/web-ui/src/design-system/AGENTS.md and import primitives/patterns from the public @/design-system barrel.

Runtime UI Kit

Current window.app.ui exports:

  • ui.Button({ text, children, variant, size, iconOnly, loading, loadingText, disabled, onClick })
  • ui.Card({ children, variant, padding, radius, interactive, fullWidth, onClick })
  • ui.CardHeader({ title, subtitle, extra, children })
  • ui.CardBody({ children })
  • ui.CardFooter({ children, align })
  • ui.Input({ label, placeholder, value, prefix, suffix, error, errorMessage, hint, onInput, onChange })
  • ui.Badge({ text, children, variant })
  • ui.Alert({ type, title, message, description, icon })
  • ui.Empty({ title, description, children })
  • ui.Stack({ children, direction, gap })
  • ui.Toolbar({ children })
  • ui.createElement(tag, attrs, ...children)
  • ui.mount(target, child)

Component class contracts include btn, v-card, sparo-input-wrapper, badge, alert, bfui-empty, bfui-stack, and bfui-toolbar. For routine tool-like Product Apps, build the skeleton with the runtime UI Kit first, then add minimal product-specific styles.

Theme Variables

The Product App iframe canonical runtime namespace is --sparo-*. Prefer semantic app slots:

  • Background and layers: --sparo-app-bg, --sparo-app-surface, --sparo-app-panel, --sparo-app-card, --sparo-app-card-hover
  • Controls: --sparo-app-control-bg, --sparo-app-control-hover
  • Text: --sparo-app-text, --sparo-app-text-secondary, --sparo-app-text-muted
  • Borders: --sparo-app-border, --sparo-app-border-subtle
  • Accent: --sparo-app-accent, --sparo-app-accent-hover, --sparo-app-accent-soft, --sparo-app-accent-text
  • State: --sparo-success, --sparo-success-bg, --sparo-warning, --sparo-warning-bg, --sparo-error, --sparo-error-bg, --sparo-info, --sparo-info-bg
  • Interaction: --sparo-app-focus-ring, --sparo-app-selection, --sparo-app-overlay
  • Radius and shadow: --sparo-app-radius-sm, --sparo-app-radius, --sparo-app-radius-lg, --sparo-app-shadow-sm, --sparo-app-shadow
  • Fonts: --sparo-font-sans, --sparo-font-mono
  • Scrollbar: --sparo-scrollbar-thumb, --sparo-scrollbar-thumb-hover

Read the full file on GitHub · 130 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. 12d ago First seen · 130 lines · 71 tokens per session scan A fc8c54922736

Subscribe to this mod's changes

product-app-ui-polish is a skill published in the GitHub repository GCWing/Sparo-OS (21 stars, last pushed 1mo ago), licensed MIT. It adds 71 tokens to every session and 2,064 once invoked, about $0.0004 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-30.

Related

Other skills, from other repositories

anyui-template-authoring

Author and invoke high-quality, mobile-first AnyUI HTML templates for MioChat. Guides the creation of clean, responsive cards, game interfaces, forms, story choices, and Galgame/visual novel dialogue cards rendered via extraRender in Shadow DOM. Enforces decoupled zero-round-trip async image rendering (pure CSS…

Pretend-to/mio-chat-backend · 148 tokens

Color Palette Generator

Create beautiful, accessible color schemes for any project.

eddiebelaval/squire · 13 tokens

web-artifacts-builder

Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.

Pretend-to/mio-chat-backend · 64 tokens

frontend-design

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI).…

Pretend-to/mio-chat-backend · 77 tokens

css-expert

CSS expert for flexbox, grid, animations, responsive design, and modern layout techniques.

ginkida/rustyhand · 21 tokens

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