compact-reviewer:performance-review

Analyze Compact circuits to identify performance bottlenecks and optimization opportunities.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/aaronbassett/midnight-knowledgebase --skill compact-reviewer-performance-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: compact-reviewer:performance-review
Source: https://github.com/aaronbassett/midnight-knowledgebase/tree/main/plugins/compact-reviewer/skills/performance-review
Command: npx skills add https://github.com/aaronbassett/midnight-knowledgebase --skill compact-reviewer-performance-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Analyze and identify performance bottlenecks and optimization opportunities in Compact circuit designs, helping engineers reduce constraints, shorten proof times, and lower gas costs.

Core Features & Use Cases

  • Performance analysis to locate heavyweight constraint usage and expensive primitives.
  • Guidance on targeted optimizations to decrease prover time and gas expenditure.
  • Use Case: when tuning a batch of Compact contracts, surface the top hotspots and provide actionable recommendations.

Quick Start

Provide a Compact circuit to analyze and request a performance review to receive bottlenecks and optimization suggestions.

Frequently Asked Questions about compact-reviewer:performance-review

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

FAQPage Schema
How do I reduce gas costs and proof times in Compact circuits?

To reduce gas costs and proof times in Compact circuits, analyze the design to identify heavyweight constraint usage and expensive primitives, then apply targeted optimizations to decrease prover time and expenditure.

What causes performance bottlenecks in Compact circuit designs?

Performance bottlenecks in Compact circuit designs are caused by heavyweight constraint usage and expensive primitives that inflate R1CS-like costs, prolong proof times, and increase gas expenditure.

How do I analyze R1CS-like costs for Compact contracts?

Analyze R1CS-like costs for Compact contracts by reviewing the circuit with varying constraint counts to surface top performance hotspots and generate actionable optimization steps.

Can I get optimization recommendations for a batch of Compact contracts?

You can get optimization recommendations for a batch of Compact contracts by requesting a performance review that surfaces top hotspots and provides actionable steps to reduce constraints and gas costs.

What is the best way to flag expensive primitives in Compact circuits?

The best way to flag expensive primitives in Compact circuits is to perform a performance analysis that locates heavyweight constraint usage and assesses R1CS-like costs across development and deployment contexts.