rob-pike

Community

Measure before you optimize.

Authortmdgusya
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Rob Pike's 5 Rules provide a disciplined approach to avoid premature optimization by ensuring performance changes are based on measured data rather than guesswork.

Core Features & Use Cases

  • Measurement-first principle: always instrument and collect data before optimizing.
  • Guided decision points: steps and questions to determine if a given change is warranted.
  • Contextual applicability: use during code reviews, profiling sessions, or when performance concerns arise from users or tests.
  • Safe-guard discipline: prevents unnecessary optimizations by requiring evidence before changes.

Use cases include scenarios where a user requests speedups, or when you are about to optimize without data, ensuring changes are justified and traceable.

Quick Start

Apply Rob Pike's five rules to a code snippet to decide whether optimization is warranted.

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: rob-pike
Download link: https://github.com/tmdgusya/engineering-discipline/archive/main.zip#rob-pike

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 471,000+ vetted skills library on demand.