cursor-advanced-composer
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseCursor Advanced Composer
Cursor Advanced Composer
Overview
概述
This skill covers advanced Cursor Composer techniques for complex multi-file edits. It provides patterns for coordinated file creation, architecture migrations, pattern replication, and quality control workflows for large-scale code generation.
本技能涵盖了用于复杂多文件编辑的高级Cursor Composer技巧。它提供了用于协同文件创建、架构迁移、模式复制以及大规模代码生成的质量控制工作流的模式。
Prerequisites
前提条件
- Cursor IDE with Composer feature access
- Understanding of project structure and patterns
- Well-configured .cursorrules file
- Indexed codebase for @-mention references
- 具备Composer功能访问权限的Cursor IDE
- 了解项目结构与模式
- 配置完善的.cursorrules文件
- 已建立索引的代码库,支持@提及引用
Instructions
操作步骤
- Open Composer with Cmd+I (Mac) or Ctrl+I (Windows)
- Describe the feature or changes needed
- Reference existing patterns with @-mentions
- Specify file structure and naming conventions
- Review each proposed change before applying
- Apply changes incrementally, testing between phases
- 使用Cmd+I(Mac)或Ctrl+I(Windows)打开Composer
- 描述所需的功能或更改内容
- 使用@提及引用现有模式
- 指定文件结构与命名规范
- 在应用前审核每个提议的更改
- 逐步应用更改,在各阶段之间进行测试
Output
输出结果
- Multiple coordinated file changes
- Generated feature modules with consistent patterns
- Refactored codebase following specified patterns
- Complete test coverage for generated code
- 多个协同的文件更改
- 生成具有一致模式的功能模块
- 按照指定模式重构的代码库
- 为生成的代码提供完整的测试覆盖
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