Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

temporal-applications-pythontemporal applications Python 搜索

Agent Skill

用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流。它适合让 Agent 阅读 Python 代码、定位测试问题、整理运行命令、生成脚本或分析数据处理逻辑。使用时需要确认项目虚拟环境、依赖版本和测试入口;涉及执行脚本、读写文件、访问数据库或调用外部 API 时,应先明确运行目录和输入输出范围,避免误改生产数据。

总安装

216

周安装

9

GitHub Stars

公开资料未说明

下载量

72
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:temporal-applications-python(temporal applications Python 搜索)
来源仓库:https://github.com/michael-f-bryan/skills
仓库路径:skills/temporal-applications-python
安装命令:
npx skills add https://github.com/michael-f-bryan/skills --skill temporal-applications-python
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/michael-f-bryan/skills --skill temporal-applications-python

简介

temporal-applications-python 用于辅助 Python 项目开发、测试、依赖管理和常见框架工作流,帮助阅读代码、定位问题和生成脚本。

  • 适用于 Python 后端开发、自动化测试和数据流水线构建场景。
  • 支持虚拟环境识别、依赖分析和测试用例生成。
  • 安装命令:npx skills add https://github.com/michael-f-bryan/skills --skill temporal-applications-python。
  • 涉及执行脚本或访问外部资源时,应先确认运行目录和输入输出范围,避免误改生产数据。

SKILL.md

Temporal Applications in Python

Guidance for designing and implementing Temporal workflows and activities in Python so they are testable, type-safe, reliable, and keep orchestration separate from business logic. Use this skill when designing new workflows or activities, refactoring or extending existing ones, or when you need patterns for determinism, timeouts, retries, idempotency, or testing.

Load the skill first; then use the Resource index below to load only the resource(s) relevant to your task.


When to use this skill

  • You are building or changing Temporal Python applications (workflows and activities on the official Python SDK).
  • Tasks include: defining activity classes and workflow logic; structuring params and results; implementing long-running or unbounded workflows (e.g. processing a growing list with Continue-As-New); configuring timeouts, retries, and idempotency; ensuring workflow determinism; or testing workflows and activities.

Next step: Infer your task from the user request, then use the Resource index table below to choose which resources/ file(s) to load.


Boundaries

  1. Workflows — Orchestrate only. No I/O or non-deterministic APIs in workflow code. Use SDK APIs for time/random/UUID. State that must survive Continue-As-New lives in a serialisable params model; copy from params into workflow instance at the start of run. Details and examples → resources/workflows-continue-as-new.md, resources/determinism.md.
  2. Activities — Thin wrappers. Dependencies (DB, HTTP client, browser, etc.) are injected at construction (e.g. in worker bootstrap). Each activity method has one Pydantic params type and one result type; no tuples or multiple return values. Business logic lives in a separate, testable module or function that the activity calls. Details and examples → resources/activities.md.
  3. Child workflows vs activities — Use child workflows for per-item orchestration (e.g. one child per item in a batch); use activities for side effects (I/O, external APIs). Keep history small by extracting loops into child workflows and passing state via params when using Continue-As-New.

Success criteria

Before considering the work done, check:

  • Boundaries — Workflows orchestrate only; activities are thin wrappers with injected deps and single params/result models; business logic is in separate, testable code.
  • Contracts — Pydantic params and result models; shared types between workflows and activities; serialisable workflow state in params for Continue-As-New.
  • Determinism — No I/O or non-deterministic APIs in workflow code; use workflow.now(), workflow.random(), workflow.uuid4(); version workflow changes with patching when needed. See resources/determinism.md.
  • Bounded history — Long-running or unbounded list/queue workflows use Continue-As-New with state in params; drain in-flight work before continue_as_new when using N-in-flight. See resources/workflows-continue-as-new.md.
  • Reliability — Start-to-close timeout set for activities; schedule-to-close and retry policy as needed; heartbeats for long activities; idempotent design for side-effecting activities. See resources/reliability.md.
  • Testability — Business logic testable without Temporal; activity/workflow tests use ActivityEnvironment and time-skipping WorkflowEnvironment as appropriate. See resources/testing.md.

Resource index

Load only the resource(s) that match your task. SKILL.md (this file) is the entry point; resources hold the detailed guidance and examples.

Intent / taskResource(s) to load
Design or refactor an activity (class shape, deps, params/result, thin wrapper, heartbeats)resources/activities.md
Design or refactor an activity and care about timeouts, retries, or idempotencyresources/activities.md + resources/reliability.md
Implement or refactor a workflow with a list/queue, long-running, or Continue-As-Newresources/workflows-continue-as-new.md
Workflow code rules: determinism, replay, what’s allowed in workflow vs activity, versioning/patchingresources/determinism.md
Timeouts, retries, heartbeats, or idempotency for activitiesresources/reliability.md
Testing activities, workflows, or replay (ActivityEnvironment, WorkflowEnvironment, Replayer)resources/testing.md
Refactor existing workflow/activity (determinism, replay, testability)resources/workflows-continue-as-new.md and/or resources/activities.md + resources/determinism.md + resources/testing.md; add resources/reliability.md if timeouts/idempotency are involved
General “build a Temporal Python app”Start with this SKILL; add resources by sub-task (activity design → activities.md; workflow with list → workflows-continue-as-new.md; etc.)

Cross-references: Resources may point to other resources (e.g. “For idempotency see reliability.md”). Load those when the task requires it.


Out of scope

  • Worker bootstrap — Wiring task queues, registering workflows/activities, and process lifecycle are not covered here; see SDK and deployment docs.
  • Signals — Pushing data into running workflows via signals is not detailed; use SDK docs when needed.
  • Saga/compensation, search attributes, local activities — Out of scope for this skill; refer to Temporal docs for advanced patterns.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.69%
按下载量换算26

Claude

27.85%
按下载量换算20

Cursor

18.3%
按下载量换算13

Gemini CLI

8.85%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills