شعار Check Audit

Check Audit

مؤسسةشائع
udecode
check-audit

Audit tests, landing speed, Local CI reliability, check tiers, verification hooks, and tooling scripts to cut bloat, flakes, and dead gates while keeping E2E, public boundary, and invariant coverage intact.

نظرة عامة

الناشرudecode
المستودعustack
اسم المهارةcheck-audit
النجوم
1.2K
التفريعات
82
الملفات المرفقة
2
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Check audit

Test-pruning core adapted from openclaw's test-audit skill (MIT, OpenClaw Foundation; see LICENSE).

Read AGENTS.md and .agents/pstack/rules/tests.md first. Stay read-only when asked only for candidates or gaps, and skip third-party skills or vendor code. skill-audit owns agent prose (skills, playbooks, AGENTS.md); check-audit owns everything executable that tests, gates, or slows down delivery.

Run the scanner

sh
node <skill>/scripts/audit.mjs <target> [--json] [--events <path>]

Reports landChecks and always: true generators, check.mjs land step counts, large baseline files, hook parity and missing-script references across .agents/hooks.json, .claude/settings.json, and .codex/hooks.json, oversized or zero-caller scripts under tooling/scripts/ or scripts/, and recent Local CI events.jsonl red/flake counts.

Default bar

Internal, helper, and post-hoc unit tests, slow land checks, and micro-scripts are guilty until they guard a real user defect that E2E, public boundary, type, lint, or zero-baseline invariant checks miss. Keep a test only when breaking public behavior fails it and refactoring internals keeps it passing (principle-test-behavior-not-implementation).

Hard safety net

  • Never cut E2E, deterministic concurrency/sync, or public golden tests without an explicit replacement.
  • Never silently delete an unwired security, access, auth, PHI, consent, or customer-send guard whose only caller is a test; flag it as a finding so production wires or retires it intentionally.
  • Never delete a test failing on the current tree or raise a timeout/limit to make CI green; reproduce and fix the bug or fixture first.

Pass 1: Tests

Cut coherent package or owner batches without per-test scratch mutation courtrooms:

  1. Internal and test-only entries: *.internal.* files and tests importing non-public or test-only exports. Delete dead test-only exports and helpers with them (knip --production or git grep).
  2. Low-signal shapes: mock-verifying, constant-pinning (unless user-promised with the promise named), source-text/grep, assertion-free, self-comparing, snapshot, and exhaustive-matrix tests.
  3. Timing bounds: wall-clock assertions outside dedicated benchmarks.
  4. Duplicate coverage: unit tests whose user behavior is already exercised by a kept E2E, golden, or public boundary test.
  5. Flaky and slow tests: fix deterministic flakes in one pass or cut and replace; cut slow tests that duplicate boundary coverage and shrink inputs on unique slow tests.

Reserve targeted scratch mutant or refactor checks only for genuinely uncertain edge cases, never as mandatory paperwork on clear cuts.

Pass 2: Landing speed

Audit what blocks every land.mjs run (landChecks, land: true steps in check.mjs, and generated entries with always: true):

  • Measure wall-clock time and real failure-catch rate per landing step.
  • Demote slow, rarely tripped, or broad-blast steps from land to post-landing Local CI or on-demand --audit.
  • Remove always: true regeneration on outputs that only change when specific sources change.

Pass 3: Local CI and baselines

Audit check.mjs, CI workflows, and baseline files against recent failure history (events.jsonl or CI logs):

  • Rank steps by red count, flake rate, and time-to-green; fix root causes of chronic flakes or cut checks that only produce noise.
  • Demote multi-hundred-line known-bad baseline sweeps out of blocking CI into on-demand audit commands.
  • Fold static invariants into types or lint rules and delete redundant micro-scripts.

Pass 4: Scripts and gate hooks

Audit tooling/scripts/, scripts/, and runtime hook configs (.agents/hooks.json, .claude/settings.json, .codex/hooks.json):

  • Delete zero-caller orphan scripts, retired-runtime helpers, and Stop hooks that fire after land.mjs has already pushed commits.
  • Move land-time invariants into landChecks over git diff <base>..HEAD instead of parsing per-runtime JSONL transcripts in Stop hooks.
  • Close hook parity gaps across active agent runtimes and flag oversized single-purpose scripts (>= 600 lines) for simplification.

Full mode and validation

In /check-audit full, run the scanner, write an area ledger in the run directory (files, line counts, timings, failure counts, state), and process one area per batch, highest leverage first. Ask the owner before changing hooks, landChecks, or blocking CI policy unless explicitly authorized.

Validate every deleted or changed batch:

  1. Run remaining tests, boundary/E2E suites, typecheck, lint, and hook/contract tests.
  2. When removing files, scripts, or exports, run the project's full check (pnpm check or equivalent) to catch stale contract lists, hook paths, or manifests.
  3. Report removed categories, landing/CI speed delta, production or script deletions unlocked, kept edge cases, commands run, and separate production, test, and tooling line counts.

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

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

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

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

Audit tests, landing speed, Local CI reliability, check tiers, verification hooks, and tooling scripts to cut bloat, flakes, and dead gates while keeping E2E, public boundary, and invariant coverage intact.

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

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

كيف أثبّت Check Audit في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/udecode/ustack/tree/main/skills/check-audit. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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