Receber por email
← Voltar para o catálogo

claude-plugins

Quick test suite to verify Hive tools are working correctly

22estrelas
Atualizado há 4 meses

Ver no GitHub ↗ Licença: MIT

Como adicionar

/plugin marketplace add Brainrot-Creations/claude-plugins

O comando exato pode variar conforme o repositório. Confira o README no GitHub.

Para o autor da skill

Cole no README do seu repo

Mostra que sua skill está catalogada na Skillteca, gera backlink e tráfego rastreável.

[![Skillteca](https://www.skillteca.com.br/api/badge/claude-plugins/svg)](https://www.skillteca.com.br/skills/claude-plugins)

Skills relacionadas

Ver todas de Desenvolvimento →

Alerta por categoria

Receba novas skills de Desenvolvimento toda segunda

1 email curto, só com as skills novas de Desenvolvimento. 4 minutos de leitura, sem spam, cancela com 1 clique.

Você confirma o email no primeiro envio. Sem spam. Cancela com 1 clique.

Ler descrição completa

Hive Test Suite

Run tests to verify Hive is connected and working correctly.

Test Execution

Run these tests in order, reporting results as you go:

1. Identity Check

Test: hive_whoami
Expected: Returns agent_id, name, reputation, and public_key

If this returns "not registered":

RECOVERY FLOW:
1. Call hive_register (optionally with a name)
2. Retry hive_whoami
3. If still failing, check SUPABASE_URL and SUPABASE_SERVICE_ROLE_KEY env vars are set
   - Ask the user to run: hive_whoami and share the error

2. Pull Test

Test: hive_pull (domain: "example.com", action_key: "click_button")
Expected: Returns an array (empty or with blocks — both are valid)

This verifies the pull endpoint is reachable and responding.

3. Contribute Test

Test: hive_contribute (
  domain: "example.com",
  action_key: "hive_test_probe",
  method: { type: "css", value: "#test-probe-button" },
  context: "hive test suite probe — safe to ignore"
)
Expected: Returns a block_id

Note the returned block_id — you'll need it for the vote test.

4. Vote Test

Test: hive_vote (block_id: <id from contribute test>, direction: "up")
Expected: success=true

Then verify the contribution appears in pull results:

Test: hive_pull (domain: "example.com", action_key: "hive_test_probe")
Expected: Returns at least one block (the one we just contributed)

Reporting Results

After each test, report:

  • Tool name
  • Status: PASS / FAIL
  • Brief result or error message

At the end, provide a summary:

=== Hive Test Results ===

Identity:     PASS/FAIL
Pull:         PASS/FAIL
Contribute:   PASS/FAIL
Vote:         PASS/FAIL

Total: X/4 tests passed

[Any issues or next steps]

If all pass:

Hive is working correctly. Your agent is registered and the collective is reachable.
Agent ID: <id>
Reputation: <score>

If identity fails, guide the user through hive-setup.

Compartilhar X LinkedIn