manzanas: Skill for Claude Code

.agents/skills/build-and-test/SKILL.md

build-and-test is a skill for Claude Code, Codex from BariBariGood/manzanas. It costs 57 tokens per session (621 once invoked), scanned B, original, Apache-2.0.

A Go build-and-test procedure for manzanasd, including compilation, static checks, formatting, unit tests, and Linux and macOS checks. Go is a programming language, and a PR is a proposed change submitted for review.

In plain words
What is it for?
Use it before opening a PR or when investigating CI failures in the Go project and its simbridge helper.
Why use it?
It catches build errors, suspicious code, formatting problems, and test failures before a pull request is opened.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is BariBariGood/manzanas's own configuration. It tells Claude Code and Codex how to work on manzanas itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything manzanas configures →

Reuse

Borrowing it

Nothing to install: this file belongs to BariBariGood/manzanas. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/BariBariGood/manzanas/main/.agents/skills/build-and-test/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/BariBariGood/manzanas

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for build-and-test

README.md
[![agentmods](https://agentmods.dev/badge/skills/baribarigood/manzanas/build-and-test/github.svg)](https://agentmods.dev/skills/baribarigood/manzanas/build-and-test)
Your own site
<a href="https://agentmods.dev/skills/baribarigood/manzanas/build-and-test"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/build-and-test/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-and-test

Your own site · 80×15
<a href="https://agentmods.dev/skills/baribarigood/manzanas/build-and-test"><img src="https://agentmods.dev/badge/skills/baribarigood/manzanas/build-and-test.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 621 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00057 $0.00621
Opus 5 $0.00028 $0.00311
Sonnet 5 $0.00011 $0.00124
Haiku 4.5 $0.00006 $0.00062

Measured 11d ago against content hash e8f360656aab, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

build-and-test scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

need sudo there.
.agents/skills/build-and-test/SKILL.md · 63 lines

How it starts

The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Build and test manzanasd

Pure Go (module github.com/BariBariGood/manzanas, needs a recent stable Go toolchain). Everything below runs on Linux — no Mac required for the core gate.

The PR gate — run ALL of these before opening a PR

go build ./...
go vet ./...
go test ./...
gofmt -l .        # must print NOTHING; fix with gofmt -w on the listed files

make build produces bin/manzanasd, bin/manzanas, bin/manzanas-broker; make lint = vet + gofmt check. Unit tests are Linux-safe by design (mock registry, httptest fake daemons); code that needs macOS is behind interfaces (e.g. warm.Host) with fakes — keep it that way.

CI (.github/workflows/ci.yml)

The test job runs the same four commands on a two-leg matrix (ubuntu-latest + macos-latest).

Notes:

  • setup-go uses go-version: "stable", NOT 1.22 — the Go 1.22 linker emits binaries without LC_UUID, which macOS 26 refuses to execute. Don't pin the version down.
  • Keep macOS-leg tests fast and never add steps that boot simulators or need sudo there.

Other workflows: release.yml (GoReleaser on v* tags), site.yml (site/ npm build; only triggers on site changes).

simbridge (warm-actions helper)

CI cannot build it (needs macOS + Xcode + AXe frameworks). Build on a Mac:

helpers/simbridge/build.sh ~/bin/simbridge          # AXe frameworks at ~/axe/Frameworks
AXE_FRAMEWORKS=/opt/axe/Frameworks helpers/simbridge/build.sh   # other installs

The binary rpath-pins the frameworks dir it was built against — build on (or for) the host that runs it, one binary per architecture. If the shipped .swiftmodules don't match the local Swift compiler, rebuild the AXe frameworks first (see docs/actions-warm.md).

Conventions

  • Protocol changes: proto/ Go types are the source of truth; proto/PROTOCOL.md describes semantics. Within v0 changes must be additive. Same rule for the journal format (docs/journal.md).
  • The daemon owns all stateful policy in Go (unit-testable on Linux); helpers like simbridge stay deliberately dumb.

Read the full file on GitHub · 63 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 63 lines · 57 tokens per session scan B e8f360656aab

Subscribe to this mod's changes

build-and-test is a skill published in the GitHub repository BariBariGood/manzanas (20 stars, last pushed 9d ago), licensed Apache-2.0. It adds 57 tokens to every session and 621 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

go-testing

Use when writing, reviewing, or improving Go test code — including table-driven tests, subtests, parallel tests, test helpers, test doubles, and assertions with cmp.Diff. Also use when a user asks to write a test for a Go function, even if they don't mention specific patterns like table-driven tests or subtests. Does…

cxuu/golang-skills · 80 tokens

go-test-implementation

Executable Go falsifiers. Use for test-only changes or non-routine fixtures and harnesses, selecting cases and assertions from accepted behavior during implementation.

Dankosik/go-service-template-rest · 34 tokens

golang-testing

Production-ready Golang tests — table-driven tests, testify suites and mocks, parallel tests, fuzzing, fixtures, goroutine leak detection with goleak, snapshot testing, code coverage, integration tests, idiomatic test naming. Use when writing or reviewing Go tests, choosing a testing approach, setting up Go test CI…

alexastrum/skl · 115 tokens

Go Testing Patterns

Go testing with testing package, table-driven tests, subtests, benchmarks, test fixtures, httptest, and testify assertions.

PramodDutta/qaskills · 29 tokens

golang-stretchr-testify

Comprehensive guide to stretchr/testify for Golang testing. Covers assert, require, mock, and suite packages in depth. Use when writing tests with testify, creating mocks, setting up test suites, or choosing between assert and require. Covers testify assertions, mock expectations, argument matchers, call verification…

alexastrum/skl · 97 tokens

timeouts-and-async

Make Ginkgo specs interruptible and test asynchronous behavior — SpecContext/context.Context cancellable nodes, NodeTimeout/SpecTimeout/GracePeriod, the --timeout flag, Abort and SIGINT behavior, Gomega Eventually/Consistently (the func(g Gomega) form, .WithContext), and the defer GinkgoRecover() rule for goroutines.…

onsi/ginkgo · 106 tokens