SkillsLib.ai

Algorithmic Optimization & Performance Analysis

Identify bottlenecks, optimize algorithms, validate improvements with rigorous trade-off analysis

0.0(0 reviews)
100+ downloads
Updated Nov 2026

What You Can Do

You can systematically analyze your code to identify performance bottlenecks, design targeted algorithmic optimizations, and rigorously evaluate performance gains while considering trade-offs between speed, memory, and maintainability. This skill guides you through Big O complexity assessment, optimization strategy design, and comprehensive validation frameworks to ensure improvements don't introduce regressions.

Features

Bottleneck identification

Pinpoint performance-critical code sections through systematic analysis and complexity assessment

Big O notation analysis

Evaluate algorithmic complexity, identify inefficient patterns, and compare complexity before and after optimization

Optimization strategy design

Generate targeted recommendations across data structures, algorithms, and architectural approaches with implementation guidance

Trade-off evaluation

Create detailed comparisons of optimization approaches across time complexity, space complexity, implementation difficulty, and maintainability

Performance metrics framework

Establish benchmarking strategies and measurement methodologies to validate improvements in your actual environment

Validation test strategies

Design regression testing plans that confirm optimizations improve performance without breaking functionality

Optimization documentation

Generate performance improvement reports with complexity deltas, trade-off matrices, and code review documentation

Example Output

Bottleneck Analysis Report:

  • Identified: O(n²) nested loop in data processing function
  • Impact: Processes 10,000 records in 45 seconds
  • Root cause: Duplicate lookups in inner loop

Optimization Recommendation: Switch to hash map lookup → O(n) complexity → ~200ms execution

Trade-Off Matrix:

ApproachTimeSpaceComplexityBest For
CurrentO(n²)O(1)LowSmall datasets
Hash MapO(n)O(n)MediumProduction

Validation Plan: ✓ Correctness test: Output matches original for all inputs ✓ Performance benchmark: Measure against 10K, 100K, 1M record sets ✓ Memory profile: Confirm space increase acceptable ✓ Regression test: Existing tests continue to pass

What's Included

  • SKILL.md: Complete algorithmic optimization methodology
  • Bottleneck Analysis Template: Structured framework for identifying performance issues
  • Complexity Assessment Checklist: Big O notation evaluation and pattern recognition
  • Optimization Strategy Worksheet: Guided design process for targeted improvements
  • Trade-Off Comparison Matrix: Side-by-side evaluation framework for competing approaches
  • Validation Test Framework: Benchmarking strategy and regression testing checklist
  • Performance Report Template: Documentation format for optimization improvements

Who It's For

  • Backend engineers optimizing API response times and database query performance
  • Performance engineers analyzing and improving system-level algorithmic efficiency
  • Full-stack developers balancing optimization trade-offs in production applications
  • Data engineers optimizing large-scale data processing pipelines and algorithms
  • Systems architects designing efficient solutions for resource-constrained environments

Best For

  • Optimizing slow database queries and improving query execution plans
  • Reducing time complexity in compute-heavy algorithms and data processing functions
  • Evaluating memory-speed trade-offs in resource-constrained or embedded systems
  • Designing efficient data structures and algorithmic approaches for large-scale problems
  • Creating performance improvement documentation and trade-off analyses for code reviews

You might also like

Experiment Design for A/B Testing & Causal Inference
$35
Experiment Design for A/B Testing & Causal Inference

This skill guides you through rigorous experiment design from hypothesis to analysis plan. You'll compute the statistical power needed for your tests, identify confounding variables to control for, design optimal randomization strategies, and generate pre-registered analysis plans that prevent p-hacking and publication bias. Whether you're running a product A/B test or investigating causal effects in observational data, you get structured, validated designs that account for real-world constraints.

Planning Agent
$30
Planning Agent

This skill transforms high-level feature requests into actionable implementation plans by conducting deep requirement interviews, analyzing existing codebases (or planning greenfield projects), and producing comprehensive handoff documents. It distinguishes between brownfield development (with existing code to integrate) and greenfield projects (starting from scratch), ensuring your technical strategy accounts for your actual constraints and patterns.

ML Infrastructure Failure Analysis & Optimization
$25
ML Infrastructure Failure Analysis & Optimization

This skill helps you systematically diagnose failures in distributed ML training and serving infrastructure. You provide system logs, metrics, and error traces, and Claude performs structured root-cause analysis to identify the underlying issue—whether it's resource exhaustion, distributed system deadlock, data pipeline corruption, or model serving misconfiguration. You get a detailed diagnosis with remediation steps ranked by likelihood and implementation effort.

Systematic Prompt Evaluation & Optimization
$35
Systematic Prompt Evaluation & Optimization

Systematically evaluate your Claude prompts using quantitative scoring frameworks to identify weaknesses in clarity, task alignment, and output quality. You'll receive detailed optimization recommendations with A/B testing guidance to improve prompt effectiveness and consistency across different use cases and input variations.

HEOR Evidence Synthesis & Dossier Builder
$35
HEOR3.6(5)
HEOR Evidence Synthesis & Dossier Builder

You can rapidly compile, organize, and format disparate health economic evidence—from clinical trials to cost-effectiveness analyses—into structured, regulatory-compliant dossiers. This skill maps your evidence to specific payer and HTA requirements, automatically generates evidence hierarchies, and produces submission-ready dossier outlines with formatting that meets regulatory standards for NICE, EUnetHTA, and other major bodies.

Statistical Model Selection & Validation Framework
$25
Statistical Model Selection & Validation Framework

Claude guides you through a structured framework for evaluating statistical models, testing key assumptions, and documenting your methodology in reproducible format. You'll get clear decision criteria for choosing among candidate models, verification checklists for critical assumptions, and templates for documenting your analytical process so others can understand and replicate your results.

RAG Pipeline Diagnostics & Optimization
$40
RAG Pipeline Diagnostics & Optimization

You can systematically diagnose why your RAG system isn't returning relevant results and identify specific misalignments between queries and context. This skill walks you through analyzing retrieval quality, scoring context relevance, and optimizing prompt-retrieval alignment to improve your RAG accuracy. You'll get concrete, actionable recommendations for fixing bottlenecks in your pipeline.

Statistical Analysis Guide
$35
Statistical Analysis Guide

You can confidently navigate complex statistical analyses by working through structured workflows that match your research question and data type to the right test. The skill guides you through assumption validation, helps you interpret results accurately without common pitfalls, and walks you through regression diagnostics with full transparency about what your findings actually mean.

$30.00