本文へ移動
cccskills
無料GitHub で公開

bendc-frontend-guidelines

HTML, CSS, and JavaScript craft guidelines from bendc/frontend-guidelines — semantics, a11y basics, selector discipline, motion-friendly CSS, and readable JS. Use for markup review, static HTML/CSS, email HTML, or general front-end hygiene; pair with repo frontend rules and TypeScript lint policy.

インストール方法を見る

含まれるファイル(3)

  • SKILL.md5.5 KB
  • references/readme-original.md15.8 KB
  • references/upstream.md683 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

bendc Frontend Guidelines

Triggers

Use this skill when the task benefits from foundational HTML, CSS, and vanilla JS craft guidance from the vendored bendc/frontend-guidelines checklist, including:

  • Semantic HTML, document structure, lang, charset, and meaningful elements (main, article, time, etc.)
  • Accessibility basics called out upstream: alt text, real links and buttons, not relying on color alone, labelling controls
  • CSS structure: selector weight, avoiding unnecessary !important, inheritance, shorthand, flow and layout (flex/grid over absolute positioning when appropriate)
  • CSS performance habits: prefer opacity / transform for animation; avoid animating layout-heavy properties (aligns with repo motion rules)
  • Vanilla or legacy JS style: readability, native APIs, avoiding foot-guns called out in the upstream doc

Also load docs/ai/rules/frontend.md for any apps/* or packages/ui work in this monorepo.

Do not use when

  • The task is strictly backend, migrations, or database-only work.
  • You only need React / Next.js / App Router patterns — prefer docs/ai/skills/nextjs-app-router/SKILL.md and framework docs.
  • You only need Tailwind, design tokens, or shared @asym/ui primitives — the upstream doc is not Tailwind-specific; follow docs/ai/rules/frontend.md first.

Precedence (this repo wins)

The full text of the upstream guide lives in references/readme-original.md. When that reference conflicts with the Precedence table below, follow the table.

TopicAuthoritative in this repo
Tailwind, Maia/Zinc tokens, cn(), no arbitrary hex in componentsdocs/ai/rules/frontend.md
Motion timing, tokens, reduced motion, transition-all ban, route view transitionsdocs/ai/rules/frontend.md, docs/ai/skills/emil-design-engineering/SKILL.md, docs/ai/skills/anim/SKILL.md
General JavaScript / TypeScript code shape, control flow, helper extractionESLint, TypeScript configuration, formatter output, and nearby source patterns — prefer explicit, straightforward code over upstream terseness, loop avoidance, recursion, or shorthand
TypeScript types, strict, equality (===), linted patternsESLint / TS config and existing code style — do not adopt upstream examples that rely on loose equality or patterns that fail lint here
React component structure, Server Components, hooksNext.js docs and docs/ai/skills/react-component-dev/SKILL.md

Use the bendc guide as a second opinion on semantics, DOM clarity, CSS discipline, and readable JS. Do not copy upstream JavaScript advice about terseness, avoiding loops, recursion, composition, or shorthand unless it improves clarity under this repo's AGENTS.md conventions.

Workflow

  1. Confirm the surface is in scope (markup, styles, or JS where the upstream checklist applies).
  2. Load references/readme-original.md (or skim the sections you need: HTML, CSS, JavaScript).
  3. Cross-check Precedence above before recommending a change that touches tokens, Tailwind, motion, JS/TS code shape, or TS types.
  4. For shared UI or app routes, reconcile recommendations with docs/ai/rules/frontend.md and nearby components.
  5. Prefer small, evidence-based edits; do not rewrite large areas solely to match upstream brevity examples if repo style differs.

Checklist

  • Confirmed triggers match (HTML/CSS/JS craft vs pure React/Next/backend).
  • Read the relevant sections of references/readme-original.md or the live upstream README.
  • Applied Precedence: repo frontend rules, motion skills, AGENTS.md code style, and TypeScript lint are satisfied.
  • Did not strip accessibility or semantics for brevity.
  • If you edited files under docs/ai/skills/bendc-frontend-guidelines/, ran bun run skills:sync and bun run skills:verify before committing.

See also

  • Repo UI policy: docs/ai/rules/frontend.md
  • Motion craft: docs/ai/skills/emil-design-engineering/SKILL.md, docs/ai/skills/anim/SKILL.md
  • React component patterns: docs/ai/skills/react-component-dev/SKILL.md
  • Maintainer refresh notes: references/upstream.md

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Audit and fix accessibility in Core UI. Use when changing or reviewing buttons, links, forms, validation, dialogs, menus, tabs, tables, keyboard interactions, focus management, accessible names, announcements, contrast, touch targets, reduced motion, or WCAG/a11y behavior.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Use when building any system where email content triggers actions — AI agent inboxes, automated support handlers, email-to-task pipelines, or any workflow processing untrusted inbound email. Always use this skill when the user wants to receive emails and act on them programmatically, even if they don't mention "agent" — the skill contains critical security patterns (sender allowlists, content filtering, sandboxed processing) that prevent untrusted email from controlling your system.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

anim

無料

Tasteful, subtle web UI animation following Emil Kowalski / animations.dev principles. Use when adding or reviewing interface motion — hover and press feedback, entrances and exits, modals, toasts, menus, loading and skeleton states, staggered reveals, page or view transitions — so motion stays refined and purposeful, not decorative. Covers CSS, Web Animations, and React timing/easing. Pair with the motion skill for motion/react API specifics.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

animate

無料

Build an animation from scratch, making the decisions in the order that determines whether it feels right — should it animate at all, what purpose, which tool, which properties, which curve and duration, how it interrupts, how it exits. Writes the implementation. Use when asked to animate something, add motion, make a component feel alive, or build a transition. For critiquing existing motion use review-animations; for auditing a whole codebase use improve-animations. Only runs when explicitly invoked; it does not trigger on its own.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Build animations for Expo and React Native only, using Reanimated, Gesture Handler, Expo Router, and expo-haptics. Use when the target runtime is an Expo or React Native app. Do not use it for Core Next.js web motion; use `animate` for web. Only runs when explicitly invoked; it does not trigger on its own.

日本語の概要は準備中です。原文の説明を表示しています。

Asymmetric-al/core3812026年10月12日 更新

Asymmetric-al のスキルをすべて見る

このスキルの問題を報告する