windsurf-webhooks-events

Featured

Build Windsurf extensions and integrate with VS Code extension API events. Use when building custom Windsurf extensions, tracking editor events, or integrating Windsurf with external tools via extension development. Trigger with phrases like "windsurf extension", "windsurf events", "windsurf plugin", "build windsurf extension", "windsurf API".

AI & Automation 2,944 stars 440 forks Updated today MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Windsurf Extension Development & Events ## Overview Windsurf is built on VS Code and supports the full VS Code Extension API. Build custom extensions to track workspace events, integrate with external tools, and extend Cascade's capabilities. This skill covers extension development specific to the Windsurf environment. ## Prerequisites - Node.js 18+ and npm - VS Code Extension API familiarity - `yo` and `generator-code` for scaffolding - Windsurf IDE for testing ## Instructions ### Step 1: Scaffold Extension ```bash # Install scaffolding tools npm install -g yo generator-code # Generate extension yo code # Select: New Extension (TypeScript) # Name: my-windsurf-extension ``` ### Step 2: Track Workspace Events ```typescript // src/extension.ts import * as vscode from "vscode"; export function activate(context: vscode.ExtensionContext) { console.log("Extension active in Windsurf"); // Track file saves const saveListener = vscode.workspace.onDidSaveTextDocument( async (document) => { const diagnostics = vscode.languages.getDiagnostics(document.uri); const errors = diagnostics.filter( (d) => d.severity === vscode.DiagnosticSeverity.Error ); if (errors.length > 0) { vscode.window.showWarningMessage( `${document.fileName}: ${errors.length} error(s) after save` ); } } ); // Track active editor changes const editorListener = vscode.window.onDidChangeActiveTextEditor( (editor) => { ...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category