算法艺术创作
algorithmic-art
通过代码和可调参数创作生成艺术与交互式视觉效果。
update-cursor-settings【设计与创意】Modify Cursor/VSCode user settings in settings.json. Use when user wants to change editor settings, preferences, themes, font size, tab size, keybindings, or mentions "settings", "preferences", "theme", "font", "format on save", "auto save", or "cursor config".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
This skill guides you through modifying Cursor/VSCode user settings. Use this when the user wants to change editor settings, preferences, configuration, themes, keybindings, or any settings.json values.
Before modifying settings, check:
cat ~/.config/Cursor/User/settings.json 2>/dev/null | head -50 # Linux
cat ~/Library/Application\ Support/Cursor/User/settings.json 2>/dev/null | head -50 # macOS
cat .vscode/settings.json 2>/dev/null
Why: Preserve existing settings. Only modify what's requested.
| OS | Path |
|---|---|
| macOS | ~/Library/Application Support/Cursor/User/settings.json |
| Linux | ~/.config/Cursor/User/settings.json |
| Windows | %APPDATA%\Cursor\User\settings.json |
// Read the settings file first
const settingsPath = "~/Library/Application Support/Cursor/User/settings.json";
// Use the Read tool to get current contents
Common setting categories:
editor.fontSize, editor.tabSize, editor.wordWrap, editor.formatOnSaveworkbench.colorTheme, workbench.iconTheme, workbench.sideBar.locationfiles.autoSave, files.exclude, files.associationsterminal.integrated.fontSize, terminal.integrated.shell.*cursor. or aipopup.When modifying settings.json:
If user says "make the font bigger":
{
"editor.fontSize": 16
}
If user says "format my code when I save":
{
"editor.formatOnSave": true
}
If user says "use dark theme" or "change my theme":
{
"workbench.colorTheme": "Default Dark Modern"
}
JSON with Comments: VSCode/Cursor settings.json supports comments (// and /* */). Parse accordingly and write the comments back; dropping them loses the user's notes.
Restart May Be Required: Some settings take effect immediately, others require reloading the window or restarting Cursor. Inform the user if a restart is needed.
Backup: For significant changes, consider mentioning the user can undo via Ctrl/Cmd+Z in the settings file or by reverting git changes if tracked.
Workspace vs User Settings:
.vscode/settings.json): Apply only to the current project| User Request | Setting |
|---|---|
| "bigger/smaller font" | editor.fontSize |
| "change tab size" | editor.tabSize |
| "format on save" | editor.formatOnSave |
| "word wrap" | editor.wordWrap |
| "change theme" | workbench.colorTheme |
| "hide minimap" | editor.minimap.enabled |
| "auto save" | files.autoSave |
| "line numbers" | editor.lineNumbers |
| "bracket matching" | editor.bracketPairColorization.enabled |
| "cursor style" | editor.cursorStyle |
| "smooth scrolling" | editor.smoothScrolling |