smithery/rickardp

blueprint:bad-pattern

Document an anti-pattern to avoid (any subject — code, schema, UI, infra)

Installation

$ npx skills add smithery/rickardp --skill blueprintbad-pattern

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/rickardp.

npx skills add smithery/rickardp

Browse all from smithery/rickardp

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Allowed toolsGlob, Grep, Read, Write, Edit, EnterPlanMode, ExitPlanMode

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,761 B
  • docs SUMMARY.md 61 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Document Anti-Pattern

COMMAND: Document something to avoid and the correct alternative. Anti-patterns are tree-agnostic — file all entries in patterns/bad/anti-patterns.md regardless of subject (code, database model, UI, infra).

Execute

  1. Parse argument for anti-pattern and correct approach
  2. Create patterns/bad/ if needed
  3. Add entry to patterns/bad/anti-patterns.md
  4. Report what was documented

Input Handling

Input Action
/bad-pattern any type - use unknown Document with both bad and good
/bad-pattern inline SQL Ask for correct approach
/bad-pattern modal traps focus on close - return focus to trigger UI anti-pattern, same file
/bad-pattern Ask what to document

Anti-Pattern Template

Add to patterns/bad/anti-patterns.md:

## [Category]: [Description]

**Severity:** Critical | High | Medium | Low

### Don't Do This
```[language]
[bad code]

Problems:

  • [Issue]

Do This Instead

```[language] [good code]


**Why:** [Explanation]

Severity Guide

  • Critical: Security, data loss, accessibility violations (WCAG failures), destructive actions without confirmation
  • High: Performance, maintenance burden, broken interaction patterns
  • Medium: Code smell, inconsistent visual language
  • Low: Style preference

Output

Anti-pattern documented in patterns/bad/anti-patterns.md

If details missing, use TBD markers.