From editor-layouts
Knowledge about the save-editor-layout VS Code extension. Use when working with editor layouts, the .editor-layouts.json file, or bookmark management in VS Code.
How this skill is triggered — by the user, by Claude, or both
Slash command
/editor-layouts:editor-layoutsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Reference: https://github.com/eighttrigrams/vscode-plugins/tree/main/save-editor-layout
Reference: https://github.com/eighttrigrams/vscode-plugins/tree/main/save-editor-layout
The save-editor-layout VS Code extension saves and restores editor layouts. It persists data to .editor-layouts.json in the workspace root.
The .editor-layouts.json file contains an array of layout objects:
[
{
"name": "string",
"timestamp": 0,
"editors": [
{
"path": "relative/to/workspace",
"name": "filename.ext"
}
],
"bookmarks": [
{
"filePath": "relative/to/workspace",
"line": 1,
"timestamp": 0,
"description": "optional"
}
],
"description": "optional"
}
]
The extension tracks dirty state by comparing current editor tabs and bookmarks against persisted data, showing visual indicators when changes differ from the saved state. Missing files are tracked separately and can be removed individually from a layout.
npx claudepluginhub eighttrigrams/claude-stuff --plugin editor-layoutsCreates custom document editors for domain-specific file types in Visual Studio extensions, covering LanguageBase for text-based editors and VSSDK IVsEditorFactory for custom designer UIs.
Uses editor CLI commands to open code/text files at specific lines (VSCode, Vim, etc.) for step-by-step walkthroughs explaining code or changes, one file at a time.
Checks and configures EditorConfig and VS Code workspace settings for project languages like JS/TS, Python, Rust; sets format-on-save, recommends extensions like Biome, Ruff, rust-analyzer.