Configure Flutter for desktop platforms with platform channels and native integrations
Configures Flutter applications for desktop platforms with native integrations and platform channels.
npx claudepluginhub a5c-ai/babysitterThis skill is limited to using the following tools:
README.mdConfigure Flutter for desktop platforms (Windows, macOS, Linux) with platform channels, native integrations, and platform-specific configurations.
{
"type": "object",
"properties": {
"projectPath": { "type": "string" },
"platforms": { "type": "array", "items": { "enum": ["windows", "macos", "linux"] } },
"windowConfig": { "type": "object" },
"nativeChannels": { "type": "array" }
},
"required": ["projectPath"]
}
// Dart side
class NativeService {
static const platform = MethodChannel('com.example/native');
Future<String> getSystemInfo() async {
return await platform.invokeMethod('getSystemInfo');
}
}
// macOS (Swift)
let controller = FlutterViewController()
let channel = FlutterMethodChannel(name: "com.example/native",
binaryMessenger: controller.engine.binaryMessenger)
channel.setMethodCallHandler { call, result in
if call.method == "getSystemInfo" {
result(ProcessInfo.processInfo.operatingSystemVersionString)
}
}
cross-platform-test-matrixdesktop-build-pipeline processActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Search, retrieve, and install Agent Skills from the prompts.chat registry using MCP tools. Use when the user asks to find skills, browse skill catalogs, install a skill for Claude, or extend Claude's capabilities with reusable AI agent components.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.