design-patterns
A contributor skill in the RTK repository describing which Rust design patterns to use when adding or restructuring RTK's command filter modules.
スキルの内容
A contributor skill in the RTK repository describing which Rust design patterns to use when adding or restructuring RTK's command filter modules. It covers newtypes for values such as command names and token counts, builders for structs with many optional fields, state machines for parsing multi-section output like pytest results, trait objects only if the command set grows, RAII for temporary files, strategies for switching filter modes and extension traits on strings, each with a short example. A table helps pick a pattern, and it lists anti-patterns, advising the agent to keep RTK's existing match-based dispatch, stay synchronous and avoid abstractions for single commands.
できること
ドキュメントに記載なし
概要
- 公開元
- rtk-ai
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- GitHubリポジトリgithub.com/rtk-ai/rtk · 根拠となる項目:公開元, 活動状況, ライセンス2026年11月11日
- スキルファイル(SKILL.md)github.com/rtk-ai/rtk2026年11月15日
- スキルファイル(SKILL.md)github.com/rtk-ai/rtk2026年11月10日
- リポジトリ内のフォルダ(design-patterns)github.com/rtk-ai/rtk · 根拠となる項目:スクリプトを含む2026年11月10日