In short.
The vscode skill gives developers using coding assistants instructions for opening visual file comparisons, but it depends on an available VS Code command-line interface. Its examples combine code -d with git show to compare working files against previous commits, named commits or the Git index. The source provides practical command patterns, but leaves assistant-specific installation, dependency versions and runtime reliability unknown. No commands were executed.
Researched and written by an AI model and checked by a second AI model. How it works
The selected scope is the vscode folder in badlogic/pi-skills at revision 90bb51cae36515a648515b633a81c0c6efc8c74d, represented in full by vscode/SKILL.md. The repository-root LICENSE is the related notice outside that folder. Other pi-skills folders and the implementations of VS Code and Git are excluded. No commands, installation steps, editor launches or comparison behavior were executed or tested.
The overview
Identity
vscode is a SKILL.md instruction file in the vscode folder of badlogic/pi-skills. Its declared purpose is to help an assistant show file differences through VS Code. It documents use of existing command-line tools; the supplied folder contains no custom extension or executable implementation.
The source folder is [https://github.com/badlogic/pi-skills/tree/main/vscode]. The assessed source version is commit 90bb51cae36515a648515b633a81c0c6efc8c74d.
Assessment
This is a focused convenience skill for developers who want an assistant to open a visual comparison while they work with files and Git. Its useful detail is the bridge between Git's stored file versions and VS Code's two-file comparison command.
Its value depends on an assistant environment that can invoke the required shell commands and reach a usable VS Code installation. It offers procedural guidance; successful launches, comparison accuracy and productivity benefits are not established by the supplied material.
Users
The documented use cases are showing what changed in a file, comparing two code versions and reviewing Git changes visually. This suits developers who already use VS Code and want their coding assistant to bring up the relevant comparison.
Beginners need to understand file paths and basic terminal use. The Git examples additionally require distinguishing a committed version, the staged version prepared for a commit, and the working file currently on disk.
Capabilities
The skill documents code -d <file1> <file2> for opening two files side by side. Its Git examples extract a file from the previous commit, a specified commit or the staging index before comparing that extracted version with the working file.
It also supplies a Git history command to check whether a file has prior revisions. It does not document automatic whole-repository review, semantic explanations of changes, merge-conflict resolution or applying edits.
Using it
Requirements
The explicit prerequisite is an installed VS Code with the code command available in PATH, meaning the shell can find it by name. The Git examples also require Git, the relevant repository history or staged file, and permission to write the temporary file.
The examples use Unix-style /tmp paths. Windows-specific adaptations, remote-editor behavior, supported assistant hosts and compatible VS Code or Git versions are not specified.
Mechanism
The assistant uses VS Code's existing code -d command to request a two-file comparison. For Git versions, git show writes the selected file contents into a temporary file, which becomes one side of that comparison.
The examples connect extraction and comparison with &&, so the editor command is reached only if git show succeeds. No separate diff engine, hosted service or model integration is supplied in this skill.
Setup
Make VS Code's code command available to the shell used by the assistant. For a Git comparison, work from the relevant repository and choose a valid revision and file path. The document recommends git log --oneline -5 -- path/to/file to inspect recent file history first.
The skill describes its Git approach as requiring no additional configuration. It does not explain how to install or register SKILL.md with a particular assistant, so those steps depend on the host's own instructions.
Example
For a hypothetical tracked file src/app.ts that exists in the previous commit, the documented pattern becomes git show HEAD~1:src/app.ts > /tmp/old && code -d /tmp/old src/app.ts. This requests a comparison between that committed version and the current working file.
For the staged version, the corresponding pattern is git show :src/app.ts > /tmp/staged && code -d /tmp/staged src/app.ts. Replace the example path and choose an unused temporary filename. These examples were not executed.
Assessment & evidence
Limitations
The skill cautions that files must exist and the compared revisions must contain changes. A requested historical path must be available in the chosen revision. The staged example compares the index with the working tree; it does not show the difference between the index and the latest commit.
The fixed temporary names /tmp/old and /tmp/staged can overwrite existing files through shell redirection. Using unused temporary filenames avoids that collision. Temporary-file cleanup is not described.
No installation, editor launch or comparison behavior was tested. Compatibility across operating systems, assistant hosts and remote development environments remains unknown.
Reasoning
The likely benefit is reducing the steps an assistant must reconstruct when asked to show a change visually: identify two versions, extract one if necessary, then open the comparison. That is an inference from the documented command sequence.
The skill is most relevant when developers want VS Code's visual presentation alongside terminal-based Git work. The source supplies no measurements showing faster reviews, fewer mistakes or improved code quality.
Alternatives
A developer comfortable with the terminal can enter the documented code -d and git show commands directly without loading an assistant skill. When both versions already exist as files, the direct two-file comparison avoids the extraction step.
The supplied material does not compare competing skills, editor extensions or other diff applications, so their relative capabilities and costs are not assessed.
Evidence
The available source consists of vscode/SKILL.md and the repository-root LICENSE. SKILL.md supports the stated purpose, commands, prerequisites and caveats. LICENSE supports the reuse terms. Neither supplies runtime results, benchmarks or a compatibility matrix.
The revision-pinned skill text is available at [https://raw.githubusercontent.com/badlogic/pi-skills/90bb51cae36515a648515b633a81c0c6efc8c74d/vscode/SKILL.md].
Access & freshness
Costs
No price, usage charges or measured operating costs are documented for this skill. It supplies command instructions rather than a hosted service. Any charges associated with an assistant host or model are unspecified, so total operating cost is unknown.
Rights
The repository-root MIT licence names Mario Zechner as the copyright holder, with a 2024 notice. It permits use, copying, modification, distribution, sublicensing and sale of the software and associated documentation.
Copies or substantial portions must retain the copyright and permission notice. The material is supplied without warranty, with the liability exclusion stated in the licence. The licence source is [https://raw.githubusercontent.com/badlogic/pi-skills/90bb51cae36515a648515b633a81c0c6efc8c74d/LICENSE].
Freshness
The source snapshot is dated 16 November 2026 and fixed at commit 90bb51cae36515a648515b633a81c0c6efc8c74d. The snapshot date does not establish when the skill was last edited.
No release number or dependency version range is stated. Changes after this revision and compatibility with other source versions are unknown.
Actions
Before adopting the skill, confirm that the assistant's shell can access code and open the intended VS Code window. Begin with two known local files, then try a historical or staged comparison using a file with known Git history and an unused temporary filename.
Check the comparison direction against the review question: staged versus working file reveals unstaged differences, while a chosen commit versus the working file answers a different question. Consult the assistant host's documentation for skill loading, and retain the MIT notice when redistributing the resource.
