Borrowing it
Nothing to install: this file belongs to Edison-Watch/sealgate-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/Edison-Watch/sealgate-mcp/main/.agents/skills/frontend-design-principles/SKILL.mdgit clone --depth 1 https://github.com/Edison-Watch/sealgate-mcpWrote 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.
[](https://agentmods.dev/skills/edison-watch/sealgate-mcp/frontend-design-principles)<a href="https://agentmods.dev/skills/edison-watch/sealgate-mcp/frontend-design-principles"><img src="https://agentmods.dev/badge/skills/edison-watch/sealgate-mcp/frontend-design-principles/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.
<a href="https://agentmods.dev/skills/edison-watch/sealgate-mcp/frontend-design-principles"><img src="https://agentmods.dev/badge/skills/edison-watch/sealgate-mcp/frontend-design-principles.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00056 | $0.00685 |
| Opus 5 | $0.00028 | $0.00342 |
| Sonnet 5 | $0.00011 | $0.00137 |
| Haiku 4.5 | $0.00006 | $0.00068 |
Grade A, and why
frontend-design-principles 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 10d 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.
How it starts
The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Frontend design principles
Apply to every UI change.
1. Subtract. "Perfection is when there is nothing left to subtract." Before adding anything, delete something: helper text, headings, borders, badges, duplicated labels.
2. A picture beats a thousand words. If an icon or diagram can say it, don't write the paragraph. Reuse below first, then https://svgl.app or https://eito.me/icons. Inline it.
3. Detail → summary. Show the summary only; reveal detail on hover, click,
or expand. Never dump the full record upfront. Hover alone never counts: the
same detail must open by keyboard and by touch, so lean on native
details/summary or a real button before inventing a hover affordance.
4. Keep the main thing the main thing. Exactly one CTA per view, with the only high-contrast treatment on screen. Everything else stays dull, so contrast itself points the eye. Same CTA color, shape, and placement app-wide.
Reuse before creating
Two frontends live here with separate dependency trees, so "reuse" means reuse within a surface.
App (Vite + React + Tailwind v4), frontend/
src/App.tsxis the only view today. Tailwind arrives through@import "tailwindcss"insrc/index.css; put design tokens (@theme) and keyframes there, not in a component.- Placeholder marks:
src/assets/react.svg,public/vite.svg. Replace these when branding the app rather than adding a third placeholder alongside them. - Inline new icons as JSX with
stroke="currentColor"so they inherit text color. Hide a purely decorative mark witharia-hidden="true", but only when the meaning already exists elsewhere: an icon-only control still needs an accessible name on the control itself (aria-labelon the button), and an icon carrying meaning on its own needsrole="img"plus a<title>. Do not add an icon package for a handful of marks.
Docs (Next.js + Fumadocs), docs/
- Shared page chrome:
components/ai/page-actions.tsx,lib/layout.shared.tsx. - There is no icon registry yet. To add sidebar icons, create
components/icons.tsxwith inline SVG components and resolve them from anicon()handler inlib/source.ts, keyed off each page'sicon:frontmatter. Ship the mark in the bundle; never hot-link an external asset.
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.
- 10d ago First seen · 60 lines · 56 tokens per session scan A ecf6c6b31709
frontend-design-principles is a skill published in the GitHub repository Edison-Watch/sealgate-mcp (0 stars, last pushed 5d ago), licensed MIT. It adds 56 tokens to every session and 685 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-08-31.
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…
visual-ralph
Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.
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.
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…
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…
better-colors
Helps you build a color system and answer anything about color in your project. You can generate palettes, use semantic tokens, convert between formats, check contrast and more.