Custom Extension
1. Using Cursor for Code Extension
After downloading the source code, you can use Cursor to modify the code to better meet your needs. Here are some example scenarios:
Scenario 1: Change Theme Color
When you need to change the theme color, you can use the following prompt format:
"Modify the app/styles/theme.css file to change the theme color to [target color]"
Scenario 2: Modify Existing Functionality
Example prompt when you need to modify or optimize existing functionality:
"Please modify the implementation of [feature name], change [original implementation] to [new implementation method], and ensure [specific requirements]"
Scenario 3: Style Adjustment
When adjusting interface styles, you can use:
"Please adjust the style of [component name], modify [specific style property] to [target effect], maintaining overall style consistency"
2. Best Practice Recommendations
- Provide clear and specific functional descriptions
- Clearly state modification scope and constraints
- Specify code standards and styles to follow
- Provide necessary context information
3. Important Notes
- Backup code before making important modifications
- Use git to manage code changes
- Verify modifications do not affect other functionality
- Maintain code structure consistency
- Follow established project development standards
Next Chapter
Learn more about best practices