m15-anti-pattern

m15 anti pattern

zhanghandong 1.3k ↓ 5.7k updated 2mo ago
Claude Code
View source ↗

What it does

  • Is this solving the symptom or the cause?
  • Is there a more idiomatic approach?
  • Does this fight or flow with Rust?
  • Clone to avoid borrow? → Ownership design issue
  • Unwrap "because it won't fail"? → Unhandled case
  • References instead of clones
  • Iterators instead of index loops

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

m15 anti pattern

Source

Repository: https://github.com/zhanghandong/rust-skills

m15-anti-pattern FAQ

What does the m15-anti-pattern skill do?

Use when reviewing code for anti-patterns. Keywords: anti-pattern, common mistake, pitfall, code smell, bad practice, code review, is this an anti-pattern, better way to do this, common mistake to avoid, why is this bad, idiomatic way, beginner mistake, fighting borrow checker, clone everywhere, unwrap in production, should I refactor, 反模式, 常见错误, 代码异味, 最佳实践, 地道写法 Is this solving the symptom or the cause? Is there a more idiomatic approach?

How do I install m15-anti-pattern?

Run: npx -y skills add https://github.com/zhanghandong/rust-skills --skill m15-anti-pattern --agent claude-code — the source lives at github.com/zhanghandong/rust-skills.

Maintain m15-anti-pattern?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

m15-anti-pattern on getagentictools
[![m15-anti-pattern on getagentictools](https://getagentictools.com/badge/skills/zhanghandong-rust-skills-m15-anti-pattern.svg)](https://getagentictools.com/skills/zhanghandong-rust-skills-m15-anti-pattern?ref=badge)
npx agentictools info skills/zhanghandong-rust-skills-m15-anti-pattern

The second line is the CLI lookup for this page — handy in READMEs and docs.