Implement the detection logic in the scaffolded entry file
(index.ts / src/main.rs / plugin.py). Look for the TODO
comments. Use the SDK's hook callbacks — never hand-roll JSON-RPC
unless you know what you're doing.
Iterate against a fixture:
statico plugin run my-rule --file fixtures/sample.ts
The output is the JSON-RPC result so you can see exactly what
statico will receive.
Verify the runtime is ready before reporting failures:
statico plugin doctor # checks bun (TS) / cargo (Rust) / python3