Agent skill

detect-recurrence-pattern

Detect recurring patterns in issues and events. Identifies temporal, resource-based, cluster, and cascading patterns. Suggests prevention strategies. Keywords: recurrence, pattern, detection, trending, recurring, prevention, issue, analysis.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill detect-recurrence-pattern --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.0
Path: skills/analysis/detect-recurrence-pattern/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Detect Recurrence Pattern ## Preconditions Before applying this skill, verify: - Issue records available for analysis - Minimum 3 occurrences in analysis window - Timestamp data available for temporal analysis ## Actions ### 1. Collect Issue Records Gather issue data for analysis: ```yaml issue_record: issue_type: string # e.g., "CrashLoopBackOff", "OOMKilled" resource: string # e.g., "pod/app-123" namespace: string # e.g., "production" timestamp: datetime metadata: object resolved: boolean ``` ### 2. Detect Resource Patterns Group issues by base resource name: ```python # Group by namespace/kind/base-name by_base_name = group_issues_by_resource_base() for key, group in by_base_name.items(): if len(group) >= min_occurrences: # Pattern detected: same resource having recurring issues pattern = RecurrencePattern( pattern_type="resource", description=f"Recurring issues on {key}", confidence=min(1.0, len(group) / 10), severity=calculate_severity(group) ) ``` ### 3. Detect Temporal Patterns Analyze time intervals between issues: ```python # Calculate intervals between consecutive issues intervals = [issues[i].timestamp - issues[i-1].timestamp for i in range(1, len(issues))] # Check for

What's inside
Steps it walks through
  1. Preconditions
  2. Actions
  3. 1. Collect Issue Records
  4. 2. Detect Resource Patterns
  5. 3. Detect Temporal Patterns
  6. 4. Detect Cluster Patterns
  7. 5. Calculate Pattern Severity
  8. 6. Generate Prevention Suggestions
  9. Success Criteria
  10. Failure Handling
  11. Examples
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the detect-recurrence-pattern skill do?

Detect recurring patterns in issues and events. Identifies temporal, resource-based, cluster, and cascading patterns. Suggests prevention strategies. Keywords: recurrence, pattern, detection, trending, recurring, prevention, issue, analysis.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill detect-recurrence-pattern --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going