dbos-typescript

Guide DBOS durable workflow design for fault-tolerant TypeScript applications.

6|4|Updated Nov 1, 2025
One-click install
npx skills add https://github.com/Montte-erp/montte-nx --skill dbos-typescript-montte-erp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbos-typescript
Source: https://github.com/Montte-erp/montte-nx/tree/main/.agents/skills/dbos-typescript
Command: npx skills add https://github.com/Montte-erp/montte-nx --skill dbos-typescript-montte-erp

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill captures a comprehensive set of best practices and operational guidance for building reliable, durable TypeScript applications using DBOS so teams can design workflows that recover correctly, avoid lost progress, and operate safely at scale.

Core Features & Use Cases

  • DBOS Configuration & Launch: Guidance on correctly configuring DBOS, launching safely, and registering workflows and steps before runtime.
  • Deterministic Workflows & Steps: Rules to keep workflows deterministic and to move non-deterministic logic into steps with checkpointed results.
  • Queueing, Partitioning & Rate Limits: Patterns for creating queues, controlling concurrency, partitioning per-entity work, prioritization, and rate limiting for external APIs.
  • Communication Patterns: Using events, messages, and streams for real-time progress, notifications, and streaming outputs.
  • Operational Practices: Enqueueing from external clients, patching and versioning for safe upgrades, scheduling, retries, transactions, and test setups for integration and unit tests.

Quick Start

Use the dbos-typescript skill to get step-by-step instructions for configuring DBOS, registering a deterministic workflow and a checkpointed step that calls an external API, and examples for queue and schedule setup.

Frequently Asked Questions about dbos-typescript

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

FAQPage Schema
How do I build fault-tolerant TypeScript workflows that recover without losing progress?

To build fault-tolerant TypeScript workflows, you must structure them deterministically and move non-deterministic logic into checkpointed steps. This ensures external operations recover correctly and avoid lost progress during failures.

What is the best way to configure queues and rate limits for durable TypeScript workflows?

Configuring queues for durable TypeScript workflows involves setting concurrency controls, partitioning work per entity, and applying rate limits for external APIs. This approach safely manages scale and prevents overloading downstream services.

How do I handle external API calls and step checkpointing in a durable workflow?

External API calls in a durable workflow must be encapsulated within steps to ensure deterministic execution. Step checkpointing stores the results of these external operations, preventing lost progress and duplicate calls during recovery.

How do external clients enqueue work into a partitioned queue in TypeScript?

External clients can enqueue work into a partitioned queue using specific client enqueue patterns. This allows external systems to submit tasks directly to durable workflows while respecting concurrency and per-entity partitioning rules.

How do I use events and streams for real-time communication in TypeScript workflows?

Events, messages, and streams provide real-time communication in TypeScript workflows by enabling progress notifications and streaming outputs. These patterns allow workflows to exchange data efficiently without blocking deterministic execution.

How do I safely patch and version durable workflows during application upgrades?

Patching and versioning durable workflows requires applying specific operational practices to ensure safe upgrades. This process maintains deterministic execution and workflow continuity when modifying steps or introducing new logic during runtime.