ui-verification Cursor ruleB
ui-verification from coddy-project/coddy-agent is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add coddy-project/coddy-agent/.cursor/rules/ui-verification.mdc@git:20261018.654e9bbPins git:20261018.654e9bb in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- Cursor rule
- Repository
- coddy-project/coddy-agent
- Path
.cursor/rules/ui-verification.mdc- Versions recorded
- 20
- Latest version
- git:20261018.654e9bb, committed Oct 18, 2026
- First version recorded
- Sep 10, 2026
- Size
- 10,635 bytes
- Repository stars
- 178
- License
- MIT
UI layout checks before claiming work is done.
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
# UI verification (Playwright MCP) Before you tell the user that a UI change is complete or merge-ready: 1. Choose one free port (for example **`PORT=5201`**) and start **`CODDY_UI_BACKEND=http://127.0.0.1:<serve port> npx vite --host localhost --port "$PORT"`** in **`external/ui`**, against a **`coddy serve`** that has a session with messages (a session bundle written into a throwaway **`CODDY_HOME`** is enough; no model is called). 2. Use **Playwright MCP** (or the repo browser tools) to open **`http://localhost:$PORT/`** and that conversation, **`http://localhost:$PORT/#/s/<session id>`** (the edges below exist only on the chat screen), with at least two viewports: **narrow** (for example **390px**) and **wide** (for example **1280px**). 3. Run **`browser_evaluate`** to compare **`getBoundingClientRect()`** edges for **`.chat-header`**, **`.messages-inner`** first child, and **`.composer-card`** (left and right should match within about **1px** after shared column padding; a user message keeps to the right, so a first row that is one is compared by its right edge). 4. If anything is off, fix CSS and re-check before reporting done. …
Read the whole file at its exact version.
How to install
mdr add coddy-project/coddy-agent/.cursor/rules/ui-verification.mdc@sha256:17b900fbe4dfe7d5The line at the top of this page pins the label git:20261018.654e9bb, 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_oazhbhpz3ziflcgn)
5 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 20 versions of this file, between Sep 10, 2026 and Oct 18, 2026, about one every 2 days. Its first recorded version is graded A and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261018.654e9bb latest | 2026-10-18 | 654e9bb | 10,635 B | B | view · diff |
| git:20261018.d929595 | 2026-10-18 | d929595 | 9,800 B | B | view · diff |
| git:20261018.95e63c5 | 2026-10-18 | 95e63c5 | 9,410 B | B | view · diff |
| git:20261018.d2cc152 | 2026-10-18 | d2cc152 | 9,709 B | B | view · diff |
| git:20261010.b565662 | 2026-10-10 | b565662 | 8,575 B | B | view · diff |
| git:20261008.e6503cd | 2026-10-08 | e6503cd | 8,222 B | A | view · diff |
| git:20261007.d79cead | 2026-10-07 | d79cead | 7,305 B | A | view · diff |
| git:20261007.7c593ed | 2026-10-07 | 7c593ed | 6,455 B | A | view · diff |
| git:20261006.024548c | 2026-10-06 | 024548c | 5,578 B | A | view · diff |
| git:20261006.78c7dbb | 2026-10-06 | 78c7dbb | 5,560 B | A | view · diff |
| git:20261005.c1ba25d | 2026-10-05 | c1ba25d | 4,765 B | A | view · diff |
| git:20261005.9da3277 | 2026-10-05 | 9da3277 | 4,619 B | A | view · diff |
| git:20261004.1dfa507 | 2026-10-04 | 1dfa507 | 4,596 B | A | view · diff |
| git:20261004.4bb7222 | 2026-10-04 | 4bb7222 | 4,538 B | A | view · diff |
| git:20260927.655ed8d | 2026-09-27 | 655ed8d | 4,053 B | A | view · diff |
| git:20260924.33b5e24 | 2026-09-24 | 33b5e24 | 4,054 B | A | view · diff |
| git:20260924.6aa9a57 | 2026-09-24 | 6aa9a57 | 3,022 B | A | view · diff |
| git:20260920.c4704e9 | 2026-09-20 | c4704e9 | 2,213 B | A | view · diff |
| git:20260912.c2d53a8 | 2026-09-12 | c2d53a8 | 1,510 B | A | view · diff |
| git:20260910.7a5e10a | 2026-09-10 | 7a5e10a | 1,497 B | A | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1)
- pass: Size between 200 bytes and 200 KB (10635 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 script tag
Starting a new one? Use the Cursor rule starter on mdpantry, which passes every one of these checks and says what to change in it.
Source
coddy-project/coddy-agent · 178 stars · license MIT · pushed 2026-10-20 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_oazhbhpz3ziflcgn GET https://markdownregistry.com/api/v1/resolve?ref=coddy-project/coddy-agent/.cursor/rules/ui-verification.mdc GET https://markdownregistry.com/api/v1/blob/17b900fbe4dfe7d529464920bf3a8e672d614ad59672057ca64f32154da0a25d
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: Cursor rules vs AGENTS.md · which agent file does what.
More from coddy-project/coddy-agent
Every file in coddy-project/coddy-agent