Coding
PromptBeginner5 minmarkdown
Markdown Converter
Agent skill for markdown-converter
7
VS Code/Cursor extension for git worktree visual differentiation. Changes the title bar color and shows a status bar indicator with the current worktree name.
Sign in to like and favorite skills
VS Code/Cursor extension for git worktree visual differentiation. Changes the title bar color and shows a status bar indicator with the current worktree name.
package.json: Extension manifest with commands, configuration, and activation eventssrc/extension.ts: Main entry pointsrc/worktree/detector.ts: Git worktree detection logicsrc/ui/color-manager.ts: Title bar color customizationsrc/ui/status-bar.ts: Status bar item managementsrc/ ├── extension.ts # Activate/deactivate, wire up components ├── worktree/ │ ├── detector.ts # Detect worktree type and name │ ├── git-commands.ts # Execute git commands │ └── types.ts # Worktree-related types ├── ui/ │ ├── color-manager.ts # Apply workspace color customizations │ ├── status-bar.ts # Manage status bar item │ └── color-utils.ts # Color generation/manipulation ├── config/ │ └── settings.ts # Read/write extension settings └── types/ └── index.ts # Shared type definitions
package.json contributes.commandsextension.ts using vscode.commands.registerCommandpackage.json contributes.configuration.propertiessrc/config/settings.ts to read new optiononDidChangeConfigurationsrc/worktree/detector.tssrc/worktree/git-commands.tsnpm run compile # Compile TypeScript npm run lint # Run ESLint npm run test # Run tests npm run package # Create VSIX package
window.titleBarStyle: "custom" settingdist/extension.js