Skip to main content
تشغيل أي مهارة في Manus
بنقرة واحدة

add-unit-test

النجوم٣
التفرعات١
آخر تحديث٩ مايو ٢٠٢٦ في ٠٧:٠٠

Add LLVM-IR unit tests for a transform pass in this team compiler under `test/unit/<PassName>/`. Triggers on `/add-unit-test` or any request to "add unit tests / 유닛 테스트 추가 / 테스트 작성" for a pass in this repo. Enforces the team's mandatory rule: **at least 3 tests, and at least one must be a real-IR snippet from `swpp202601-benchmarks/<bench>/src/<bench>.ll` where the pass actually fires**, with a comment showing the approximate TM cost delta (before/after) so both correctness and effectiveness are visible at the unit-test layer. Also drafts the matching cost analysis line for the PR description.

التثبيت

التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.

مستكشف الملفات
2 ملفات
SKILL.md
readonly