cursor-custom-prompts

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Cursor Custom Prompts

Cursor AI自定义提示词

Overview

概述

This skill helps you create effective custom prompts for Cursor AI. It covers prompt engineering fundamentals, domain-specific templates, advanced techniques like chain-of-thought prompting, and best practices for consistent, high-quality AI responses.
本技能可帮助你为Cursor AI创建高效的自定义提示词。内容涵盖提示词工程基础、特定领域模板、思维链提示词等高级技巧,以及生成一致且高质量AI响应的最佳实践。

Prerequisites

前置条件

  • Cursor IDE with Chat or Composer
  • Understanding of prompt engineering basics
  • Project with existing patterns to reference
  • .cursorrules file for persistent prompts
  • 带有Chat或Composer功能的Cursor IDE
  • 了解提示词工程基础知识
  • 有可参考现有模式的项目
  • 用于存储持久化提示词的.cursorrules文件

Instructions

使用步骤

  1. Structure prompt with context, task, constraints
  2. Include specific requirements and formats
  3. Reference existing patterns with @-mentions
  4. Start with simple prompt, iterate for complexity
  5. Store effective prompts in .cursorrules
  6. Refine based on output quality
  1. 按照上下文、任务、约束条件来构建提示词
  2. 包含具体要求和格式
  3. 使用@提及来引用现有模式
  4. 从简单提示词开始,逐步迭代增加复杂度
  5. 将有效的提示词存储到.cursorrules文件中
  6. 根据输出质量优化提示词

Output

预期产出

  • Effective prompt templates
  • Consistent AI output quality
  • Reusable prompt patterns
  • Project-specific prompt library
  • 高效的提示词模板
  • 一致的AI输出质量
  • 可复用的提示词模式
  • 项目专属的提示词库

Error Handling

错误处理

See
{baseDir}/references/errors.md
for comprehensive error handling.
如需完整的错误处理指南,请查看
{baseDir}/references/errors.md

Examples

示例

See
{baseDir}/references/examples.md
for detailed examples.
如需详细示例,请查看
{baseDir}/references/examples.md

Resources

参考资源