codeprobe-patterns

Detect design-pattern opportunities and anti-patterns in multi-language codebases.

4|2|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: codeprobe-patterns
Source: https://github.com/nishilbhave/codeprobe/tree/main/skills/codeprobe-patterns
Command: npx skills add https://github.com/nishilbhave/codeprobe --skill codeprobe-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pattern misuse and missed opportunities complicate codebases, making maintenance harder. This Skill identifies when a GoF or architectural pattern would reduce complexity, improve clarity, or increase flexibility, and it flags anti-patterns that add indirection without benefit.

Core Features & Use Cases

  • Detects design-pattern opportunities (e.g., Strategy, State, Facade) and anti-patterns (e.g., God classes, unnecessary indirection) in multi-language codebases.
  • Generates concrete, actionable fix prompts that explain why the pattern helps and how to implement it.
  • Supports code reviews, architecture refreshes, and ongoing refactoring by surfacing prioritized recommendations.

Quick Start

Run the pattern auditor against your codebase to generate actionable fix prompts.

Frequently Asked Questions about codeprobe-patterns

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

FAQPage Schema
How do I identify design-pattern opportunities and anti-patterns during a code review?

Identify design-pattern opportunities and anti-patterns during code reviews by auditing multi-language codebases to detect where patterns like Strategy or State would improve clarity, and flagging God classes or unnecessary indirection that add complexity.

What are common anti-patterns to look for when refactoring architecture?

Common anti-patterns to look for when refactoring architecture include God classes and unnecessary indirection that add abstraction without benefit, complicating maintenance tasks across the codebase and reducing overall clarity and flexibility.

Can I detect GoF pattern opportunities in a multi-language codebase?

You can detect GoF pattern opportunities in a multi-language codebase by running a pattern auditor that analyzes repositories to surface prioritized recommendations for applying patterns like Strategy, State, or Facade to reduce complexity.

How do I generate actionable fix prompts for design pattern misuse?

Generate actionable fix prompts for design pattern misuse by detecting instances where a named pattern would improve clarity or flexibility, then outputting concrete prompts with pattern names, goals, and implementation sketches to guide refactoring.

When should I not use a design pattern during maintenance tasks?

You should not use a design pattern during maintenance tasks when it introduces unnecessary indirection without benefit, as pattern misuse adds abstraction layers that complicate the codebase and make ongoing maintenance harder rather than improving flexibility.