شعار 04 Review

04 Review

المجتمع
leing2021
04-review

Review code changes across five axes with evidence-first findings. Use after implementation is complete and before committing.

نظرة عامة

الناشرleing2021
المستودعsuper-pi
اسم المهارة04-review
النجوم
30
التفريعات
2
الملفات المرفقة
6
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Review

Use this skill after implementation to review changes against the diff, plan, and prior learnings.

See shared pipeline instructions for model routing and pipeline behavior.

Core rules

  1. Load project rules before producing findings (detailed in Workflow step 3): load ../../rules/common/code-review.md + code-smells.md, detect language from changed files, load matching rules/{lang}/ files including review-checklist.md (mark missing (fell back to common) when absent), plus rules/web/ for frontend/browser changes. Emit a Rules loaded: manifest — no manifest, no findings
  2. Priority: project-level {repo-root}/rules/ overrides package defaults
  3. Standards axis baseline: apply ../../rules/common/code-smells.md (Fowler smell baseline). Two binding rules: a documented repo standard overrides the baseline; every smell is a judgement call (report as "possible Feature Envy"), never a hard violation. Map severity via P0/P1/P2 — default P2, escalate when a repo doc endorses it or it harms data flow/testability.
  4. Determine diff scope before selecting reviewers
  5. Use review_router tool to select reviewer personas based on diff metadata
  6. Read relevant plan artifact when exists
  7. Run solution search (see ../references/solution-search.md): extract keywords → grep -rl "tags:.*keyword" docs/solutions/ ~/.pi/agent/docs/solutions/; read frontmatter only (first 15 lines) of matches → score by severity + tag relevance; fully read top 3 candidates
  8. Spec axis: determine spec source via references/spec-source-detection.md (plan → brainstorm → commit issue ref → skip). Against the chosen spec, report missing requirements, scope creep (unrequested behaviour), and wrong implementation (looks done but isn't).
  9. Produce structured findings using references/findings-schema.md
  10. Autofixable findings: the main session applies autofixes and re-reviews (cap governed by Fix loop and chain below; the isolated reviewer never applies fixes — it only marks autofixable)

Review discipline

Code review is technical evaluation, not social performance: verify before implementing any suggestion; YAGNI check — question features nothing uses; no performative agreement — verify before concurring; push back with reasoning when findings are incorrect; evidence before assertions — cite specific code, not principles; architecture axis — audit module depth and seams using ../references/module-design.md.

Precision gate

Favor precision over recall. A false positive costs more trust than a missed minor issue.

  • Before reporting a non-local claim (race condition, security boundary, resource leak), use file_read and code_search to confirm evidence. Do not infer from names alone.
  • Stay silent when the surrounding context is unclear. A miss on ambiguous code is acceptable; a false alarm is not.
  • Do not flag issues that a compiler, formatter, linter, or type checker already catches, unless the diff shows a concrete user-visible consequence those tools miss.
  • Label each finding with severity. Blocking (CRITICAL/HIGH) for correctness and security; non-blocking (LOW) for style and naming.
  • Apply language-specific rules from rules/{lang}/review-checklist.md — they contain precise, actionable defect patterns per language.

Handling findings

  1. Read — complete all findings without reacting
  2. Verify — check each against codebase reality
  3. Evaluate — is it sound for THIS codebase?
  4. Act — fix confirmed issues, push back on incorrect ones
  5. Test — verify each fix individually, no regressions
  6. Close — when findings are resolved and tests green, flip the reviewed plan's Status header to done and move it to docs/plans/archive/ (skip if no plan artifact)

Chain entry: isolated review first

The review executes first in an isolated spawned session via the isolated_review tool — a fresh pi session with zero author context runs the reviewer workflow and writes a findings artifact. The main session never reviews its own code unless isolation is unavailable.

Main-session responsibilities: call isolated_review (repoRoot, diffBase from handoff, fresh findingsPath under .context/compound-engineering/findings/); on completed read findings and drive the Fix loop and chain; on degraded follow its degraded path; on aborted surface to the user — never silently re-run. The sections below define what the spawned reviewer (and a degraded in-session review, verbatim) executes.

Workflow

  1. Load context: consume latest handoff before any broad file reads — context_handoff load or read .context/compound-engineering/handoffs/latest.md; use activeFiles, artifacts.plan as starting point (proceed normally if absent). Read CONTEXT.md (or GLOSSARY.md) if either exists at root — see ../references/domain-language.md.
  2. Determine diff scope — prefer branch/base from latest handoff if present; else from explicit target; else ask user
  3. Load project rules (blocking — no findings before this completes): detect language from changed files (.ts→typescript, .py→python, .go→golang, .rs→rust, .java→java) or repo markers, merging {repo-root}/rules/language-detection.md (project-level map, same marker wins); mixed-language diffs load per language (full map). Check {repo-root}/rules/ first (overrides package defaults); load rules/common/code-review.md, code-smells.md, matching rules/{lang}/ files including review-checklist.md, rules/web/ for frontend changes. Emit manifest before any finding: Rules loaded: language=<lang> (via <files/markers>, project-level map), common=<files>, lang=<files>, web=<files or N/A>. Same-session re-entry: if the transcript already has a Rules loaded: manifest for the same language, reuse it and note the skip
  4. Collect stats (files, insertions, deletions) → call review_router
  5. Read matching plan artifact; if absent, follow references/spec-source-detection.md to probe brainstorm and commit issue refs
  6. Run solution search
  7. Apply each reviewer persona from review_router
  8. Merge into structured findings — include rules applied in the review summary (see references/findings-schema.md)
  9. Verify each finding against codebase
  10. Apply autofixes, re-run tests, re-review if needed

Optional: QA Test Mode

After code review completes, offer browser QA:

Code review done. Run browser QA?

  • A) Done — stop here
  • B) Browser QA — find visual/functional bugs
  • C) QA + regression tests — find bugs, fix, add tests

