/engineering-javascript-typescript:dbos-typescriptfrom engineering-javascript-typescript
Guide for building reliable, fault-tolerant TypeScript applications with DBOS durable workflows. Covers installation, configuration, workflow/step structure, queues, and testing.
Ships in engineering-javascript-typescript. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Guide for building reliable, fault-tolerant TypeScript applications with DBOS durable workflows.
Reference these guidelines when:
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Lifecycle | CRITICAL | lifecycle- |
| 2 | Workflow | CRITICAL | workflow- |
| 3 | Step | HIGH | step- |
| 4 | Queue | HIGH | queue- |
| 5 | Communication | MEDIUM | comm- |
| 6 | Pattern | MEDIUM | pattern- |
| 7 | Testing | LOW-MEDIUM | test- |
| 8 | Client | MEDIUM | client- |
| 9 | Advanced | LOW | advanced- |
Install a supported SDK version compatible with the existing application and pin it in the lockfile. For a new project, first verify the current official release:
npm install @dbos-inc/dbos-sdk@<verified-version>
A DBOS application MUST configure and launch DBOS before running any workflows:
import { DBOS } from "@dbos-inc/dbos-sdk";
async function main() {
DBOS.setConfig({
name: "my-app",
systemDatabaseUrl: process.env.DBOS_SYSTEM_DATABASE_URL,
});
await DBOS.launch();
await myWorkflow();
}
main().catch(error => { console.error(error); process.exitCode = 1; });
Workflows are comprised of steps. Any function performing complex operations or accessing external services must be run as a step using DBOS.runStep:
import { DBOS } from "@dbos-inc/dbos-sdk";
async function fetchData() {
return await fetch("https://api.example.com").then(r => r.json());
}
async function myWorkflowFn() {
const result = await DBOS.runStep(fetchData, { name: "fetchData" });
return result;
}
const myWorkflow = DBOS.registerWorkflow(myWorkflowFn);
DBOS.startWorkflow or queuesRead individual rule files for detailed explanations and examples:
references/lifecycle-config.md
references/workflow-determinism.md
references/queue-concurrency.md
AGENTS.md (opens in a new tab)ATTRIBUTION.md (opens in a new tab)CLAUDE.md (opens in a new tab)references/_sections.md (opens in a new tab)references/advanced-patching.md (opens in a new tab)references/advanced-versioning.md (opens in a new tab)references/client-enqueue.md (opens in a new tab)references/client-setup.md (opens in a new tab)references/comm-events.md (opens in a new tab)references/comm-messages.md (opens in a new tab)references/comm-streaming.md (opens in a new tab)references/lifecycle-config.md (opens in a new tab)references/lifecycle-express.md (opens in a new tab)references/pattern-classes.md (opens in a new tab)references/pattern-debouncing.md (opens in a new tab)references/pattern-idempotency.md (opens in a new tab)references/pattern-scheduled.md (opens in a new tab)references/pattern-sleep.md (opens in a new tab)references/queue-basics.md (opens in a new tab)references/queue-concurrency.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub marslanalvi/skillsstack --plugin engineering-javascript-typescript14 skills in this plugin
/bun-developmentFast, modern JavaScript/TypeScript development with the Bun runtime, inspired by [oven-sh/bun](https://github.com/oven-sh/bun)./bun-runtimeBun as runtime, package manager, bundler, and test runner. When to choose Bun vs Node, migration notes, and Vercel support./fp-taskeither-refQuick reference for TaskEither. Use when user needs async error handling, API calls, or Promise-based operations that can fail.Other plugins' skills for the same job