gauge

Analyze code changes for performance regressions and scalability concerns.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/benediktms/overmind --skill gauge-benediktms
Or copy as Structured Prompt for Agentā–¼
Please help me install this Agent Skill.
Skill: gauge
Source: https://github.com/benediktms/overmind/tree/main/cli/claudecode-plugin/skills/gauge
Command: npx skills add https://github.com/benediktms/overmind --skill gauge-benediktms

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Activates the gauge persona — evaluates code for performance regressions and scalability cliffs, including algorithmic complexity, hot-path allocations, N+1 queries, and resource leaks.

Core Features & Use Cases

  • Identify hot paths, N+1 patterns, and resource leaks in code changes.
  • Assess algorithmic complexity and allocations on hot paths.
  • Recommend guardrails and actionable improvements to prevent regressions in production.

Quick Start

Analyze the touched code to surface performance regressions, hot-path bottlenecks, and potential scalability issues.

Frequently Asked Questions about gauge

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

FAQPage Schema
How do I detect performance regressions in code changes before they reach production?ā–¼

Code performance analysis identifies regressions by evaluating touched code for hot-path bottlenecks, algorithmic complexity, and resource leaks. It assesses nested loops, database queries, and synchronization to surface scalability cliffs before deployment.

What is an N+1 query pattern and how do I find it in my code?ā–¼

An N+1 query pattern is a database inefficiency where records are fetched individually rather than in batches. Performance analysis detects these patterns in code changes by flagging database queries nested inside loops that amplify with input size.

How do I analyze algorithmic complexity in nested loops and regexes?ā–¼

Algorithmic complexity analysis evaluates touched code to report Big-O scaling behavior in nested loops, regexes, and synchronization. It identifies hot paths where allocations amplify with input size and recommends guardrails to prevent degradation.

Can I use this to assess scalability concerns for database queries and I/O operations?ā–¼

Yes, scalability assessment evaluates database queries and I/O operations in code changes to identify cliffs across hot paths. It reports algorithmic complexity, N+1 patterns, and resource leaks, stating measurable improvements or regressions.

When should I review code for hot-path allocations and resource leaks?ā–¼

You should review code for hot-path allocations and resource leaks when changes involve nested loops, regexes, or synchronization that could amplify with input size. This analysis prevents performance regressions and scalability cliffs in production.

What's the best way to prevent scalability cliffs in production code?ā–¼

The best way to prevent scalability cliffs is to analyze code changes for hot-path allocations, algorithmic complexity, and resource leaks. This approach recommends actionable guardrails and reports measurable improvements to stop regressions before deployment.