- name
SKILL.md
技能檔案保留在發布者的儲存庫中。
在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add OyadotAI/oya-browser --skill frontend -a cursor -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add OyadotAI/oya-browser --skill frontend -a claude-code -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add OyadotAI/oya-browser --skill frontend -a codex -y在終端機中貼上複製的指令。它會將這個 SKILL.md 安裝到對應的代理中。
npx skills add OyadotAI/oya-browser --skill frontend -a grok -y在 Grok Bot 聊天中傳送複製的訊息。Bot 會從 GitHub 取得這個 SKILL.md,並加入你所有 Bot 共用的技能中。
Install this skill: https://github.com/OyadotAI/oya-browser/tree/HEAD/.claude/skills/frontend來自發布者
Build interfaces that look designed for this product, work in every state, and are verified by looking at them.
CLAUDE.md or AGENTS.md) for who the users are. A dashboard for engineers wants density; a landing page
wants one idea per screen.When there is no system yet, or the ask is a new surface, choose a clear aesthetic direction and execute it with precision — refined minimalism and bold maximalism both work; intentionality is the point. Never the generic AI look:
For each surface, design and build: empty, loading, partial, error (with what to do next), permission denied, offline or stale, and far more data than expected (long names, 10,000 rows). A blank area with no reason is a bug. Skeletons match the final layout so nothing jumps.
Semantic elements first (button, a, label, nav, headings in order). Everything works from
the keyboard with visible focus. Text contrast at least 4.5:1 in light and dark. Images have alt
text; icon-only buttons have labels. Honour prefers-reduced-motion and prefers-color-scheme.
Motion carries information — an arrival, a change, a relationship — or it goes. Prefer CSS
transitions; animate transform and opacity only. Nothing animates between a person and the
thing they are waiting for. Images are sized and lazy below the fold; fonts are subset and
font-display: swap; no layout shift when data lands.
Check the supported minimum width and a comfortable desktop width with no accidental horizontal scroll. For responsive websites, check 375, 768 and 1440px. Use at least 44px touch targets on touch interfaces; keep desktop controls consistent with the existing application.
Read the oya-browser skill and use Oya Browser exclusively. If Oya is unavailable,
report the blocker without substituting another browser or harness. Run the dev server and open
the page in an owned Oya tab. Take a screenshot at each width and in each theme and look
at it; read the console for errors and warnings. Check the empty and error states by forcing
them. A UI change is not done until you have seen it render — the type checker cannot see a
button that is white on white.
Say which direction you chose and why, the states you built, what you verified by looking (with the widths and themes), and anything you could not check.
Use when building or changing anything in the frontend: a page, a component, a layout, styling, copy on screen. Produces distinctive, production-grade UI that fits this project's existing design, cove
---name: frontenddescription: Use when building or changing anything in the frontend: a page, a component, a layout, styling, copy on…---# .claude/skills/frontend/SKILL.md總覽
Use when building or changing anything in the frontend: a page, a component, a layout, styling, copy on screen. Produces distinctive, production-grade UI that fits this project's existing design, covers every state, is accessible, and is checked in a browser before it is called done.
常見問題
從發布者下載 .claude/skills/frontend/SKILL.md,或複製路徑後開啟儲存庫。PlugMCP 只收錄這項技能,不代管檔案。
發布者將它存放在 https://github.com/OyadotAI/oya-browser。
Claude、Cursor、Codex 和 Grok Build 可以讀取你從發布者儲存庫加入的 SKILL.md。在聊天中傳送技能的 GitHub 資料夾連結,Grok Bot 就會安裝它。