realsudarshan/sd-skill/claude-code-local-gitlens-add-command
Claude Code and agent skill by realsudarshan/sd-skill
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Create new VS Code commands with all required boilerplate
Install
npx vskill@latest install realsudarshan/sd-skill/claude-code-local-gitlens-add-commandSKILL.md
/add-command - Create New Command
Scaffold a new VS Code command with all required boilerplate.
Usage
Information Needed
- Command ID — e.g.,
myNewFeature(becomesgitlens.myNewFeature) - Label — Display name in command palette
- Base class:
GlCommandBase— No editor required (opening panels, showing pickers)ActiveEditorCommand— Requires active editorActiveEditorCachedCommand— Like ActiveEditorCommand with "repeat last command" support
- Variants (optional):
:views,:graph,:scmsuffixes for context menus
Files to Create/Modify
1. Command File: src/commands/{commandName}.ts
2. Import in src/commands.ts
3. Add to contributions.json
Under "commands" key:
For :views variant:
4. Run Generation
Common when Clauses
gitlens:enabled— Extension is enabled!gitlens:readonly— Not in readonly mode!gitlens:untrusted— Workspace is trustedgitlens:plus— Pro features availableviewItem =~ /gitlens:commit/— On a commit nodeviewItem =~ /gitlens:branch/— On a branch node
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude-code/claude-code-local-gitlens-add-command/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/realsudarshan/sd-skill/claude-code-local-gitlens-add-command)