Skip to content

Instantly share code, notes, and snippets.

View SoMaCoSF's full-sized avatar

SoMaCo SoMaCoSF

View GitHub Profile

VSCode to Cursor Migration Toolkit

A comprehensive toolkit for migrating from Visual Studio Code to Cursor Editor, preserving your settings, projects, and development environment.

Components

  1. migrate-to-cursor.ps1 - Main orchestration script
  2. vscode-to-cursor-migrator.ps1 - VSCode settings migration
  3. project_migrator.py - Project-specific migrations
  4. README.md - This documentation
@SoMaCoSF
SoMaCoSF / mcp-diagram.html
Created February 13, 2025 01:35
MCP (Model Context Protocol) Documentation and Integration Guide
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MCP System Architecture</title>
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<style>
body {
font-family: 'Segoe UI', system-ui, sans-serif;
@SoMaCoSF
SoMaCoSF / README.md
Created February 13, 2025 01:38
MCP (Model Context Protocol) Documentation and Integration Guide

MCP (Model Context Protocol) Documentation

A comprehensive toolkit for managing AI model interactions within the Cursor editor environment, featuring an LCARS-inspired interface design and real-time communication capabilities.

Features

  • 🌟 Real-time context awareness
  • 🔄 Multi-profile support
  • 🔌 WebSocket-based communication
  • 🧩 Extensible plugin architecture
@SoMaCoSF
SoMaCoSF / README.md
Created February 22, 2025 02:13
Cursor Keybindings Manager - A PowerShell tool for managing Cursor editor keybindings

Cursor Keybindings Manager

A PowerShell-based tool for managing Cursor editor keybindings with a dark theme interface inspired by LCARS design.

LCARS Theme

Features

  • 🎨 LCARS-inspired dark theme interface
  • 📝 View and manage keybindings
@SoMaCoSF
SoMaCoSF / mermaid_2_svg.ps1
Created March 2, 2025 23:21
mermaid to svg script, run within terminal in Composer/vscode (mcp next)
<#
.SYNOPSIS
Converts Mermaid diagram code to SVG with a text-based UI
.DESCRIPTION
This PowerShell script provides a menu-driven interface to convert Mermaid diagram code to SVG files
using either the Mermaid CLI (if installed) or the Mermaid Live Editor API.
.PARAMETER OutputPath
Path to save the SVG file (default: current directory)
.EXAMPLE
.\mermaid_to_svg.ps1
# domain-scanner.ps1
# A standalone domain availability scanner that can be run directly from a gist
# To run: invoke-expression (invoke-webrequest -uri https://gist.githubusercontent.com/[user]/[gist-id]/raw/domain-scanner.ps1 -useb)
# Script configuration
$script:Config = @{
RateLimitDelay = 500 # milliseconds between requests
PopularTLDs = @("com", "net", "org", "io", "app", "ai", "dev")
CountryTLDs = @("us", "uk", "ca", "de", "fr", "es", "it", "jp")
NewTLDs = @("xyz", "tech", "shop", "blog", "site", "online", "store")
---
title: "Cursor Projects Dossier"
author: "Cursor Analysis System"
date: "`r format(Sys.time(), '%B %d, %Y')`"
output:
html_document:
toc: true
toc_depth: 3
toc_float: true
theme: united
@SoMaCoSF
SoMaCoSF / cursor_projects_dossier.rmd
Created April 5, 2025 16:57
Cursor Projects Dossier with Analysis and Visualizations
---
title: "Cursor Projects Dossier"
author: "Cursor Analysis System"
date: "`r format(Sys.time(), '%B %d, %Y')`"
output:
html_document:
toc: true
toc_depth: 3
toc_float: true
theme: united
@SoMaCoSF
SoMaCoSF / cursor-continue-extension-readme.md
Created April 30, 2025 21:50
Cursor extension to watch for trigger word in chat/composer/edit - and reply with something.

Auto-Continue Extension for VS Code & Cursor

Quick Install Instructions for Auto-Continue Extension

  1. Download the files from the gist (extension.ts, package.json, and README.md)

  2. Create a new VS Code extension project:

    npm init vscode-extension

Choose TypeScript when prompted

@SoMaCoSF
SoMaCoSF / extension.ts
Created April 30, 2025 22:11
Wanting Cursor to detect when a file referenced in an import statement doesn't exist and prompt "File X not found. Create it?"
// Import Path File Creator Extension
// Detects missing files from import statements and offers to create them
import * as vscode from 'vscode';
import * as path from 'path';
import * as fs from 'fs';
export function activate(context: vscode.ExtensionContext) {
console.log('Import Path File Creator extension is now active');