A comprehensive Claude Code skill for building large-scale algo trading desktop applications with Electrobun.
| File | Description |
|---|---|
SKILL.md |
Main skill entry point — project structure, RPC patterns, core rules |
api-reference.md |
Complete Electrobun API reference (BrowserWindow, BrowserView, RPC, Tray, Menus, Utils, Events, etc.) |
architecture.md |
Application architecture, multi-window patterns, service design, error handling |
broker-integration.md |
Abstract broker interface, Zerodha/Kite implementation, order management, WebSocket binary parsing |
security.md |
Encryption at rest, keychain integration, sandboxing, navigation rules, rate limiting, audit logging |
websockets-realtime.md |
Market data streaming, reconnection, local API server, tick aggregation, connection monitoring |
storage.md |
SQLite setup (WAL mode), schema migrations, prepared queries, OHLC caching, config management |
performance.md |
Object pools, throttled broadcasting, ring buffers, virtual scrolling, memory monitoring |
| File | Description |
|---|---|
openalgo-migration.md |
Full OpenAlgo → Electrobun migration guide with architecture mapping, RPC schema, 5-phase plan |
broker-plugin-system.md |
29-broker plugin architecture, plugin registry, symbol mapping database, Zerodha example |
options-analytics.md |
Black-Scholes Greeks, implied volatility, max pain, put-call ratio, GEX, straddle pricing |
strategy-execution.md |
Python strategy subprocess execution, visual flow engine, webhooks, action center, Telegram, market calendar |
sandbox-paper-trading.md |
Paper trading engine, virtual capital management, margin simulation, live/sandbox order routing |
monitoring-logging.md |
Structured logging, API traffic tracking, latency percentiles, health checks, system metrics |
Clone into your project's .claude/skills/ directory:
cd your-electrobun-project
mkdir -p .claude/skills
git clone https://github.com/marketcalls/electrobun-skill.git .claude/skills/electrobunmkdir -p ~/.claude/skills
git clone https://github.com/marketcalls/electrobun-skill.git ~/.claude/skills/electrobunOnce installed, the skill is available in Claude Code:
- Auto-invocation — Claude automatically loads the skill when it detects you're building an Electrobun app
- Manual invocation — Type
/electrobunto explicitly load the skill context - With arguments — Type
/electrobun dashboardor/electrobun order-managerfor targeted guidance
- BrowserWindow, BrowserView, RPC (defineRPC), Electroview
- ApplicationMenu, ContextMenu, Tray, GlobalShortcut
- Utils (file dialogs, clipboard, notifications, paths)
- Screen, Session, Updater, BuildConfig, Events
- Webview tags, draggable regions, navigation rules, sandboxing
- CLI commands, build configuration, bundling & distribution
- Architecture — Bun process for all trading logic, webview for UI only
- Security — AES-256-GCM encryption, TOTP/2FA, navigation lockdown, input validation
- Broker Integration — Abstract interface pattern, Zerodha/Kite implementation with binary WebSocket parsing
- Real-Time Data — WebSocket reconnection with state reconciliation, throttled UI updates
- Storage — SQLite with WAL mode, schema migrations, OHLC caching, audit trails
- Performance — Object pooling, ring buffers, typed arrays, virtual scrolling, batch DB writes
- Risk Management — Rate limiting, circuit breakers, position size limits, duplicate prevention
- Claude Code CLI
- Bun runtime
- Electrobun framework
MIT