frontend-design-skill

frontend-design-skill is a skill for OpenCode from darellchua2/opencode-config-template. It costs 31 tokens per session (4,811 once invoked), scanned C, original, Apache-2.0.

A guide for building distinctive web interfaces with working HTML, CSS, JavaScript, React, Vue, or other frontend code. It covers layout, typography, colors, motion, interaction, and visual details.

In plain words
What is it for?
Use it for web pages, landing pages, dashboards, components, prototypes, and other tasks involving frontend layout or styling.
Why use it?
It gives developers a structured way to make a web interface coherent and usable instead of leaving design choices disconnected. It connects visual decisions to production code.

Skill for OpenCode

Written for OpenCode: installed under .opencode/. Also seen: mentions subagents; mentions OpenCode.

Good fit Use it for web pages, landing pages, dashboards, components, prototypes, and other…

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

Made for: OpenCode.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/frontend-design-skill.svg)](https://agentmods.dev/skills/darellchua2/opencode-config-template/frontend-design-skill)
Your own site
<a href="https://agentmods.dev/skills/darellchua2/opencode-config-template/frontend-design-skill"><img src="https://agentmods.dev/badge/skills/darellchua2/opencode-config-template/frontend-design-skill.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,811 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00031 $0.04811
Opus 5 $0.00015 $0.02405
Sonnet 5 $0.00006 $0.00962
Haiku 4.5 $0.00003 $0.00481

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

Security

Grade C, and why

frontend-design-skill scanned grade C with 1 finding 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 3d 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

When protocol is enabled, this skill defaults to `Iterations: 10` (sufficient for typical single-pass workflows). Override with `Iterations: N` for specific tasks. Safety blocks: `.env`, `node_modules/`, `rm -rf`, `git p
opencode_app/.opencode/skills/frontend-design-skill/SKILL.md · 422 lines

How it starts

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

What I do

I guide creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics:

  1. Design Thinking: Analyze context and commit to a bold aesthetic direction before coding
  2. Typography: Select distinctive, characterful font pairings that elevate the design
  3. Color & Theme: Create cohesive palettes with CSS variables and intentional contrast
  4. Motion & Interaction: Implement animations, micro-interactions, and scroll-triggered effects
  5. Spatial Composition: Design unexpected layouts with asymmetry, overlap, and grid-breaking elements
  6. Visual Details: Add atmosphere through backgrounds, textures, patterns, and layered effects
  7. Production Code: Deliver working HTML/CSS/JS, React, Vue, or other framework code

When to use me

Use this skill when:

  • Building any web component, page, or application
  • Creating landing pages, dashboards, or marketing sites
  • Styling or beautifying existing web UI
  • Designing React components, Vue components, or HTML/CSS layouts
  • Generating posters, artifacts, or visual web content
  • The user asks to "make it look good" or "design a UI"
  • Creating frontend prototypes or demos
  • Refreshing an existing interface with better aesthetics

Don't use me for (use these peers instead):

  • Reviewing/critiquing an existing UI → uiux-review-skill
  • Full WCAG 2.1 AA compliance audits → accessibility-a11y-skill
  • Low-fidelity wireframes before committing to a visual direction → wireframer-skill
  • Mechanical responsive breakpoint fixes → responsive-audit-subagent

Prerequisites

  • Frontend framework context (React, Vue, plain HTML/CSS/JS, etc.)
  • Understanding of the interface's purpose and target audience
  • Technical constraints (if any): performance, accessibility, framework version

Dependencies

Dependency Installation When Needed
Google Fonts <link> tag in HTML head Custom typography (always)
Motion npm install motion React animations
Playwright npm install -g playwright Cross-browser testing

Read the full file on GitHub · 422 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. 3d ago First seen · 422 lines · 31 tokens per session scan C bb7951c8cf42

Subscribe to this mod's changes

frontend-design-skill is a skill published in the GitHub repository darellchua2/opencode-config-template (6 stars, last pushed today), licensed Apache-2.0. It adds 31 tokens to every session and 4,811 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

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).…

polyuiislab/infiAgent · 77 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

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

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.

jakubkrehel/skills · 38 tokens