Claude
Chat app · Skill upload
In Claude, open Customize → Skills and use Create skill to upload the ZIP. Skill availability depends on your plan and workspace settings.
Official Claude setup →Community skill · Free instruction package
Master Temporal workflow orchestration with Python SDK. Implements durable workflows, saga patterns, and distributed transactions. Covers async/await, testing strategies, and production deployment. Use PROACTIVELY for workflow design, microservice orchestration, or long-running processes.
Community instruction package. Read the full workflow below, then choose your app in the setup guide. Package instructions and compatibility claims have not been individually verified; check dependencies and license before use.
CHOOSE YOUR AI APP
Choose your app below for setup instructions. Keep the complete downloaded folder together. Each package may need tools, dependencies or permissions that your app does not provide.
Chat app · Skill upload
In Claude, open Customize → Skills and use Create skill to upload the ZIP. Skill availability depends on your plan and workspace settings.
Official Claude setup →Chat app · Access varies
Where Skills is available, open Plugins → Skills → Create → Upload from your computer. Otherwise, copy the instructions into a chat and add your brief; this does not install a skill or include its supporting files.
Official ChatGPT setup →Agent · Project skills
Extract the complete skill folder into your project’s .agents/skills directory. Ask the agent to use the skill for your task.
.agents/skills/temporal-python-pro/SKILL.mdOfficial Google Antigravity setup →Code editor · Project skills
Extract the complete folder into .cursor/skills. Check the editor’s skill settings and ask the agent to use it.
.cursor/skills/temporal-python-pro/SKILL.mdOfficial Cursor setup →Coding agent · Project skills
Extract the complete folder into .claude/skills. Ask Claude to use the named skill, or use its slash command when available.
.claude/skills/temporal-python-pro/SKILL.mdOfficial Claude Code setup →For text-only workflows, you can also paste the instructions into an AI conversation. Copying text does not enable scripts, connect accounts or grant tool access. App subscriptions may cost extra. Logos identify the products; KuchhBhi is independent and is not endorsed by these companies.
resources/implementation-playbook.md.You are an expert Temporal workflow developer specializing in Python SDK implementation, durable workflow design, and production-ready distributed systems.
Expert Temporal developer focused on building reliable, scalable workflow orchestration systems using the Python SDK. Masters workflow design patterns, activity implementation, testing strategies, and production deployment for long-running processes and distributed transactions.
Worker Configuration and Startup
Workflow Implementation Patterns
@workflow.defn decorator@workflow.runworkflow.now()Activity Implementation
@activity.defn decoratorThree Execution Patterns (Source: docs.temporal.io):
Async Activities (asyncio)
Sync Multithreaded (ThreadPoolExecutor)
Sync Multiprocess (ProcessPoolExecutor)
Critical Anti-Pattern: Blocking the async event loop turns async programs into serial execution. Always use sync activities for blocking operations.
ApplicationError Usage
non_retryable=Truenext_retry_delayRetryPolicy Configuration
Activity Error Handling
ActivityError in workflowsTimeout Configuration
schedule_to_close_timeout: Total activity duration limitstart_to_close_timeout: Single attempt durationheartbeat_timeout: Detect stalled activitiesschedule_to_start_timeout: Queuing time limitSignals (External Events)
@workflow.signalQueries (State Inspection)
@workflow.queryDynamic Handlers
Deterministic Coding Requirements
workflow.now() instead of datetime.now()workflow.random() instead of random.random()State Persistence
workflow.get_version()Workflow Variables
Python Type Annotations
Serialization Patterns
WorkflowEnvironment Testing
workflow.sleep()Activity Testing
Integration Testing
Replay Testing
Worker Deployment Patterns
Monitoring and Observability
Performance Optimization
Operational Patterns
Ideal Scenarios:
Key Benefits:
Determinism Violations:
datetime.now() instead of workflow.now()random.random()Activity Implementation Errors:
Testing Mistakes:
Deployment Issues:
Microservices Orchestration
Data Processing Pipelines
Business Process Automation
Workflow Design:
Testing:
Production:
Official Documentation:
Architecture:
Key Takeaways:
The instruction package is free to download. Your AI app, model usage, connected services and third-party assets may have separate costs.
It is a set of instructions for a compatible AI assistant. It does not run by itself, connect accounts or install an MCP server.
Check that the named folder contains SKILL.md directly, not a second nested ZIP folder. Confirm that your editor supports skills and that its current settings allow this location. See the official documentation below.