lifecycle-manager

Automate per-user install, update, and uninstall workflows for BrainDrive plugins.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/BrainDriveAI/BrainDrive-Plugin-Builder-ClaudeCode --skill lifecycle-manager
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lifecycle-manager
Source: https://github.com/BrainDriveAI/BrainDrive-Plugin-Builder-ClaudeCode/tree/main/.claude/skills/lifecycle-manager
Command: npx skills add https://github.com/BrainDriveAI/BrainDrive-Plugin-Builder-ClaudeCode --skill lifecycle-manager

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Lifecycle Manager enables multi-user BrainDrive plugins by defining install, update, and uninstall workflows and managing associated metadata and database state.

Core Features & Use Cases

  • Lifecycle hooks: install, update, and uninstall handlers that ensure per-user data is created and cleaned up correctly.
  • Metadata and module support: expose plugin metadata and frontend modules required for lifecycle integration.
  • Safe data management: creates necessary tables and handles cleanup without affecting other users.

Quick Start

Run the lifecycle manager setup in your plugin project to initialize install/uninstall logic.

Frequently Asked Questions about lifecycle-manager

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make a BrainDrive plugin multi-user ready?

Making a BrainDrive plugin multi-user ready requires defining install, update, and uninstall lifecycle hooks that manage per-user database state and metadata. This ensures each user's data is created and cleaned up independently without affecting others.

How do I handle per-user data cleanup during a plugin uninstall?

Per-user data cleanup during plugin uninstall is handled through dedicated uninstall lifecycle hooks. These hooks target and remove only the specific user's tables and metadata, ensuring safe data management without affecting other users' plugin states.

What is a plugin lifecycle hook in BrainDrive?

A plugin lifecycle hook in BrainDrive is an automated handler for install, update, and uninstall events. It manages per-user data lifecycle by creating necessary tables during installation and handling metadata updates and cleanup safely.

Does my Python plugin need specific metadata for multi-user lifecycle management?

Yes, multi-user lifecycle management requires specific plugin_metadata and frontend module definitions to be exposed. These definitions are necessary for the lifecycle manager to integrate install, update, and uninstall workflows correctly.

How do I initialize install and uninstall logic for a new plugin?

To initialize install and uninstall logic, run the lifecycle manager setup in your plugin project. This setup applies the necessary lifecycle hooks and metadata structures required for per-user data management.

Can the lifecycle manager update per-user plugin data without affecting other users?

Yes, the lifecycle manager updates per-user plugin data safely by using dedicated update handlers. It creates and manages necessary database tables independently, ensuring data modifications for one user do not affect other users.