qol-architecture
OfficialHide OS differences behind a single interface.
Authorqol-tools
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Encapsulates OS differences behind a trait abstraction to enable cross-platform Rust plugins. A clean separation of platform-specific code from business logic reduces cfg-sprawl and compile-time fragility.
Core Features & Use Cases
- Trait-based platform abstraction with per-OS implementations to isolate cross-cutting concerns.
- Centralized wiring that removes #[cfg(target_os)] gates from core logic.
- Runtime-safe stubs for unsupported OSes to preserve cross-compilation and CI validation.
- Use Case: refactor a Rust plugin to support Linux, macOS, and Windows without compile_error! gates.
Quick Start
Refactor a Rust plugin to move platform-specific code behind a trait with per-OS impls and remove inline cfg(target_os) usage.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: qol-architecture Download link: https://github.com/qol-tools/qol-skills/archive/main.zip#qol-architecture Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.