agentleFS
BetterTypedBetterTyped/react-zoom-pan-pinch/.cursor/rules/decisions.mdc

react-zoom-pan-pinch / rules

Cursor rule2k starsChanged 8 months agoMITView on GitHub

Some behaviour is chosen, not obvious, and a future change would "helpfully" undo it. Those decisions are written down and respected. - Issue-level behaviour — the resolution log of the matching docs/bugs/*.md or docs/feature-requests/*.md (e.g. "By design (documented)" entries). - Cross-cutting decisions — a short ADR in docs/adr/NNNN-<slug>.md: context, decision, consequences, a few paragraphs. Create docs/adr/ the first time one is needed. Record an ADR when a decision is hard to reverse, changes behaviour users see by default, or spans…

Adopted by

Steady: 0 new projects took it in the last 4 weeks, none the 4 weeks before.thin data

Week of Oct 4: 0 new projectsWeek of Oct 11: 0 new projectsWeek of Oct 18: 0 new projectsWeek of Oct 25: 0 new projectsWeek of Nov 1: 0 new projectsWeek of Nov 8: 0 new projectsWeek of Nov 15: 0 new projectsWeek of Nov 22: 0 new projects
Oct 2026Nov 2026Nov 2026
New projects taking a version of this file each week, over the 8 weeks our latest run read: only 0 in all, so this is a hint, not a trend.

Who's talking about BetterTyped/react-zoom-pan-pinch

The biggest 5 of 50 mentions linking to the repository that our crawl found. Each line is their own headline.

See all 50

Talked about on GitHub (50 times).

On GitHub · 50

45 more on GitHub

The file

We split this decisions.mdc into the rules it gives an agent

1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not re-litigate a recorded decision: If it looks wrong, say so and ask — never silently refactor around it.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 7,324 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
decisions.mdc
---
description:
  Behaviour and architecture decisions — record them, read them, don't
  re-litigate them
alwaysApply: true
---

# Decisions

Some behaviour is chosen, not obvious, and a future change would "helpfully"
undo it. Those decisions are written down and respected.

## Where decisions live

- **Issue-level behaviour** — the resolution log of the matching
  `docs/bugs/*.md` or `docs/feature-requests/*.md` (e.g. "By design
  (documented)" entries).
- **Cross-cutting decisions** — a short ADR in `docs/adr/NNNN-<slug>.md`:
  context, decision, consequences, a few paragraphs. Create `docs/adr/` the
  first time one is needed.

Record an ADR when a decision is hard to reverse, changes behaviour users see by
default, or spans several modules — for example: rubber-band overscroll applies
only while `autoAlignment` is on; trackpad pinch is handled as a ctrl+wheel;
`zoomIn` steps linearly.

## Rules

- **Read the related decisions before changing behaviour** in that area.
- **Do not re-litigate a recorded decision.** If it looks wrong, say so and ask
  — never silently refactor around it.
- A change that alters default behaviour for every user (a new default, a new
  effect on default props) is a decision: record it and flag it for the release
  notes.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.