lina-perf-audit

Audit LinaPro backend APIs for SQL performance anti-patterns and generate issue cards.

147|28|Updated Apr 24, 2026
One-click install
npx skills add https://github.com/linaproai/linapro --skill lina-perf-audit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lina-perf-audit
Source: https://github.com/linaproai/linapro/tree/main/.agents/skills/lina-perf-audit
Command: npx skills add https://github.com/linaproai/linapro --skill lina-perf-audit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

LinaPro backend APIs often harbor performance anti-patterns like N+1 queries, missing indexes, unbounded lists, and unexpected write side effects in read endpoints. Manually auditing a full module set is slow, inconsistent, and easy to miss. This skill delivers a systematic, repeatable audit that prepares the environment, runs concurrent sub-agents, and produces both run reports and persistent issue cards.

Core Features & Use Cases

  • Full-Lifecycle Audit Automation: Resets the database, restarts services, installs built-in plugins, loads stress fixtures, scans endpoints, and probes routes automatically.
  • Concurrent Sub-Agent Analysis: Distributes endpoint auditing across sharded sub-agents, each tracing SQL via Trace-ID and classifying findings as HIGH, MEDIUM, or LOW.
  • Persistent Issue Tracking: Creates or updates fingerprint-deduplicated issue cards under perf-issues/ with reproduction steps, evidence, and recommendations.
  • Use Case: A team preparing for release can run a single skill to get a complete performance audit report and a tracked backlog of API issues.

Quick Start

Use the lina-perf-audit skill to run a complete performance audit of all LinaPro backend APIs and generate persistent issue cards with reproduction evidence.

Frequently Asked Questions about lina-perf-audit

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

FAQPage Schema
How do I audit backend API endpoints for N+1 queries and missing indexes?

An automated performance audit detects N+1 queries and missing indexes by running concurrent sub-agents that trace SQL via Trace-ID, classify severity, and generate persistent issue cards with reproduction steps and remediation recommendations.

What performance anti-patterns should I look for in backend API SQL optimization?

Backend API performance anti-patterns include N+1 queries, missing indexes, unbounded lists, repeated reads, mergeable SQL calls, blocking loop operations, and read-request write side effects.

How do I track and deduplicate recurring performance issues across API releases?

Track recurring performance issues by generating fingerprint-deduplicated issue cards under a persistent directory, ensuring each anti-pattern is recorded once with SQL evidence, source references, and remediation steps.

Can I automate SQL trace analysis across a full backend endpoint catalog?

Yes, you can automate SQL trace analysis across a full endpoint catalog by distributing the workload across concurrent sub-agents that probe routes, trace SQL via Trace-ID, and classify findings as HIGH, MEDIUM, or LOW.

Do I need to reset the database and load stress fixtures before testing API performance?

Yes, a full-lifecycle performance audit requires resetting the database, restarting services, installing built-in plugins, and loading stress fixtures before scanning endpoints and probing routes for anti-patterns.