issueflow-rules

A set of project rules for running Python commands and tests in the correct environment, such as a virtual environment, conda environment, or uv-managed project.

In plain words
What is it for?
It guides an agent when running Python scripts and pytest, including whether to use conda, uv, or the project's existing commands.
Why use it?
It prevents scripts and tests from using the wrong Python interpreter or missing dependencies. It also keeps the project's documented setup as the source of truth.

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/jepegit/issue-flow/issueflow-rules
Clone the repo
git clone --depth 1 https://github.com/jepegit/issue-flow

Made for: Cursor.

Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 5,540 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.00000 $0.05540
Opus 5 $0.00000 $0.02770
Sonnet 5 $0.00000 $0.01108
Haiku 4.5 $0.00000 $0.00554

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

Security

Grade A, and why

issueflow-rules scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/issueflow-rules.mdc · 308 lines

How it starts

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

Issue-flow best practices

Running python

Respect the project's existing toolchain first. If this project already documents how to run Python and manage dependencies — in its README, AGENTS.md, CLAUDE.md, .cursor/rules, environment.yml, pyproject.toml, Makefile, CI config, etc. — follow that, even where it conflicts with the defaults below. These rules describe issue-flow's default assumptions, not a mandate to override a project that has already chosen differently.

The one tool-neutral principle: don't call bare python ... — invoke Python through the project's environment (its runner, or an activated virtualenv/conda env) so scripts and tests see the right interpreter and dependencies.

If the project uses conda

When the project documents a conda environment, run all Python commands — scripts and pytest — inside the activated conda environment. Do not substitute uv run.

# Either activate the environment first…
conda activate <env-name>
python run_script.py
pytest

# …or run one-off commands inside it:
conda run -n <env-name> pytest

If the project uses uv (issue-flow's default)

For projects scaffolded fresh (and this is the default when nothing else is documented), use uv:

# ❌ BAD: bare interpreter
python run_script.py

# ✅ GOOD: through uv
uv run run_script.py

Package management with uv

  • Install, synchronize, and lock dependencies with uv; don't reach for pip, pip-tools, or poetry in a uv-managed project.
# Add or upgrade dependencies
uv add <package>

# Remove dependencies
uv remove <package>

# Reinstall all dependencies from the lock file
uv sync

# Run a script with the right environment
uv run script.py

Other toolchains (plain venv / pip / poetry)

If the project uses something else, use whatever it documents (e.g. activate its .venv and use pip, or run poetry run). Match the project; don't force uv.

Issue tracking structure

Read the full file on GitHub · 308 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 · 308 lines · 0 tokens per session scan A 735c313f4592

Subscribe to this mod's changes

issueflow-rules is a cursor rule published in the GitHub repository jepegit/issue-flow (4 stars, last pushed 19d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,540 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.