solana-foundation/pay-kit/sdk-conformance
Claude Code and agent skill by solana-foundation/pay-kit
- community
Checking that the SKILL.md file is still in the repository.
Make a Pay Kit SDK pass the shared conformance vectors with `pkc` (rust/crates/conformance). Use when asked to "fix conformance for <language>", "make <sdk> pass the vectors", "work the known_failing list", "add a conformance testee", "scaffold a new SDK testee", or when a `pkc run` / harness CI step fails. Covers the pkc loop, the testee ABI and the rules (never edit a vector; fix the SDK, not the runner).
Install
npx vskill@latest install solana-foundation/pay-kit/sdk-conformanceSKILL.md
The same SKILL.md was published earlier as solana-foundation/pay-kit/sdk-conformance.
SDK conformance with pkc
The shared vectors under harness/vectors/ are filled from the Rust kit by pkc fill. Every SDK ships a testee (harness/runners/<sdk>.json) that pkc run drives offline: no network, no validator, chain state from a fixture RPC passed as input.rpcUrl. What each SDK must pass is harness/expectations/<sdk>.toml, reconciled exactly in both directions.
Full guide: harness/AGENTS.md. ABI: harness/README.md#testee-abi.
Loop
Run from rust/ (pkc = cargo run -q -p paykit-conformance --bin pkc --):
pkc next --sdk <sdk>: the smallest failing class (blocking classes such
as timeouts or ABI violations first), every case id in it, the spec sentence, the Rust reference and a replay command.
pkc case run --sdk <sdk> <id>: the failure report (requirement,
mutation, decoded expected vs actual with the first divergent field, file:line reference, testee stderr, replay request).
pkc case show <id>when you need the input and decoded expectation.- Fix the SDK; add an SDK unit test that fails before the fix.
pkc run --sdk <sdk> --tier offline --diff-expectations, then remove the
now-passing ids from known_failing (the run fails until you do).
pkc run --sdk <sdk> --tier offline --requirebefore pushing, plus the
SDK's formatter, linter and tests.
Rules
- Never edit a vector to make it pass; file against the filler
(rust/crates/conformance/src/cases/) with the spec quote.
- Testees pass input to the SDK unchanged: no defaults, no token-program
resolution, no precedence, no envelope building in the testee.
- Every
[[unsupported]]needs a reason; every[[known_failing]]a reason
and tracking (GitHub issue or FINDINGS.md#anchor).
- Fix the class, not the instance: re-run the whole group from
pkc next. - Do not add env vars; use
pkcflags. - A served testee keeps no state across cases;
--legacymust agree.
New SDK
pkc scaffold --lang <python|typescript|go|ruby|php|lua> --sdk <name> --dir <path> writes the testee, manifest and a toml claiming nothing; pkc run --sdk <name> --tier offline --discover then reports every vector unsupported. Implement canonical bytes, then verify, then build; claim intents as they pass; add the CI step pkc run --sdk <name> --tier offline --require.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sdk-conformance/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/solana-foundation/pay-kit/sdk-conformance)