Communitygithub.com

gear-foundation/vara-skills

Use when Gear or Vara behavior changes need a deterministic local gtest loop before the work can be considered complete. Do not use for deploy-only work, live-node-only smoke checks, or features without a local test target.

vara-skills 是什么?

vara-skills is a Claude Code agent skill that use when Gear or Vara behavior changes need a deterministic local gtest loop before the work can be considered complete. Do not use for deploy-only work, live-node-only smoke checks, or features without a local test target.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/gear-foundation/vara-skills/tree/HEAD/skills/gtest-tdd-loop

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

Gtest Tdd Loop

Overview

Drive local verification through a red-green loop and summarize failures in a machine-readable form.

Start Here

Read ../../references/gtest-cheatsheet.md, ../../references/sails-gtest-and-local-validation.md, and ../../references/gear-gas-reservations-and-waitlist.md.

Use ../../assets/gtest-report-template.md as the output shape.

Write the result to docs/plans/YYYY-MM-DD-<topic>-gtest.md.

Use ../../scripts/run_gtest.sh to execute the loop and ../../scripts/parse_test_output.py to summarize failures.

Workflow

  1. Write or update the smallest failing gtest case for the current task.
  2. Verify the test fails for the expected reason.
  3. Apply the minimal implementation change.
  4. Run the local loop through ../../scripts/run_gtest.sh.
  5. Capture the parser output and record the final green or remaining gap state.

Guardrails

  • Do not skip the failing-test step.
  • Do not claim success from compile output alone.
  • Keep gtest evidence tied to the current task, not a generic workspace run.
  • Escalate if the workspace cannot produce a stable local gtest target.

Individual skills in this repo

This repo contains 1 individual skill — each has its own dedicated page.

相关技能