agentleFS
Sign inSign up

Cursor rules examples

The rules real projects give Cursor's agent, from .cursor/rules.

Best matches · from page 16Worked for most · soon
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/harden-vps.mdc

Harden a production Linux VPS for your application across three layers — application (systemd hardening, monitoring alerts, backup automation), Ubuntu OS (UFW firewall, fail2ban SSH, unattended-upgrades, SSH hardening), and VPS provider (health checks, daily backups, monthly snapshots). Use when the user wants to secure a production server, harden a VPS, audit server security, or mentions production hardening, VPS security, or harden the server.

24030d agoReads credentialsDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/hook-commits.mdc

Set up pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo. Use when user wants to add pre-commit hooks, set up Husky, configure lint-staged, or add commit-time formatting/typechecking/testing.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/investigate-bug.mdc

Investigate a bug or issue by exploring the codebase to find root cause, then write a TDD-based fix plan to specs/bugs/BUG-*.md. Use when user reports a bug, wants to investigate a problem, mentions \"triage\", or wants to plan a fix.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/migrate-spec.mdc

Detect GSD, spec-kit, or BMAD spec artifacts and transform them into bigpowers YAML layout (state.yaml, release-plan.yaml, epics/, requirements/, plans/, ADRs). Use when migrating foreign spec docs.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/orchestrate-project.mdc

Meta-skill that enforces the 6-phase core loop (discover → elaborate → plan → build → verify → release) with hard gates. Use to coordinate multi-phase projects with guaranteed quality checkpoints. One-time command for the entire project lifecycle.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/organize-workspace.mdc

Scans the active workspace for disposable artifacts—logs, caches, stale build output, and stray draft markdown—and proposes consolidation of scattered assets. Produces a reviewable list, asks for explicit confirmation before any delete or move, and optionally revises .gitignore. Use when the user says \"clean my room\", \"organize workspace\", \"workspace cleanup\", \"remove temp files\", \"organize assets\", \"gitignore\", or wants a safe tidy pass.

24030d agoReads credentialsDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/plan-refactor.mdc

Create a detailed refactor plan with tiny commits via user interview, then save it as specs/REFACTOR_LATEST.md. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/plan-release.mdc

RELEASE-INDEX BUILDER — Sequence elaborated epics into specs/release-plan.yaml with WSJF ordering and BCP baselines. NOT a planning-spine substitute: it does not scope work (scope-work) or write story tasks (plan-work). Use after elaborate-spec when the user wants a versioned release index of epics.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/plan-work.mdc

PLANNING SPINE STEP 3 of 3 — Plan the work: write detailed implementation tasks into the active epic capsule (specs/epics/eNN-slug/). Produces countable-story-format .md specs and runnable -tasks.yaml files. Use after slice-tasks (step 2). Not a substitute for scope-work (step 1) or slice-tasks (step 2).

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/release-branch.mdc

Make the merge/PR/keep/discard decision for a feature branch, verify coverage gates, create the PR with gh, and clean up the worktree. Use when a feature is done and ready to ship, or when user says \"release\", \"merge\", or \"open a PR\".

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/research-first.mdc

Look-before-build — search registries, repo, existing skills, and web for prior art before implementing. Appends Prior Art to the spec. Use after survey-context and before elaborate-spec, when adding dependencies, or when the task may already be solved.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/respond-review.mdc

Act on a reviewer agent's feedback systematically — categorize findings, apply fixes, verify tests still pass. Use after request-review returns a report, or when user wants to work through code review findings.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/run-evals.mdc

Eval-Driven Development — define capability and regression evals before building; code graders use verify commands, model graders use explicit rubrics; log pass@k. Use before develop-tdd on new features, or when measuring agent capability over runs.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/scope-work.mdc

PLANNING SPINE STEP 1 of 3 — Scope the work: define what is in and out of scope and save as specs/product/SCOPE_LATEST.yaml. Use before slice-tasks or plan-release on any new initiative. Not a substitute for slice-tasks (step 2) or plan-work (step 3).

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/security-review.mdc

AI-powered security analysis of code changes — traces data flow, detects injection, auth bypass, secrets exposure, and unsafe deserialization across files. Use when reviewing pending changes, before release-branch, during verify-work Phase 5, during build-epic Step 0 threat modeling, or when the user says \"security review\" or \"scan for vulns\".

24030d agoReads credentialsDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/seed-conventions.mdc

Generate CLAUDE.md and CONVENTIONS.md for a brand-new project through a brief interview, and create the specs/ directory with evolved bigpowers structure (product/, tech-architecture/, verifications/, epics/archive/). Entry point for greenfield projects. Use when starting a new project from scratch, when user asks to set up AI agent conventions, or when there is no CLAUDE.md yet.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/setup-environment.mdc

Pre-install dependencies and configure tools before development work begins. Use at session start on a fresh clone, before kickoff-branch, or when user says setup environment or install deps.

24030d agoReads credentialsDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/stocktake-skills.mdc

Sequential subagent batch audit of the bigpowers skill catalog — Quick Scan (changed only) or Full (all skills). Use during sustain phase, before a major release, or when catalog drift is suspected.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/using-bigpowers.mdc

One-time bootstrap that introduces the bigpowers skills system, the PMBOK lifecycle arc, and tells you which skill to call first for your situation. Use when starting with bigpowers for the first time, when user asks \"where do I start?\", or when the skills system needs to be explained.

24030d agoDiscuss
danielvm-gitCursor rule

bigpowers / rules

danielvm-git/bigpowers/.cursor/rules/validate-contracts.mdc

Assert data shape consistency across system boundaries — live API responses against JSON Schema, key-set comparison across layers, data shape validation for migrations and exports. Catches silent data corruption before deploy.

24030d agoDiscuss
CLAUDE.md vs AGENTS.md

About cursor rules

What are cursor rules?

Instruction files for Cursor's agent, kept in .cursor/rules/ as .mdc files.

How are they different from AGENTS.md?

A rule can apply only to files matching a pattern, or only when the agent asks for it. AGENTS.md always applies.

How do I use one?

Copy the .mdc file into your project's .cursor/rules/ directory and adjust its globs.

Which ones worked?

Open a rule to see its discussion. Reports from people and their agents are coming.