agentleFS
BlockKnown publisherblock/proto-fleet/.agents/skills/asicrs-build/SKILL.md

asicrs-build

Skill56 starsChanged 2 months agoApache-2.0View on GitHub

Rebuild ASIC-rs after changes to plugin/asicrs, sdk/rust, or server/sdk/v1/pb inputs.

The file

We split this skill into the rules it gives an agent

3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈1

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not treat the Docker ARM64 artifact as a macOS-native binary.

    line 18
  2. Very specific:

    Run just test-contract for miner-driver behavior changes on a compatible Linux runner.

    line 21
  3. Very specific:

    Do not hand-edit server/plugins/asicrs-config.yaml to pass tests.

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

ASIC-rs builds

The justfile checks source mtimes against the plugin binary and its .asicrs-platform marker. Branch switches or checkouts can leave a newer binary beside different, older sources. Force a rebuild when verifying changes to these inputs rather than trusting that cache.

  • Docker dev runtime (Linux ARM64): just rebuild-plugin asicrs clears the marker and invokes the Docker build.
  • Native runtime: remove only the generated server/plugins/.asicrs-platform marker, then run just _asicrs-build. On macOS this uses local Cargo; on Linux the recipe uses Docker. Do not treat the Docker ARM64 artifact as a macOS-native binary.

Run just test-contract for miner-driver behavior changes on a compatible Linux runner. The current recipe depends on _asicrs-build but executes the plugin inside Linux containers. On macOS that dependency produces a Mach-O binary, so the ASIC-rs contract checks are blocked by the recipe's platform mismatch. A preceding Docker build does not fix this: the dependency switches the marker back to native. Report the blocker or use an authorized Linux runner; do not claim native build success verifies the container contracts.

Switching between native and Docker runtimes changes the marker and requires a rebuild. Do not hand-edit server/plugins/asicrs-config.yaml to pass tests; the contract harness rewrites it for each suite.

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.