bridge-patterns
OfficialMaster BrainDrive plugin-core bridges.
AuthorBrainDriveAI
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Bridges provide a standardized interface for plugin components to communicate with BrainDrive core services, enabling data access, settings persistence, theming, event handling, and state management without leaking internals.
Core Features & Use Cases
- API Bridge to call BrainDrive backend endpoints for conversations, messages, and settings.
- Settings Bridge to store and retrieve per-user plugin configuration.
- Theme Bridge to align UI with BrainDrive color and theming.
- Event Bridge to subscribe to and react to BrainDrive events (e.g., messages, conversations, user changes).
- Plugin State Bridge to persist plugin state across sessions (local or backend).
- Log Bridge to emit structured logs to BrainDrive.
- Real-world use: A chat plugin reads user preferences from Settings Bridge, displays data via API Bridge, adapts UI with Theme Bridge, and persists last viewed thread via Plugin State Bridge.
Quick Start
Create a new plugin project and wire up the API, Settings, and Theme Bridges to begin exchanging data with BrainDrive.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: bridge-patterns Download link: https://github.com/BrainDriveAI/BrainDrive-Plugin-Builder-ClaudeCode/archive/main.zip#bridge-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.