analyze-patterns

Analyze codebase patterns and review history to generate improvement proposals.

6|1|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/micherra/canon --skill analyze-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-patterns
Source: https://github.com/micherra/canon/tree/main/skills/canon/skills/analyze-patterns
Command: npx skills add https://github.com/micherra/canon --skill analyze-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Pattern mining and proposal generation for Canon's learning loop. Analyzes codebase patterns, review history, build execution data, and conventions to produce structured improvement proposals. Covers manual analysis and auto-trigger modes. Loaded by the learner agent.

Core Features & Use Cases

  • Pattern mining across codebase, reviews, build logs, and conventions to identify improvement opportunities.
  • Generates structured improvement proposals consumed by the learner agent and remote reviewers.
  • Supports both manual analysis and auto-trigger modes for learning-flow optimization.

Quick Start

Run the analyze-patterns skill to scan Canon's project data and produce prioritized improvement proposals for the learning loop.

Frequently Asked Questions about analyze-patterns

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

FAQPage Schema
How do I mine codebase patterns to generate improvement proposals?

To mine codebase patterns for improvement proposals, run an analysis over your project's code, review history, and build data. The skill identifies structural trends and outputs a structured LEARNING-REPORT.md with prioritized recommendations.

What is a learning loop analysis in software engineering?

Learning loop analysis is the process of evaluating principle-health, convention-lifecycle, and process-health metrics from build data and codebase patterns. It generates actionable proposals to continuously refine development workflows and project conventions.

Does the learning loop analysis support auto-trigger workflows?

Yes, the pattern analysis supports both manual execution and auto-trigger modes. This allows you to automatically scan project data and generate learning reports as part of your continuous integration and workflow optimization processes.

What data sources do I need to analyze codebase patterns and convention lifecycles?

You need access to your codebase, review history, build execution data, and a principle index. The skill loads these inputs to analyze convention lifecycles and identify opportunities for process-health improvements.

What is the best way to track convention lifecycle health across build data?

The best way to track convention lifecycle health is to analyze build execution data and review history against your principle index. This approach identifies convention violations and produces a LEARNING-REPORT.md to guide updates.

What are the limitations of auto-triggering pattern analysis for learning loops?

A limitation of auto-triggering pattern analysis is its dependency on a pre-existing principle index and historical learning data. Without sufficient review history and build logs, the generated LEARNING-REPORT.md may lack actionable improvement proposals.