agentsclimarketplace

Analyze history

Skill BrennonTWilliams/little-loops/skills/analyze-history

Use when asked about project health, velocity, bug trends, or whether we're making progress.From its SKILL.md

Install
npx -y skills add BrennonTWilliams/little-loops --skill analyze-history

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.7 KB, as published. Nobody here has run it

Analyze History Skill

This skill helps users understand their issue history and project health trends.

When to Activate

Proactively offer or invoke this skill when the user:

  • Asks about project velocity or completion rates
  • Wants to know about bug trends or ratios
  • Asks "are we making progress?"
  • Inquires about technical debt health
  • Wants to compare recent performance to historical
  • Asks about subsystem or module health
  • Asks about rework, reopen rate, revert rate, or whether closed work "stuck"
  • Wants a quality-adjusted throughput figure instead of a raw closed-issue count

How to Use

Run the ll-history CLI command based on user needs:

Quick Summary

For a basic summary:

ll-history summary

Full Analysis

For comprehensive analysis:

ll-history analyze

Markdown Report

For a shareable report:

ll-history analyze --format markdown

Period Comparison

To compare recent vs previous period:

ll-history analyze --compare 30

Documentation Synthesis

Generate architecture documentation from completed issue history:

ll-history export "authentication"

Write to a file with a specific format:

ll-history export "sprint system" --output docs/arch/sprint.md --format structured

Filter by date or issue type:

ll-history export "API layer" --since 2026-01-01 --type ENH

Output Formats

FormatCommandBest For
Textll-history analyzeTerminal viewing
Markdownll-history analyze --format markdownDocumentation, sharing
JSONll-history analyze --format jsonProgrammatic access
YAMLll-history analyze --format yamlConfig, further processing

Period Grouping

PeriodCommandUse Case
Weeklyll-history analyze --period weeklyShort sprints
Monthlyll-history analyze --period monthlyDefault, general use
Quarterlyll-history analyze --period quarterlyLong-term trends

Examples

User SaysAction
"How's our project health?"ll-history analyze
"Show me bug trends"ll-history analyze --format markdown
"Compare last month to previous"ll-history analyze --compare 30
"Are we making progress?"ll-history analyze --format markdown
"What's our velocity?"ll-history summary
"Show quarterly trends"ll-history analyze --period quarterly
"Generate docs about the sprint system"ll-history export "sprint system"
"Document our auth changes since January"ll-history export "authentication" --since 2026-01-01
"What's our rework rate?"ll-history rework
"Did the design gate reduce rework?"ll-history rework --format markdown
"How much of our throughput is real vs. redone work?"ll-history rework --format json

Interpretation Guide

Velocity Trend

  • Increasing: Team completing more issues over time
  • Stable: Consistent output
  • Decreasing: May indicate blockers or complexity

Bug Ratio Trend

  • Decreasing: Codebase stabilizing (good)
  • Increasing: Quality issues, may need attention
  • Stable: Consistent quality level

Subsystem Health

  • Improving (down arrow): Fewer recent issues, stabilizing
  • Degrading (up arrow): More recent issues, needs attention
  • Stable (right arrow): Consistent issue rate

Technical Debt Indicators

  • Backlog Growing: More issues created than closed
  • High Aging: Issues sitting too long without resolution
  • High Priority Open: Critical issues need immediate attention

Analysis Sections

The full analysis includes:

  1. Executive Summary - Key metrics at a glance
  2. Type Distribution - BUG/ENH/FEAT/EPIC breakdown
  3. Period Trends - Velocity and bug ratio over time
  4. Subsystem Health - Per-directory issue tracking
  5. Technical Debt - Backlog size, growth, aging
  6. Comparative Analysis - Period-over-period comparison (if requested)

Evolution Triggers

When .ll/history.db is available, analyze-history includes an Evolution Triggers section with two subsections:

Recurring Corrections

User corrections that have recurred ≥ history.evolution.feedback_min_recurrence times (default: 2) across sessions. Each entry includes:

  • Topic: content excerpt or cluster key
  • Count: number of times this correction recurred
  • Example Sessions: up to 5 session IDs where the correction appeared
  • Candidate Rule: proposed CLAUDE.md rule text (seeded from matching memory/feedback_* files)

Rule Candidates — the recurring corrections most likely to become permanent CLAUDE.md rules — are listed separately for easy copy-paste into CLAUDE.md.

Skill Bypasses

Skills where the user performed the work manually instead of invoking the skill, detected by matching user message content against skill keyword sets. Requires ≥ 2 keyword tokens to match (conservative to reduce false positives). Each entry includes:

  • Skill: the bypassed skill name
  • Bypass Count: number of sessions with bypass signal
  • Example Sessions: up to 5 session IDs
  • Suggested Improvement: recommendation to sharpen trigger keywords or lighten the skill

Configuration: history.evolution.feedback_min_recurrence and history.evolution.bypass_min_count in .ll/ll-config.json control the thresholds.

Keep looking

Skills are one crate of 607,721. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.