fulfill-git-escrow
Fungsinya
Skill ini ditujukan untuk orang yang ingin mendapatkan hadiah token dengan memperbaiki kode. Git escrow menahan hadiah sampai seseorang membuat rangkaian tes yang gagal menjadi lolos, dan skill ini memandu agent menulis serta mengirimkan solusinya. Skill ini membutuhkan alat baris perintah git-escrows.
Kapan dipakai
- ✓Saat Anda ingin mengklaim hadiah dengan membuat rangkaian tes yang gagal menjadi lolos.
- ✓Ketika Anda sudah punya solusi di repositori dan hanya perlu mengirimkannya.
- ✓Ketika Anda perlu memastikan tantangan escrow masih terbuka dan melihat hadiahnya.
Link skill
https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/fulfill-git-escrow/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
“Saya ingin menyelesaikan tantangan escrow 42 dan mengirimkan perbaikan saya untuk mengklaim hadiahnya.”
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Agent memeriksa alat git-escrows dan pengaturan Anda, lalu mencari escrow beserta repositori tesnya. Agent menulis kode sampai tes lolos, melakukan commit, lalu mengirimkannya ke blockchain untuk mengklaim hadiah. Jika Anda sudah punya repositori solusi, agent langsung mengirimkannya.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Fulfill Git Escrow
You are helping the user fulfill a git escrow bounty. This means submitting code that passes a failing test suite to claim the escrowed token reward.
There are two modes:
- Mode A (Write + Submit): You write the solution code, commit it, and submit. This is the default when no
--solution-repois provided by the user. - Mode B (Submit Existing): The user already has a solution repo and commit. You just submit the fulfillment.
Determine the mode from the user's input:
- If they provide
--solution-repo, use Mode B. - Otherwise, use Mode A.
The escrow UID is always required.
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"
Step 3: Validate the escrow
Run git-escrows list --verbose --format json and find the escrow matching the provided UID. Confirm:
- The escrow exists and is open
- Note the test repo URL, test commit hash, reward amount, and oracle address
If no escrow UID was provided, ask the user for one. You can help them browse with git-escrows list --status open.
Mode A: Write Solution + Submit
A1: Understand the tests
Clone or read the test repository to understand what the tests expect:
- Identify the test repo URL and commit from the escrow details
- Clone it to a temporary location:
git clone <url> /tmp/escrow-tests-<uid> && cd /tmp/escrow-tests-<uid> && git checkout <commit> - Read the test files to understand:
- What functions/modules/APIs the tests import
- What behavior they assert
- What test framework is used
- The project structure expected
A2: Write the solution
In the current working directory (or a subdirectory the user specifies):
- Create/modify files to implement the code that will make the tests pass
- Follow the project structure the tests expect (e.g., if tests import from
src/math.ts, create that file) - Include any necessary config files (package.json, Cargo.toml, etc.)
- Ensure the test framework's dependencies are accounted for
A3: Commit and get repo details
- Stage and commit the solution:
git add -A && git commit -m "solution for escrow <uid>" - Get the commit hash:
git rev-parse HEAD - Get the remote URL:
git remote get-url origin- If no remote exists, ask the user to push to a public git repo and provide the URL
A4: Submit the fulfillment
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"
Mode B: Submit Existing Solution
B1: Gather parameters
From the user's input, extract:
--solution-repo: The git repo URL with the solution--solution-commit: The commit hash of the solution
If either is missing, ask the user.
B2: Submit the fulfillment
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"
Step 4: Report results (both modes)
After successful execution:
- Report the Fulfillment UID prominently
- Explain that the oracle will now automatically test the solution
- Provide the collect command for after arbitration passes:
git-escrows collect --escrow-uid <escrow-uid> --fulfillment-uid <fulfillment-uid> - Suggest checking status with:
git-escrows list --verbose
If the command fails, help diagnose the issue (escrow already fulfilled, wrong network, key not registered, etc.). If the user's git key isn't registered, suggest git-escrows register-key.
Pertanyaan umum
Apa yang saya butuhkan sebelum memulai?
Alat baris perintah git-escrows dan berkas pengaturan yang berisi kunci dompet dan jaringan Anda.
Bagaimana jika saya sudah menulis solusinya?
Berikan repositori solusi Anda kepada agent, dan agent akan mengirimkan pemenuhan itu tanpa menulis kode baru.
Bagaimana agent memastikan escrow-nya valid?
Agent mendaftar escrow dan memeriksa bahwa yang Anda sebutkan masih terbuka, lalu mencatat repositori tes, hadiah, dan oracle-nya.
Detail
Deskripsi asli dari pembuat
Fulfill a git escrow bounty by writing a solution or submitting an existing one. Use when the user wants to solve a test suite challenge, write code to pass tests, and claim a token reward. Requires the git-escrows CLI (npm i -g git-escrows).
Popularitas
- Bintang GitHub
- 7.0k
- Peringkat
- #13612
- Lisensi
- —
- Diperbarui
- 26/10/2026
Komentar
- …
Skill lain dari repositori ini
internet-court
7.0kMembantu agent Anda membayar, menyewa, atau bertransaksi dengan aman bersama agent AI lain atau layanan berbayar, dan mengarahkannya ke panduan khusus yang tepat.
genlayer-erc7710-connector
7.0kMembantu agent Anda menghubungkan hasil tinjauan AI ke sistem izin, sehingga tinjauan yang buruk dapat membatasi atau mencabut izin agent.
genlayer-intelligent-contracts
7.0kMembantu agent Anda menentukan aturan, bukti, dan keluaran dari hakim AI yang memeriksa apakah agent lain mengikuti mandatnya.
x402-erc7710
7.0kMembantu agent Anda membayar layanan web per permintaan, dan mengatur pengeluaran berkelanjutan yang tetap dalam anggaran izin.
Skill serupa
diffs
394kMemungkinkan agent Anda menghasilkan diff perubahan yang nyata dan dapat dibagikan sebagai tautan viewer atau file gambar, bukan ringkasan yang ditulis manual.
coding-agent
394kMembantu agent Anda menyerahkan pekerjaan pemrograman besar ke Codex, Claude Code, atau OpenCode di latar belakang, lalu memeriksa kemajuannya.
gh-issues
394kMembantu agent Anda menemukan issue GitHub, memilih yang dikerjakan, dan membuka pull request perbaikan, termasuk tindak lanjut komentar tinjauan.