Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

surfpool-anchor-smoke

Skill by solana-foundation

Smoke tests a local Surfpool build against Anchor's reusable test matrix. It builds Surfpool and the Anchor CLI, runs the enabled workflow tests one at a time, and writes a failure report. Built for developers and agents checking Surfpool changes against Anchor.

  • Score 82
  • 628 stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install surfpool-anchor-smoke

Built from the published package, never by AI.

git clone --depth 1 https://github.com/solana-foundation/surfpool /tmp/surfpool && mkdir -p ~/.claude/skills && cp -r /tmp/surfpool/.claude/skills/surfpool-anchor-smoke ~/.claude/skills/surfpool-anchor-smoke

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install surfpool-anchor-smoke in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This agent skill runs Anchor's reusable smoke test matrix against a local Surfpool build. It installs Surfpool from source with cargo surfpool-install-dev, points the Surfpool spawn command in Anchor's cli/src/lib.rs at the local binary, and rebuilds the Anchor CLI in release mode. It then runs the enabled entries from Anchor's reusable-tests workflow serially, using Anchor's repo-local release binary.

The bundled Python runner, scripts/run_smoke_suite.py, asks for the Surfpool and Anchor repo roots when they are not given. It supports filtering with match and skip flags, per-test and idle timeouts, and a dry run. It writes per-step logs and a Markdown failure report. The skill is intended for developers and agents testing Surfpool changes against Anchor's test suite.

Written from the project's SKILL.md and checked against it.

What it can do

  • Build Surfpool from sourceInstalls a local Surfpool build with cargo surfpool-install-dev in the Surfpool repo.
  • Patch Anchor's Surfpool spawnFinds the Surfpool command in Anchor's start_surfpool_validator and points it at the local binary.
  • Rebuild the Anchor CLIBuilds the Anchor CLI in release mode for the smoke run.
  • Run the reusable test matrixRuns enabled entries from Anchor's reusable-tests workflow one at a time.
  • Filter and limit test runsSupports match, skip, max-tests and list-tests options for choosing suites.
  • Failure reportWrites per-step logs and a Markdown report that highlights failed suites, hangs and setup problems.

What you need

  • Local Surfpool repo checkout
  • Local Anchor repo checkout
  • Cargo (Rust toolchain)
  • Python 3

Try asking

  • Run the Anchor smoke suite against my local Surfpool build.
  • Smoke test only tests/sysvars and tests/errors with Surfpool.
  • Do a dry run of the Anchor smoke matrix and list the planned commands.

Good to know

  • tests/anchor-cli-idl is skipped by default because it can leave an orphaned validator.
  • Using --no-default-skips can poison later suites, so it is for isolated debugging only.
  • Does not use Anchor's setup-tests.sh, which installs a debug anchor binary.
  • Setup failures stop the run before any test outcomes are reported.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .claude/skills/surfpool-anchor-smoke/SKILL.md, .claude/skills/surfpool-anchor-smoke/scripts/run_smoke_suite.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md6 KB
  • scripts/run_smoke_suite.py33 KB

Alternatives to surfpool-anchor-smoke

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

surfpool-anchor-smoke: common questions

What does the Surfpool Anchor smoke test check?

It runs the enabled entries from Anchor's reusable-tests workflow against a locally built Surfpool, using Anchor's release CLI. It reports which suites fail or hang.

Why is tests/anchor-cli-idl skipped?

The source says its script starts a solana-test-validator in the background and does not clean it up on failure. That orphaned validator can then route traffic from later Surfpool suites and cause misleading errors.

Can the runner work without interactive prompts?

Yes. Pass --surfpool-dir and --anchor-dir, or set the SURFPOOL_DIR and ANCHOR_DIR environment variables.

How do I install surfpool-anchor-smoke?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is surfpool-anchor-smoke free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is surfpool-anchor-smoke safe to use?

It scores 82 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to surfpool-anchor-smoke?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

surfpool-anchor-smoke Install

Add to stack

Loading.