get-api-docs
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have…
Use when working with Flutter Bloc/Cubit state management. Covers when to choose Bloc vs Cubit, how to use bloc and flutter_bloc together, lifecycle, testing, and safe defaults.
Claude Code
$ npx -y skills add andrewyng/context-hub --skill bloc-cubit --agent claude-code
Codex
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a codex -y
Cursor
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a cursor -y
Gemini CLI
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a gemini-cli -y
GitHub Copilot
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a github-copilot -y
OpenCode
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a opencode -y
Windsurf
$ npx skills add andrewyng/context-hub --skill bloc-cubit -a windsurf -y
name: bloc-cubit description: "Use when working with Flutter Bloc/Cubit state management. Covers when to choose Bloc vs Cubit, how to use bloc and flutter_bloc together, lifecycle, testing, and safe defaults." metadata: revision: 1 updated-on: "2026-04-04" source: official tags: "flutter,dart,bloc,cubit,flutter_bloc,state-management,testing,architecture"
Use this skill when building Flutter state management with `bloc` and `flutter_bloc`.
Choose `Cubit` when:
Choose `Bloc` when:
For Dart-only code:
For Flutter UI code:
Prefer this structure:
Keep state immutable. Keep events explicit when using `Bloc`. Keep one bloc or cubit per feature responsibility.
Use `BlocBuilder` when the widget should rebuild from state. Use `BlocListener` when the widget should react without rebuilding. Use `BlocConsumer` only when both are needed in one place. Use `buildWhen` and `listenWhen` when rebuilds or listeners need narrowing. Use `BlocSelector` when only one field should drive rebuilds.
When writing code or advising on design:
Coding agents hallucinate APIs and forget what they learn in a session. Context Hub gives them curated, versioned docs, plus the ability to get smarter with every task.
Use this skill to get documentation for third-party APIs, SDKs or libraries before writing code that uses them to ensure you have…
Use when working with Flutter Riverpod state management. Covers providers, consumers, refs, containers, overrides, async state,…
Use this skill for intelligent document processing and content extraction using LandingAI's Agentic Document Extraction (ADE).…
Use this skill for building end-to-end document processing workflows and pipelines using LandingAI ADE. Trigger when users need…
Add Olakai monitoring to existing AI code — wrap your LLM client, configure custom KPIs, and validate the integration end-to-end
Build a new AI agent with Olakai monitoring from scratch — project setup, SDK integration, KPI configuration, and end-to-end…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.