agentleFS
OWASPOWASP/OpenCRE/.cursor/rules/never-assume.mdc

OpenCRE / rules

Cursor rule199 starsChanged 5 months agoCC0-1.0View on GitHub

Verify or ask — no guessing packages, APIs, patterns, or incomplete code

We split this never-assume.mdc into the rules it gives an agent

4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not add markdown/docs files the user did not ask for.

    line 23
  2. Distinctive:

    Do not use "made with cursor" or similar in commits.

    line 24
  3. Distinctive:

    Use Makefile targets over ad-hoc commands when available.

    line 29
  4. Very specific:

    Prefer scripts/db/ for production DB operations over raw SQL.

    line 30

≈ “Common” is an estimate: at least 1 in 5 of the 6,350 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
never-assume.mdc
---
description: Verify or ask — no guessing packages, APIs, patterns, or incomplete code
alwaysApply: true
---

# Never Assume

| Do NOT | Instead |
|--------|---------|
| Assume package names, API endpoints, DB schema, or file locations | Read the codebase; grep; ask |
| Add new dependencies without explanation | State why, alternatives considered, and get approval |
| Use mocks unless explicitly requested | Prefer integration-style tests matching `@application/tests/` patterns |
| Replace code with placeholders, TODOs, or stubs | Ship complete, working code |
| Write incomplete implementations | Finish the feature or stop and explain what's blocked |
| Guess production/staging targets for DB ops | Confirm target app; follow `production-db-ops-safety.mdc` |
| Commit or push unless asked | Wait for explicit user request |

## Scope and diff discipline

- Minimize scope — smallest correct diff; no drive-by refactors.
- Match surrounding naming, types, imports, and documentation level.
- Comments only for non-obvious business logic.
- Do not add markdown/docs files the user did not ask for.
- Do not use "made with cursor" or similar in commits.

## OpenCRE conventions

- Mirror patterns in existing code (importers, tests, web routes).
- Use Makefile targets over ad-hoc commands when available.
- Prefer `scripts/db/` for production DB operations over raw SQL.

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.

Reviews can't be read right now.

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.