sickn33/agentic-awesome-skills/robius-app-architecture
Claude Code and agent skill by sickn33/agentic-awesome-skills
- 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 sickn33/agentic-awesome-skills/robius-app-architectureSKILL.md
The same SKILL.md was published earlier as sickn33/agentic-awesome-skills/robius-app-architecture.
Supporting material availability
This catalog copy contains the inline guidance below, but does not include the following supporting paths. They are external prerequisites, not bundled files:
<support-root>/references/tokio-integration.md<support-root>/references/channel-patterns.md<support-root>/references/moly-async-patterns.md
Ask for the original supporting material or an existing installation before using a step that depends on these paths; this catalog does not identify a verified download source for them. Resolve each path relative to that installation, inspect its contents, and verify any applicable license and execution prerequisites. Do not run a command or claim a referenced procedure was followed until its required file exists. Do not fabricate the missing scripts or treat an unrelated file with the same name as equivalent. Independent steps fully documented here can proceed within the user’s authorized scope; report any dependent step as unavailable.
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
The upstream _base/ directory is not bundled; these are historical pattern names, not production-certified implementations:
| 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
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
This is the start of the file. Read the full SKILL.md on GitHub.
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 repositoryCheckingplugins/agentic-awesome-skills-claude/skills/robius-app-architecture/SKILL.md
Popularity
- Repository stars
- 48,843
- Repository forks
- 7,090
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. 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/sickn33/agentic-awesome-skills/robius-app-architecture)