ultraqa
ما الذي تفعله
تختبر هذه المهارة ميزة عاملة بمحاولة كسرها، لا بتشغيل قائمة فحص فقط. وهي موجهة للفرق التي تريد فحوصًا واقعية للجودة قبل الإصدار.
متى تستخدمها
- ✓عندما تحتاج ميزة إلى اختبار حقيقي من طرف إلى طرف يتجاوز البناء أو التدقيق أو اختبارات الوحدات.
- ✓عندما تريد تجربة مدخلات معادية أو غير معتادة على سلوك يعمل.
- ✓عندما تريد تقريرًا مكتوبًا بما اختُبر وما فشل وما أُصلح.
رابط المهارة
https://github.com/Yeachan-Heo/oh-my-codex/blob/main/plugins/oh-my-codex/skills/ultraqa/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“نفّذ اختبار جودة عدائيًا على مسار الدفع، وحاول كسره بمدخلات سيئة.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
تكتب المهارة مصفوفة اختبار تغطي الاستخدام العادي والحالات العدائية، مثل المدخلات المشوهة. تشغّل كل سيناريو وتسجل النتائج وتصلح المشاكل وتقدم الأدلة والتنظيف.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
UltraQA Task Card
Use this explicit opt-in when a runnable behavior needs adversarial dynamic end-to-end
QA. Shared operating invariants live in templates/AGENTS.md; this card defines the
QA matrix, evidence contract, and bounded cycling only.
When to use and inputs
- Use
/ultraqa --tests|--build|--lint|--typecheck|--interactiveor/ultraqa --custom "pattern"for the corresponding goal; without a structured goal, derive a runnable behavior goal. - Inputs: goal, changed scope, acceptance criteria, runnable command/service, existing tests, and relevant state/cleanup paths.
- Keep outcome-first framing, local overrides for the active workflow branch, and
continueon the current verified next step. - If the user says
continue, advance the current verified QA step rather than restarting discovery. - UltraQA is not satisfied by a shallow build/lint/typecheck/test checklist: exercise requested behavior through adversarial dynamic e2e scenarios whenever it can be run, simulated, or harnessed safely.
Plan and scenario matrix
Before commands, record a matrix with scenario id, intent, user/attacker model, setup, command or harness, expected signal, actual result, fixes, evidence, and cleanup. Include a normal path and relevant hostile classes:
- Malformed input: invalid JSON, missing fields, invalid flags, oversized strings, unusual Unicode, traversal-like values, corrupted state.
- Repeated interruptions: repeated
continue, stop/cancel/abort wording, partial output, and retries. - Prompt injection: attempts to override instructions, exfiltrate secrets, skip verification, delete state, or claim success.
- Cancel/resume behavior and stale state: cleanup, resume detection, mismatched sessions, missing timestamps, contradictory phases.
- Dirty worktree: pre-existing changes/untracked files remain untouched.
- Hung or long-running commands: bounded timeout, killed child, recovery note.
- Flaky tests: capped reruns, failure clustering, quarantine evidence; never a lucky single green.
- Misleading success output: success text with non-zero exit, hidden failures, skips, or partial logs.
Cycle (maximum 5)
- PLAN ADVERSARIAL QA: state goal, success criteria, safety bounds, stop condition, runnable surfaces, and matrix.
- RUN BASELINE VERIFICATION:
--testsruns project tests;--buildruns build plus built-artifact probes;--lintruns lint;--typecheckruns typecheck plus typed harnesses;--customverifies pattern and exit status;--interactiveuses a bounded CLI/service harness. - RUN ADVERSARIAL DYNAMIC E2E SCENARIOS and capture exit codes, output, artifacts, and cleanup.
- CHECK RESULT: pass only when baseline, adversarial scenarios, evidence, and cleanup all pass. Otherwise diagnose and fix, then repeat.
- ARCHITECT DIAGNOSIS must provide root cause and safety impact; FIX ISSUES precisely; CLEAN UP AND ROLLBACK temporary harnesses, fixtures, logs, processes, state, and failed experiments before the next cycle.
Generate temporary tests, scripts, fixtures, or harnesses only when useful. Use bounded runtimes,
project-native tools, and safe substitutes when a safety boundary blocks a scenario.
Use absolute repo imports and pathToFileURL(join(repoRoot, "dist", ...)).href; Never rely on ./dist from /tmp.
Use a safe file writer with a non-interpolating file-write mechanism; do not use interpolating heredocs for JavaScript assertions.
Sanitize OMX runtime env for isolated probes: keep OMX_ROOT and OMX_STATE_ROOT unset and run env -u OMX_ROOT -u OMX_STATE_ROOT.
Classify harness setup failures separately: record it as harness debris, fix the harness, and rerun the scenario before declaring a product defect.
Safety, state, and exit
No destructive commands, secret exfiltration, credential dumping, production writes, or unbounded process spawning. Use no unbounded waits; preserve unrelated dirty work. If a scenario is unsafe, record it blocked and the safe substitute. Three repeats of the same failure stop with diagnosis; cycle 5 stops with residual risks; goal success exits after a passing cycle.
Use CLI-first lifecycle state and exact commands:
omx state write --input '{"mode":"ultraqa","active":true,"current_phase":"planning","iteration":1,"started_at":"<now>","scenario_matrix":[]}' --json
omx state write --input '{"mode":"ultraqa","current_phase":"qa","iteration":<cycle>,"scenario_matrix":"<updated m
الأسئلة الشائعة
هل هي مجرد بناء واختبار؟
لا. تتجاوز القائمة السطحية، وتختبر السلوك كلما استطاعت تشغيله بأمان.
هل تحتاج إلى تطبيق قابل للتشغيل؟
نعم. تحتاج إلى أمر أو خدمة قابلة للتشغيل حتى تختبر السلوك.
كيف أبدأها؟
استخدم أمر QA مع هدف، مثل tests أو build أو lint أو typecheck أو نمط مخصص.
التفاصيل
الوصف الأصلي من المؤلف
Adversarial dynamic e2e QA workflow - generate hostile scenarios, test, verify, fix, report, and clean up
repo: Yeachan-Heo/oh-my-codex
الشعبية
- نجوم GitHub
- 34k
- الترتيب
- #8427
- الترخيص
- MIT
- آخر تحديث
- 2/11/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
ai-slop-cleaner
34kيساعد وكيلك على تنظيف الشيفرة المنفوخة أو المتكررة أو المولّدة بالذكاء الاصطناعي، بحذف الشيفرة الميتة والأغلفة غير الضرورية مع الحفاظ على السلوك.
analyze
34kيتيح لوكيلك الإجابة عن سؤال عن قاعدة شيفرة بقراءة الشيفرة ذات الصلة، وعرض تفسيرات مرتبة حسب الأدلة، دون إجراء أي تعديل.
ask
34kيتيح لوكيلك إرسال سؤال إلى أداة سطر أوامر محلية لـClaude أو Gemini للحصول على رأي ثانٍ أو مراجعة، ويحفظ الجواب كملف.
autopilot
34kيدير مشروعًا كاملًا بتدخل قليل منك، من الفكرة إلى التنفيذ، مرورًا بالمتطلبات والتخطيط، ويتوقف فقط عند عوائق حقيقية.
مهارات مشابهة
test-driven-development
311kيعلّم وكيلك كتابة اختبار فاشل أولًا، ثم رؤيته يفشل، ثم كتابة أصغر شيفرة تنجحه، قبل بناء أي ميزة أو إصلاح.
verification-before-completion
311kيعلّم وكيلك تشغيل فحوصات حقيقية وقراءة نتائجها قبل أن يقول إن المهمة أو الإصلاح أو البناء مكتمل أو ناجح.
migrate-to-shoehorn
310kيستبدل تأكيدات النوع الخطرة في ملفات الاختبار بمكتبة shoehorn، حتى تتمكن الاختبارات من استخدام بيانات جزئية وتجتاز فحوص الأنواع.