شعار H4tcher Pr Resolve

H4tcher Pr Resolve

مؤسسة
hatch3r
h4tcher-pr-resolve

Resolve PR comments on the hatch3r repo — invoke the canonical hatch3r-pr-resolve workflow, then apply hatch3r-specific quality gates (validate, rule parity, efficiency invariants, lean thresholds, anti-slop, inventory, pillar compliance) and stop before commit for human review.

نظرة عامة

الناشرhatch3r
المستودعhatch3r
اسم المهارةh4tcher-pr-resolve
النجوم
26
التفريعات
7
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Last updated: 2026-07-08

PR Resolve (Maintainer)

Maintainer-facing wrapper around commands/hatch3r-pr-resolve.md for resolving PR comments on the hatch3r repo itself. Invokes the canonical workflow through reply-posting, layers in hatch3r-development quality gates, then stops before commit so the maintainer reviews the diff.

For non-hatch3r repos the canonical /hatch3r-pr-resolve command (distributed via adapters) is the entry point — this skill is only for work on this repo.

Step 1: Preflight

  1. Confirm branch + open PR:
    bash
    git branch --show-current
    gh pr view --json number,title,url,state
  2. Read governance/CONSTITUTION.md §2 P5 lean-threshold table; cache the limits for files this PR is likely to touch.
  3. Capture baseline line counts for any governance file likely to be edited:
    bash
    wc -l governance/CONSTITUTION.md governance/AUDIT.md governance/AUDIT-EXECUTE.md governance/EVOLVE.md governance/audit/domains/*.md 2>/dev/null
  4. Confirm working tree is clean: git status --short returns empty.

Step 2: Invoke the Canonical Workflow

  1. Read commands/hatch3r-pr-resolve.md end-to-end.
  2. Execute that workflow from Step 0 (Triage) through Step 8 (Post replies). Halt before Step 9 (Commit and push) and Step 9.5 (Re-poll gate) — both depend on the manual commit this skill defers; the gates below run first, and the maintainer commits manually at the end of this skill.
  3. For every sub-agent prompt spawned during Step 6 (Fix implementation) and Step 7 (Review loop + final-quality specialists), inject this hatch3r-development context block:
    Hatch3r-specific constraints:
    - Pillar Compliance Test: every change must serve one or more of P1–P8
      (governance/CONSTITUTION.md §2). If none, revert. P8 dominates P7:
      never under-fan-out for token-cost reasons.
    - Lean thresholds: governance file line limits per CONSTITUTION §2 P5
      (read the table — do not cache numeric ceilings here, they drift) —
      compress within the file before exceeding.
    - Anti-slop wordlist: zero hits per
      .claude/rules/anti-slop-enforcement.md.
    - Commit format: type(scope): description with DCO sign-off via
      git commit -s.
    Fan-out is task-derived (P8 B2): sub-agent count tracks the canonical workflow's Step 6/7 fan-out (implementers per fix slot, reviewer + fixer review loop, final-quality specialists). Token cost never serializes independent work (.claude/rules/fan-out-discipline.md Cost-dominance clause). Emit sub_agents_spawned: { count, rationale, task_structure } in your output (the Sub-agents field of the Step 5 summary; task_structure: mixed — parallel implementers per fix slot, serialized on the reviewer ↔ fixer loop).

Step 3: Hatch3r Quality Gates

Run after Step 2 fixes complete. Block commit on any failure.

GateCommandThreshold
Testsnpm test0 failed
Typechecknpx tsc --noEmit0 errors
Lintnpm run lint0 errors
Validationnpm run validate0 errors
Rule paritynpm run validate:rule-parity0 mismatches
Efficiency invariantsnpm run validate:efficiency0 violations
Buildnpm run buildsucceeds; dist/ produced
Inventory driftnpm run inventory:check-docs0 drift
  1. If canonical content was touched (agents/, skills/, rules/, commands/, hooks/, checks/, prompts/, github-agents/):

    bash
    npm run inventory
    git diff governance/inventory.json

    Confirm the diff matches the actual content changes; investigate any unexpected drift before proceeding.

  2. If src/merge/, src/content/, or src/adapters/customization.ts was touched, run a coverage spot-check:

    bash
    npm test -- --coverage

    Critical-module thresholds: 90/80/90/90 for src/merge/; 85/70/85/85 for src/content/; 85/75/85/85 for src/adapters/customization.ts.

Step 4: Pillar + Governance Compliance

For every file modified during Step 2:

  1. Pillar Compliance Test (.claude/rules/pillar-compliance.md):

    • Which pillar(s) P1–P8 does this change serve?
    • What measurable improvement does it produce?
    • Does it increase total governance size? If yes, justify the net value or compress elsewhere.
    • If no pillar served → revert the change.
  2. Lean threshold check: Compare new wc -l against Step 1 baselines and the limits cached from CONSTITUTION.md §2 P5. Any file over limit → compress within the file.

  3. Anti-slop scan on every modified .md / .mdc file under governance/, agents/, commands/, rules/, skills/, hooks/:

    bash
    git diff --name-only HEAD | grep -E '\.(md|mdc)$' | \
      xargs -I {} grep -Hn -E '(best possible|best-in-class|world-class|comprehensive and thorough|robust and resilient|it is important to note|this section describes)' {}

    Any hit → fix before commit using the replacement column from .claude/rules/anti-slop-enforcement.md.

Step 5: Iteration Summary — STOP Before Commit

  1. Emit the summary below to the conversation. Do not commit, push, or merge.
PR-Resolve Iteration Summary
----------------------------
PR:       #<n> — <title>
Branch:   <branch>
URL:      <url>

Findings:
  Addressed:  <count>
  Deferred:   <count> (written to todo.md per canonical Step 5c)
  Blocked:    <count>

Files changed: <count>
Diff summary: <git diff --stat one-line per file>

Gates:
  npm test                       <PASS|FAIL>
  npx tsc --noEmit               <PASS|FAIL>
  npm run lint                   <PASS|FAIL>
  npm run validate               <PASS|FAIL>
  npm run validate:rule-parity   <PASS|FAIL>
  npm run validate:efficiency    <PASS|FAIL>
  npm run build                  <PASS|FAIL>
  npm run inventory:check-docs   <PASS|FAIL|N/A>

Pillars served: P<n>, P<n>, ...
Lean threshold deltas: <file: before -> after / limit>
Anti-slop hits: <count> (must be 0 to commit)
Inventory regenerated: <yes|no>
Sub-agents: count=<integer>, rationale=<one-line task-decomposition justification>

Suggested commit message:
  <type>(<scope>): <one-line description>

  <body line 1>
  <body line 2>

  Pillars: P<n>, P<n>

Status:     SUCCESS | PARTIAL | BLOCKED
Confidence: high | medium | low

Next action (run manually):
  git add <files>
  git commit -s -m "<suggested message>"
  git push
  1. Per-comment replies were already posted in Step 8 of the canonical workflow, so the PR thread reflects the work even though the local commit is pending. The maintainer's manual commit + push completes the loop.

  2. Canonical Step 9.5 (re-poll) applies only after commit + push. After the manual git commit -s && git push, re-run this skill to poll for new AI-review-tool comments on the new HEAD; the canonical postedCommentIds checkpoint filter prevents double-replies across re-runs.

Constraints

  • Do not edit governance/inventory.json by hand — only via npm run inventory.
  • Do not skip the anti-slop scan; one banned phrase blocks commit.
  • Do not push to main directly; commits land on the current feature or release branch.
  • Do not amend prior commits unless the maintainer explicitly instructs.
  • Always run the Pillar Compliance Test on every governance file edit before saving.
  • DCO sign-off is required: git commit -s.

References

  • Canonical workflow: commands/hatch3r-pr-resolve.md
  • Pillar definitions: governance/CONSTITUTION.md §2 (P1–P8)
  • Lean thresholds: governance/CONSTITUTION.md §2 P5
  • Anti-slop wordlist: .claude/rules/anti-slop-enforcement.md
  • Pillar Compliance Test: .claude/rules/pillar-compliance.md
  • Commit conventions + DCO: .claude/rules/commit-conventions.md
  • Companion skill: .claude/skills/h4tcher-release-prep/SKILL.md (post-merge release cuts)

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

ماذا تفعل مهارة الذكاء الاصطناعي H4tcher Pr Resolve؟

Resolve PR comments on the hatch3r repo — invoke the canonical hatch3r-pr-resolve workflow, then apply hatch3r-specific quality gates (validate, rule parity, efficiency invariants, lean thresholds, anti-slop, inventory, pillar compliance) and stop before commit for human review.

لماذا تستخدم H4tcher Pr Resolve على TypingMind؟

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

كيف أثبّت H4tcher Pr Resolve في TypingMind؟

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

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام H4tcher Pr Resolve؟

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

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع H4tcher Pr Resolve؟

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

هل مهارة الذكاء الاصطناعي H4tcher Pr Resolve مجانية؟

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

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

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

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

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

عرض الكل

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

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