Borrowing it
Nothing to install: this file belongs to divinevideo/divine-mobile. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/divinevideo/divine-mobile/main/.agents/skills/fastly-compute-native-test-linker-failure/SKILL.mdgit clone --depth 1 https://github.com/divinevideo/divine-mobileWrote 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.
[](https://agentmods.dev/skills/divinevideo/divine-mobile/fastly-compute-native-test-linker-failure)<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/fastly-compute-native-test-linker-failure"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/fastly-compute-native-test-linker-failure/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.
<a href="https://agentmods.dev/skills/divinevideo/divine-mobile/fastly-compute-native-test-linker-failure"><img src="https://agentmods.dev/badge/skills/divinevideo/divine-mobile/fastly-compute-native-test-linker-failure.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00186 | $0.02392 |
| Opus 5 | $0.00093 | $0.01196 |
| Sonnet 5 | $0.00037 | $0.00478 |
| Haiku 4.5 | $0.00019 | $0.00239 |
Grade A, and why
fastly-compute-native-test-linker-failure scanned grade A with 0 findings 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Fastly Compute native test linker failure
Problem
Fastly Compute Rust binaries link against libfastly, which provides FFI symbols that only
exist when targeting wasm32-wasip1. On a native host (macOS, Linux x86_64, Linux arm64),
the FFI symbols are absent, so linking a test binary for the Fastly Compute crate fails with
errors like:
"_version_set", referenced from:
fastly::http::response::handle::ResponseHandle::set_version::h234bdb33f8878476 in libfastly-XXXX.rlib
"_body_new", referenced from:
fastly::http::body::Body::new::hYYYY in libfastly-XXXX.rlib
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1
error: could not compile `fastly-blossom` (bin "fastly-blossom" test)
The error appears during cargo test even if none of your tests actually call Fastly SDK
code — cargo still tries to compile and link the entire binary as a test target.
This has a nasty consequence: any #[cfg(test)] mod tests { ... } block inside a file
compiled into the binary crate is effectively dead code. It never runs via cargo test
because cargo can't link the test binary. Developers add tests, the compiler accepts them,
they're visible in the source tree — but they never execute. Tests that were meant to
regression-guard behavior silently become documentation that rots.
Context / Trigger Conditions
- Fastly Compute Rust project with
fastly = "0.11.x"(or similar) as a dependency - The crate has both
src/main.rsandsrc/lib.rsOR onlysrc/main.rs cargo testfails at link time with_version_set/_body_new/_req_sendundefinedcargo check --target wasm32-wasip1succeedscargo check(native) succeeds (library code compiles, just can't link the binary)- You added tests in
src/admin.rs,src/blossom.rs,src/metadata.rs, or any file that'smod-included fromsrc/main.rsbut NOT fromsrc/lib.rs
Root cause
Fastly's Rust SDK (fastly crate) is designed exclusively for wasm32-wasip1. Its public
API calls unsafe FFI functions (_version_set, _req_send, _body_new, etc.) that the
Fastly Compute runtime provides at execution time inside the POP. On a native host, the
rustc compiler still compiles the library crate, but the linker can't resolve those FFI
symbols because libfastly-native doesn't exist.
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.
- 11d ago First seen · 215 lines · 186 tokens per session scan A 9a424ec4f14d
fastly-compute-native-test-linker-failure is a skill published in the GitHub repository divinevideo/divine-mobile (265 stars, last pushed today), licensed MPL-2.0. It adds 186 tokens to every session and 2,392 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
migrate-xunit-to-xunit-v3
Migrate .NET test projects from xUnit.net v2 to xunit.v3 and fix v3 breaks. Use for package/CPM conversion, OutputType=Exe, preserving the VSTest or MTP runner (including projects currently using YTest.MTP.XUnit2), incompatible TFMs, async void tests, string-to-Type attributes, custom Fact/Theory/BeforeAfterTest…
go-testing
Trigger: Go tests, go test coverage, Bubbletea teatest, golden files. Apply focused Go testing patterns.
nw-fp-clojure
Clojure language-specific patterns, data-first modeling, REPL-driven development, and spec.
mobiai-ios-testing
Use when writing or running tests in an iOS project — unit tests, UI tests, snapshot tests, choosing the right framework.
restore-internals-seams-in-finally-blocks-after-each-test
When delegating a task affected by this skill, include.
testing-llm
LLM and AI testing patterns — mock responses, evaluation with DeepEval/RAGAS, structured output validation, and agentic test patterns (generator, healer, planner). Use when testing AI features, validating LLM outputs, or building evaluation pipelines.