make-git-escrow
ما الذي تفعله
تساعدك هذه المهارة على نشر تحدٍ برمجي مقابل مكافأة رمزية. يقفل الوكيل الرموز في ضمان ويربطها بمجموعة اختبارات يجب على الآخرين اجتيازها للمطالبة بالمكافأة. وتتطلب أداة سطر الأوامر git-escrows.
متى تستخدمها
- ✓عندما تريد تقديم مكافأة رمزية مقابل إصلاح مجموعة اختبارات فاشلة.
- ✓عندما تريد الدفع للمطورين بالرموز مقابل اجتياز اختباراتك.
- ✓عندما يكون لديك مستودع git فيه اختبارات وتريد من الوكيل أن يملأ التفاصيل.
رابط المهارة
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“أريد إنشاء مكافأة ضمان git بقيمة 100 رمز لمجموعة الاختبارات الفاشلة في مستودعي.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يتحقق الوكيل من أداة git-escrows وملف إعداداتك. يجمع عنوان مستودع الاختبارات والالتزام الذي تُختبر عليه ومبلغ المكافأة، ثم يرسل الضمان على السلسلة. تبقى الرموز مقفلة إلى أن يجتاز أحد الاختبارات.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Make Git Escrow
You are automating the creation of a git escrow bounty via the git-escrows submit CLI command. This locks ERC20 tokens in escrow as a bounty for someone who can make a failing test suite pass.
Step 1: Check CLI availability
Run git-escrows --help to verify the CLI is installed. If it fails, try npx git-escrows --help or bunx git-escrows --help. Use whichever works for all subsequent commands. If none work, tell the user to install with npm i -g git-escrows.
Step 2: Check .env configuration
Check if a .env file exists in the current directory. If not, tell the user they need one and suggest running:
git-escrows new-client --privateKey "0x..." --network "sepolia"
Verify it contains at least PRIVATE_KEY and NETWORK (or defaults to anvil). For base-sepolia and sepolia networks, contract addresses are auto-configured.
Step 3: Gather parameters
You need all of these to run the submit command:
--tests-repo(required): Git repository URL containing the failing test suite.- If the user provided a URL as an argument, use that.
- Otherwise, check if the current directory is a git repo and offer to use its remote URL.
- Ask the user if neither is available.
--tests-commit(required): The commit hash of the test suite.- If using the current repo, detect HEAD with
git rev-parse HEAD. - Otherwise ask the user.
- If using the current repo, detect HEAD with
--reward(required): Amount of tokens to escrow, in wei.- Ask the user. Help them convert if they give a human-readable amount (e.g., "1 USDC" = "1000000" for 6-decimal tokens, "1 ETH worth" = "1000000000000000000" for 18-decimal tokens).
--oracle(required): The Ethereum address of the oracle that will arbitrate.- Ask the user. Mention the public demo oracle on Sepolia:
0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
- Ask the user. Mention the public demo oracle on Sepolia:
--arbiter(required): The arbiter contract address.- Ask the user. This is typically the TrustedOracleArbiter contract on their network.
--token(required): The ERC20 token contract address for the reward.- Ask the user.
Ask for any missing parameters, grouping related questions together when possible to minimize back-and-forth.
Step 4: Execute
Run the submit command with all gathered parameters:
git-escrows submit \
--tests-repo "<repo-url>" \
--tests-commit "<commit-hash>" \
--reward "<amount>" \
--arbiter "<address>" \
--oracle "<address>" \
--token "<address>"
Step 5: Report results
After successful execution:
- Report the Escrow UID prominently
- Show the full escrow details (attester, recipient, schema, reward, token, oracle)
- Provide the fulfill command that a solver would use:
git-escrows fulfill --escrow-uid <UID> --solution-repo "<url>" --solution-commit "<hash>" - Mention they can track status with:
git-escrows list --status open
If the command fails, help diagnose the issue (insufficient balance, wrong network, missing approval, etc.).
الأسئلة الشائعة
ما التفاصيل التي يحتاجها الوكيل مني؟
عنوان مستودع الاختبارات والالتزام مطلوبان. ويمكن للوكيل قراءتهما من مستودعك الحالي إذا أشرت إليه.
ما الشبكات المدعومة؟
تذكر المهارة Base Sepolia وSepolia، وهما تضبطان عناوين العقود تلقائيًا، وشبكة اختبار محلية هي الافتراضية.
هل أحتاج إلى ملف إعدادات؟
نعم. يتوقع الوكيل ملف إعدادات فيه مفتاحك الخاص والشبكة، ويمكنه أن يعطيك الأمر لإنشائه.
التفاصيل
الوصف الأصلي من المؤلف
Create a new git escrow bounty for a test suite. Use when the user wants to submit a challenge with escrowed token rewards for passing a failing test suite. Requires the git-escrows CLI (npm i -g git-escrows).
الشعبية
- نجوم GitHub
- 7.0k
- الترتيب
- #13613
- الترخيص
- —
- آخر تحديث
- 26/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
internet-court
7.0kيساعد وكيلك على الدفع لوكيل ذكاء اصطناعي آخر أو لخدمة مدفوعة، أو التعامل معهما بأمان، ويوجهه إلى الدليل المتخصص المناسب.
genlayer-erc7710-connector
7.0kيساعد وكيلك على ربط نتيجة مراجعة الذكاء الاصطناعي بنظام الصلاحيات، بحيث يمكن لمراجعة سيئة أن تقيّد صلاحيات الوكيل أو تلغيها.
genlayer-intelligent-contracts
7.0kيساعد وكيلك على تحديد قواعد وأدلة ومخرجات قاضٍ بالذكاء الاصطناعي يتحقق مما إذا كان وكيل آخر التزم بتفويضه.
x402-erc7710
7.0kيساعد وكيلك على الدفع مقابل خدمات الويب طلبًا تلو الآخر، وعلى إعداد إنفاق مستمر يبقى ضمن ميزانية الصلاحيات.
مهارات مشابهة
diffs
394kيتيح لوكيلك إنتاج فرق تعديلات حقيقي يمكن مشاركته، كرابط عرض أو ملف صورة، بدلاً من ملخص مكتوب يدوياً.
coding-agent
394kيساعد وكيلك على تسليم مهمة برمجة كبيرة إلى Codex أو Claude Code أو OpenCode كعامل في الخلفية، ثم متابعة تقدمها.
gh-issues
394kيساعد وكيلك على إيجاد مشكلات GitHub واختيار ما ستعمل عليه، وفتح طلبات سحب بالإصلاحات، ومتابعة تعليقات المراجعة.