ulw-perf
ما الذي تفعله
تكشف هذه المهارة السبب الحقيقي لبطء الكود أو تسرب الذاكرة أو ارتفاع التكلفة قبل تغيير أي شيء. وهي مخصصة للمطورين الذين يريدون إصلاحات مقاسة لا تخمينات.
متى تستخدمها
- ✓عندما يبدو تطبيق ويب أو خدمة بطيئة ولا أحد يعرف أين يكمن التأخير.
- ✓عندما تستمر ذاكرة عامل خلفي في الزيادة مع الوقت.
- ✓عندما ترتفع تكلفة الخدمة السحابية أو استخدام الذكاء الاصطناعي، وتريد معرفة السبب.
رابط المهارة
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/ulw-perf/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“صفحة الدفع بطيئة، وذاكرة العامل الخلفي ترتفع باستمرار. اعثر على مكان المشكلة وأصلحها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يقيس وكيلك خط الأساس أولًا، ويرتب الأسباب المحتملة، ويختبر إصلاحًا واحدًا في كل مرة. ويقيس من جديد بعد كل تغيير ليتأكد من التحسن ومن أن شيئًا لم يسُء.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Ultraperf
This is an OMH ultraperf workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
ultraperf exists because most performance work starts unlocalized: something is slow, leaking, or expensive and nobody knows where. It forces measurement before edits, one hypothesis at a time, executor-owned changes, and a regression budget, so an optimization loop cannot end in unverified claims.
Do Not Use When
- The ask is to judge code quality, structure, or correctness rather than measured cost; use
omh-code-review. - The ask is to score model or agent output quality on a task suite.
- The request is a settings-only change, one bounded edit that is explicitly low-risk and has a direct owner and verification path, or one already-identified slow query or hotspot fix; handle it directly instead of opening a performance loop.
Examples
Good example:
- Prompt: $ultraperf checkout feels slow and the worker memory keeps climbing - find where and fix it
- Expected behavior: Audit the baseline, name the evaluator command, rank hot-path hypotheses, hand the smallest reversible fix to the selected executor, re-measure, and state the budget delta.
- Why: The problem is real but unlocalized across more than one domain.
Bad example:
- Prompt: $ultraperf make the recommender p95 under 200ms; baseline 340ms, benchmark is 'make bench'
- Expected behavior: Skip the discovery audit: record 340ms as the baseline and
make benchas the evaluator command, then hand the fix to the selected executor and re-measure against the 200ms target. - Why: A single declared measurable goal does not need a discovery loop.
Completion Checklist
- Baseline, workload, environment, and evaluator command are recorded before any edit is proposed.
- Each accepted fix names the measured hot path, the reversible change, and its owner.
- Re-measured deltas cite observed evidence; unmeasured steps stay not_observed.
- The regression budget and the gate that enforces it are stated with the tolerance.
Recovery Notes
- If no evaluator command exists, stop the loop and produce one before touching code.
- If the re-measure does not move, revert the change and re-rank hypotheses instead of stacking fixes.
- If the goal turns out to be one declared metric with a budget, keep the loop and start from that baseline instead of profiling for a hot path.
When to Use
Use when performance problems are suspected but not yet localized, or when several cost hotspots across domains need a measured inspect-and-fix loop.
Strong routing signals: `ultraperf`, `$ultraperf`, `ulw-perf`, `performance audit`, `performance bottleneck`, `find the bottleneck`, `profile the hot path`, `memory leak investigation`, `token cost hotspot`, `storage footprint audit`, `rendering jank`, `model inference hotspot`, `slow ci pipeline`, `query performance audit`, `performance-goal`, `performance goal`, `latency`, `throughput`, `benchmark`, `성능 병목`, `메모리 누수`, `느려진 원인`, `성능 전반 점검`
Catalog Metadata
Category: optimization
Phase: measured-optimization-loop
Quality tier: measurement-gated
Reasoning demand: heavy
Quality bar:
- Record a baseline and name the evaluator command before proposing any optimization edit.
- Attack only a hot path shown by a measurement or profile; never micro-optimize unmeasured code.
- Keep every fix the smallest reversible change and route code edits to the selected executor.
- Re-measure after each change and report deltas only from observed evidence.
- Never present a restart, cache flush, or resource bump as a leak fix; prove causation by revert-verify.
- Set the regression budget as baseline x (1 + tolerance) and name the CI gate that enforces it.
- A mid-run user message is an interjection, not a stop: answer it briefly and, in the same reply, continue the run — re-read the phase todo when one is active and dispatch or advance the next pending step, or name the armed wait it is waiting on -- handle, bound completion signal, deadline -- instead of re-reading status. Only the user's explicit stop or cancel, or the engine's own completion gate, ends the run; when the interjection changes scope, say so and update the declared plan or todo instead of silently abandoning it. A mid-run message is the latest steering for the active task, not automatically a replacement objective: it replaces the objective when the user says so and steers the current one otherwise.
الأسئلة الشائعة
هل سيخمّن المشكلة؟
لا. يقيس أولًا، ويغيّر نقطة ساخنة واحدة في كل مرة.
هل هي نفس مراجعة جودة الكود؟
لا. مراجعة الكود تفحص الجودة، أما هذه المهارة فتركز على السرعة والتكلفة المقاسة.
ماذا لو كنت أعرف الاستعلام البطيء بالفعل؟
النقطة الساخنة المعروفة والمفردة يمكن معالجتها مباشرة دون هذه العملية الكاملة.
التفاصيل
الوصف الأصلي من المؤلف
[omh] Software slowness, memory leaks, or cost spikes: find where a system is actually slow, leaking, or expensive across runtime, memory, token cost, storage, rendering, inference, CI, and query domains, then fix one measured hot path at a time behind a regression budget. Use when the user says: ultraperf, ulw-perf, performance audit, performance bottleneck, find the bottleneck, profile the hot path, memory leak investigation, token cost hotspot.
repo: rlaope/oh-my-hermes
الشعبية
- نجوم GitHub
- 5.1k
- الترتيب
- #15183
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
omh-accessibility-audit
5.1kيساعد وكيلك على فحص شاشة أو تدفق بحثا عن ثغرات إمكانية الوصول، مثل استخدام لوحة المفاتيح وتسميات قارئ الشاشة والتباين وحجم منطقة اللمس.
omh-adversarial-consensus
5.1kيساعد وكيلك على مهاجمة مقترح تقني من عدة زوايا مستقلة قبل أن تلتزم به، ثم يلخص ما يصمد أمام النقد.
omh-agent-debug
5.1kيساعد وكيلك على معرفة سبب تعثر وكيل ذكاء اصطناعي آخر أو دورانه في حلقة أو انحرافه عن المهمة، ويقترح أصغر طريقة آمنة للتعافي.
omh-agent-instructions
5.1kيساعد وكيلك على كتابة ملف التعليمات، مثل AGENTS.md أو CLAUDE.md، أو تحديثه. وهذا الملف يخبر أدوات الذكاء الاصطناعي كيف تعمل في المشروع.
مهارات مشابهة
api-connector-builder
280kيبني وكيلك اتصالات API جديدة على النمط الموجود، ويفيد عندما تحتاج إلى تكامل إضافي دون ابتكار طريقة جديدة للعمل.
api-design
280kيساعد وكيلك على تصميم واجهات REST API وفق أفضل الممارسات، ويوضح كيف تتواصل وكيف تُعرض الأخطاء وكيف تُنظَّم البيانات.
backend-patterns
280kيساعد وكيلك على أنماط بنية الخادم وتحسين قاعدة البيانات، ويفيد في بناء الشيفرة التي تعمل على الخادم أو مراجعتها.