cursorrules

A set of coding rules requiring the uv tool to manage Python packages and environments. uv is a tool that installs dependencies and runs commands without manually creating a virtual environment.

In plain words
What is it for?
Installing dependencies, running Python commands and tests, formatting code, and managing the project environment with uv.
Why use it?
It prevents inconsistent setup caused by mixing pip, manual virtual environments, and other package-management methods.

Cursor rule for Cursor

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/davidl71/project-management-automation/cursorrules
Clone the repo
git clone --depth 1 https://github.com/davidl71/project-management-automation

Made for: Cursor.

Per session 1,248 This file is loaded in full into every session.
When invoked 1,248 The same file — it is already loaded in full.
Security scan C 2 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01248 $0.01248
Opus 5 $0.00624 $0.00624
Sonnet 5 $0.00250 $0.00250
Haiku 4.5 $0.00125 $0.00125

Measured yesterday against content hash 38fdd8d7c69a, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade C, and why

cursorrules scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -LsSf https://astral.sh/uv/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -LsSf https://astral.sh/uv/install.sh | sh
.cursorrules · 175 lines

How it starts

The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Project Management Automation - AI Agent Rules

🚨 CRITICAL: Use uv for Python Package Management

This project uses uv for all Python package management. NEVER use pip or manually create virtual environments.

Package Installation & Environment Setup

ALWAYS use uv commands:

  • uv sync - Install dependencies and sync environment (replaces pip install)
  • uv run <command> - Run commands in the managed environment
  • uv pip install - Only if you must use pip-compatible commands (still uses uv)
  • uvx <package> - Run packages without installation (like npx for Python)

NEVER use:

  • pip install (use uv sync or uv pip install instead)
  • python -m venv (uv manages environments automatically)
  • source venv/bin/activate (use uv run instead)
  • ❌ Manual virtual environment creation

Development Setup

# Install dependencies (replaces: pip install -e '.[dev]')
uv sync

# Run commands in the environment
uv run exarp --version
uv run pytest tests/
uv run black .

Why uv?

  • 10-100x faster than pip
  • Automatic environment management (no manual venv creation)
  • Better dependency resolution with lockfile support
  • Project already configured with uv.lock file

Project Structure

  • uv.lock - Dependency lockfile (commit this!)
  • pyproject.toml - Project configuration
  • .venv/ - Managed by uv (don't manually modify)

Development Workflow

  1. Setup: uv sync (one-time setup)
  2. Run commands: uv run <command> (always use this)
  3. Install new deps: Add to pyproject.toml, then uv sync
  4. Update deps: uv sync --upgrade

Testing

uv run pytest tests/ -v
uv run pytest tests/ --cov

Code Quality

uv run black .
uv run ruff check .
uv run mypy .

Running the Server

uv run exarp --version
uv run python -m project_management_automation.server

If uv is Not Available

If uv is not installed, inform the user and suggest:

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh
# Or via pipx
pipx install uv

Read the full file on GitHub · 175 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 175 lines · 1,248 tokens per session scan C 38fdd8d7c69a

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository davidl71/project-management-automation (1 stars, last pushed 6mo ago), licensed MIT. It adds 1,248 tokens to every session, about $0.0062 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.