pattern-discovery

Check the Pattern Library before implementing new functionality.

395|84|Updated Oct 5, 2025
One-click install
npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill pattern-discovery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-discovery
Source: https://github.com/bybren-llc/wtfb-safe-agentic-workflow/tree/main/.claude/skills/pattern-discovery
Command: npx skills add https://github.com/bybren-llc/wtfb-safe-agentic-workflow --skill pattern-discovery

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enforce pattern-first development by checking the Pattern library before implementing functionality. This reduces code duplication, ensures consistency, and leverages battle-tested solutions.

Core Features & Use Cases

  • Pattern Library Search: browse docs/patterns
  • Pattern Index Review: review README
  • Apply or Escalate: if pattern exists, copy; if not, escalate

Quick Start

Before implementing new feature, run /pattern-discovery to locate matching pattern and adapt accordingly.

Frequently Asked Questions about pattern-discovery

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I avoid code duplication when building new features?

Check your Pattern Library first before implementing. Pattern discovery ensures you search existing patterns, review the index, and reuse battle-tested solutions for API routes, UI components, database operations, and testing before writing new code.

What should I do if a pattern doesn't exist for my use case?

If no matching pattern exists in the library, escalate it. Pattern discovery guides you through validation against security and coding standards, then escalates new patterns for review, linting, type-checking, and pattern-specific tests.

How do I search the Pattern Library effectively?

Browse docs/patterns and review the README index to locate matching patterns. Pattern discovery streamlines this search by guiding you through pattern lookup, copying, customization, and verification steps for your implementation.

Can pattern discovery enforce coding standards across my team?

Yes. Pattern discovery enforces validation against security and coding standards by requiring pattern lookup before implementing functionality, ensuring consistency and reducing duplicated code across API routes, components, and database operations.

What types of code does pattern discovery cover?

Pattern discovery applies to API routes, UI components, database operations, and testing. It guides you to search, reuse, or escalate patterns across all these areas while enforcing linting, type-checking, and pattern-specific test validation.