Build, test, or debug a statico plugin. Use when the user wants to write a project-specific rule, scaffold a plugin, or investigate plugin behavior.
Installation
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
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