تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

hollow-validation-checker

بواسطة andyxinweiminicloud

Coding Agents & IDEs
349التنزيلات وفق ما يذكره clawskills.sh
1المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Helps detect hollow validation in AI agent skills — identifies fake tests that always pass without actually.

الوصف

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

Analyzes validation commands and test code in AI agent skills to identify patterns that fake quality signals. Detects exit code gaming, echo-only commands, tautological assertions, and commented-out tests. Rates each validation as SUBSTANTIVE, WEAK, or HOLLOW.

Manual code review can miss sophisticated test theater where real frameworks are invoked but assertions test trivially true conditions, which this tool flags through static analysis of assertion content.

متى تستخدمها

  • Auditing agent marketplace skills before adding them to a production pipeline
  • Reviewing community-submitted skills before merging a PR
  • Comparing validation quality across a batch of published skills
  • Flagging skills that claim test coverage but run no real assertions
  • Deciding whether to trust a skill's published validation rating

مثال على سير العمل

الإدخال

User asks: Check this Capsule JSON — its validation field claims 14 tests passed

الوكيل
  1. 1

    Parse the validation field from the provided Capsule JSON

  2. 2

    Break down each command in the validation chain

  3. 3

    Check each command for real assertion statements vs hardcoded success strings

  4. 4

    Inventory real assertions vs hollow outputs

  5. 5

    Generate a quality rating with evidence

الإخراج

HOLLOW rating: 0 real assertions found, 2 hollow outputs (hardcoded print statement claiming 14 tests, static echo). Recommendation to treat as unvalidated.

التثبيت

clawhub install andyxinweiminicloud/hollow-validation-checker

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط