dbos-typescript

Develop durable workflows and resilient steps with the DBOS TypeScript SDK.

Updated Mar 7, 2026
One-click install
npx skills add https://github.com/involvex/llms-remote --skill dbos-typescript
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dbos-typescript
Source: https://github.com/involvex/llms-remote/tree/main/.agents/skills/dbos-typescript
Command: npx skills add https://github.com/involvex/llms-remote --skill dbos-typescript

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides the tools and best practices to build highly reliable, fault-tolerant applications using TypeScript and the DBOS SDK, ensuring your applications can recover from failures and operate consistently.

Core Features & Use Cases

  • Durable Workflows: Define and execute workflows that are automatically recovered and resumed after system restarts or failures.
  • Resilient Steps: Implement external operations (API calls, database interactions) as steps that can be retried automatically.
  • Managed Concurrency: Utilize queues to control the flow and concurrency of workflow executions, preventing resource exhaustion.
  • Use Case: Develop an order processing system where each order is a workflow. If the system crashes mid-processing, DBOS automatically resumes the order workflow from where it left off, ensuring no orders are lost or duplicated.

Quick Start

Use the dbos-typescript skill to create a new DBOS workflow that fetches data from an external API and logs the result.

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 apps that recover from system crashes?

To build fault-tolerant TypeScript apps, you use durable workflows that automatically recover and resume execution from their last completed step after a system restart or failure. This ensures no operations are lost or duplicated.

What is durable execution and how does it handle workflow recovery?

Durable execution is a mechanism that automatically recovers and resumes workflows after system restarts or failures. It captures the state of each step, allowing interrupted operations to continue exactly where they left off without data loss.

How do I implement automatic retries for external API calls in TypeScript?

You implement external operations like API calls or database interactions as resilient steps. These steps feature automatic retry mechanisms that handle transient failures, ensuring the external operations eventually complete successfully.

How can I manage concurrency and prevent resource exhaustion in background workflows?

You manage concurrency and prevent resource exhaustion by utilizing queues. Queues control the flow and execution limits of your durable workflows, ensuring your application operates consistently without overwhelming system resources.

Can I schedule workflows and enable inter-workflow communication in TypeScript?

Yes, you can schedule workflows to run at specific times and enable inter-workflow communication. These features allow you to build complex, reliable, and fault-tolerant applications that operate consistently across distributed components.

What is the best way to prevent duplicate processing in an order processing system?

The best way to prevent duplicate processing is to model each order as a durable workflow. If the system crashes mid-processing, DBOS automatically resumes the order workflow from where it left off, ensuring no orders are lost or duplicated.