DESIGN.md@examples/wxappA

DESIGN.md@examples/wxapp from lizhiyao/sentry-miniapp is a DESIGN.md file: the design rules coding agents follow in that repo.

Install it, pinned
mdr add lizhiyao/sentry-miniapp/examples/wxapp/DESIGN.md@git:20261011.7bc77f7

Pins git:20261011.7bc77f7 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
DESIGN.md file
Repository
lizhiyao/sentry-miniapp
Path
examples/wxapp/DESIGN.md
Versions recorded
2
Latest version
git:20261011.7bc77f7, committed Oct 11, 2026
First version recorded
Feb 19, 2026
Size
3,327 bytes
Repository stars
712
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

# Sentry Miniapp 示例应用设计规范

本文档约定 `examples/wxapp` 的视觉与交互设计。共享样式的实现入口为 [app.wxss](app.wxss),操作与验收流程见 [README](README.md)。

## 1. 核心原则 (Core Principles)

- **现代化 (Modern)**:使用浅色背景、圆角卡片、柔和阴影和清晰的排版。
- **Sentry 品牌 (Sentry Branded)**:主色调采用 Sentry 紫 (`#6C5FC7`)。
- **直观 (Intuitive)**:优先展示状态信息,将操作按功能分组。
- **可访问性 (Accessible)**:确保足够的色彩对比度和点击区域。

## 2. 色彩系统 (Color System)

| 用途 | 变量名 | 色值 | 说明 |
| :--- | :--- | :--- | :--- |
| **主色** | `--primary-color` | `#6C5FC7` | Sentry 品牌色,用于按钮、高亮文本 |
| **主色 (浅)** | `--primary-light` | `#E0DBF9` | 辅助背景、选中状态 |
| **背景色** | `--bg-color` | `#F5F7FA` | 全局页面背景 (Light Grey) |
| **卡片背景** | `--card-bg` | `#FFFFFF` | 内容容器背景 |
| **文本 (主要)** | `--text-primary` | `#1E293B` | 标题、正文 |
| **文本 (次要)** | `--text-secondary` | `#64748B` | 副标题、描述 |
| **文本 (弱化)** | `--text-tertiary` | `#94A3B8` | 占位符、次要信息 |
| **成功** | `--success-color` | `#10B981` | 状态指示 |
| **警告** | `--warning-color` | `#F59E0B` | 状态指示 |
| **错误** | `--danger-color` | `#EF4444` | 状态指示 |

## 3. 排版与布局 (Typography & Layout)

### 字体

- 使用系统默认字体栈:`-apple-system, BlinkMacSystemFont, ...`
- 基础字号:`28rpx` (正文)
- 标题字号:`34rpx` (一级标题), `30rpx` (卡片标题)

### 间距与圆角

- **页面内边距**:`32rpx`
- **卡片内边距**:`32rpx`
- **卡片圆角**:`24rpx`
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add lizhiyao/sentry-miniapp/examples/wxapp/DESIGN.md@sha256:5ae4f44a470151a0

The line at the top of this page pins the label git:20261011.7bc77f7, 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_y5xez5ah3yup2amk.svg)](https://markdownregistry.com/a/art_y5xez5ah3yup2amk)

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

Versions

The registry has recorded 2 versions of this file, between Feb 19, 2026 and Oct 11, 2026, about one every 234 days.

versioncommittedcommitsizeaudit
git:20261011.7bc77f7 latest2026-10-11 7bc77f7 3,327 BA view · diff
git:20260219.83e13bb2026-02-19 83e13bb 3,047 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 (3327 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

lizhiyao/sentry-miniapp · 712 stars · license MIT · pushed 2026-11-05 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_y5xez5ah3yup2amk
GET https://markdownregistry.com/api/v1/resolve?ref=lizhiyao/sentry-miniapp/examples/wxapp/DESIGN.md
GET https://markdownregistry.com/api/v1/blob/5ae4f44a470151a0203cb63965d4796cab479187321ee99fdba1949ab2ed436f

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 lizhiyao/sentry-miniapp

sentry-miniapp-sdk SKILL.md skill
lizhiyao/sentry-miniapp · .agents/skills/sentry-miniapp-sdk/SKILL.md · Set up or troubleshoot Sentry error monitoring, tracing, offline cache and source maps in native mini programs, Taro or…
git:20261024.585e15a · audit A · 712 stars
AGENTS.md AGENTS.md file
lizhiyao/sentry-miniapp · AGENTS.md
git:20261103.8060cb9 · audit A · 712 stars
CLAUDE.md CLAUDE.md file
lizhiyao/sentry-miniapp · CLAUDE.md
git:20260523.d38a595 · audit A · 712 stars

Every file in lizhiyao/sentry-miniapp

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