optimization

Define metrics, identify bottlenecks, and apply macro-optimizations before micro-optimizations.

16.6k|1.9k|Updated Jan 5, 2026
One-click install
npx skills add https://github.com/1jehuang/jcode --skill optimization-1jehuang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: optimization
Source: https://github.com/1jehuang/jcode/tree/main/.jcode/skills/optimization
Command: npx skills add https://github.com/1jehuang/jcode --skill optimization-1jehuang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimization helps teams systematically identify and remove performance bottlenecks to improve latency, throughput, and resource efficiency.

Core Features & Use Cases

  • Define target metrics and baselines for latency, throughput, memory, and startup time.
  • Identify bottlenecks through instrumentation, profiling, and analysis across the full stack (code, architecture, workflows).
  • Prioritize macro-optimizations before micro-optimizations and validate improvements with measurable evidence.

Quick Start

Define target metrics and apply macro-optimizations before micro-optimizations on your codebase.

Frequently Asked Questions about optimization

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

FAQPage Schema
How do I identify and fix software performance bottlenecks?

Reduce latency by defining target metrics and baselines, profiling your codebase to attribute bottlenecks, and prioritizing macro-optimizations before fine-tuning with micro-optimizations for measurable throughput gains.

What is the best way to prioritize system optimizations in a codebase?

The best way to prioritize system optimizations is applying macro-optimizations across architectures and workflows first, then executing micro-optimizations, validating all improvements against defined latency and memory metrics.

How do I set baseline metrics for memory and throughput optimization?

Set baseline metrics for memory and throughput optimization by defining target measurements for startup time and resource efficiency, enabling you to validate performance improvements with measurable evidence.

When should I use static analysis for performance profiling?

Use static analysis for performance profiling alongside instrumentation to identify bottlenecks across code and architecture, attributing latency and memory issues before applying macro-optimizations to the system.

Can I apply this optimization approach across different system architectures?

Yes, you can apply this structured optimization approach across different system architectures to systematically improve throughput and resource efficiency, validating measurable targets like latency and memory.