npx claudepluginhub tslateman/tempoPerformance optimization workflow for Python/Django and TypeScript/Vue - estimate first, measure always. Based on Jeff Dean and Sanjay Ghemawat's Performance Hints.
Performance optimization workflow for Claude Code - estimate first, measure always.
Packages Jeff Dean and Sanjay Ghemawat's Performance Hints as a working discipline: a /perf command that runs a gated 7-phase workflow, read-only analyzer and reviewer agents, and a skill with distilled reference material that teaches offline. Principles stay language-agnostic; concrete patterns target Python/Django and TypeScript/Vue.
/plugin marketplace add https://github.com/tslateman/tempo
/plugin install tempo@tempo
For local development, point the marketplace at the working copy:
/plugin marketplace add ~/dev/tempo
/plugin install tempo@tempo
/perf src/orders/
The workflow:
flowchart LR
A[1 Scope] --> B[2 Analyze]
B --> C[3 Clarify]
C --> D[4 Prioritize]
D --> E[5 Implement]
E --> F[6 Validate]
F --> G[7 Summarize]
B -. parallel perf-analyzer agents .-> B
F -. measure, then parallel perf-reviewer agents .-> F
Two hard gates: clarifying questions before prioritization, and explicit approval before implementation. Validation measures first - existing benchmarks, query counts, or a minimal timing harness - and falls back to static review only when execution is impossible. An unmeasured change is never reported as validated.
| Component | Role |
|---|---|
commands/perf.md | The 7-phase workflow |
agents/perf-analyzer.md | Read-only analysis: back-of-envelope estimates, stack-specific pattern scan |
agents/perf-reviewer.md | Read-only validation: correctness first, then the performance claim |
skills/performance-hints | Auto-triggering skill with routing to six distilled reference files |
The reference files (estimating, measuring, memory, debugging, API design, reviewing) are self-contained - each teaches its topic with zero network access, with abseil.io sources as footnotes.
It estimates first, using the Abseil latency table, so patterns that cannot matter get ranked LOW rather than reported as findings.
bulk_create / bulk_update / in_bulk, over-fetched columns, unbounded fetches, missing indexes, prefetch discarded by a later .filter().async def, async_to_sync on a hot path, unbatched external APIs.computed, method calls in templates, v-for without stable keys, unvirtualized long lists, fetch waterfalls, oversized bundles.duet ships a performance skill covering the profiling loop and trade-off framework at a general level. tempo is narrower and deeper: estimate-first discipline, the gated workflow with agents, and stack-specific pattern detection.
MIT
7-day visitors to each marketplace page
Matt Pocock's skills for real engineering, as an installable Claude Code plugin.
Development marketplace for Superpowers core skills library
Harness-native ECC skills, hooks, rules, MCP conventions, and operator workflows