How this skill is triggered — by the user, by Claude, or both
Slash command
/blueprint-mode:bad-patternThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**COMMAND:** Document code to avoid and the correct alternative.
COMMAND: Document code to avoid and the correct alternative.
| Input | Action |
|---|---|
/bad-pattern any type - use unknown | Document with both bad and good |
/bad-pattern inline SQL | Ask for correct approach |
/bad-pattern | Ask what to document |
Add to patterns/bad/anti-patterns.md:
## [Category]: [Description]
**Severity:** Critical | High | Medium | Low
### Don't Do This
```[language]
[bad code]
Problems:
[good code]
Why: [Explanation]
## Severity Guide
- **Critical**: Security, data loss
- **High**: Performance, maintenance burden
- **Medium**: Code smell
- **Low**: Style preference
## Output
Anti-pattern documented in patterns/bad/anti-patterns.md
If details missing, use TBD markers.
npx claudepluginhub rickardp/blueprint-mode --plugin blueprint-modeCatalogue of known SDLC anti-patterns to reject during architecture, planning, code review, and post-incident analysis. Provides named patterns for clear communication.
Recommends creational, structural, behavioral, and distributed design patterns with implementations, unit tests, and trade-offs; detects anti-patterns like God Object, circular dependencies, and primitive obsession.
Reviews code for anti-patterns like excessive cloning, unwrap in production, and fighting the borrow checker. Helps identify when a pattern hides a design problem and suggests idiomatic alternatives.