data-algo

Diagnose codebase bottlenecks and recommend optimal data structures and algorithms.

10|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/Fearvox/data-algo-skill --skill data-algo
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: data-algo
Source: https://github.com/Fearvox/data-algo-skill/tree/main/data-algo
Command: npx skills add https://github.com/Fearvox/data-algo-skill --skill data-algo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Diagnoses bottlenecks in real codebases by recommending optimal data structures and algorithms, and implements the chosen approach directly while recording decisions in per-project profiles.

Core Features & Use Cases

  • Diagnose bottlenecks in code and infer constraints (input size, memory, read/write ratio)
  • Recommend 2-3 approaches with Big-O and trade-offs; ship the chosen approach into the codebase
  • Archive decisions and outcomes in per-project algorithm profiles to reuse proven solutions
  • Leverage a knowledge base of paradigms to guide recommendations
  • Support express vs standard modes for quick fixes when only one solution exists

Quick Start

Provide a codebase context and I will diagnose bottlenecks, propose data-structure-driven fixes, and ship the improvement.

Frequently Asked Questions about data-algo

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

FAQPage Schema
How do I diagnose code bottlenecks and choose the right data structure to fix them?▼

Diagnose code bottlenecks by profiling nested iterations and inferring constraints like input size and read/write ratios. The Skill then recommends optimal data-structure choices with Big-O trade-offs to resolve the performance issues.

What is the best way to optimize nested loops in a large codebase?▼

Optimize nested loops by applying search, sort, filter, graph, cache, or queue patterns. The Skill loads algorithmic paradigms from a knowledge base to identify inefficient iterations and prescribe targeted data-structure replacements.

When do I need to replace my current data structures to improve Big-O performance?▼

Replace current data structures when profiling reveals constraints like high memory usage or slow write ratios. The Skill infers these limits from your codebase and recommends 2-3 alternative approaches with comparative Big-O trade-offs.

Can I get a quick algorithm fix instead of comparing multiple optimization approaches?▼

Use express mode for a quick algorithm fix when only one clear solution exists. Standard mode provides 2-3 optimization approaches with detailed trade-offs, while express mode directly ships the single best data-structure choice.

How do I track code optimization decisions and outcomes across multiple projects?▼

Track code optimization decisions using per-project algorithm profiles. The Skill archives chosen data-structure approaches and their outcomes, allowing you to capture and reuse proven solutions across different projects.

Does this approach work without specific profiling framework dependencies?▼

The approach works without specific profiling framework dependencies. It diagnoses bottlenecks directly from your codebase context, analyzing nested iterations and applying algorithmic paradigms to guide data-structure optimization.