What problem does it solve?
This skill helps developers create production-ready Skedulo custom functions by providing the required project structure, routing/handler patterns, deployment workflow, and best practices for configuration, security, and Skedulo API integration.
Core Features & Use Cases
- Function foundation and structure: Covers how to scaffold a function (sked.proj.json, state.json, package/tsconfig, src/handler.ts/routes.ts).
- Robust HTTP routing + handler contract: Guides how to compile route regexes, match requests, and return consistent status/body responses.
- Config variables and secrets handling: Shows how to define config vars in sked.proj.json and retrieve values via skedContext to avoid hardcoding secrets.
- Skedulo API integration patterns: Enforces use of @skedulo/pulse-solution-services and recommends the connected-function:skedulo-api-developer skill for GraphQL/EQL and query execution patterns.
- Triggered actions support: Documents how to build manifest files, shape payloads, implement createTriggeredActionHandler, and structure action handlers for INSERT/UPDATE/DELETE.
- Event queueing for scale: Provides an approach to offload work with enqueue receivers, chunking, priorities, and returning 202 when processing is deferred.
- Testing and security guardrails: Includes local testing guidance, idempotency/error-handling recommendations, and security best practices (input validation, signature verification, no secrets in code).
Quick Start
Deploy a new Skedulo custom function by generating the function locally, wiring routes in src/routes.ts and the main entry in src/handler.ts, then deploying with the Skedulo CLI.