agentleFS
gear-foundationgear-foundation/vara-skills/CLAUDE.md

vara-skills

CLAUDE.md17 starsChanged 8 months agoMITView on GitHub

A portable, self-contained skill pack for Gear/Vara Sails smart contract builders. It ships as markdown skills, shared reference docs, and validation tooling — packaged for Claude Code (plugin), Codex, and OpenClaw. Current version: 3.0.0 (sails-rs 1.0.0). The skill catalog is provisional until the sibling vara-skills-evals repo proves uplift. All tests are Python 3 (python3 tests/<file>.py). No pip dependencies required. ship-sails-app is the primary entry skill for Claude Code. It routes standard builder tasks to the correct stage:

The file

We split this CLAUDE.md into the rules it gives an agent

4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    All tests are Python 3 (python3 tests/<file>.py).

    line 23
  2. Very specific:

    Run make verify before claiming the repo is ready.

    line 51
  3. Very specific:

    Keep each skill directory flat with SKILL.md plus optional assets/, references/, scripts/.

    line 53
  4. Very specific:

    Prefer shared references in references/ and templates in assets/ over duplicating content in skills.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
CLAUDE.md

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What This Repo Is

A portable, self-contained skill pack for Gear/Vara Sails smart contract builders. It ships as markdown skills, shared reference docs, and validation tooling — packaged for Claude Code (plugin), Codex, and OpenClaw.

Current version: 3.0.0 (sails-rs 1.0.0). The skill catalog is provisional until the sibling vara-skills-evals repo proves uplift.

Commands

make verify          # Run the full validation suite (layout, skills, parser, install, packaging, update)
make test-layout     # Repo structure checks only
make test-skills     # Skill validation + catalog + gstd-api-map tests
make test-parser     # gtest output parser tests
make test-install    # Codex install script tests
make test-packaging  # Claude plugin metadata validation
make test-update     # Auto-update check script tests

All tests are Python 3 (python3 tests/<file>.py). No pip dependencies required.

Architecture

Content layers

  • SKILL.md (root) — top-level router that dispatches by builder intent to specific skills
  • skills/<name>/SKILL.md — individual workflow or topic skills (24 total), each may contain assets/ subdirs
  • references/ — self-contained handbook covering Gear execution, Sails architecture, IDL/client pipeline, gtest patterns, and more. Skills reference these via relative paths.
  • assets/ — canonical output templates (spec, architecture, task-plan, gtest report)
  • VERSION — single-line version file, kept in sync with marketplace.json
  • bin/vara-skills-update-check — bash script that checks for new versions on each skill invocation. State cached in ~/.vara-skills/ (cache, snooze, upgrade marker). Controlled via env vars: VARA_SKILLS_UPDATE_CHECK=false to disable, VARA_SKILLS_AUTO_UPGRADE=true for silent upgrades.

Packaging surfaces

  • Claude Code plugin: .claude-plugin/plugin.json + marketplace.json define the plugin. Skills under skills/ are loaded directly.
  • Codex: scripts/install-codex-skills.sh installs skill directories locally.
  • OpenClaw: openclaw-skill/SKILL.md wraps the same content.

Validation

  • scripts/validate-skill.py — validates individual skill structure
  • scripts/parse_test_output.py — parses gtest output for evidence collection
  • scripts/run_gtest.sh — runs gtest and captures output
  • tests/ — Python test suite covering repo layout, skill contracts, catalog completeness, parser correctness, install scripts, and Claude packaging metadata

Working Rules (from AGENTS.md)

  • Run make verify before claiming the repo is ready.
  • Apply TDD: add or update tests before changing scripts, validation logic, or published skill contracts.
  • Keep each skill directory flat with SKILL.md plus optional assets/, references/, scripts/.
  • Prefer shared references in references/ and templates in assets/ over duplicating content in skills.
  • The skill catalog is provisional — only measured winning skills should remain in the eventual public pack.
  • Stay on the standard Gear/Vara Sails path. Vara.eth and ethexe work uses dedicated skills, not this pack.

Skill Routing

ship-sails-app is the primary entry skill for Claude Code. It routes standard builder tasks to the correct stage:

  1. Planning: idea-to-spec → gear-architecture-planner or sails-architecture → task-decomposer
  2. Implementation: sails-rust-implementer, sails-idl-client
  3. Verification: sails-gtest or gtest-tdd-loop → sails-local-smoke (only after green gtest)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.