python Cursor ruleA

python from jnpiyush/agentx is a Cursor rule: instructions the Cursor agent follows in that repo.

Install it, pinned
mdr add jnpiyush/agentx/.cursor/rules/python.mdc@git:20261010.87e53aa

Pins git:20261010.87e53aa in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 14 of 14 checks passed
Kind
Cursor rule
Repository
jnpiyush/agentx
Path
.cursor/rules/python.mdc
Versions recorded
3
Latest version
git:20261010.87e53aa, committed Oct 10, 2026
First version recorded
Jun 26, 2026
Size
679 bytes
Repository stars
18
License
Apache-2.0

Python coding standards (Frontier).

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

# Python (Frontier)

Canonical: `.github/instructions/python.instructions.md` and
`.github/skills/languages/python/SKILL.md` -- read through
`pwsh -NoProfile -File .frontier/runtime/frontier.ps1 cursor read <canonical-path>`.

- PEP 8; type hints on all signatures; Black 88-col; `ruff` lint/format.
- Google-style docstrings; pytest (+ pytest-asyncio); name tests
  `test_function_scenario_expected`.
- Catch specific exceptions, never bare `except:`.
- Parameterize SQL via ORM or `cursor.execute(sql, params)` -- never f-strings.
- Secrets via env/Key Vault, never hardcoded.

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add jnpiyush/agentx/.cursor/rules/python.mdc@sha256:f324b928234feb62

The line at the top of this page pins the label git:20261010.87e53aa, 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_ktfqlripx2ihhdv6.svg)](https://markdownregistry.com/a/art_ktfqlripx2ihhdv6)

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

Versions

The registry has recorded 3 versions of this file, between Jun 26, 2026 and Oct 10, 2026, about one every 53 days.

versioncommittedcommitsizeaudit
git:20261010.87e53aa latest2026-10-10 87e53aa 679 BA view · diff
git:20260915.f17c5052026-09-15 f17c505 606 BA view · diff
git:20260626.03a70632026-06-26 03a7063 602 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 (679 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

jnpiyush/agentx · 18 stars · license Apache-2.0 · pushed 2026-11-01 · branch master

API

GET https://markdownregistry.com/api/v1/artifacts/art_ktfqlripx2ihhdv6
GET https://markdownregistry.com/api/v1/resolve?ref=jnpiyush/agentx/.cursor/rules/python.mdc
GET https://markdownregistry.com/api/v1/blob/f324b928234feb6254ff8df2b58ffc796e8d6180835b4e039ef85acdc3b12c84

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 jnpiyush/agentx

000-frontier-core Cursor rule
jnpiyush/agentx · .cursor/rules/000-frontier-core.mdc · Frontier canonical contracts and workspace context for Cursor.
git:20261012.38fb931 · audit A · 18 stars
ai Cursor rule
jnpiyush/agentx · .cursor/rules/ai.mdc · AI / agent / LLM workflow standards (Frontier)
git:20261010.87e53aa · audit A · 18 stars
csharp Cursor rule
jnpiyush/agentx · .cursor/rules/csharp.mdc · C# / .NET coding standards (Frontier)
git:20261010.87e53aa · audit A · 18 stars
react Cursor rule
jnpiyush/agentx · .cursor/rules/react.mdc · React / TSX frontend standards (Frontier)
git:20261010.87e53aa · audit A · 18 stars
typescript Cursor rule
jnpiyush/agentx · .cursor/rules/typescript.mdc · TypeScript / Node backend standards (Frontier)
git:20261010.87e53aa · audit A · 18 stars
agent-memory-systems SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/agent-memory-systems/SKILL.md · Design agent memory beyond a single context window: short-term (working / scratchpad), long-term (episodic, semantic…
v1.0.0 · audit A · 18 stars
agent-observability SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/agent-observability/SKILL.md · Instrument LLM agents with tracing, metrics, and evaluation telemetry. Use when adding OpenTelemetry GenAI semantic…
v1.0.0 · audit A · 18 stars
ai-agent-development SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/ai-agent-development/SKILL.md · Build production-ready AI agents with Microsoft Foundry and Agent Framework. Use when creating AI agents, selecting LLM…
git:20261010.87e53aa · audit A · 18 stars
ai-evaluation SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/ai-evaluation/SKILL.md · Use when evaluating AI quality, safety, completeness and cost with held-out tasks, executable graders, calibrated…
v1.1.0 · audit A · 18 stars
ai-safety-and-red-teaming SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/ai-safety-and-red-teaming/SKILL.md · Defend LLM systems against prompt injection, jailbreaks, data exfiltration, and unsafe output. Covers input/output…
v1.0.0 · audit B · 18 stars
anthropic-claude SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/anthropic-claude/SKILL.md · Implement production applications with Anthropic Claude models -- Messages API, tool use, prompt caching, adaptive…
v1.0.0 · audit A · 18 stars
azure-foundry SKILL.md skill
jnpiyush/agentx · .github/skills/ai-systems/azure-foundry/SKILL.md · Design and architect AI agents on Azure AI Foundry -- lifecycle planning, model selection strategy, evaluation…
git:20260915.f17c505 · audit A · 18 stars

Every file in jnpiyush/agentx

Other files named python

python SKILL.md skill
ericrisco/rsc-harness · skills/python/SKILL.md · Use when the task is Python itself, in any framework or none: PEP 695 generics, mypy --strict typing…
git:20260729.3ecb845 · audit A · 429 stars
python SKILL.md skill
mindrally/skills · python/SKILL.md · Expert in Python development with best practices across web, data science, and automation
git:20261008.7682ca7 · audit A · 289 stars
python Cursor rule
stbenjam/skillsaw · .cursor/rules/python.mdc · How to run Python and skillsaw in this project
git:20260509.434f5a9 · audit A · 69 stars
python SKILL.md skill
yuecao365/offercome · src/lib/mock-interviews/skills/python/SKILL.md · Python 后端怎么面:GIL 与 asyncio、Web 框架、ORM、Celery。JD 点名 Python 读。
git:20260920.a4843f5 · audit A · 24 stars
python SKILL.md skill
jnpiyush/agentx · .github/skills/languages/python/SKILL.md · Write production-ready Python code following modern best practices. Use when building Python applications, adding type…
v1.0.0 · audit A · 18 stars
python SKILL.md skill
kissgyorgy/coding-agents · skills/python/SKILL.md · Write clean, readable Pythonic code. Use this skill when writing or changing a Python file.
git:20261011.a56afef · audit A · 15 stars
python SKILL.md skill
dhaupin/vant · models/public/vant/skills/vant-skill-python/SKILL.md · Python package management.
v1.0 · audit A · 15 stars
python SKILL.md skill
sparq-org/sparq · skills/python/SKILL.md · Use the sparq RDF + SPARQL engine from Python (PyPI distribution `sparq-rdf`; `import sparq`). Reach for this when an…
git:20261026.6e0be1d · audit A · 13 stars

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