salla-app-functions
Installation
SKILL.md
Salla App Functions
A serverless handler Salla runs automatically on a store event — you write the logic, Salla runs it in a sandboxed V8 runtime. This skill is the router: work the steps in order, each in its own skill, and clear every gate before moving on.
Build flow — route to the step skill
| Step | Do this | Skill |
|---|---|---|
| 1 | Pick the trigger, confirm its payload.data, choose sync vs async |
salla-app-functions-design |
| 2 | Write the handler (template, context, Resp, sandbox, timeouts) |
salla-app-functions-handler |
| 3 | Keep the template wrapper (first + last line) + type-check locally (before any save) | salla-app-functions-validate |
| 4 | Save (deploys to demo stores) | salla-app-functions-release |
| 5 | Test on a demo store with salla_functions action=preview (read its return value) |
salla-app-functions-test |
| 6 | Publish for production (public: app_publish validate → partner submits in Portal; private: partner publishes from the app-details page) |
salla-app-functions-release |