スキル一覧に戻る
hippocampus-dev

frontend

by hippocampus-dev

Mirror of hippocampus

2🍴 1📅 2026年1月20日
GitHubで見るManusで実行

SKILL.md


name: frontend description: Frontend coding conventions using Preact and Tailwind. Use when writing or reviewing frontend JavaScript, HTML, or CSS code for web UI components. keywords: preact, tailwind, frontend, フロントエンド, UI, コンポーネント, css, html

  • Use Preact unless otherwise specified
  • Use Tailwind unless otherwise specified

Framework Selection

FrameworkWhen to Use
Next.js + shadcn/uiworkers/ directory (Cloudflare Workers)
Preact + Tailwindcluster/applications/ static frontends

Preact

  • Create elements with h function instead of JSX/TSX syntax

Accessibility

FrameworkApproach
shadcn/uiBuilt-in accessibility via Radix UI primitives
Preact + TailwindManual implementation required

Manual Accessibility Implementation

When not using shadcn/ui, ensure accessibility compliance:

ElementRequired
<select>Associate with <label> using for/id, use class: "sr-only" if visual label not needed
<input>Associate with <label> or use aria-label attribute
<table> headersUse <th scope="col"> or <th scope="row">

Example (Preact):

h("div", {class: "flex flex-col"}, [
    h("label", {for: "search-box", class: "sr-only"}, "Search"),
    h("select", {id: "search-box", ...}, [...]),
])

スコア

総合スコア

55/100

リポジトリの品質指標に基づく評価

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

3ヶ月以内に更新がある

0/10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

0/5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

0/5

レビュー

💬

レビュー機能は近日公開予定です