Skillpedia
برمجة عامة15k · #10955

arena

ما الذي تفعله

تتيح للمساعد أن يولّد عدة حلول مرشحة لمهمة واحدة، ويحكم عليها، ويجمع أفضل أجزائها. وهي للمطورين الذين يواجهون قراراً صعباً في التصميم أو البناء.

متى تستخدمها

  • ✓عندما قد تثبّت محاولة واحدة لعمل غير بسيط شكلاً خاطئاً.
  • ✓عندما تريد مقارنة حلول متنافسة قبل اختيار واحد.
  • ✓عندما تطلب وضع شيء في الساحة (arena) أو تجربة عدة نسخ.

رابط المهارة

https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/arena/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/cursor/plugins/blob/main/harness/pstack/claude-code/skills/arena/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

مثال على ما تطلبه من الذكاء الاصطناعي

“ضع خطة الترحيل هذه في الساحة، واجمع أقوى الأفكار في نسخة نهائية واحدة.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

يكتب المساعد موجّه مشتركاً واحداً مع معايير تقييم، ثم يشغّل عدة مرشحين متوازيين على نماذج مختلفة، يقيّم كل منهم الآخر، ويختار أساساً، ويطعّمه بأفضل الأجزاء قبل التحقق.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Arena

In Claude Code, read the Claude Code adapter once per session before you follow this skill. It maps the Cursor names in pstack skills to Claude Code.

Open a todolist with one entry per phase (Frame, Fan out, Cross-judge, Pick, Graft, Verify) before launching anything.

Phase A: Frame

Every candidate gets the same prompt, so the prompt is the contract.

  1. State the artifact each candidate is producing.
  2. Derive the rubric, 3-6 concrete gradeable criteria for what success looks like on this task. It is the picker's tool in Phase D. Candidates only see the task.
  3. Pick the runners. Use the arena runners line in ~/.cursor/rules/pstack-models.mdc. If the rule or that line is missing, default to one each on claude-opus-5-5-xhigh and grok-4.7-xhigh-fast. An auto or inherit-parent entry in this line means the parent model, so omit model for it. If the Task tool rejects a configured entry, run that seat on its family's default and say so. Families go by prefix: claude-*, and grok-* with cursor-grok-* and composer-*. A refused composer-* entry runs on grok-4.7-xhigh-fast. If the family has no default, or the Task tool rejects that default, use the closest valid slug of the same family from its error message, or drop the seat and say so when there is none. If dropped seats leave fewer than two runners, add runners until there are two, or one when the line has one entry. Run each added runner on a remaining runner's model, or omit model so it runs on the parent model when none remain, and say so. Spawn more runners when the arena covers multiple design directions. Use the same model N times when the work is generation-bound rather than judgment-sensitive. Pick each subagent's reasoning level and fast or standard speed for the job, per the Subagents section of the poteto-mode skill.
  4. Give each candidate its own output location (a git worktree where possible, otherwise /tmp/arena-<slug>/candidate-<n>/), per the separate-before-serializing-shared-state principle skill.

Phase B: Fan out

Spawn all N subagents in one message with run_in_background: true, each with the task, the path to the shared grounding, its own output path, and instructions to produce the artifact and a short rationale naming the alternatives it considered and what it rejected.

If a candidate produces no output, proceed with N-1 and note the dropout.

Phase C: Cross-judge

After all Phase B candidates complete, choose one model from the arena cross-judge pool line in ~/.cursor/rules/pstack-models.mdc. If the rule or that line is missing, choose from claude-opus-5-5-xhigh and grok-4.7-xhigh-fast. Spawn one readonly judge subagent. The judge is never from the parent's family, as Phase A step 3 defines families. Try only the entries from another family, in pool order. An auto or inherit-parent entry is the parent model, so it never judges. With the default pool, a Claude parent gets grok-4.7-xhigh-fast. A parent from any other family gets claude-opus-5-5-xhigh first. If the Task tool rejects an entry, use a valid slug of the same model at the closest level or speed from the error message, or move to the next entry when there is none. If no entry from another family runs, try the default pool's entries from another family the same way. If none of those runs, skip the judge, pick the base alone in Phase D, and say so. If you do not know the parent's model, try the pool's real slugs in pool order and say that the family check did not run. The judge sees the rubric and the candidates by path label, scores each criterion, and recommends a base with rationale. It runs in parallel with your reading in Phase D. Don't spawn it while candidates are still writing.

Phase D: Pick a base

Read every candidate end to end before picking. Score each against the rubric criterion by criterion, not on holistic feel, and compare with the cross-judge when Phase C ran one. Agreement on the base confirms the pick. Disagreement means one of you is biased or the rubric was ambiguous. Read both rationales before deciding.

Pick the base a future maintainer can extend most easily without breaking invariants. When two feel tied, prefer the cleaner boundary or smaller API, per the Laziness Protocol.

Phase E: Graft

Walk each losing candidate once more for what is worth porting into the base, usually one or two things per candidate, not most of it. Fold each graft in b

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

هل يرى المرشحون عمل بعضهم؟

لا. يحصل كل مرشح على موجّه المهمة نفسه، فتكون كل محاولة مستقلة.

ما الغاية من المعايير (rubric)؟

هي مجموعة معايير ملموسة يُقيَّم المرشحون وفقها.

ماذا لو لم يكن نموذج متاحاً؟

تعود المهارة إلى نموذج افتراضي من العائلة نفسها، أو تُسقط ذلك المقعد وتذكر ذلك.

التفاصيل

الوصف الأصلي من المؤلف

Spawn N parallel candidates at the same task, pick a base, graft the strongest parts of the losers into it. Use for /arena, 'arena this', 'throw it in the arena', or when one attempt at a non-trivial artifact would lock in the wrong shape.

repo: cursor/plugins

الشعبية

نجوم GitHub
15k
الترتيب
#10955
الترخيص
—
آخر تحديث
31‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة