T

Triggerdotdev技能

agents
triggerdotdev
使用 Trigger.dev 的 AI 代理模式——包括編排、並行處理、路由、評估優化器以及人機協作。適用於構建由 LLM 驅動的任務時…
official
config
triggerdotdev
使用 trigger.config.ts 配置 Trigger.dev 專案。適用於設定 Prisma、Playwright、FFmpeg、Python 的建置擴充,或自訂部署…
official
errors-api-e2e
triggerdotdev
End-to-end smoke test for the public Errors HTTP API (error groups). Seeds failed runs into ClickHouse so the error materialized views populate, then drives…
official
errors-api-e2e
triggerdotdev
針對公開 Errors HTTP API(錯誤群組)的端到端冒煙測試。將失敗的運行植入 ClickHouse,以便錯誤具體化視圖填充,然後驅動…
official
realtime
triggerdotdev
從前端和後端即時訂閱 Trigger.dev 任務運行。適用於建置進度指示器、即時儀表板、串流 AI/LLM 回應等場景。
official
setup
triggerdotdev
在您的專案中設定 Trigger.dev。適用於首次加入 Trigger.dev、建立 trigger.config.ts 或初始化 trigger 目錄時使用。
official
span-timeline-events
triggerdotdev
Use when adding, modifying, or debugging OTel span timeline events in the trace view. Covers event structure, ClickHouse storage constraints, rendering in…
official
span-timeline-events
triggerdotdev
在追蹤檢視中新增、修改或除錯 OTel span 時間軸事件時使用。涵蓋事件結構、ClickHouse 儲存限制、在…中的渲染。
official
staff-engineering-skills-backpressure
triggerdotdev
當生產者速度超過消費者時,防止無限制的資源增長。適用於編寫生產者-消費者程式碼、佇列處理、批次操作、扇出等場景。
official
staff-engineering-skills-cache-invalidation
triggerdotdev
防止因快取失效缺失或不完整而導致的過時資料錯誤。在新增快取層(Redis、記憶體Map、CDN、HTTP快取標頭)時使用,…
official
staff-engineering-skills-cardinality
triggerdotdev
偵測並防止系統程式碼中的基數陷阱。適用於撰寫遍歷集合、在記憶體中儲存項目、建立每個實體…的程式碼時。
official
staff-engineering-skills-clock-skew
triggerdotdev
防止因假設時鐘同步或單調而導致的錯誤。在編寫跨機器比較時間戳、測量持續時間、設定…的代碼時使用。
official
staff-engineering-skills-consistency-models
triggerdotdev
防止因副本延遲、快取過時及索引延遲導致的髒讀錯誤。適用於在寫入資料後進行讀取、使用唯讀副本的程式碼撰寫情境…
official
staff-engineering-skills-denormalization
triggerdotdev
在設計資料模型時,偵測並防止反正規化陷阱。適用於撰寫在表格間複製欄位、在文件中嵌入相關資料等程式碼時。
official
staff-engineering-skills-distributed-system-fallacies
triggerdotdev
防止因將網路呼叫視為函數呼叫而導致的失敗。在編寫呼叫外部服務、將單體應用拆分為…的程式碼時使用。
official
staff-engineering-skills-hot-partitions
triggerdotdev
防止個別分割區、分片或節點承受不成比例的負載。適用於選擇分割鍵、設計分片資料庫、寫入Kafka等情境。
official
staff-engineering-skills-idempotency
triggerdotdev
確保操作可以安全地重試並多次執行。在編寫會改變狀態的API端點、Webhook處理器、佇列消費者、支付…時使用。
official
staff-engineering-skills-memory-leaks
triggerdotdev
在垃圾回收語言(Node.js、Go)中防止記憶體洩漏。適用於撰寫會隨時間累積狀態的程式碼時——例如記憶體快取、事件監聽器……
official
staff-engineering-skills-object-store-as-database
triggerdotdev
正確地將物件儲存(S3、GCS、Azure Blob)用作資料庫層。在撰寫將狀態儲存於物件儲存、建立交易日誌等程式碼時使用。
official
staff-engineering-skills-race-conditions
triggerdotdev
偵測並防止並行程式碼中的競爭條件。在撰寫讀取後寫入共享狀態、檢查條件後執行操作、建立…的程式碼時使用。
official
staff-engineering-skills-retry-storms
triggerdotdev
防止重試邏輯將故障放大為連鎖中斷。在為網路呼叫添加重試邏輯、配置HTTP客戶端、構建…時使用。
official
staff-engineering-skills-sharding
triggerdotdev
對資料庫分片做出正確的決策——何時該分片、何時不該分片,以及分片後會破壞哪些功能。適用於設計資料庫架構、選擇……
official
staff-engineering-skills-streams-vs-batch
triggerdotdev
在撰寫程式碼之前,選擇正確的處理模型。適用於建立資料管線、處理佇列、處理網路鉤子、發送通知等場景。
official
staff-engineering-skills-thundering-herd
triggerdotdev
防止同步需求尖峰導致後端超載。在實作具有TTL過期機制的快取、排程定時任務、處理重新連線等情況時使用。
official
tasks
triggerdotdev
使用 Trigger.dev 構建 AI 代理、工作流程和持久的背景任務。適用於創建任務、觸發作業、處理重試、排程 cron 任務或…
official
trigger-agents
triggerdotdev
使用 Trigger.dev 的 AI 代理模式——包括編排、並行化、路由、評估器-優化器以及人機協作。適用於構建由 LLM 驅動的任務時…
official
trigger-agents
triggerdotdev
AI agent patterns with Trigger.dev - orchestration, parallelization, routing, evaluator-optimizer, and human-in-the-loop. Use when building LLM-powered tasks…
official
trigger-authoring-chat-agent
triggerdotdev
使用 @trigger.dev/sdk/ai 中的 chat.agent 編寫並執行一個持久的 AI 聊天代理:每輪運行循環,為什麼你必須展開 ...chat.toStreamTextOptions()…
official
trigger-authoring-chat-agent
triggerdotdev
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST spread ...chat.toStreamTextOptions()…
official
trigger-authoring-chat-agent
triggerdotdev
Author and run a durable AI chat agent with chat.agent from @trigger.dev/sdk/ai: the per-turn run loop, why you MUST spread ...chat.toStreamTextOptions()…
official
trigger-authoring-tasks
triggerdotdev
Covers writing backend Trigger.dev tasks with @trigger.dev/sdk: defining task() and schemaTask(), the run function and its ctx, retries, waits, queues and…
official
trigger-authoring-tasks
triggerdotdev
涵蓋使用 @trigger.dev/sdk 撰寫後端 Trigger.dev 任務:定義 task() 和 schemaTask()、run 函式及其 ctx、重試、等待、佇列等…
official
trigger-chat-agent-advanced
triggerdotdev
Advanced and operational chat.agent capabilities for Trigger.dev, loaded on demand. Load this when working on the raw Sessions primitive (sessions /…
official
trigger-chat-agent-advanced
triggerdotdev
Trigger.dev 的進階且可操作的 chat.agent 功能,按需載入。在處理原始 Sessions 原語(sessions /…)時載入此功能。
official
trigger-chat-agent-advanced
triggerdotdev
針對 Trigger.dev 的高階與操作型 chat.agent 功能,按需載入。當處理原始 Sessions 原語(sessions /…)時載入此功能。
official
trigger-config
triggerdotdev
使用 trigger.config.ts 配置 Trigger.dev 專案。在為 Prisma、Playwright、FFmpeg、Python 設定建置擴充或自訂部署時使用…
official
trigger-config
triggerdotdev
使用 trigger.config.ts 設定 Trigger.dev 專案。適用於設定 Prisma、Playwright、FFmpeg、Python 的建置擴充功能,或自訂部署…
official
trigger-cost-savings
triggerdotdev
分析 Trigger.dev 任務、排程與執行記錄,找出成本最佳化的機會。適用於被要求降低支出、優化成本、審核使用情況、調整規模等情境。
official
trigger-cost-savings
triggerdotdev
分析Trigger.dev的任務、排程與執行以發現成本優化機會。當被要求降低支出、優化成本、稽核使用情況、調整資源規模…時使用。
official
trigger-cost-savings
triggerdotdev
Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities. Use when asked to reduce spend, optimize costs, audit usage, right-size…
official
trigger-dev-tasks
triggerdotdev
在撰寫、設計或優化 Trigger.dev 背景任務與工作流程時使用此技能。這包括建立可靠的異步任務、實作 AI…
official
trigger-dev-tasks
triggerdotdev
在編寫、設計或優化 Trigger.dev 背景任務與工作流程時使用此技能。這包括建立可靠的非同步任務、實作 AI…
official
trigger-getting-started
triggerdotdev
Bootstrap Trigger.dev into an existing project from scratch: authenticate the CLI, install @trigger.dev/sdk and @trigger.dev/build, write trigger.config.ts…
official
trigger-getting-started
triggerdotdev
從頭開始將 Trigger.dev 引導至現有專案:驗證 CLI、安裝 @trigger.dev/sdk 和 @trigger.dev/build、編寫 trigger.config.ts…
official
trigger-realtime
triggerdotdev
從前端和後端即時訂閱 Trigger.dev 任務運行。用於建置進度指示器、即時儀表板、串流 AI/LLM 回應等…
official
trigger-realtime
triggerdotdev
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata…
official
trigger-realtime-and-frontend
triggerdotdev
Trigger.dev client/frontend surface: subscribe to runs in realtime (runs.subscribeToRun and the @trigger.dev/react-hooks hook useRealtimeRun), consume metadata…
official
trigger-realtime-and-frontend
triggerdotdev
Trigger.dev 客戶端/前端介面:即時訂閱執行(runs.subscribeToRun 以及 @trigger.dev/react-hooks 中的 useRealtimeRun 鉤子),消費中繼資料…
official
trigger-setup
triggerdotdev
在您的專案中設定 Trigger.dev。適用於首次加入 Trigger.dev、建立 trigger.config.ts 或初始化 trigger 目錄時使用。
official
trigger-setup
triggerdotdev
Bootstrap Trigger.dev into an existing project from scratch: authenticate the CLI, install @trigger.dev/sdk and @trigger.dev/build, write trigger.config.ts…
official
trigger-tasks
triggerdotdev
使用 Trigger.dev 構建 AI 代理、工作流程和持久化的背景任務。適用於創建任務、觸發作業、處理重試、排程 cron 任務或…
official
trigger-tasks
triggerdotdev
涵蓋使用 @trigger.dev/sdk 撰寫後端 Trigger.dev 任務:定義 task() 和 schemaTask()、run 函式及其 ctx、重試、等待、佇列及…
official