constructive-functions

Develop and deploy Knative-style HTTP cloud functions for the Constructive platform.

1|Updated Jan 20, 2026
One-click install
npx skills add https://github.com/constructive-io/constructive-skills --skill constructive-functions
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: constructive-functions
Source: https://github.com/constructive-io/constructive-skills/tree/main/skills/constructive-functions
Command: npx skills add https://github.com/constructive-io/constructive-skills --skill constructive-functions

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the creation and deployment of serverless HTTP functions, enabling developers to build event-driven applications and background jobs seamlessly within the Constructive ecosystem.

Core Features & Use Cases

  • Knative-style Functions: Build and deploy TypeScript HTTP handlers compatible with Knative.
  • Database Integration: Easily interact with the Constructive GraphQL API or directly with PostgreSQL using pg-cache.
  • Use Case: Automatically send a welcome email to new users by triggering a function on user creation, or process background data transformations triggered by webhooks.

Quick Start

Use the constructive-functions skill to create a new function named 'send-welcome-email' that sends an email when a new user is registered.

Frequently Asked Questions about constructive-functions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I deploy serverless functions for Knative using TypeScript?▼

To deploy serverless functions for Knative using TypeScript, you can build Knative-style HTTP handlers and use Docker to package and deploy them directly to the Constructive platform.

What is the best way to trigger background jobs with Knative cloud functions?▼

The best way to trigger background jobs with Knative cloud functions is to build event-driven HTTP handlers that process webhook payloads or data transformations automatically within the Constructive ecosystem.

Can I use GraphQL API interactions inside serverless cloud functions?▼

Yes, you can use GraphQL API interactions inside serverless cloud functions. The environment provides integrated support for querying the Constructive GraphQL API directly from your TypeScript HTTP handlers.

Do I need Docker to deploy Knative HTTP functions?▼

Yes, you need Docker to deploy Knative HTTP functions. The deployment process utilizes Node.js and Docker to build the container images required for running your serverless workloads.

How do I send an automated email when a new user registers via webhook?▼

You can send an automated email when a new user registers by creating a serverless function triggered by a webhook. The function listens for the user creation event and executes the email sending logic.

Can I connect directly to PostgreSQL from a Knative function?▼

Yes, you can connect directly to PostgreSQL from a Knative function. The environment supports direct database interactions using the pg-cache module alongside standard GraphQL API queries.