M15 Anti Pattern
Identifies and flags common communication pitfalls (M15 anti-patterns) in text to improve clarity and reduce misunderstandings.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add thurbeen-m15-anti-pattern npx -- -y @trustedskills/thurbeen-m15-anti-pattern
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"thurbeen-m15-anti-pattern": {
"command": "npx",
"args": [
"-y",
"@trustedskills/thurbeen-m15-anti-pattern"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, thurbeen-m15-anti-pattern, identifies and flags common anti-patterns in Rust code. It helps developers recognize problematic coding practices that can lead to performance issues or maintainability problems. The skill provides explanations of the identified anti-patterns and suggests potential refactoring strategies for improvement.
When to use it
- Code Review: Use this skill during code reviews to proactively identify and address potential issues before they become larger problems.
- Refactoring Existing Codebases: Apply this skill when working on older Rust projects that may contain less-than-ideal coding patterns.
- Learning Best Practices: New Rust developers can use it as a learning tool to understand common pitfalls and learn how to write more idiomatic code.
- Performance Optimization: Identify anti-patterns contributing to performance bottlenecks in critical sections of the codebase.
Key capabilities
- Anti-pattern detection
- Explanatory feedback on identified patterns
- Refactoring suggestions
Example prompts
- "Analyze this Rust code for common anti-patterns." [followed by code snippet]
- "Explain why this
forloop might be an anti-pattern in Rust and suggest alternatives." [followed by code snippet] - "Find any instances of unnecessary cloning in this function." [followed by code snippet]
Tips & gotchas
The skill's effectiveness depends on the quality of the provided Rust code. It is most useful when given complete functions or modules, rather than isolated lines of code.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.