Skip to content
Skill

Init vscode

Sets up and migrates shared VS Code workspace settings and extension recommendations

Init vscode is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Init vscode

This skill creates or merges a project's .vscode/extensions.json and .vscode/settings.json, keeping comments in the JSONC files intact. It tracks known extension replacements, such as a deprecated todo extension being swapped for its successor, and treats them as tracked migrations rather than plain list merges. User-level VS Code settings are only touched after explicit approval and with a backup.

For large monorepos it synchronizes file tree hiding, watcher exclusions and search exclusions for dependency, build, cache and sourcemap folders, caps the search index file size, and tunes TypeScript server memory and watch options. It also forces line endings to LF and adds a Prettier override so JSONC config files format correctly.

The workflow expects a project root with write access, and it validates the resulting JSONC with Prettier. Runtime checks inside the editor are reported as pending unless the user confirms them in the GUI.

When your agent uses it

初始化或更新 VSCode 配置文件(.vscode/extensions.json 和 .vscode/settings.json), 治理扩展推荐的生命周期与已知替代关系,并在 JSONC 安全迁移、工作区/用户级 scope、 preflight/postflight 和可回滚验收之间建立明确边界;同时把 `files.eol` 收敛为 `"\n"`, 配合 `.gitattributes`、`.editorconfig`、Prettier 解决 Windows 上的 CRLF/LF 漂移与 git 幽灵修改问题, 并补齐大型 monorepo 的 VSCode 启动慢、文件监听、搜索索引与 TypeScript Server 性能优化默认值。 只要用户提到初始化 vscode、编辑器配置、工作区设置、扩展替换/弃用迁移、行尾统一、EOL、CRLF/LF、 幽灵修改、团队规范、VSCode 启动慢、大仓库性能、文件监听降噪、搜索索引优化,都应该使用本技能。

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 11 files (58 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the common-tools plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-tools

Or copy only this skill to ~/.claude/skills/init-vscode:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/init-vscode &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-vscode" ~/.claude/skills/init-vscode &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/init-vscode inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/init-vscode to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/init-vscode &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-vscode" ~/.agents/skills/init-vscode &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/init-vscode inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/init-vscode to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/init-vscode &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-vscode" ~/.cursor/skills/init-vscode &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/init-vscode inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/init-vscode

Or copy the folder to ~/.gemini/skills/init-vscode yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/init-vscode:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/init-vscode &&
cp -R "$tmp/ai-plugins/common-tools/skills/init-vscode" ~/.copilot/skills/init-vscode &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/init-vscode inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ruan-cat/monorepo.git

Then copy monorepo/ai-plugins/common-tools/skills/init-vscode into your agent's skills folder as init-vscode. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Workspace extension recommendations
Creates or merges recommended and unwanted extension lists without dropping unrelated entries.
Extension replacement migration
Swaps a known deprecated extension for its successor with a recorded rollback path.
Monorepo performance defaults
Synchronizes file tree, watcher and search exclusions for dependency and build folders.
TypeScript server tuning
Sets server memory, watch options and a project-local TypeScript SDK path.
LF line ending enforcement
Forces files.eol to LF to reduce CRLF drift and phantom git changes.
Prettier JSONC compatibility
Adds a precise Prettier override so comment-bearing config files format without errors.

Good for

  • Set up a shared VS Code config for a new TypeScript project
  • Replace a deprecated VS Code extension recommendation in a repo
  • Stop line ending changes from showing as modified files on Windows
  • Speed up VS Code in a large pnpm or Turborepo monorepo
  • Reduce file watcher and search indexing load in a big repository

Init vscode FAQ

Does Init vscode change my global VS Code User Settings?

No. User Settings and keybindings are only changed with explicit authorization, a backup and a stated scope. The default is to detect and report.

Will Init vscode remove my existing extension recommendations?

Only for a registered replacement mapping. Other recommendations are kept, and unknown extensions are never removed by guesswork.

Does unwantedRecommendations uninstall an extension?

No. It only expresses that the workspace does not want to recommend the extension; it does not uninstall or disable anything.

Are the JSON config files still valid JSON?

The extensions.json file is kept as JSONC so comments are preserved, and the skill checks it with a JSONC-aware Prettier parse.

How do I install Init vscode in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/init-vscode to use it in all your projects, or to .claude/skills/init-vscode in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.

Does Init vscode run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Init vscode?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Init vscode?

The closest alternatives to Init vscode are Init tsconfig, Factory reset vscode fork IDE, Vscode ext localization, Package linter and Vscode ext commands.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ruan-cat/monorepo

  1. Works through an OpenSpec change's task list, implementing and checking off each task

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Generates all OpenSpec planning artifacts for a change in one pass

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Starts a new OpenSpec change and shows its first artifact template for review

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Turns incident reports and repeated failures into durable, verifiable agent skill rules

    • Open source
    • 5 GitHub stars
    • Developer tools