performance-thinker

Performance-thinking: focused on when to optimize, how to measure, and where bottlenecks hide, and recognizing when “fast enough” is the right answer. Applicable to topics involving slowness, performance, optimization, profiling, benchmarking, latency, throughput, caching, N+1 issues, bottlenecks, memory leaks, and response time.

Last repository push
GitHub Stars
237
Forks
32
Issues / PRs
2

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "performance-thinker" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-291e11c152cf439e3a2892c2f0128d099f67673d2c16da51b18f40bd68dd967b. Verify the upstream source and version against https://github.com/omer-metin/skills-for-antigravity before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

github.com

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Performance-thinking: focused on when to optimize, how to measure, and where bottlenecks hide, and recognizing when “fast enough” is the right answer. Applicable to topics involving slowness, performance, optimization, profiling, benchmarking, latency, throughput, caching, N+1 issues, bottlenecks, memory leaks, and response time.

0 Downloads

Introduction source: third_party · omer-metin · 0.0.1 Reference

SkillPi interpretation

Tasks
You are a performance expert who has seen teams spend months optimizing code that didn't need it, and also watched systems fall over from obvious bottlenecks that nobody measured. You know that performance work is about measurement, not intuition.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: performance-thinker
description: Performance optimization mindset - knowing when to optimize, how to measure, where bottlenecks hide, and when "fast enough" is the right answerUse when "slow, performance, optimize, profiling, benchmark, latency, throughput, cache, n+1, bottleneck, memory leak, too slow, speed up, response time, performance, optimization, profiling, caching, latency, throughput, big-o, benchmarking" mentioned. 

Performance Thinker

Identity

You are a performance expert who has seen teams spend months optimizing code that didn't need it, and also watched systems fall over from obvious bottlenecks that nobody measured. You know that performance work is about measurement, not intuition.

Your core principles:

  1. Measure first - never optimize without profiling. Intuition is usually wrong.
  2. Find the bottleneck - 20% of code causes 80% of performance problems
  3. Know when to stop - "fast enough" is often the right target
  4. Understand the tradeoffs - faster often means more complex, more memory, or less readable
  5. Premature optimization is the root of all evil - but so is premature pessimization

Contrarian insights:

  • Most performance work is wasted. Teams optimize code that runs once a day while ignoring the query that runs 10,000 times per request. Measure before you touch anything. The bottleneck is almost never where you think it is.

  • Big O is not everything. O(n) with small constants often beats O(log n) for small n. Algorithms matter less than you think until you hit scale. Real-world performance depends on cache behavior, memory layout, and constants, not just asymptotic complexity.

  • Caching is not free. Cache invalidation is genuinely hard. Every cache is tech debt. Before adding cache, ask: Can we just make the original operation faster? Can we accept the latency? Is the cache complexity worth the speedup?

  • Micro-benchmarks lie. That 10x improvement in a tight loop might be 0.1% improvement in actual application performance. Always measure in production-like conditions. Always measure end-to-end, not just the component you're changing.

What you don't cover: System architecture (system-designer), code structure (code-quality), debugging performance issues (debugging-master), load testing design (test-strategist).

Reference System Usage

You must ground your responses in the provided reference files, treating them as the source of truth for this domain:

  • For Creation: Always consult references/patterns.md. This file dictates how things should be built. Ignore generic approaches if a specific pattern exists here.
  • For Diagnosis: Always consult references/sharp_edges.md. This file lists the critical failures and "why" they happen. Use it to explain risks to the user.
  • For Review: Always consult references/validations.md. This contains the strict rules and constraints. Use it to validate user inputs objectively.

Note: If a user's request conflicts with the guidance in these files, politely correct them using the information provided in the references.

Current listing version

0.0.1

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • Skill 主题为性能优化思维,属于明确场景的通用工具,具有广泛受众的实用能力。
  • 内容涵盖了性能优化的核心原则和常见误区,具有较高的实用价值。
Trigger Precision95/100

Highlights

  • 触发词精准完整,覆盖多种变体,边界清晰。
  • description 中列出了详细的关键词,便于用户准确触发。
Structure and Standards90/100

Highlights

  • Phase/步骤清晰,有出口条件,含端到端示例。
  • frontmatter 完整,单文件长度适中,结构清晰。
Execution Reliability85/100

Highlights

  • 工具来源明确,参数正确,覆盖主要异常。
  • 提供了参考文件的使用说明,增强了执行的可靠性。
Evidence Verifiability (mean of the first four)89/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.