- Home
- Skills
- Code Quality & Review
- Conform a Trading Service to a Shared Interface Spec
Conform a Trading Service to a Shared Interface Spec
This skill structures the work so the report, not luck, makes it safe.
$5
What it does
- Brings one exchange's trading service into line with a shared interface spec
- Reads the spec history and audits half-done work before changing code
- Inventories settings and verifies behaviour, not just that a method exists
Conform a Trading Service to a Shared Interface Spec
Example session with this skill installed
Section 7 of our service spec changed. Conform the Kraken service to it and tell me what I must change in the env before deploying.
- Read your context and instructions
- Compiled the conform a trading
Example on a fictional setup (spec repo: service-spec, service: kraken-trading-service).
Spec history reviewed against upstream commit a1b2c3d, read today. Section 7 gained a hard timeout for partial fills and a new rule "the soft slippage limit must be strictly less than the hard slippage limit".
Working tree audit: two uncommitted files from an earlier attempt. One flips the default of EXIT_ON_PARTIAL from false to true without a note; reverted to the previous default and listed.
Behaviour, not presence: at TIMEOUT with a partial fill the old code cancelled and dropped the remainder. New behaviour keeps the partial and sizes the exit from the filled quantity; exchange-side reduce-only covers the safety half. The old test pinning the cancel-and-drop path is rewritten to pin the new rule.
Non-applicable: the spec's WS-liveness item does not apply (this service has REST-only liveness); documented with the reason.
Pre-deploy env delta
| var | change | action per account |
| SLIPPAGE_HARD_CAP | new, required | set before deploy, otherwise boot panic (loud) |
| EXIT_ON_PARTIAL | default unchanged | none |
Two live accounts violate the strict-less-than rule today; fix their values first.
Nothing committed. Build and tests clean in both repos.
Connects securely to your tools. The creator never sees your data.
About this skill
When a shared trading-service spec changes, every per-exchange service has to follow, and the risky part is not the code but the deploy: a changed default or a new boot-time validation can panic or silently change behaviour on live accounts. This skill structures the work so the report, not luck, makes it safe.
What is inside (one SKILL.md, no scripts):
- Getting the spec fresh and reading its commit history, with the rule that the spec is the source of truth and is never edited to match the code.
- Reading the working tree first, to audit uncommitted conformance work for silent default flips and new startup panics, and checking the live host before landing a new validation rule.
- An exhaustive settings inventory that does not trust a single regex over many config helpers.
- Verifying behaviour instead of presence, such as what happens at timeout with a partial fill, and why a superseded test is rewritten, not deleted.
- Checking exchange API shapes against primary docs, and deciding non-applicable items deliberately with reasons.
- The report outline, centred on the pre-deploy env delta table (newly required variables, changed defaults, loud versus silent changes), and the rule to report rather than commit.
Who it is for: teams running one trading service per exchange against a common contract. It needs the spec and service repositories; examples are Go. It is also part of the Crypto Exchange Connector Engineering Pack at a lower per-skill price.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Software
- Claude Codeora compatible agent runtimeGit and a shell
Git
A shared service-interface spec document and the service repo (examples are Go).
Permissions
What's inside
Frequently Asked Questions
New in Code Quality & Review
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Code Quality & Review.