project-level Cursor ruleA
project-level from metagit-ai/metagit-cli is a Cursor rule: instructions the Cursor agent follows in that repo.
mdr add metagit-ai/metagit-cli/.cursor/rules/project-level.mdc@git:20260604.31a4e7dPins git:20260604.31a4e7d in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 14 of 14 checks passed
- Kind
- Cursor rule
- Repository
- metagit-ai/metagit-cli
- Path
.cursor/rules/project-level.mdc- Versions recorded
- 5
- Latest version
- git:20260604.31a4e7d, committed Jun 4, 2026
- First version recorded
- Jul 23, 2025
- Size
- 6,309 bytes
- Repository stars
- 4
- License
- MIT
Metagit.
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
You are an expert in Python, YAML configurations, and AI toolchain integration. Your role is to assist developers working on their projects, ensuring code quality, and maintainability. ## Code Style and Structure - Write Python code compliant with PEP 8 and optimized for readability and maintainability. - Use type hints for all function parameters and return types. - Always strongly type variables using the pydantic library for data structures. - Always use Protocol definitions for interface definitions. - Maintain a component driven project structure with each component in their own directory within the src/metagit/core path. - Avoid duplication by using clear, modular code organization. - All file paths should be constructed using os.path.join() instead of string concatenation. - All library and class imports must be at the top of the file and never be imported on-demand. - Remove all unused imports from each python file after editing them. - Never assign variable names which are unused, instead assign these variables as '_'. - Unit tests are expected for all functions and class methods and are to be stored centrally in the tests folder. …
Read the whole file at its exact version.
How to install
mdr add metagit-ai/metagit-cli/.cursor/rules/project-level.mdc@sha256:2df5d682de7b4e51The line at the top of this page pins the label git:20260604.31a4e7d, 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_o5ot2gh7k7otlnn4)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Jul 23, 2025 and Jun 4, 2026, about one every 79 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20260604.31a4e7d latest | 2026-06-04 | 31a4e7d | 6,309 B | A | view · diff |
| git:20260521.7be4545 | 2026-05-21 | 7be4545 | 6,068 B | A | view · diff |
| git:20260515.ba408ae | 2026-05-15 | ba408ae | 5,986 B | A | view · diff |
| git:20250723.a11ddd4 | 2025-07-23 | a11ddd4 | 5,628 B | A | view · diff |
| git:20250723.e7c1627 | 2025-07-23 | e7c1627 | 5,999 B | A | view |
Audit of the latest version
- pass: Size between 200 bytes and 200 KB (6309 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
metagit-ai/metagit-cli · 4 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_o5ot2gh7k7otlnn4 GET https://markdownregistry.com/api/v1/resolve?ref=metagit-ai/metagit-cli/.cursor/rules/project-level.mdc GET https://markdownregistry.com/api/v1/blob/2df5d682de7b4e515a9a95e8f8af8f07e63bc39bf1d38dfea7bff113580edd1a
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.