agentleFS

Cursor rules examples

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

Best matches · from page 3Worked for most · soon
KroMioseCursor rule

nekro-agent / rules

KroMiose/nekro-agent/.cursor/rules/frontend-theme-guidelines.mdc

description: globs: *.tsx,frontend/**/*.* alwaysApply: false --- # 前端主题系统开发指南 ## 主题系统架构 主题系统采用分层架构设计,将主题定义与使用完全分离,支持多主题扩展。 ### 核心文件结构 - `palette.ts` - 调色板定义,包含所有主题的原始颜色配置 - `themeConfig.ts` - 主题配置与管理,提供主题获取和切换的核心功能 - `variants.ts` - 组件样式变体,定义各种UI组件的通用样式变体 - `ThemeProvider.tsx` - 主题提供者组件,为整个应用提供主题 - `ThemeToggleButton.tsx` - 主题切换按钮组件,用于切换主题模式 - `index.tsx` - 主题入口文件,统一导出所有主题相关组件和功能

No other project uses it yet

1.1k8mo agoReviewMountCreate a free account to mount
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.