AE

ample-education/cursor-resources

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

19 stars 6 forks 质量 37 趋势 10

.cursorrules、MCP和MCP服务器、提示、提示和诡计

概览

这个寄存器是集中收集资源,以便与Cursor,AI动力的IDE实现生产力最大化. 它包含提示,规则,模式上下文协议(MCP)服务器,脚本等增强光标开发经验的公用设备. -:自定义 Cursor AI 遵循特定模式和工作流程的行为规则 -:专有目录规则 用于颗粒控制 AI 行为 -:自定义 MCP 执行 增强上下文处理 -:自动化和工作流程增强的通用脚本 -:各种组件的文档和图表 -:不同技术堆栈的专门规则和提示 Cursor的力量来自其通过各种机制定制和增强的能力: 1. (@Web https://docs.cursor.com/context/rules-for-ai): a.

概述(AI 翻译)

这个寄存器是集中收集资源,以便与Cursor,AI动力的IDE实现生产力最大化. 它包含提示,规则,模式上下文协议(MCP)服务器,脚本等增强光标开发经验的公用设备.

□ 目录

  • 全球规则:光标AI遵循特定模式和工作流程的自定义行为规则
  • ** 项目规则**:关于对AI行为的颗粒控制的具体目录规则
  • ** 模式上下文协议服务器**:加强上下文处理的自定义MCP执行
  • 脚本:用于自动化和工作流程增强的通用脚本
  • ** 建筑规划**:各种组成部分的文件和图表
  • 语言和框架特定资源:不同技术堆栈的专门规则和提示

∮为什么这些资源很重要∮

Cursor的力量来自其通过各种机制定制和增强的能力:

  1. ** AI的规则** (@Web [T0])

a. ** 全球规则**:

  • 应用到光标中的所有工程和对话中
  • 通过光标设置设定 > 常规 > 大赦国际的规则

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Cursor Resources

This repository serves as a centralized collection of resources to maximize productivity with Cursor, the AI-powered IDE. It contains prompts, rules, Model Context Protocol (MCP) servers, scripts, and other utilities that enhance the Cursor development experience.

Contents

  • Global Rules: Custom behavior rules for Cursor’s AI to follow specific patterns and workflows
  • Project Rules: Directory-specific rules for granular control over AI behavior
  • Model Context Protocol Servers: Custom MCP implementations for enhanced context handling
  • Scripts: Utility scripts for automation and workflow enhancement
  • Architecture Planning: Documentation and diagrams for various components
  • Language & Framework Specific Resources: Specialized rules and prompts for different tech stacks

Why These Resources Matter

Cursor’s power comes from its ability to be customized and enhanced through various mechanisms:

  1. Rules for AI (@Web https://docs.cursor.com/context/rules-for-ai):

    a. Global Rules:

    • Apply to all projects and conversations in Cursor
    • Set through Cursor Settings > General > Rules for AI
    • Perfect for personal coding style preferences and universal workflows
    • Used in features like Cursor Chat and Cmd/Ctrl+K

    b. Project Rules (Recommended):

    • Stored in .cursor/rules directory within projects
    • Support semantic descriptions and file pattern matching
    • Can have different rules for different parts of your project
    • Automatically included when matching files are referenced
    • Examples:
      • Framework-specific rules (e.g., SolidJS preferences for .tsx files)
      • Special handling for auto-generated files
      • Custom UI development patterns
      • Code style and architecture preferences for specific folders
  2. Model Context Protocol (@Web https://docs.cursor.com/context/model-context-protocol):

    • Enhance AI understanding of your codebase
    • Provide custom context for better code generation
    • Implement domain-specific knowledge handling
  3. Custom Prompts:

    • Guide AI behavior for specific tasks
    • Maintain consistent coding standards
    • Optimize AI responses for your workflow

Example Global Rule

Below is an example of a powerful global rule that implements project management best practices:

---
description: global rule to create and maintain a task list, bug wall, changelog and convo history
globs: *.md, *.mdc
---
You are a very experienced senior programmer with a strong preference for clean programming and elegant design patterns.

You diligently approach every task with K.I.S.S principles at top of mind always. Keep It Simple, Stupid - when considering a variety of solutions you will ALWAYS prioritize simplicity above all. Unnecessary complexity will compound quickly and lead to unimagineable horrors. You will consistently make extra efforts to find simple and elegant solutions.
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →