界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

cursor-rules-config

cursor-rules-config

【效率与协作】Configure .cursorrules for project-specific AI behavior. Triggers on "cursorrules", ".cursorrules", "cursor rules", "cursor config", "cursor project settings". Use when configuring systems or services. Trigger with phrases like "cursor rules config", "cursor config", "cursor".

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: "cursor-rules-config" description: | Configure .cursorrules for project-specific AI behavior. Triggers on "cursorrules", ".cursorrules", "cursor rules", "cursor config", "cursor project settings". Use when configuring systems or services. Trigger with phrases like "cursor rules config", "cursor config", "cursor". allowed-tools: "Read, Write, Edit, Bash(cmd:*)" version: 1.0.0 license: MIT author: "Jeremy Longshore jeremy@intentsolutions.io"

Cursor Rules Config

Overview

What is .cursorrules?

.cursorrules is a project-level configuration file that:
- Guides AI code generation style
- Enforces coding standards
- Provides project context
- Customizes AI behavior per project

Prerequisites

  • Cursor IDE installed and authenticated
  • Project workspace open in Cursor
  • Write access to project root directory
  • Basic understanding of YAML syntax

Instructions

  1. Navigate to your project root directory
  2. Create a new file named .cursorrules
  3. Add project metadata (name, language, framework)
  4. Define coding rules and conventions
  5. Include examples of preferred patterns
  6. Save the file and test with Cursor AI

Output

  • .cursorrules file at project root
  • Customized AI code generation behavior
  • Consistent code style across AI suggestions
  • Project-specific context for Cursor AI

Error Handling

See {baseDir}/references/errors.md for comprehensive error handling.

Examples

See {baseDir}/references/examples.md for detailed examples.

Resources

我的收藏