شعار Performances

Performances

مؤسسة
shipshitdev
performances

Performance refactoring behind one command: parallelize async calls, load-test the DB schema, add OTel tracing, wide-event logging, narrow selects, drop needless URL parsing, hoist regexes, and promote hot jsonb keys. One PR per action.

نظرة عامة

الناشرshipshitdev
المستودعskills
اسم المهارةperformances
النجوم
39
التفريعات
3
الملفات المرفقة
13
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 13

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها shipshitdev على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Performances في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/shipshitdev/skills/tree/master/skills/performances
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/shipshitdev/skills.git /tmp/skills
mkdir -p .claude/skills
cp -r /tmp/skills/skills/performances .claude/skills/performances
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Performances في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Performances تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Performances بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Performances

One entry point for measured, behavior-preserving performance work on any codebase. Every action detects the stack first, adapts to it, says what does not apply, then follows the same loop: measure before, fix, measure after, ship one PR. The first word of the arguments picks the action; everything after it goes to that action unchanged.

ActionPlaybookWhat it does
parallelreferences/parallel.mdFinds sequential awaits on hot paths that are independent and runs them concurrently. Keeps authz gates, transactions, ordered writes, and ordered events sequential. Alias parallel-async.
dbloadreferences/dbload.mdBuilds a load-test suite for the DB schema: seeds real relationships at 1x/10x/100x/1000x, runs the code's real queries, finds what fails at scale, fixes it, and charts before/after with confidence intervals. Never touches prod. Alias db-load-test.
otelreferences/otel.mdAdds OpenTelemetry tracing to the vendor already in use, applied at function definitions, enforced by a lint rule, with request context on every span and traceparent in and out. Alias otel-tracing.
loggingreferences/logging.mdReplaces scattered log lines with one wide, context-rich event per request or job, tail-sampled, sharing trace ids with tracing. Alias wide-event-logging.
selectreferences/select.mdFinds whole-row loads that read a few fields and selects only what is needed. Alias select-fields.
urlreferences/url.mdRemoves new URL() style parsing that does no validation or normalization of untrusted input. Alias url-parsing.
regexreferences/regex.mdHoists regexes out of functions and loops, handling g/y state and dynamic patterns. Alias hoist-regex.
jsonbreferences/jsonb.mdPromotes a hot-path single key of a large jsonb column to a real column, with migration and backfill that a human approves for prod. Alias jsonb-columns.
allreferences/all.mdRuns the eight actions in that order as separate workstreams, each with its own branch and PR.

Every action also follows references/protocol.md: the shared stack-detection, evidence, behavior-preservation, safety, and PR rules.

Dispatch

  1. Read the first word of the arguments. Accept only the nine actions above or an alias from the table.
  2. Bare /performances, or an unknown first word: print the table above and stop. Do not guess an action and do not run any command. Running everything is /performances all.
  3. Otherwise read references/protocol.md and the action's playbook in full and follow them as if they were the skill, passing the remaining arguments as the scope. Each playbook keeps its own scope, confirmation gates, and final report. For all, also read the eight action playbooks, since all runs each one.

Examples:

text
/performances parallel                 # sequential awaits across the whole app
/performances parallel src/billing     # limit the scan to one area
/performances dbload                   # load-test the schema at 1x/10x/100x/1000x
/performances otel                     # tracing to the observability vendor already in use
/performances logging                  # wide events with tail sampling
/performances jsonb                    # promote hot jsonb keys, never applies to prod itself
/performances all                      # all eight, separate branch and PR each

Scope

Loading this router authorizes nothing by itself. Only the selected playbook's contract applies, and its confirmation gates stay in force. Never chain to a second action unless the user asks for it (all is that ask) or the selected playbook names that step as part of its own workflow; recommend it instead.

Helper

scripts/compare.py compares before/after samples with bootstrap confidence intervals, a Mann-Whitney test, Holm correction across scenarios, and writes a self-contained HTML chart. Run it from the installed skill directory:

bash
python3 <skill-dir>/scripts/compare.py samples.json --out .tmp/report.html

Input and exit codes are documented at the top of the script. Pass --higher-is-better for throughput-like metrics, so an increase counts as an improvement. Use it for every before/after claim in every action.

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة أثناء تحميل المهارة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Performances؟

Performance refactoring behind one command: parallelize async calls, load-test the DB schema, add OTel tracing, wide-event logging, narrow selects, drop needless URL parsing, hoist regexes, and promote hot jsonb keys. One PR per action.

لماذا تستخدم Performances على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Performances عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Performances في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/shipshitdev/skills/tree/master/skills/performances. يقرأ TypingMind ملف SKILL.md الخاص بها، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Performances؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Performances؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Performances معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Performances مجانية؟

نشرها shipshitdev على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