nimbu-cloud-code
Nimbu Cloud Code
Cloud Code is server-side JavaScript that runs in Nimbu's V8 sandbox. It extends a Nimbu site with custom logic — data validation, integrations, custom HTTP endpoints, scheduled jobs, and admin extensions — without operating any infrastructure. The Nimbu SDK is pre-injected; no require('nimbu-js-sdk') is needed inside cloud code.
Docs are the source of truth
Always fetch the relevant doc page before writing or modifying cloud code. This skill summarizes shape, conventions, and gotchas; the docs at docs.nimbu.io are authoritative and change more often than this skill.
Use the /docs/... .md variant of every URL. Every Nimbu doc page has a sibling markdown file at the same path with a .md extension. WebFetch returns these as plain markdown — much cheaper and more accurate to parse than rendered HTML.
docs.nimbu.io/docs/cloud-code/functions → docs.nimbu.io/docs/cloud-code/functions.md
docs.nimbu.io/docs/sdk/queries → docs.nimbu.io/docs/sdk/queries.md