sdk-portability
Skill1 starsChanged 39 days agoApache-2.0View on GitHub
Decide which services and clients stay in their language and use one of the 13 Loams SDKs, and keep behaviour identical across them with the conformance corpus. Use before rewriting an edge service or adding a language.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- company/AGENTS.mdAGENTS.md
- agent-platformSkill
- app-migrationSkill
- byog-deploySkill
- conformance-testingSkill
- cutover-operationsSkill
- data-migrationSkill
- decision-recordsSkill
- identity-authzSkill
- loams-adoptionSkill
- loams-fitSkill
- loams-rust-sdkSkill
- observability-meteringSkill
- rust-workspaceSkill
- stack-inventorySkill
- target-architectureSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 3 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
Check SDK maturity: All 13 are 0.x. Not every language has every app module yet.
- Distinctive: line 58
Do not hand-write REST or Connect calls.
- Distinctive: line 59
Do not generate a per-language behaviour spec.
- Distinctive: line 60
Do not assume a package is published.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SDK portability
"Rewrite the stack in Rust" means rewrite the data-owning core. The edges can stay where they are and use their SDK.
When to use
- A team proposes rewriting a web, mobile, data, or infrastructure service in Rust only to use Loams.
- A language needs to be added or removed from the company's matrix.
- A cross-language behaviour difference appears.
Inputs
company/stack-inventory/inventory.md.company/architecture/target.md.- 13-SDK matrix, runtime contract, fixtures.
Procedure
- Classify the edge. Does it own data and hot-path logic, or does it call an API? Owns data → Rust candidate. Calls an API → keep the language.
- Check SDK maturity. All 13 are 0.x. Not every language has every app
module yet; the matrix in
reference/sdk/README.mdis the source of truth. - Choose the transport. Connect unary is the default; gRPC where the language has a native stack; the Connect fallback for hosts without one.
- Pin the package and record the version in
company/sdk-matrix.md. - Run the conformance suite for each language. Do not accept "it works in TypeScript" as evidence for another language.
- Keep one behaviour spec. Tokens, idempotency, retries, consistency, pagination, and error reasons are shared; per-language wrappers must not reinterpret them.
Outputs
company/sdk-matrix.md:Service/client Language Package Version Transport Conformance Keep/Rewrite - ADRs for "keep this language" decisions.
- CI entries that run the language's conformance suite where possible.
Guardrails
- Do not hand-write REST or Connect calls; use the SDK.
- Do not generate a per-language behaviour spec; use the shared contract.
- Do not assume a package is published; check the registry and the release status before committing to it.
- A language without a required app module is a reason to wait or bridge, not to invent one.
References
- 13 SDKs
- Runtime contract
- Fixtures
- Design 44
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

