RuleStack

Configs

Stacks

Compare

Diff

RuleStack

Configs

Stacks

Compare

Diff

Read API

RuleStack

Configs

Stacks

Compare

Diff

Read API

Configs/Cursor rules/nduartex/cursor-rules-ruby-api

Cursor rule

.cursor/rules/security.mdc

[object Object]

Cursor rules

Quality

32/100

Scores the file, not the repository.

Length

60 words

3 headings · 0 code blocks

Repository

0

— · pushed 480 days ago

Last changed

3 days ago

First indexed 3 days ago.
nduartex/cursor-rules-ruby-api/.cursor/rules/security.mdcRawGitHub
1---
2description:
3globs: [*]
4alwaysApply: true
5---
6# always say security
7 
8# Security Rules
9 
10- Use Devise for authentication.
11- Apply `before_action :authenticate_user!` in controllers.
12- Do not expose sensitive data in JSON responses.
13 
14# API Versioning Rules
15 
16- Version APIs in the URL (e.g.: `/api/v1/resource`).
17- Maintain compatibility with previous versions.
18- Clearly document changes between versions.
19- Use headers to indicate API version in responses.
20 

Sections

  • always say security
  • Security Rules
  • API Versioning Rules

What it covers

securityapido-not

Glob targeting

  • *

Format

Cursor rules

The most expressive format here. Many small .mdc files, each with frontmatter declaring when it should load, so a rule about migrations only enters context when a migration is open. Costs the most to maintain and only one editor reads it.

What the corpus says about it

Repository

Owner
nduartex
Language
—
License
—
Archived
no

All configs in this repo

Also in nduartex/cursor-rules-ruby-api

Diff this repo’s formats

One repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?

The other instruction files in this repository
RepositoryFormatStackCoversScoreChanged
nduartex/cursor-rules-ruby-api.cursor/rules/api.mdc · 0Cursor rulesunclassifiedapi19/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/clean_code.mdc · 0Cursor rulesunclassifieddo-not38/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/database.mdc · 0Cursor rulesunclassifiedno sections4/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/design_patterns.mdc · 0Cursor rulesunclassifiedstyle49/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/general.mdc · 0Cursor rulesunclassifieddo-not11/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/git.mdc · 0Cursor rulesunclassifiedstylearchtypesgit+265/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/ruby.mdc · 0Cursor rulesunclassifiedstyledo-not15/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/serializers.mdc · 0Cursor rulesunclassifieddo-not52/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/swagger.mdc · 0Cursor rulesunclassifiedstyledocs49/1003 days ago
nduartex/cursor-rules-ruby-api.cursor/rules/testing.mdc · 0Cursor rulesunclassifiedtestdo-not15/1003 days ago
Diff against .cursor/rules/api.mdc Diff against .cursor/rules/clean_code.mdc Diff against .cursor/rules/database.mdc Diff against .cursor/rules/design_patterns.mdc Diff against .cursor/rules/general.mdc Diff against .cursor/rules/git.mdc Diff against .cursor/rules/ruby.mdc Diff against .cursor/rules/serializers.mdc Diff against .cursor/rules/swagger.mdc Diff against .cursor/rules/testing.mdc
RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack

RuleStack

Built by

Kynth Studio

Directory

Configs
Stacks
Compare formats
Diff two configs
Best AGENTS.md examples

Formats

AGENTS.md
CLAUDE.md
Cursor rules
Copilot instructions

Reference

Read API
Corpus health
Privacy Policy
Terms

RuleStack