If B or C: read references/qa-test-mode.md and execute. After QA: include findings in handoff, note fix commits/test files.

Fix loop and chain

The spawned reviewer produces findings; the main session (author side) owns every fix:

  1. After findings arrive, fix confirmed P0/P1 issues in the main session (subsumes the autofix loop in Core rule 10); verify each fix; run tests
  2. Re-review trigger — iff findings contain a P0, or a previous P1 now has a fix diff awaiting verification. Pure P2 findings never re-enter the loop: record them in the handoff instead
  3. Re-review is incremental: call isolated_review again with incrementalPreviousFindingsPath = previous round's artifact. The fresh reviewer verifies only the fix diff against those findings — not the whole codebase
  4. The cap of 2 rounds is a ceiling, not a quota: any round that returns all-green (no P0, no P1 fix awaiting verification) ends the loop immediately
  5. 2 rounds exhausted with P0/P1 remaining: stop-the-line — hand the user the latest findings artifact plus the full findings chain (paths of every round) as the decision basis. Do not proceed to 05-learn
  6. All-green: immediately read ../05-learn/SKILL.md and execute it in this session — do not wait for user instruction

Degraded mode

When isolated_review returns degraded (frontmatter isolation: degraded + spawn_error): execute the Workflow below in THIS session (author context, reduced independence); keep the degraded markings in every findings artifact produced; loop semantics unchanged — ceiling of 2, all-green early exit, incremental in-session re-review, same stop-the-line delivery

Handoff

See references/handoff.md for format.

Before finishing this skill, apply the completion checklist in shared pipeline instructions.

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

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

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

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

Review code changes across five axes with evidence-first findings. Use after implementation is complete and before committing.

لماذا تستخدم 04 Review على TypingMind؟

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

كيف أثبّت 04 Review في TypingMind؟

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

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

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

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

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

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

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

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

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

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

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

عرض الكل
شعار openclaw

Claw Score

openclaw
مؤسسةشائع

دقّق مستندات بطاقة تقييم نضج OpenClaw أو حدّثها استناداً إلى تصنيف الجذر ودرجات النضج وعناصر أدلة QA، من دون استخدام بيانات discrawl الخاصة بالمشرفين أو تقارير جرد مضمنة في المستودع.

82.2K
391K
الملفات: 51
عرض
شعار openclaw

Clawsweeper

openclaw
مؤسسةشائع

استخدم هذا لكل أعمال ClawSweeper: تقارير فحص مشكلات/طلبات سحب OpenClaw، ومهام الإصلاح، وطلبات السحب لإصلاحات السحابة، وأوامر منشن المشرفين @clawsweeper، والإصلاح التلقائي/الدمج التلقائي الموثوق الذي راجعه ClawSweeper، ومراقبة GitHub Actions…

82.2K
391K
الملفات: 1
عرض
شعار openclaw

Control Ui E2e

openclaw
مؤسسةشائع

استخدم هذا عند تصميم واجهة OpenClaw Control UI الرسومية أو اختبارها أو إصلاحها أو توسيعها، بما في ذلك معارض اختبار الإجهاد للواجهة مع مدخلات الملاحظات، وفحوص Vitest + Playwright الشاملة، وتدفقات Gateway المحاكية…

82.2K
391K
الملفات: 1
عرض
شعار openclaw

Deslop

openclaw
مؤسسةشائع

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

82.2K
391K
التعليمات
عرض

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

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