update-cursor-settings

Modify Cursor/VSCode user settings programmatically while preserving existing configuration.

5|2|Updated Jan 10, 2017
One-click install
npx skills add https://github.com/brujack/dotfiles --skill update-cursor-settings-brujack
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cursor-settings
Source: https://github.com/brujack/dotfiles/tree/main/.cursor/skills-cursor/update-cursor-settings
Command: npx skills add https://github.com/brujack/dotfiles --skill update-cursor-settings-brujack

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Safely modify Cursor/VSCode user settings without manually editing configuration files, preserving existing preferences while applying requested changes.

Core Features & Use Cases

  • Read the current settings.json to understand existing configuration.
  • Update targeted settings such as editor.fontSize, editor.tabSize, workbench.colorTheme, files.autoSave, and terminal.* while preserving all other settings.
  • Validate JSON syntax and inform the user if a restart or window reload is needed after applying changes.

Quick Start

Specify the target Cursor/VSCode setting and the desired value to apply the change.

Frequently Asked Questions about update-cursor-settings

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I change VSCode settings programmatically without breaking existing preferences?

To change VSCode settings programmatically, you can modify the settings.json file while preserving existing configurations. This process validates JSON syntax, applies targeted updates like editor.fontSize or workbench.colorTheme, and writes back with proper formatting.

Can I update Cursor editor settings like font size and tab size across different operating systems?

Yes, you can update Cursor editor settings across macOS, Linux, and Windows. The modification process handles editor preferences such as font size, tab size, and word wrap uniformly, ensuring cross-platform compatibility when writing to the user settings file.

What is the safest way to apply workbench themes and file autosave configurations in VSCode?

The safest way to apply workbench themes and file autosave configurations is by reading the current settings.json first, validating the JSON syntax, and writing back the updated values. This preserves all other existing editor and terminal settings.

Do I need to reload the VSCode window after updating terminal settings or color themes?

You may need to reload the VSCode window or restart the application after updating terminal settings or color themes. The settings modification process informs you if a window reload is required for specific configuration changes to take effect.

Why does modifying settings.json manually sometimes corrupt my VSCode configuration?

Manually modifying settings.json can corrupt your VSCode configuration due to invalid JSON syntax or formatting errors. Programmatically updating the file prevents this by validating JSON structure before writing targeted changes back to the configuration.