cursor-advanced-composer

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Cursor 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

操作步骤

  1. Open Composer with Cmd+I (Mac) or Ctrl+I (Windows)
  2. Describe the feature or changes needed
  3. Reference existing patterns with @-mentions
  4. Specify file structure and naming conventions
  5. Review each proposed change before applying
  6. Apply changes incrementally, testing between phases
  1. 使用Cmd+I(Mac)或Ctrl+I(Windows)打开Composer
  2. 描述所需的功能或更改内容
  3. 使用@提及引用现有模式
  4. 指定文件结构与命名规范
  5. 在应用前审核每个提议的更改
  6. 逐步应用更改,在各阶段之间进行测试

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
{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

资源