Dev & Engineering ✓ Microsoft · Official vscodetasks-jsonrun-commandsworktreestypescript

Run Command Builder

Configure and update commands shown in a VS Code Agent Session's Run button.

FollowSkills review · FSRS-2.0
Not recommended
48/ 100 5-point scale 2.4 / 5
Trust12 / 25 · 2.4/5

The skill requires reading the existing tasks.json, merging rather than overwriting unrelated tasks, and disclosing worktree-triggered execution, providing basic scoping. However, inferred shell commands need no user confirmation, and the skill does not disclose command data flow, privilege or sensitive-data risks, or provide rollback and verification steps, so points are deducted.

Reliability8 / 20 · 2.0/5

The decision flow and tasks.json format are clear, and package.json exposes recognizable commands. However, there is no handling or diagnostic guidance for invalid JSON, missing directories, command failures, platform differences, or merge conflicts. This is a static review without skill-specific key-path tests, so the score is capped below 10.

Adaptability11 / 15 · 3.7/5

The audience, trigger scenario, input file, and output location are fairly clear, and several project stacks are covered. Boundaries for non-standard or multi-command projects, platform variation, and cases where automatic installation is inappropriate are under-specified, and Chinese-language interaction is not addressed.

Convention8 / 15 · 2.7/5

The name, description, sectioning, examples, and core behavior are readable. The README, MIT license, version, and Microsoft attribution provide repository-level governance context, but the skill itself lacks versioning, changelog, maintenance ownership, installation notes, known limitations, and troubleshooting guidance, so points are deducted.

Effectiveness6 / 15 · 2.0/5

For simple projects, it can produce directly usable tasks.json entries for the Run button and explain how to trigger them. Inference may still produce incomplete or unsuitable commands, automatic installation can have side effects, and there is no evidence validating generated results or representative outputs; the static calibration therefore limits this to 7 or less.

Verifiability3 / 10 · 1.5/5

The skill provides auditable schema, decision logic, and examples, while package.json and general CI files offer contextual evidence. There are no tests, fixed input/output fixtures, or third-party execution records for this skill, so the conclusion relies mainly on static documentation and is capped below 5.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
Before you use it
  • Automatically inferred shell commands, especially worktreeCreated installation commands, may perform network access, scripts, and side effects without confirmation; add confirmation, command preview, privilege and sensitive-data warnings, and recovery guidance.
  • Specify handling for platform-specific commands, multiple candidates, invalid or missing tasks.json files, and merge conflicts, and validate the generated JSON.
  • Repository-level CI and licensing do not substitute for skill-specific tests, version history, or maintenance documentation.
See the full review method →

What it does & when to use it

This skill helps users configure run commands for the current Agent Session workspace. It represents those commands as tasks in .vscode/tasks.json so they appear in the session title bar's Run button. It checks for existing inAgents tasks before deciding whether the request is a modification or a new configuration. It is useful for projects that need consistent setup, development, or other workspace entry points.

Reads .vscode/tasks.json and checks for tasks with inAgents: true; if such tasks exist, asks whether the user wants to add, remove, or update a command; otherwise examines files such as package.json, Makefile, pyproject.toml, Cargo.toml, go.mod, and .nvmrc to infer setup and development commands; merges the resulting tasks into .vscode/tasks.json at the workspace root and can configure setup tasks to run on worktreeCreated.

  1. A project maintainer wants dependency installation to run automatically when a new worktree is created.
  2. A developer wants a development server command available from the VS Code Agent Session Run button.
  3. A team member needs to update one existing run command without replacing unrelated tasks.
  4. A developer working with standard project files wants clear setup and development commands inferred from the workspace.

Pros & cons

Pros
  • Detects existing inAgents tasks and treats them as modification requests.
  • Supports automatic setup tasks through worktreeCreated.
  • Merges tasks.json while preserving unrelated tasks.
  • Can infer commands from several common project configuration files.
Limitations
  • The source does not provide a standalone installation procedure or command.
  • It asks the user to decide when the project structure or command choice is ambiguous.
  • The source shows command generation and file writing, but does not establish that generated commands are executed or tested by the skill.
  • The Run button and Agent Session behavior depend on the corresponding VS Code workspace environment.

How to install

The repository bundles 61 skills, and this skill is located at src/vs/sessions/skills/generate-run-commands/SKILL.md. The supplied README does not document a standalone installation command; the repository is licensed under MIT.

How to use

In a project-backed Agent Session workspace, ask for a request such as “Set up run commands for this project” or “Update the development command in the Run button.” The skill first checks .vscode/tasks.json; after configuration, the generated tasks can be triggered from the Run button in the session title bar.

FAQ

Will it overwrite an existing tasks.json?
No. The instructions require merging the file and preserving unrelated tasks.
When does a setup command run automatically?
Only a task configured with runOptions.runOn set to worktreeCreated runs automatically when a new worktree is created.
Does the skill execute npm install or other commands?
The source establishes that it generates or modifies run tasks, but does not establish that the skill itself validates or executes those commands.
Is the skill separately priced?
The source does not state separate pricing; it identifies the repository as MIT-licensed.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

Dev & Engineering ✓ Microsoft · Official

Agent Host Log Investigator

Trace session, transport, and host failures in Agent Host debug exports.

Dev & Engineering ✓ Microsoft · Official

VS Code Unit Test Runner

Run VS Code repository unit tests by file, test name, or compiled-output glob.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Dev & Engineering ✓ Microsoft · Official

Code OSS Launch & Debug

Launch a built-from-source VS Code with isolated profiles, Playwright control, and multi-process debugging ports.

Dev & Engineering ✓ Microsoft · Official

VS Code Accessibility Development Guide

A practical specification for accessible interactive features in VS Code.

Design & Frontend ✓ Microsoft · Official

VS Code CSS Layout Standards

Build reliable VS Code-style CSS layouts and text truncation behavior

Dev & Engineering ✓ Microsoft · Official

VS Code Chat Performance Lab

Benchmark chat rendering and detect memory growth across VS Code builds.

Dev & Engineering ✓ Microsoft · Official

Component Fixtures for Screenshot Testing

Create stable, theme-aware VS Code component fixtures for isolated screenshot testing.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Assistant

Run, filter, and debug VS Code end-to-end smoke tests.

Dev & Engineering ✓ Microsoft · Official

VS Code Crash Dump Symbolicator

Turn native VS Code crash dumps into readable backtraces with method names.

Dev & Engineering ✓ Microsoft · Official

Local VS Code Web Workbench

Validate VS Code workbench and Agents window changes in a local vscode.dev instance.

Dev & Engineering ✓ Microsoft · Official

Feedback Action

Reads current-session feedback and applies the requested code changes.

Related skills