mracal/vibe-engineering/pattern-library

Claude Code and agent skill by mracal/vibe-engineering

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detects recurring implementation patterns and records them for reuse. When the same code pattern appears 3+ times, it belongs in the pattern library.

Install

npx vskill@latest install mracal/vibe-engineering/pattern-library

SKILL.md

The same SKILL.md was published earlier as mracal/vibe-engineering/pattern-library.

vibe-pattern-library

Three similar lines of code is fine. But when you implement the same pattern for the third time across different files, codify it.

When to Use This Skill

  • You notice implementing the same pattern again (3rd+ time)
  • You find yourself copying code structure from another file
  • After a code review suggests "we always do X this way"
  • When onboarding to a project and want to learn established patterns

When NOT to Use This Skill

  • First or second use of a pattern (too early to codify)
  • Patterns that are specific to one module (not reusable)
  • Language-standard patterns already in the style guide

Steps

  1. Detect — Notice when you're implementing something you've seen before:
  • Table-driven tests
  • Error wrapping with context
  • Retry with backoff
  • Repository pattern
  • Builder pattern
  • Event handler registration
  • Middleware chains
  1. Record the pattern:

`` ### [Pattern Name] **Category**: [Testing | Error Handling | Concurrency | Data | API | etc.] **When to use**: [Specific situation] **Template**: `[language] [The canonical implementation] `` Variations:

  • [Variation 1]: [when to use]

Anti-patterns:

  • Don't [common mistake]

Examples in codebase: [file:line references] ```

  1. Store — Save to:
  • docs/patterns.md or docs/patterns/[category].md
  • Claude memory for cross-session access
  1. Reference — When implementing the pattern again, suggest the recorded version instead of re-inventing

Output Format

Pattern: [Name]

Category: [category] Occurrences found: X files

[language]
// Canonical implementation
[code]

Saved to: [location]

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
Repository forks
2
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/mracal/vibe-engineering/pattern-library/badge)](https://verified-skill.com/skills/mracal/vibe-engineering/pattern-library)

Something wrong with this skill or its page? Tell us.