pattern-miner

Mine historical project data to identify patterns and generate predictions.

Updated Nov 7, 2025
One-click install
npx skills add https://github.com/mehdic/CDC --skill pattern-miner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pattern-miner
Source: https://github.com/mehdic/CDC/tree/main/.claude/skills/pattern-miner
Command: npx skills add https://github.com/mehdic/CDC --skill pattern-miner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires jq, and includes scripts (resource) components.

What problem does it solve?

Project managers often make decisions based on intuition rather than data, leading to recurring mistakes, inaccurate estimates, and missed opportunities for improvement. This Skill provides data-driven insights from historical project runs.

Core Features & Use Cases

  • Predictive Insights: Forecast task durations, module risks, and team velocity based on past performance.
  • Automated Learning: Identifies recurring patterns (e.g., "database tasks always overrun") to refine future planning.
  • Use Case: Before starting a new feature, use this Skill to predict potential bottlenecks and adjust estimates, ensuring more accurate timelines and fewer surprises.

Quick Start

Mine historical data for patterns and predictive insights for the current project.

Frequently Asked Questions about pattern-miner

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

FAQPage Schema
How do I use historical project data to improve estimation accuracy?

Pattern-miner analyzes completed project runs to identify recurring patterns and estimate adjustments. It mines historical metrics to forecast task durations and predict bottlenecks, enabling more accurate timeline planning for future features based on past performance data.

What patterns can be identified from historical project metrics?

The Skill detects recurring task patterns—such as module-specific delays or velocity trends—by mining historical data. It generates pattern insights, estimation adjustments, risk indicators, and lessons learned to reveal systematic issues like database tasks consistently overrunning.

When should I run pattern mining for project planning?

Run pattern-miner before starting new features, during planning phases, task estimation, or post-mortems when you have 5+ completed project runs. It forecasts task patterns and adjustments to refine estimates and reduce surprises in your current project.

Can pattern mining work with my existing project data format?

Pattern-miner reads from bazinga/historical_metrics.json, a structured historical data file. Ensure your completed runs export metrics to this format; the Skill requires jq for processing and outputs insights to bazinga/artifacts/{SESSION_ID}/skills/pattern_insights.json.

What outputs does pattern mining generate for decision-making?

Pattern-miner generates a structured summary including patterns detected, estimation adjustments, predictions for your current project, risk indicators, and lessons learned. These data-driven insights inform planning decisions and help avoid recurring mistakes.