发现优质的 AI Agent 技能
聚合 Claude Skills、LangChain、AutoGPT 等优质资源,助力开发者快速构建智能应用
comm events
来自 sickn33/antigravity-awesome-skills 技能
client setup
来自 sickn33/antigravity-awesome-skills 技能
client enqueue
来自 sickn33/antigravity-awesome-skills 技能
advanced versioning
来自 sickn33/antigravity-awesome-skills 技能
advanced patching
来自 sickn33/antigravity-awesome-skills 技能
Section Definitions
This file defines the rule categories for DBOS TypeScript best practices. Rules are automatically assigned to sections based on their filename prefix.
dbos-typescript
> **Note:** `CLAUDE.md` is a symlink to this file.
Could run forever!
while not done: process_next() ``` **Correct (with timeout):**
Loading inputs/outputs when not needed is slow
workflows = DBOS.list_workflows(status="PENDING") for w in workflows: print(w.workflow_id) # Only using ID ``` **Correct (optimize with load flags):**
Random number in workflow breaks recovery!
choice = random.randint(0, 1) if choice == 0: step_one() else: step_two()
Wrong: assuming the workflow stopped immediately
cleanup_resources() # May race with workflow still running its current step ``` **Correct (wait for cancellation to complete):**
Never start workflows from inside a step!
DBOS.start_workflow(another_workflow) ``` **Incorrect (modifying global state):**