Favicon of settings-precedence

settings-precedence Skill

AI Agent SkillTypeScriptOpen source

VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling. Published by microsoft in vscode-python-environments.

What is settings-precedence Skill?

VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling. Published by microsoft in vscode-python-environments. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.

Trust signal
95/100
Maintenance signal
90/100
Adoption signal
53/100

Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.

Key capabilities

  • Includes SKILL.md support
  • Reusable instructions support
  • Developers using vscode-python-environments

Technical details

Copy skill directory
  • Install or run with Copy skill directory

When to use settings-precedence Skill

  • Use it for developers using vscode-python-environments.

Built with

TypeScriptCopy skill directory

Editorial notes

Source

  • Creator: microsoft
  • Repository: microsoft/vscode-python-environments
  • Skill file: .github/skills/settings-precedence/SKILL.md

What it does

VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling.

Skill instructions

VS Code Settings Precedence Settings precedence bugs corrupt user configurations. This skill documents the correct patterns. Precedence Order (Highest to Lowest) 1. Workspace folder value - Per-folder in multi-root workspace 2. Workspace value - .vscode/settings.json or .code-workspace 3. User/global value - User settings.json 4. Default value - From extension's package.json (⚠️ may come from other extensions!) Core Rules Rule 1: Always Pass Scope to getConfiguration() typescript // ❌ WRONG: Missing scope const config = vscode.workspace.getConfiguration('python-envs'); const value = config.get('pythonProjects'); // workspaceFolderValue will be UNDEFINED because VS Code doesn't know which folder! // ✅ RIGHT: Pass scope (workspace folder or document URI) const config = vscode.workspace.getConfiguration('python-envs', workspaceFolder); const value = config.get('pythonProjects'); When to pass scope: - Reading per-resource settings (scope: "resource" in package.json) - Any multi-workspace s

Explore related resources

Frequently asked questions

What is settings-precedence?

settings-precedence is a open-source AI agent skill with Copy skill directory. VS Code settings precedence rules and common pitfalls. Essential for any code that reads or writes settings. Covers getConfiguration scope, inspect() vs get(), and multi-workspace handling.

Who is settings-precedence best for?

settings-precedence is best for reusing agent instructions, scripts, and references.

How do I install settings-precedence?

Install or run settings-precedence using Copy skill directory. Check settings-precedence for the latest setup command.

Is settings-precedence actively maintained?

settings-precedence may need a closer maintenance check before production use.

Share:

Stars
132
Forks
51
Last commit
17 days ago
Repository age
2 years
License
MIT

Auto-fetched from GitHub.

Ad
Favicon

 

  
 

Similar to settings-precedence