Rust design patterns make your code safer and easier to change. This skill teaches four patterns used in the RTK command line tool. They are Newtype, Builder, State Machine, and Trait Objects.
Newtype wraps simple values to prevent mistakes. Builder helps set up complex options step by step. State Machine handles changing states during parsing. Trait Objects let different filters share a common interface.
Use these patterns when you design new modules or refactor old ones. They help you avoid bugs and keep your code clean.
Global
mkdir -p ~/.claude/skills/design-patternsProject
mkdir -p .claude/skills/design-patternsSource Repository
Lark Sharedlarksuite/cli
Manage Feishu resources from terminal with user and bot authentication and permission handling
Runcomfy Cliagentspace-so/runcomfy-agent-skills
One binary one login runs hundreds of AI models from your command line
Tzstxixu-me/skills
Create extract and manage tzst archives with safe defaults and scripting support
Xdropxixu-me/skills
Upload and download files securely from your terminal with Xdrop CLI
Runcomfy Clidoany-ai/skills
One binary, one auth, hundreds of AI models from your terminal
Runcomfy Cliruncomfy-com/skills
Control hundreds of AI models from your command line with one simple tool
Hyperframes Cliheygen-com/hyperframes
Scaffold, lint, inspect, preview, and render video compositions from your terminal
Sentry Clisentry/dev
Manage your Sentry projects and issues directly from the terminal