AI Tools & Scripts
Exchange Client Library Parity Audit (Go)
Decide whether a ported exchange client library really reaches every capability of its reference. Symbol diff first, then struct fields, order knobs, behaviour behind identical signatures and data the parser drops, with a strict verdict vocabulary.
What you get: 1 file · 5.53 KB · ZIP
See purchase optionsProduct description
A naming diff between two exchange client libraries is necessary but not sufficient: the gaps that matter hide in struct fields, behaviour behind identical method signatures, and data the parser receives but never delivers. This skill turns a vague "is the port one-to-one?" into a defensible verdict with file:line evidence.
What is inside: - SKILL.md - the method: a deterministic symbol diff you run yourself, then checks for what a diff cannot see (struct fields, order parameters, reconnect and re-subscribe behaviour, semantic traps), verification of every exchange-API claim against primary docs, a live-capture rule for WebSocket payloads, calibration before you state a count, and the output format. - references/verify-brief.md - ready-to-use briefs for fanning the verification out to parallel agents, with a shared preamble and one brief per audit dimension, so every agent uses the same status vocabulary.
The verdict buckets are fixed (real-gap, per-exchange-diff, available-but-undelivered, superset), so a different API shape is not reported as a missing feature. The final answer is one of superset, one-to-one or has-real-gaps. The skill stops at the verdict and does not fix anything.
Who it is for: engineers who ported a trading client from one exchange to another, or inherit such a port, and need to know what was lost. It needs read access to both repositories and works in any language; the examples are Go. It is also part of the Crypto Exchange Connector Engineering Pack at a lower per-skill price.
Example request
I ported our Gate client library from the Bybit one. Is it really one-to-one? Audit both repos and give me a verdict.
Example result
Example on a fictional setup (reference: bybit-client, port: gate-client, consumer: trading-service).
Step 1, symbol diff (comm on sorted exported names): 14 methods only in REF, 9 only in PORT, 3 types only in REF. Pasted into GROUND_TRUTH for the verifiers.
Step 2, what the diff cannot see: - real-gap: REF exposes a tickers call used by the service for last-price fallback; PORT has no equivalent (REF client.go:212, nothing in PORT). - available-but-undelivered: the order-update WebSocket payload carries the exchange order id, the parser uses it for routing but never sets it on the delivered struct (PORT ws_orders.go:140). Same severity as a real gap. - per-exchange-diff, not gaps: leverage is a string in REF and a struct in PORT; conditional orders live in a separate endpoint family. - superset: PORT adds a cancel-all-by-symbol call.
Step 3, doc check: both findings re-read against the exchange's public REST docs; the order-id field also confirmed on a live WebSocket capture, since REST docs and WS pushes differ.
Verdict: has-real-gaps (2 surviving items, 1 superset noted). Impact: without the order id the service cannot correlate partial fills after reconnect.
Requirements
- Claude Code or a compatible agent runtime
- Git and a shell
- Two sibling exchange client libraries checked out locally (any language, examples are Go)
How to install
Unzip into your Claude Code skills folder (~/.claude/skills/ or .claude/skills/ in a project) and start a new session; the skill loads by its description.
What you get
1 file · 5.53 KB
- exchange-core-parity-audit.zipZIP · 5.53 KB
AI Tools & Scripts
Exchange Client Library Parity Audit (Go)
Decide whether a ported exchange client library really reaches every capability of its reference. Symbol diff first, then struct fields, order knobs, behaviour behind identical signatures and data the parser drops, with a strict verdict vocabulary.
Tags
Frequently asked questions
Do I get access instantly?
Yes. This is a digital product - you can download it right after checkout, straight from your library.
Can I use it for commercial projects?
Yes. Commercial use is allowed: use it in your own business and in things you sell. You may not resell or redistribute the file itself.
What's your refund policy?
You can request a refund within 30 days. If something isn't right, request it from your order and the Getly team reviews it.
What file formats and sizes will I get?
You'll download 1 file - ZIP - 5.53 KB in total.
Do I get free updates?
Yes - when the seller ships a new version, you can re-download the latest files from your library at no extra cost. Check the changelog for recent updates.
Price
$5.00



