component-testing Cursor ruleB
component-testing from pubky/pubky-app is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add pubky/pubky-app/.cursor/rules/component-testing.mdc@git:20261009.f54b19aPins git:20261009.f54b19a in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 13 of 14 checks passed
- Kind
- Cursor rule
- Repository
- pubky/pubky-app
- Path
.cursor/rules/component-testing.mdc- Versions recorded
- 6
- Latest version
- git:20261009.f54b19a, committed Oct 9, 2026
- First version recorded
- Dec 11, 2025
- Size
- 175 bytes
- Repository stars
- 26
- License
- MIT
Writing unit tests for UI component rendering.
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
# Component Testing Rules @docs/component-testing.md
Read the whole file at its exact version.
How to install
mdr add pubky/pubky-app/.cursor/rules/component-testing.mdc@sha256:6fa2581f1221ac19The line at the top of this page pins the label git:20261009.f54b19a, 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_xgzcsiylr2lnqqzq)
4 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 6 versions of this file, between Dec 11, 2025 and Oct 9, 2026, about one every 60 days. Its first recorded version is graded A and its latest B.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261009.f54b19a latest | 2026-10-09 | f54b19a | 175 B | B | view · diff |
| git:20260309.80c3cb2 | 2026-03-09 | 80c3cb2 | 194 B | B | view · diff |
| git:20260203.0ca173c | 2026-02-03 | 0ca173c | 19,665 B | A | view · diff |
| git:20260123.e778e32 | 2026-01-23 | e778e32 | 21,916 B | A | view · diff |
| git:20260102.d777ea9 | 2026-01-02 | d777ea9 | 18,992 B | A | view · diff |
| git:20251211.eb97db5 | 2025-12-11 | eb97db5 | 19,022 B | A | view |
Audit of the latest version
- fail: Size between 200 bytes and 200 KB (175 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
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
pubky/pubky-app · 26 stars · license MIT · pushed 2026-11-02 · branch dev
API
GET https://markdownregistry.com/api/v1/artifacts/art_xgzcsiylr2lnqqzq GET https://markdownregistry.com/api/v1/resolve?ref=pubky/pubky-app/.cursor/rules/component-testing.mdc GET https://markdownregistry.com/api/v1/blob/6fa2581f1221ac1904cb0f4707d2e659e94bd3fba55050541129e4002b83f3ba
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.