·m15-anti-pattern
</>

m15-anti-pattern

goooice/rust-skills

アンチパターンのコードをレビューするときに使用します。キーワード: アンチパターン、よくある間違い、落とし穴、コードの臭い、悪い習慣、コードレビュー、これはアンチパターンですか、これを行うためのより良い方法、避けるべきよくある間違い、これはなぜ悪いのか、慣用的な方法、初心者の間違い、借用チェッカーとの戦い、どこでもクローン、本番環境でアンラップ、リファクタリングすべきか、反模式、常见错误、代償异味、最佳实実践、地道写法

5インストール·0トレンド·@goooice

インストール

$npx skills add https://github.com/goooice/rust-skills --skill m15-anti-pattern

SKILL.md

| .clone() everywhere | Hides ownership issues | Proper references or ownership | | .unwrap() in production | Runtime panics | ?, expect, or handling | | Rc when single owner | Unnecessary overhead | Simple ownership | | unsafe for convenience | UB risk | Find safe pattern | | OOP via Deref | Misleading API | Composition, traits |

| Giant match arms | Unmaintainable | Extract to methods | | String everywhere | Allocation waste | &str, Cow | | Ignoring #[mustuse] | Lost errors | Handle or let = |

| Clone everywhere | m01-ownership | Who should own this data? | | Unwrap everywhere | m06-error-handling | What's the error strategy? | | Rc everywhere | m09-domain | Is ownership clear? | | Fighting lifetimes | m09-domain | Should data structure change? |

原文を見る

引用可能な情報

AI/検索での引用用の安定したフィールドとコマンド。

インストールコマンド
npx skills add https://github.com/goooice/rust-skills --skill m15-anti-pattern
カテゴリ
</>開発ツール
認証済み
初回登録
2026-02-01
更新日
2026-02-18

クイックアンサー

m15-anti-pattern とは?

アンチパターンのコードをレビューするときに使用します。キーワード: アンチパターン、よくある間違い、落とし穴、コードの臭い、悪い習慣、コードレビュー、これはアンチパターンですか、これを行うためのより良い方法、避けるべきよくある間違い、これはなぜ悪いのか、慣用的な方法、初心者の間違い、借用チェッカーとの戦い、どこでもクローン、本番環境でアンラップ、リファクタリングすべきか、反模式、常见错误、代償异味、最佳实実践、地道写法 ソース: goooice/rust-skills。

m15-anti-pattern のインストール方法は?

ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/goooice/rust-skills --skill m15-anti-pattern インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code や Cursor で使用できるようになります

ソースリポジトリはどこですか?

https://github.com/goooice/rust-skills