Przejdź do treści
Biblioteka skilli
Programowanie · Analiza

performance-optimization

/performance-optimization

Mierzy i poprawia opóźnienia, zużycie zasobów, zapytania, renderowanie oraz przepustowość buildów i testów, zachowując poprawność i porównując równoważne obciążenia.

Licencja
Apache-2.0
Ostatnia zmiana repozytorium
01.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 01.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Mierzy i poprawia opóźnienia, zużycie zasobów, zapytania, renderowanie oraz przepustowość buildów i testów, zachowując poprawność i porównując równoważne obciążenia.

Oryginalny opis (EN)

Measure and improve latency, resource use, queries, rendering, or build/test throughput. Use when performance is the primary problem; preserve correctness and compare equivalent workloads.

Jak działa

  1. Delegation
  2. Define the claim and its envelope
  3. Find the bottleneck
  4. Fix the confirmed cause
  5. Verify
  6. Report
Sekcje z nagłówków SKILL.md, w oryginale · 46 linii, 555 słów
Podgląd SKILL.md
---
name: performance-optimization
description: Measure and improve latency, resource use, queries, rendering, or build/test throughput. Use when performance is the primary problem; preserve correctness and compare equivalent workloads.
---

# Performance Optimization

Make a performance claim that survives scrutiny: a confirmed bottleneck, a change that addresses it, and a before/after comparison under the same conditions, with business behavior unchanged.

## Delegation

Run in the main conversation by default. Delegation can increase usage: obtain explicit approval for the proposed agent count and scope before using subagents. Reuse that approval within its bounds; ask again before expanding the approved count or scope.

## Define the claim and its envelope

Establish what is slow, where, for whom, and compared to what, then capture a baseline before changing anything: timing, query count, payload, memory, CPU, bundle size, Web Vitals, a profile, or logs.

Results are comparable only inside a fixed benchmark envelope, so record it: workload and data size, starting state, warm or cold cache, account and permissions, command and flags, worker count, retries, resource limits, and concurrent activity on the host. For noisy measurements, repeat enough to report a representative value and its spread; the best run is not the result.

Infrastructure health is part of the measurement. A run with crashes, OOM kills, unexpected restarts, failed setup or cleanup, or orphan processes is rejected and noted, not averaged in.

An unexplained correctness failure comes first: isolate it before optimizing, because a faster wrong answer is not an improvement.

## Find the bottleneck

Attribute the time before choosing a fix. Separate backend, database, network, frontend rendering, asset loading, build tooling, and external dependencies; within a test or benchmark run, separate setup, exercise, and cleanup.

Measure the work a flow produces instead of inferring it from where the driver runs. A browser or test runner on the host can still drive memory, CPU, and database load inside services, and a few visible actions can amplify into many requests, statements, rows, jobs, and retries.

Use existing instrumentation, traces, query logs, and profilers, and read the rules that govern the measured path before changing its data flow. [performance-playbook.md](references/performance-playbook.md) has domain checks for databases, backends, frontends, assets, builds, tests, and caching.

## Fix the confirmed cause

Start with the smallest change that addresses the measured bottleneck, and reach for new dependencies, infrastructure, or architecture only when measurement shows the local fix is insufficient.

- A cache is a contract. Define its invalidation, freshness, and per-user or per-tenant boundaries before relying on it.
- A faster suite must still test the same thing. Keep authentication, authorization, realtime, and other behavior under test intact.
- When concurrency exposes a failure, reproduce and fix the focused case. Raising timeouts or retries hides races and failed requests.
- A tradeoff in correctness, freshness, accessibility, or UX that the user has not accepted is theirs to decide.

## Verify

Rerun the same measurement inside the same envelope and compare. Where the workflow mutates state, confirm service health, cleanup, state restoration, and process termination on success, failure, and handled interruption.

Complete required checks and reuse focused evidence that is still valid. Broaden measurements or tests when the claim or an unresolved regression risk needs it, within the agreed budget. Add a regression guard when it would catch the bottleneck returning.

## Report

Give the baseline and after measurements with the envelope, sample size, and any rejected runs; the bottleneck and the change; how the result was verified; and the tradeoffs, cache invalidation rules, and risks that remain.
Pliki w paczce (3)
  • SKILL.md 4 KB
  • agents/openai.yaml 1 KB
  • references/performance-playbook.md 9 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · thienanblog/awesome-ai-agent-skills100Apache-2.0
zeative/satgas100AGPL-3.0
TheAstroByte/astrobyte-agent-skills100MIT
FrancoStino/opencode-skills-collection100MIT
sanity-io/sanity100MIT
magnus919/agent-skills100MIT
drvoss/everything-copilot-cli100MIT
atc-net/atc-agentic-toolkit100MIT
DnsQueen/orcinus-skills100MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki a731fe0899ed (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 95performance-testing-and-optimization
    Mierzy opóźnienia, przepustowość i koszty zapytań PostgreSQL w katalogu agentów, a potem optymalizuje mierzalne wąskie gardła.
  • 100python-performance-optimization
    Optymalizuje wydajność Python przez profilowanie, usprawnienia algorytmów i techniki przyspieszania, zmniejsza zużycie pamięci i poprawia przepustowość oraz opóźnienia.
  • 100performance-audit
    Profiluje i testuje wydajność, audytuje Web Vitals, wykrywa zapytania N+1 i optymalizuje opóźnienia oraz przepustowość.
  • 95resonance-engineering-performance
    Diagnozuje wydajność: mierzy i profiluje opóźnienia, przepustowość, zużycie zasobów, Core Web Vitals, zapytania i koszt AI, aby wskazać udowodnione wąskie gardło i budżet optymalizacji.
  • 95performance-evaluation-and-optimization
    Mierzy i poprawia wydajność oprogramowania na reprezentatywnym obciążeniu, z profilowaniem i porównaniem przed i po zmianie.
  • 100performance-engineering
    Mierzy, diagnozuje i poprawia wydajność: opóźnienia, przepustowość, Core Web Vitals, zapytania, cache, bundle, współbieżność i zapobieganie regresjom.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.