One-click install
npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detection-akillness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-detection
Source: https://github.com/akillness/oh-my-skills/tree/main/.agent-skills/pattern-detection
Command: npx skills add https://github.com/akillness/oh-my-skills --skill pattern-detection-akillness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Patterns and anomalies in code and data often hide quality and security issues. This skill helps surface recurring patterns, identify problematic constructs, and monitor evolving trends to improve code health and security.

Core Features & Use Cases

  • Regex pattern detection across codebases to surface common formats and vulnerabilities.
  • AST-based analysis to understand structural patterns and refactoring opportunities.
  • Statistical anomaly detection to flag unusual metric shifts in code behavior or data streams.
  • Use Case: Detect duplicated logic, unusual control-flow patterns, or emerging security weaknesses.

Quick Start

Ask me to run a pattern-detection pass over your codebase to surface smells and anomalies.

Frequently Asked Questions about pattern-detection

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

FAQPage Schema
How do I detect code anomalies and security patterns in a multi-language codebase?

Code anomaly detection in a multi-language codebase is performed through regex pattern matching, AST-based structural analysis, and statistical anomaly detection to surface security vulnerabilities and problematic constructs.

What is AST-based analysis for identifying refactoring opportunities?

AST-based analysis parses code into abstract syntax trees to understand structural patterns, enabling the identification of duplicated logic and unusual control-flow patterns for targeted refactoring efforts.

Can I use regex pattern detection for security audits across different programming languages?

Regex pattern detection can be applied across multi-language codebases during security audits to surface common vulnerable formats and recurring problematic constructs hiding in the code.

How do I run a static analysis pass to find duplicated logic and code smells?

Running a static analysis pass combines regex detection and AST analysis to identify duplicated logic, code smells, and emerging security weaknesses, providing guidance for triage and remediation.

Does statistical anomaly detection work for monitoring evolving code trends and data streams?

Statistical anomaly detection flags unusual metric shifts in code behavior or data streams, allowing you to monitor evolving trends and maintain ongoing code health and security.