DESIGN.md@examples/notification-settingsA

DESIGN.md@examples/notification-settings from hirokaji/jp-ui-contracts is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add hirokaji/jp-ui-contracts/examples/notification-settings/DESIGN.md@git:20261103.ff96b46

Pins git:20261103.ff96b46 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
hirokaji/jp-ui-contracts
Path
examples/notification-settings/DESIGN.md
Versions recorded
1
Latest version
git:20261103.ff96b46, committed Nov 3, 2026
Size
2,669 bytes
Repository stars
75
License
MIT

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# DESIGN.md — 通知設定の比較例

## Contract Metadata

- **Locale**: `ja-JP`
- **Profile**: `saas`
- **Review status**: `draft`

## Product Use

利用者が通知先の表示名と受信設定を確認・変更する合成例。実際の利用頻度は未確認。保存はページ内の模擬状態だけを変え、外部送信・永続保存をしない。

主操作は「変更を保存」、補助操作は「元に戻す」。設定項目は一つのフォームとしてまとめる。前後で文言、初期値、入力制約、処理を共有し、見た目のために内容・機能を削除しない。

## 表現と状態

- MUST: 日本語ラベルを省略せず、通常・長文・空・エラーで表示する。
- MUST: 空の表示名で保存するとエラーを表示し、入力へフォーカスを戻す。取消は初期値を復元し、古い成功・エラーを消す。
- MUST: Tab、Enter、Spaceで操作でき、focusの輪郭を表示する。
- DEFAULT: 一つの主操作を強調し、補助操作を同じ強さにしない。比較例のbeforeはこの推奨とラベルの収まりに故意に反する。
- OPTION: ブランド色・装飾は用途の根拠があれば採用できる。特定の色を禁止しない。
- 対象幅: 320px、412px、1440px。Chromium。200%ブラウザズーム、実IME、実機・読み上げは手動確認が必要。
- 動きは不要なためアニメーションを入れない。実サービスの保存、通信失敗、認証・権限は対象外。

## Measured Elements

この表が機械計測の唯一の編集元。Min font px / Min line-heightは、この合成例の対象要素だけに適用する下限値。収まりの検査は自身のボックス内にある単純テキストが対象であり、任意のDOMの完全可視性ではない。

| Selector | Min font px | Min line-height | Overflow |
|---|---|---|---|
| #delivery-label | 16 | 1.5 | fit |
| #name-label | 16 | 1.5 | fit |
| #save | 16 | 1.5 | fit |
| #reset | 16 | 1.5 | fit |

## Validation Targets

- beforeの長文ラベルは文書の横はみ出しがなくても局所の収まり検査でFAILになる。
- afterの全対象要素は320px、412px、1440pxで文字サイズ・行間・収まり条件を満たす。
- 前後で同じデータ・入力制約を使用し、通常・長文・空・エラーの表示内容を保存する。
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add hirokaji/jp-ui-contracts/examples/notification-settings/DESIGN.md@sha256:f1337ddfd7cfb91e

The line at the top of this page pins the label git:20261103.ff96b46, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_gpfqe36ptg2kq5ic.svg)](https://markdownregistry.com/a/art_gpfqe36ptg2kq5ic)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 1 version of this file, committed on Nov 3, 2026.

versioncommittedcommitsizeaudit
git:20261103.ff96b46 latest2026-11-03 ff96b46 2,669 BA view

Audit of the latest version

A  14 of 14 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Size between 200 bytes and 200 KB (2669 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

hirokaji/jp-ui-contracts · 75 stars · license MIT · pushed 2026-11-03 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_gpfqe36ptg2kq5ic
GET https://markdownregistry.com/api/v1/resolve?ref=hirokaji/jp-ui-contracts/examples/notification-settings/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/f1337ddfd7cfb91e482a16725bf3e742ee3721c39453a23a27b89a70a916298e

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: what DESIGN.md is and how agents use it · which agent file does what.

More from hirokaji/jp-ui-contracts

AGENTS.md AGENTS.md file
hirokaji/jp-ui-contracts · AGENTS.md
git:20261103.ff96b46 · audit A · 75 stars
DESIGN.md@examples/sample-media DESIGN.md file
hirokaji/jp-ui-contracts · examples/sample-media/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
DESIGN.md@examples/sample-saas DESIGN.md file
hirokaji/jp-ui-contracts · examples/sample-saas/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
japanese-ui-contract-review SKILL.md skill
hirokaji/jp-ui-contracts · skills/japanese-ui-contract-review/SKILL.md
git:20261103.ff96b46 · audit C · 75 stars
DESIGN.md@templates/base DESIGN.md file
hirokaji/jp-ui-contracts · templates/base/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
DESIGN.md@templates/dashboard DESIGN.md file
hirokaji/jp-ui-contracts · templates/dashboard/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
DESIGN.md@templates/docs DESIGN.md file
hirokaji/jp-ui-contracts · templates/docs/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
DESIGN.md@templates/media DESIGN.md file
hirokaji/jp-ui-contracts · templates/media/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars
DESIGN.md@templates/saas DESIGN.md file
hirokaji/jp-ui-contracts · templates/saas/DESIGN.md
git:20260411.d83a353 · audit A · 75 stars

Every file in hirokaji/jp-ui-contracts

Browse by kind, by grade A, or by owner.