aposd-optimizing-critical-paths

Community

Measure-first optimization for faster code.

Authorryanthedev
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill ensures performance improvements are driven by measured data, preventing intuition-based optimizations and guiding teams through a disciplined three-stage workflow: MEASURE, FUNDAMENTAL FIX, and CRITICAL PATH REDESIGN.

Core Features & Use Cases

  • Stage 1: Measurement First (Mandatory Gate) — collect profiling data, identify hotspots, and establish a baseline.
  • Stage 2: Fundamental Fixes — apply caches, algorithm changes, or layer bypasses where appropriate, before optimizing code paths.
  • Stage 3: Critical Path Redesign — implement the smallest possible, fastest path for the common case, ignoring non-critical complexities.
  • After changes: re-measure and evaluate improvements; decide to keep or revert based on data.
  • Red Flags & Consolidation — watch for premature optimization and heavy layer crossings; consolidate logic where it helps performance.

Quick Start

  • Run Stage 1 profiling on the target codebase to identify the top bottlenecks, record measurements, and establish a baseline.
  • If a fundamental fix exists, implement it and re-measure; otherwise proceed to a minimal critical-path redesign and re-test.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: aposd-optimizing-critical-paths
Download link: https://github.com/ryanthedev/code-foundations/archive/main.zip#aposd-optimizing-critical-paths

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.