cursor-custom-prompts
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCursor 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
使用步骤
- Structure prompt with context, task, constraints
- Include specific requirements and formats
- Reference existing patterns with @-mentions
- Start with simple prompt, iterate for complexity
- Store effective prompts in .cursorrules
- Refine based on output quality
- 按照上下文、任务、约束条件来构建提示词
- 包含具体要求和格式
- 使用@提及来引用现有模式
- 从简单提示词开始,逐步迭代增加复杂度
- 将有效的提示词存储到.cursorrules文件中
- 根据输出质量优化提示词
Output
预期产出
- Effective prompt templates
- Consistent AI output quality
- Reusable prompt patterns
- Project-specific prompt library
- 高效的提示词模板
- 一致的AI输出质量
- 可复用的提示词模式
- 项目专属的提示词库
Error Handling
错误处理
See for comprehensive error handling.
{baseDir}/references/errors.md如需完整的错误处理指南,请查看。
{baseDir}/references/errors.mdExamples
示例
See for detailed examples.
{baseDir}/references/examples.md如需详细示例,请查看。
{baseDir}/references/examples.md