update-cursor-settings

Modifies Cursor/VSCode user settings.json while preserving existing preferences and validating JSON syntax.

Updated May 18, 2025
One-click install
npx skills add https://github.com/nthpaul/dotfiles --skill update-cursor-settings-nthpaul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-cursor-settings
Source: https://github.com/nthpaul/dotfiles/tree/main/cursor/.cursor/skills-cursor/update-cursor-settings
Command: npx skills add https://github.com/nthpaul/dotfiles --skill update-cursor-settings-nthpaul

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you change Cursor/VSCode user settings without accidentally wiping existing preferences or breaking the editor by writing invalid JSON.

Core Features & Use Cases

  • Reads and preserves existing settings: It instructs you to review the current settings.json and keep everything else unchanged while applying only your requested updates.
  • Updates the correct settings keys: It covers common editor, workbench, files, terminal, and Cursor-specific (cursor./aipopup.) settings so you modify the right values.
  • Guards against configuration breakage: It emphasizes validating JSON syntax, maintaining formatting, and noting when a reload or restart may be required.

Quick Start

Ask for the specific Cursor setting you want to change and the exact value (for example, “Set editor.fontSize to 16 and enable editor.formatOnSave”).

Frequently Asked Questions about update-cursor-settings

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

FAQPage Schema
How do I update VSCode settings.json without losing my existing configuration?

To update VSCode settings.json safely, read the existing file, preserve all current values, and apply only your requested changes using validated JSON syntax. This prevents accidental data loss while modifying editor preferences like themes or formatting.

What is the best way to change Cursor editor preferences like font size and format on save?

Changing Cursor editor preferences requires modifying the global user settings.json file. You update specific key-value pairs such as editor.fontSize or editor.formatOnSave while maintaining valid JSON formatting and preserving other existing configurations.

Does VSCode settings.json support comments when applying editor configuration updates?

VSCode settings.json supports comments, and safe configuration updates require comment-tolerant JSON validation. This ensures your editor configuration changes do not break the file syntax when applying new theme or terminal settings.

How do I apply Cursor-specific settings for aipopup or terminal configurations?

Applying Cursor-specific settings involves adding cursor. or aipopup. prefixed keys to your global user settings.json. You must update these key-value pairs alongside standard editor configurations while ensuring the overall JSON remains valid.

Why does modifying settings.json break my editor and how can I prevent it?

Modifying settings.json breaks the editor when invalid JSON syntax is written. Prevent this by validating all JSON syntax, maintaining 2-space formatting, and preserving existing settings while applying updates to prevent configuration corruption.

Can I update workspace settings instead of global user settings in Cursor?

This approach targets global user settings, not workspace configuration. Global user settings.json updates apply preferences like themes and auto-save across all projects, whereas workspace settings are scoped to a single project directory.