Pular para o conteúdo
Skillpedia
Código em geral7,0 mil · #13613

make-git-escrow

O que ela faz

Esta skill ajuda você a publicar um desafio de código com recompensa em tokens. O agente bloqueia os tokens em escrow e os vincula a uma suíte de testes que outras pessoas precisam passar para reivindicar a recompensa. Ela exige a ferramenta de linha de comando git-escrows.

Quando usar

  • ✓Quando você quer oferecer uma recompensa em tokens para corrigir uma suíte de testes que falha.
  • ✓Quando você quer pagar desenvolvedores em tokens por passarem nos seus testes.
  • ✓Quando você já tem um repositório git com testes e quer que o agente preencha os detalhes.

Link da skill

https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/internet-court/internet-court-skill/blob/main/vendored/arkhai/make-git-escrow/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Quero criar um bounty de escrow git com 100 tokens para minha suíte de testes que falha.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

O agente verifica a ferramenta git-escrows e o seu arquivo de configurações. Ele coleta o endereço do repositório de testes, o commit em que os testes serão executados e o valor da recompensa, depois envia o escrow na blockchain. Os tokens ficam bloqueados até que alguém passe nos testes.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do 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:

  1. --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.
  2. --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.
  3. --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).
  4. --oracle (required): The Ethereum address of the oracle that will arbitrate.

    • Ask the user. Mention the public demo oracle on Sepolia: 0xc5c132B69f57dAAAb75d9ebA86cab504b272Ccbc.
  5. --arbiter (required): The arbiter contract address.

    • Ask the user. This is typically the TrustedOracleArbiter contract on their network.
  6. --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.).

Perguntas frequentes

Quais detalhes o agente precisa de mim?

O endereço do repositório de testes e o commit são obrigatórios. O agente pode lê-los do seu repositório atual, se você apontar para ele.

Quais redes são suportadas?

A skill menciona Base Sepolia e Sepolia, que têm endereços de contrato configurados automaticamente, e uma rede de teste local como padrão.

Preciso de um arquivo de configurações?

Sim. O agente espera um arquivo de configurações com a sua chave privada e a rede, e pode dar o comando para criá-lo.

Detalhes

Descrição original do autor

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).

repo: internet-court/internet-court-skill

Popularidade

Estrelas no GitHub
7,0 mil
Posição no ranking
#13613
Licença
—
Atualizada em
26/10/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas