project-management-automation: Cursor rule for Cursor

.cursorrules

cursorrules is a cursor rule for Cursor from davidl71/project-management-automation. It costs 1,248 tokens per session, scanned C, original, MIT.

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

Written for Cursor: installed under .cursor/.

This is davidl71/project-management-automation's own configuration. It tells Cursor how to work on project-management-automation itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything project-management-automation configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davidl71/project-management-automation. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/davidl71/project-management-automation/main/.cursorrules
Clone the repo
git clone --depth 1 https://github.com/davidl71/project-management-automation

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for cursorrules

README.md
[![agentmods](https://agentmods.dev/badge/rules/davidl71/project-management-automation/cursorrules/github.svg)](https://agentmods.dev/rules/davidl71/project-management-automation/cursorrules)
Your own site
<a href="https://agentmods.dev/rules/davidl71/project-management-automation/cursorrules"><img src="https://agentmods.dev/badge/rules/davidl71/project-management-automation/cursorrules/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for cursorrules

Your own site · 80×15
<a href="https://agentmods.dev/rules/davidl71/project-management-automation/cursorrules"><img src="https://agentmods.dev/badge/rules/davidl71/project-management-automation/cursorrules.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.01248 $0.01248
Opus 5.5 $0.00499 $0.00499
Sonnet 5.5 $0.00250 $0.00250
Haiku 4.5 $0.00125 $0.00125

Measured 1mo ago against content hash 38fdd8d7c69a, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 1mo ago.

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. 1mo ago 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 8mo ago), licensed MIT. It adds 1,248 tokens to every session, about $0.0050 per session on Opus 5.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.