# pattern-detection

Triage recurring code smells, log spikes, and metric anomalies into structured detection packets before debugging or patching.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 361 installs · ★ 51
- Author: akillness
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/pattern-detection/SKILL.md
- Updated: 2026-10-24
- HTML: https://affpapa.org/en/nevibecode/skills/pattern-detection

## What it does

Instead of generating an unsorted list of text matches, this skill forces the agent to classify issues into one detection mode. It selects between `text-prefilter`, `structural-code-rule`, `log-event-pattern`, or `metric-anomaly`. This isolates candidate irregularities across codebases, telemetry tables, and event records early.

The workflow relies on standard environment tools: `Read`, `Grep`, `Glob`, and `Bash`. The skill deliberately avoids root-cause diagnosis or applying patches. When the investigation shifts to deep log reconstruction, KPI reporting, or code remediation, it routes the task out to specialized skills like `log-analysis` or `code-review`.

Output stays organized around candidate clusters, confidence tiers, and false-positive risks, followed by a single validation step.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill pattern-detection -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pattern-detection/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pattern-detection/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill pattern-detection -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pattern-detection/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill pattern-detection -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pattern-detection/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install akillness/jeo-skills pattern-detection
```

2. **Manually: put the files in place**
- File: `.github/skills/pattern-detection/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill pattern-detection -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/akillness/jeo-skills --path .agent-skills/pattern-detection
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pattern-detection/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add akillness/jeo-skills --skill pattern-detection -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/akillness/jeo-skills/tree/HEAD/.agent-skills/pattern-detection/SKILL.md

## When to use it
- isolate repeated log error clusters across build versions
- identify duplicate syntax shapes and risky API calls across the codebase
- detect telemetry spikes and cohort shifts before deep incident triage
- filter out false-positive noise from broad text scans

## Example prompts
- Find repeated error signatures in the auth worker logs and group them by cohort
- Scan the repo for risky fallback patterns in API routes and estimate false-positive risks
- Check the telemetry tables for recent latency outliers and propose a fast verification step

## Similar
- [setup-matt-pocock-skills](https://affpapa.org/en/nevibecode/skills/setup-matt-pocock-skills.md) — skill · 1052851 installs
- [ask-matt](https://affpapa.org/en/nevibecode/skills/ask-matt.md) — skill · 766587 installs
- [to-tickets](https://affpapa.org/en/nevibecode/skills/to-tickets.md) — skill · 711230 installs
- [writing-plans](https://affpapa.org/en/nevibecode/skills/writing-plans.md) — skill · 282859 installs
- [caveman-review](https://affpapa.org/en/nevibecode/skills/caveman-review.md) — skill · 411800 installs
- [caveman-compress](https://affpapa.org/en/nevibecode/skills/caveman-compress.md) — skill · 411500 installs

From the same set: [akillness/jeo-skills](https://affpapa.org/en/nevibecode/by/akillness/jeo-skills.md) — 65 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
