name        = "temporal"
description = "Temporal Develop-with-AI: developer + cloud skills + temporal-docs MCP"
homepage    = "https://docs.temporal.io/with-ai"
tools       = ["claude"]
scope       = "both"
update      = "claude plugin marketplace update temporal-marketplace && claude plugin update temporal@temporal-marketplace && npx -y skills add https://github.com/temporalio/skill-temporal-cloud -g -y"
uninstall   = "claude plugin uninstall temporal@temporal-marketplace 2>/dev/null; claude plugin marketplace remove temporal-marketplace 2>/dev/null; rm -rf ~/.agents/skills/temporal-cloud; claude mcp remove --scope user temporal-docs 2>/dev/null || true"

[[artifacts]]
kind = "path"
path = "~/.claude/plugins/marketplaces/temporal-marketplace/skills/temporal-developer"

[[artifacts]]
kind = "path"
path = "~/.agents/skills/temporal-cloud"

[[prereq]]
name  = "claude"
check = "command -v claude"

[[install]]
id          = "plugin"
label       = "install dev plugin, add cloud skill, register MCP"
interactive = true
command     = "claude plugin marketplace add temporalio/claude-temporal-plugin && claude plugin install temporal@temporal-marketplace && npx -y skills add https://github.com/temporalio/skill-temporal-cloud -g -y && claude mcp add --scope user --transport http temporal-docs https://temporal.mcp.kapa.ai"

[[instructions]]
content = """
The `temporal-developer` skill provides expert knowledge of Temporal's
programming model — workflow determinism, activity patterns, retry
policies, testing, worker config, versioning, and common gotchas. The
`temporal-cloud` skill covers Temporal Cloud connectivity,
authentication, and configuration troubleshooting. The `temporal-docs`
MCP server (https://temporal.mcp.kapa.ai) gives the agent on-demand
access to Temporal's documentation; first use requires anonymous Google
authentication.

Mention Temporal concepts (workflows, activities, signals, queries,
workers, non-determinism, replay, continue-as-new, sagas, Cloud
namespaces, mTLS) in your request to trigger the skills.
"""
