write-a-worker
Use when a LeanScope choreo step should call the user's own code — fetch data, call an API, generate a document, write the next step — while the session runs. Scaffolds an Express worker into the user's project, makes it reachable, and attaches it to a step via leanscope-graphql.
Pinned to revision 03bc87f785f3, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/write-a-worker/SKILL.md
- skills/write-a-worker/template/README.md
- skills/write-a-worker/template/leanscope.mjs
- skills/write-a-worker/template/package.json
- skills/write-a-worker/template/server.mjs
Every link opens the file at its source, pinned to the revision this page describes.