building-restate-services
Installation
SKILL.md
Restate
Restate is a durable execution runtime. It records every step of a handler in a journal, so if the process crashes, the handler replays from the journal and resumes exactly where it left off. Services are regular applications using the Restate SDK (TypeScript, Python, Java, Go) that run behind a Restate Server (a single Rust binary on ports 8080 for ingress and 9070 for admin UI).
Detect context
Scan the project to determine the SDK and context:
-
Detect SDK:
package.jsonwith@restatedev/restate-sdk-> TypeScriptrequirements.txtorpyproject.tomlwithrestate-sdk-> Pythonpom.xmlorbuild.gradlewithdev.restate-> Javago.modwithgithub.com/restatedev/sdk-go-> Go- If no SDK detected, check for project files to determine language, then ask the user
-
Detect existing Restate code: Grep for
@restatedev,restate-sdk,dev.restate.sdk,github.com/restatedev -
Detect AI frameworks:
@ai-sdk/,openai-agents,google-adk,pydantic-ai