AGENTS.md@src/shared/uiA
AGENTS.md@src/shared/ui from block/berd is an AGENTS.md file: the standing instructions coding agents read in that repo.
mdr add block/berd/src/shared/ui/AGENTS.md@git:20260812.9b88cacPins git:20260812.9b88cac in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- AGENTS.md file
- Repository
- block/berd
- Path
src/shared/ui/AGENTS.md- Versions recorded
- 1
- Latest version
- git:20260812.9b88cac, committed Aug 12, 2026
- Size
- 8,527 bytes
- Repository stars
- 1,043
- License
- Apache-2.0
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
# Shared UI Design System Use the primitives in `src/shared/ui/` as the default way to build interface elements. Prefer extending these components over recreating their styling in feature code. ## Core Rules - Prefer shared UI primitives over custom markup plus Tailwind classes. - Prefer adding a variant or prop to a shared component over one-off styling in feature code. - Keep feature code focused on composition, state, and content. Visual treatment should usually live in `src/shared/ui/`. - If a pattern appears in more than one place, extract or extend a shared primitive instead of copying class strings. ## Button sizing rule **All buttons within a single surface zone must use the same `size`.** Footer buttons in dialogs are the default Button size. Toolbar buttons are `xs`. Page-level actions are `default`. Never mix sizes within a footer, toolbar, or inline button group — if one button needs to be smaller, the whole group steps down together. The button system is a closed menu. Every button in the app is one of these named things — never a custom-styled Button. ### The semantic menu (Button variants) | Variant | Use when | | --- | --- | …
Read the whole file at its exact version.
How to install
mdr add block/berd/src/shared/ui/AGENTS.md@sha256:2c2d6662b425a111The line at the top of this page pins the label git:20260812.9b88cac, 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.
[](https://markdownregistry.com/a/art_7sydsnbxxme5tuzq)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 1 version of this file, committed on Aug 12, 2026.
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (8527 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
block/berd · 1,043 stars · license Apache-2.0 · pushed 2026-11-07 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_7sydsnbxxme5tuzq GET https://markdownregistry.com/api/v1/resolve?ref=block/berd/src/shared/ui/AGENTS.md GET https://markdownregistry.com/api/v1/blob/2c2d6662b425a1114880519148d51c0cca8bb65d9251b3b5cad35d2d39b835af
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: how to write a good AGENTS.md · AGENTS.md vs CLAUDE.md · which agent file does what.