agentleFS
tsubotaxtsubotax/melta-ui/skills/design-review/SKILL.md

design-review

Skill201 starsChanged 3 months agoMITView on GitHub

HTMLファイルをmelta UIデザインシステムに照らしてレビューし、違反を検出・分類・修正提案する。トリガー: 「デザインレビュー」「DSチェック」「禁止パターンチェック」「design review」「check compliance」「DS準拠確認」。対象ファイルのパスを引数で受け取る。

183 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use team-audio, playtest-report and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • CoralGameSkill

    team-audio

    Orchestrate audio team: audio-director + sound-designer + technical-artist + gameplay-programmer for full audio pipeline from direction to implementation.

    Also in 15 projects that use this

  • CoralGameSkill

    playtest-report

    Generates a structured playtest report template or analyzes existing playtest notes into a structured format. Use this to standardize playtest feedback collection and analysis.

    Also in 14 projects that use this

  • lilangMaxSkill

    asset-spec

    Generate per-asset visual specifications and AI generation prompts from GDDs, level docs, or character profiles. Produces structured spec files and updates the master asset manifest. Run after art bible and GDD/level design are approved, before production begins.

    Also in 12 projects that use this

  • julianoczkowskiSkill

    brief-to-tasks

    Break a design brief into an ordered checklist of independently buildable tasks using vertical slices. Saves as a markdown checklist. Use when user wants to break down work, create tasks from a brief, plan implementation order, or mentions "tasks" or "breakdown".

    Also in 8 projects that use this

  • lilangMaxSkill

    propagate-design-change

    When a GDD is revised, scans all ADRs and the traceability index to identify which architectural decisions are now potentially stale. Produces a change impact report and guides the user through resolution.

    Also in 13 projects that use this

  • ShreyRaviSkill

    setup-gbrain

    Set up gbrain for this coding agent: install the CLI, initialize a local PGLite or Supabase brain, register MCP, capture per-remote trust policy. One command from zero to "gbrain is running, and this agent can call it." Use when: "setup gbrain", "connect gbrain", "start gbrain", "install gbrain", "configure gbrain for this machine". (gstack)

    Also in 13 projects that use this

  • +2 more from CoralGame
  • +4 more from lilangMax

The file

Files
SKILL.md

デザインレビュー

HTMLファイルを melta UI デザインシステム(design/contracts/rules.json を正とする)に照らしてレビューし、違反を検出・分類・修正提案する。

手順

Step 1: 対象のHTMLファイルを特定する

  • 引数でファイルパスが指定されている場合 → そのファイルを読み込む
  • 引数がない場合 → examples/ 配下のHTMLファイルを一覧表示し、ユーザーに選択してもらう
  • 対象がHTMLファイルでない場合 → 「HTMLファイルを指定してください」と返す

対象ファイルを全文読み込む。

Step 2: DSリファレンスを読む

  • design/contracts/rules.json(SSOT。ID / severity / detector / pattern / alternative / automationStatus を持つ全禁止ルール)

補助(任意):

  • foundations/prohibited.md — 人間向けの prose 版。SSOT ではなく、pattern を持つルールの一部しか載っていないので、これだけで判定しない

Step 3: チェックリストに沿って違反を検出する

references/checklist.md(観点。HTML のどこをどう見るかの手順)を読み込み、各項目の [ID] を Step 2 で読んだ rules.json から引く。severity / detector / alternative の値は rules.json が正。

references/rules-index.md は 全文を読まなくてよい。checklist に無いカテゴリを横断して探すときの索引(カテゴリ別の表 + human-only 節 + 機械検出済み節)として、必要な箇所だけ参照する。

checklist.md のカテゴリ順にHTMLを走査する:

  1. カラー
  2. スペーシング・レイアウト
  3. タイポグラフィ
  4. モーション
  5. ボーダー
  6. フォーム(fieldset/legend カード干渉、日付セレクト幅を含む)
  7. アクセシビリティ

checklist.md に載っていないカテゴリ(modal / stepper / tag / list / table / skeleton / datepicker / baseline / ai-pattern / philosophy / button / divider)の違反を見つけた場合は、rules-index.md から ID を引いて報告する。

報告する違反には必ずルール ID を添える。 rules.json に存在しない ID を書かない(tests/skill-rule-refs.spec.ts が実在性を検査している)。対応するルールが無い指摘は違反ではなく「評価不可(ルール無し)」として扱う。

Step 4: 偽陽性を排除し、重大度を判定する

references/severity-rules.md を読み込み、以下を実行:

  1. 「推奨」と「必須」を区別 — 推奨事項は違反として報告しない
  2. 文脈判定で偽陽性を排除 — label/aria-current/text-xs の文脈確認
  3. 重大度を割り当て — Critical / High / Medium / Low の4段階。固定ルールに従い、表に無いものは rules.json の severity から変換する

Step 5: レポートを出力する

references/report-template.md を読み込み、テンプレートに沿ってレポートを出力する。

レポートには ## 評価不可 節を必ず含める(human-only / 静的に観測できない / 対応ルール無しの3種)。評価不可の項目は違反件数に含めない。

出力前に サマリー整合チェック を実施: 本文中の各重大度の件数と冒頭サマリーの件数が一致することを確認する。

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.