perf

Plan performance optimizations by profiling code and analyzing bottlenecks.

9|9|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/nullmastermind/viber-router --skill perf-nullmastermind
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: perf
Source: https://github.com/nullmastermind/viber-router/tree/main/.claude/skills/perf
Command: npx skills add https://github.com/nullmastermind/viber-router --skill perf-nullmastermind

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Helps teams plan and execute performance optimization by identifying root-cause bottlenecks, measuring impact, and choosing implementation approaches that are verifiable and testable.

Core Features & Use Cases

  • Investigate bottlenecks: Trace execution paths in code, form hypotheses, and verify causes with code inspection and profiling data.
  • Scope and tradeoff analysis: Compare optimization options, sketch speed vs memory tradeoffs, and recommend maintainable implementations.
  • Audit and spec creation: Produce measurable success metrics, test strategies, and an implementation-ready specification for engineers.
  • Visualize and communicate: Create ASCII diagrams of hot paths, before/after flows, and prioritize work with risk assessment.
  • Use Case: Reduce Time-to-First-Token (TTFT) for streaming endpoints by tracing hot paths in the proxy and recommending server-side or configuration changes.

Quick Start

Invoke the explore skill, then analyze the codebase to identify and verify performance bottlenecks, define measurable targets, and recommend implementation steps.

Frequently Asked Questions about perf

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

FAQPage Schema
How do I identify performance bottlenecks in my application backend?

Identify performance bottlenecks by tracing execution hot paths in your code, forming hypotheses, and verifying root causes through code inspection and profiling data analysis.

What is the best way to reduce Time-to-First-Token for streaming endpoints?

Reduce Time-to-First-Token by tracing hot paths in your proxy, verifying execution bottlenecks, and recommending server-side code or configuration changes to optimize the streaming path.

How do I analyze speed versus memory tradeoffs when optimizing code?

Analyze speed versus memory tradeoffs by comparing optimization options, sketching out the specific impacts of each approach, and recommending the most maintainable implementation for your system.

Can I use this to create an implementation-ready specification for performance work?

Yes, you can produce an implementation-ready specification by defining measurable success metrics, outlining test strategies, and prioritizing work based on risk assessment for your engineers.

How do I visualize hot paths and communicate performance issues to my team?

Visualize hot paths and communicate performance issues by creating ASCII diagrams of execution flows, mapping before and after states, and prioritizing optimization work with risk assessment.

Does this approach work for analyzing deployment configurations and bottlenecks?

Yes, this approach works for analyzing deployment configurations by investigating bottlenecks through architecture analysis, inspecting code, and specifying measurable metrics and trade-offs for system improvements.