pattern-discovery

Search the pattern library before implementing new API routes, UI components, or database schemas.

Updated Jul 31, 2026
One-click install
npx skills add https://github.com/vikas-gits-good/Test-SAW-Repo --skill pattern-discovery-vikas-gits-good
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-discovery
Source: https://github.com/vikas-gits-good/Test-SAW-Repo/tree/main/.gemini/skills/pattern-discovery
Command: npx skills add https://github.com/vikas-gits-good/Test-SAW-Repo --skill pattern-discovery-vikas-gits-good

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill prevents the creation of redundant or non-compliant code by forcing a mandatory check against the established pattern library before any new implementation begins.

Core Features & Use Cases

  • Pattern Library Enforcement: Ensures all new API routes, UI components, and database operations align with existing architectural standards.
  • Standardization: Promotes a 'Search First, Reuse Always' culture to maintain codebase consistency.
  • Use Case: Before building a new user authentication endpoint, the agent will automatically scan the pattern library to identify and apply the approved authentication pattern.

Quick Start

Use the pattern discovery skill to check for existing patterns before implementing a new API route for user profile management.

Frequently Asked Questions about pattern-discovery

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

FAQPage Schema
How do I enforce architectural consistency before writing new code?

Enforce architectural consistency by mandating a search of the pattern library before implementing new code features. This prevents redundant code by requiring a pattern check for API routes, UI components, and database schemas.

What is pattern-first development and how does it standardize a codebase?

Pattern-first development is a workflow that promotes a 'Search First, Reuse Always' culture. It standardizes your codebase by ensuring all new implementations align with existing, approved architectural patterns rather than introducing non-compliant code.

How do I check for existing patterns before creating a new API route?

To check for existing patterns before creating an API route, use an automated pattern discovery workflow. It scans your established pattern library to identify and apply the approved architectural standard before any implementation begins.

Does pattern enforcement work for database schema modifications and UI components?

Yes, pattern enforcement applies to database schema modifications and UI component development. It ensures standardized, reusable code patterns are checked across the entire project lifecycle, not just backend API routes.

What is the best way to prevent non-compliant code in an automated workflow?

The best way to prevent non-compliant code is to force a mandatory check against the established pattern library before any new implementation begins. This automated block stops redundant architectural patterns from being created.