abhiman1206/obsidian-prism/robius-app-architecture
Claude Code and agent skill by abhiman1206/obsidian-prism
- community
Checking that the SKILL.md file is still in the repository.
CRITICAL: Use for Robius app architecture patterns. Triggers on: Tokio, async, submit_async_request, 异步, 架构, SignalToUI, Cx::post_action, worker task, app structure, MatchEvent, handle_startup
Install
npx vskill@latest install abhiman1206/obsidian-prism/robius-app-architectureSKILL.md
The same SKILL.md was published earlier as yehia-alhaddad/workout-logger-flutter/robius-app-architecture.
Robius App Architecture Skill
Best practices for structuring Makepad applications based on the Robrix and Moly codebases - production applications built with Makepad and Robius framework.
Source codebases:
- Robrix: Matrix chat client - complex sync/async with background subscriptions
- Moly: AI chat application - cross-platform (native + WASM) with streaming APIs
When to Use
Use this skill when:
- Building a Makepad application with async backend integration
- Designing sync/async communication patterns in Makepad
- Structuring a Robius-style application
- Keywords: robrix, robius, makepad app structure, async makepad, tokio makepad
Production Patterns
For production-ready async patterns, see the _base/ directory:
| Pattern | Description | |
|---|---|---|
| 08-async-loading | Async data loading with loading states | |
| 09-streaming-results | Incremental results with SignalToUI | |
| 13-tokio-integration | Full tokio runtime integration |
Core Architecture Pattern
App Structure
Top-Level App Definition
AppMain Implementation
Tokio Runtime Integration
Static Runtime Initialization
Request Submission Pattern
Worker Task Pattern
Lock-Free Update Queue Pattern
For high-frequency updates from background tasks:
Startup Sequence
Shutdown Sequence
Best Practices
- Separation of Concerns: Keep UI logic on the main thread, async operations in Tokio runtime
- Request/Response Pattern: Use typed enums for requests and actions
- Lock-Free Updates: Use
crossbeam::SegQueuefor high-frequency background updates - SignalToUI: Always call
SignalToUI::set_ui_signal()after enqueueing updates - Cx::post_action(): Use for async task results that need action handling
- Scope::with_data(): Pass shared state through widget tree
- Module Registration Order: Register base widgets before dependent modules in
live_register()
Reference Files
references/tokio-integration.md- Detailed Tokio runtime patterns (Robrix)references/channel-patterns.md- Channel communication patterns (Robrix)references/moly-async-patterns.md- Cross-platform async patterns (Moly)PlatformSendtrait for native/WASM compatibilityUiRunnerfor async defer operationsAbortOnDropHandlefor task cancellationThreadTokenfor non-Send types on WASMspawn()platform-agnostic function
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingantigravity-awesome-skills/plugins/antigravity-awesome-skills/skills/robius-app-architecture/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/abhiman1206/obsidian-prism/robius-app-architecture)