Awesome Design MD JP
Skill by ara.so — Daily 2026 Skills collection.
A curated collection of DESIGN.md files for Japanese web services, extending the Google Stitch DESIGN.md format with CJK typography, Japanese font stacks, kinsoku shori (禁則処理), and mixed typesetting (混植) rules — enabling AI agents to generate accurate Japanese UI.
What This Project Does
DESIGN.md is a plain-text markdown file AI coding agents read to generate consistent UI. This project extends that format for Japanese services, covering:
- CJK font-family fallback chains (和文 → 欧文 → generic)
- Higher line-height (1.5–2.0 vs Western 1.4–1.5)
- Japanese letter-spacing (
0.04em–0.1emfor body text) - Kinsoku shori (禁則処理) — CJK punctuation line-break rules
- OpenType features (
palt,kern) for proportional typesetting - Mixed typesetting (混植) — combining Japanese and Latin typefaces
24 reference DESIGN.md files are included: Apple Japan, MUJI, Mercari, SmartHR, freee, note, LINE, Rakuten, Qiita, Zenn, pixiv, and more.
Installation / Setup
Clone or reference the repository directly — no build step required.
Copy the template into your project:
Or reference an existing service as a starting point:
Place DESIGN.md at your project root alongside AGENTS.md:
DESIGN.md Template Structure
The template extends the standard Google Stitch 9-section format with Japanese typography subsections.
Full Template
欧文(Latin / alphanumeric)
混植(Mixed typesetting)
Use Japanese font as base; Latin glyphs rendered by Inter layered on top via @font-face unicode-range.
3.2 Type Scale
3.3 Japanese Typography Rules
Line-height: Use 1.7–2.0 for body text (wider than Western 1.4–1.5).
Letter-spacing: Apply 0.04em–0.1em to body Japanese text; headings may use 0 or slightly negative.
Kinsoku shori (禁則処理):
- 行頭禁則文字 (cannot start a line):
)」』】、。・:;?!…― - 行末禁則文字 (cannot end a line):
(「『【
OpenType features:
Text rendering:
4. Spacing & Layout
Base unit: 8px
Max content width: 1200px with 24px horizontal padding on mobile.
5. Components
[Describe buttons, inputs, cards, navigation patterns]
6. Icons & Imagery
[Icon set, image ratios, illustration style]
7. Motion & Animation
[Transition durations, easing curves]
8. Responsive Breakpoints
9. Accessibility
- Contrast ratio: minimum 4.5:1 for body text
- Focus indicators: visible outline
- Tap targets: minimum 44×44px
Body
- font-size: 15px
- line-height: 2.0
- letter-spacing: 0.08em
- font-feature-settings: "palt" 1
Design Principles
- 徹底した余白(generous whitespace as design element)
- 無彩色を基調(achromatic base palette)
- 装飾を排除(eliminate decoration)
Type Scale
- Display: 28px / weight 700 / line-height 1.4 / ls 0
- Body: 14px / weight 400 / line-height 1.8 / ls 0.04em
- Label: 12px / weight 500 / line-height 1.6 / ls 0.06em
- Note: Dense information layout — prioritize readability at small sizes
Reading Typography
- Body: 18px / line-height 1.9 / letter-spacing 0.04em
- Max line length: 38–40 chars (約38文字で折り返し)
- Paragraph spacing: 1.5em
- Drop cap on first paragraph of long-form content
Font Loading (Google Fonts)
Common Patterns by Service Category
Consumer App (LINE, Mercari)
B2B SaaS (SmartHR, freee, Cybozu)
Editorial / Media (note, WIRED.jp, Qiita, Zenn)
Retail / Lifestyle (MUJI, Toyota)
Viewing Previews
Each DESIGN.md has an accompanying preview.html that visualizes design tokens:
Telling an AI Agent to Use DESIGN.md
When the file is at your project root, reference it explicitly in your prompt:
For Claude Code / Cursor, you can also reference specific sections:
Troubleshooting
AI generates wrong Japanese fonts
Problem: Agent uses "MS Gothic" or generic sans-serif only.
Fix: Make font-family fallback chain explicit in DESIGN.md with comments explaining each fallback's platform target.
Punctuation appearing at line start/end incorrectly
Problem: 。 or 、 wraps to start of next line; 「 hangs at end.
Fix: Add kinsoku rules explicitly:
Characters that MUST NOT start a line: )」』】、。・:;?!…― Characters that MUST NOT end a line: (「『【
Mixed Japanese/Latin spacing looks wrong
Problem: Latin letters inside Japanese text have no breathing room.
Fix: Document the spacing rule in DESIGN.md:
Contributing a New DESIGN.md
Required sections for acceptance:
- ✅ Color palette with CSS custom property names
- ✅ Japanese font-family fallback chain with platform comments
- ✅ Type scale table with line-height AND letter-spacing columns
- ✅ Kinsoku shori CSS rules
- ✅ font-feature-settings specification
- ✅ Responsive breakpoints

