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).
67
81%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Medium
Suggest reviewing before use
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:
--solution-repo is provided by the user.Determine the mode from the user's input:
--solution-repo, use Mode B.The escrow UID is always required.
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.
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"Run git-escrows list --verbose --format json and find the escrow matching the provided UID. Confirm:
If no escrow UID was provided, ask the user for one. You can help them browse with git-escrows list --status open.
Clone or read the test repository to understand what the tests expect:
git clone <url> /tmp/escrow-tests-<uid> && cd /tmp/escrow-tests-<uid> && git checkout <commit>In the current working directory (or a subdirectory the user specifies):
src/math.ts, create that file)git add -A && git commit -m "solution for escrow <uid>"git rev-parse HEADgit remote get-url origin
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"From the user's input, extract:
--solution-repo: The git repo URL with the solution--solution-commit: The commit hash of the solutionIf either is missing, ask the user.
git-escrows fulfill \
--escrow-uid "<uid>" \
--solution-repo "<repo-url>" \
--solution-commit "<commit-hash>"After successful execution:
git-escrows collect --escrow-uid <escrow-uid> --fulfillment-uid <fulfillment-uid>git-escrows list --verboseIf 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.
fa89195
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.