/engineering-python:dbos-pythonfrom engineering-python
Guides building reliable, fault-tolerant Python applications with DBOS durable workflows. Covers workflow/step structure, queues, communication, configuration, and testing.
Ships in engineering-python. 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 Python applications with DBOS durable workflows.
Reference these guidelines when:
Examples are version-sensitive fragments with omitted app setup/imports/handlers; verify installed DBOS APIs. Durable workflow identity does not make arbitrary external side effects exactly-once: steps may repeat after a crash before checkpointing. Use provider idempotency keys plus reconciliation for payments/messages. Authorize database targets and writes, protect serialized inputs/results, and never deserialize untrusted pickle data. API routes need authentication, tenant ownership, webhook signature/replay validation and bounded waits. Destructive test reset must use a dedicated disposable system database; a variable name alone is not target proof.
| 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- |
A DBOS application MUST configure and launch DBOS inside its main function:
import os
from dbos import DBOS, DBOSConfig
@DBOS.workflow()
def my_workflow():
pass
if __name__ == "__main__":
config: DBOSConfig = {
"name": "my-app",
"system_database_url": os.environ.get("DBOS_SYSTEM_DATABASE_URL"),
}
DBOS(config=config)
DBOS.launch()
Workflows are comprised of steps. Any function performing complex operations or accessing external services must be a step:
@DBOS.step()
def call_external_api():
return requests.get("https://api.example.com").json()
@DBOS.workflow()
def my_workflow():
result = call_external_api()
return result
DBOS.start_workflow or DBOS.recv from a stepDBOS.start_workflow 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-async.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-fastapi.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)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub marslanalvi/skillsstack --plugin engineering-python29 skills in this plugin
/async-python-patternsMaster Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations./django-celeryDjango + Celery async task patterns — configuration, task design, beat scheduling, retries, canvas workflows, monitoring, and testing. Use when adding background jobs, scheduled tasks, or async processing to a Django app./django-patternsDjango architecture patterns, REST API design with DRF, ORM best practices, caching, signals, middleware, and production-grade Django apps. Use when building or reviewing Django apps, DRF APIs, ORM queries, or caching.Other plugins' skills for the same job