valid Cursor ruleA

valid from agent-sh/agnix is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add agent-sh/agnix/tests/fixtures/cursor/.cursor/rules/valid.mdc@git:20260204.dd61f9d

Pins git:20260204.dd61f9d in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
agent-sh/agnix
Path
tests/fixtures/cursor/.cursor/rules/valid.mdc
Versions recorded
1
Latest version
git:20260204.dd61f9d, committed Feb 4, 2026
Size
338 bytes
Repository stars
472
License
Apache-2.0

TypeScript coding standards for the project.

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

# TypeScript Rules

Use strict TypeScript with explicit types.

## Guidelines

- Always use explicit return types for functions
- Prefer `const` over `let`
- Use interfaces over type aliases for object shapes
- Enable strict null checks

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add agent-sh/agnix/tests/fixtures/cursor/.cursor/rules/valid.mdc@sha256:cac0c62884c2cfe8

The line at the top of this page pins the label git:20260204.dd61f9d, 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_lrthwexopgazd5ba.svg)](https://markdownregistry.com/a/art_lrthwexopgazd5ba)

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

Versions

The registry has recorded 1 version of this file, committed on Feb 4, 2026.

versioncommittedcommitsizeaudit
git:20260204.dd61f9d latest2026-02-04 dd61f9d 338 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 (338 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

agent-sh/agnix · 472 stars · license Apache-2.0 · pushed 2026-11-07 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lrthwexopgazd5ba
GET https://markdownregistry.com/api/v1/resolve?ref=agent-sh/agnix/tests/fixtures/cursor/.cursor/rules/valid.mdc
GET https://markdownregistry.com/api/v1/blob/cac0c62884c2cfe86cbdc08c953b29d02c45a2f4119961f53cccf3b709ee815a

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 agent-sh/agnix

AGENTS.md AGENTS.md file
agent-sh/agnix · AGENTS.md
git:20261104.ed8e564 · audit A · 472 stars
agnix SKILL.md skill
agent-sh/agnix · plugin/skills/agnix/SKILL.md · Use when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'…
git:20261104.ed8e564 · audit A · 472 stars
agnix SKILL.md skill
agent-sh/agnix · skills/agnix/SKILL.md · Use when user asks to 'lint agent configs', 'validate skills', 'check CLAUDE.md', 'validate hooks', 'lint MCP'…
git:20261104.ed8e564 · audit A · 472 stars
AGENTS.md@tests/fixtures/agents_md/codex-missing-context AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/codex-missing-context/AGENTS.md
git:20261017.2418425 · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/invalid-markdown AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/invalid-markdown/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/nested AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/nested/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/nested/subdir AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/nested/subdir/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-commands AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-commands/AGENTS.md
git:20261017.3438b9f · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-context AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-context/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/no-headers AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/no-headers/AGENTS.md
git:20261017.0b05a90 · audit A · 472 stars
AGENTS.md@tests/fixtures/agents_md/unguarded-platform AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/unguarded-platform/AGENTS.md
git:20260201.308527c · audit B · 472 stars
AGENTS.md@tests/fixtures/agents_md/valid AGENTS.md file
agent-sh/agnix · tests/fixtures/agents_md/valid/AGENTS.md
git:20260201.308527c · audit A · 472 stars

Every file in agent-sh/agnix

Other files named valid

valid SKILL.md skill
stbenjam/skillsaw · tests/fixtures/agent-plugins/skill-entry-escape/repo/skills/valid/SKILL.md · Validate contained release evidence. Use when reviewing a release candidate.
git:20260806.42a474a · audit B · 69 stars
valid SKILL.md skill
korya/askl · test/fixtures/skills/valid/SKILL.md · A perfectly fine skill. Use when testing the linter happy path.
git:20260902.1f9ccb7 · audit B · 2 stars
valid SKILL.md skill
korya/avocetta · test/fixtures/skills/valid/SKILL.md · A perfectly fine skill. Use when testing the linter happy path.
git:20260902.1f9ccb7 · audit B · 2 stars

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