with one click
temporal-query
Add a
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Add a
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Develop IntelliJ Platform plugins (IDEA / PhpStorm / etc.) following the official JetBrains SDK guidelines. Use when the user asks to add an extension point, service, action, listener, inspection, index, tool window, notification, run configuration, or any other platform-level plugin feature. This is the general platform skill — for this project's specific conventions also consult /kotlin-dev.
Write new Kotlin code for this IntelliJ Platform plugin following the project's common/languages architecture, Extension Point pattern, and performance/naming rules. Use whenever the user asks to "add a Kotlin class", "implement an inspection", "add an action", "create a service", "write a completion provider", or any new plugin-side feature.
Write JUnit 4 + IntelliJ Platform Test Framework tests in Kotlin for this plugin (inspections, indexes, endpoint providers, EP implementations, PSI helpers, run configs). Use when the user asks to "add a test", "write a test", "cover X with tests", or "bootstrap the test suite".
Scaffold an official Temporal PHP Activity (interface + implementation) using
Scaffold invocation of a child Temporal workflow from a parent workflow using ChildWorkflowOptions. Use when the user asks to "call a child workflow", "invoke child workflow", or "start child workflow".
Scaffold a Temporal Saga compensation pattern inside a PHP workflow using the official \Temporal\Internal\Workflow\ActivityProxy / Saga helper. Use when the user asks for "saga", "compensation", or "rollback pattern".
| name | temporal-query |
| description | Add a |
Add a query handler to a workflow. Queries are synchronous, read-only peeks into workflow state — they must be pure, deterministic, and cheap.
getStatus)<Workflow>Interface.phpuse Temporal\Workflow\QueryMethod;
#[QueryMethod(name: '{{queryName}}')]
public function {{queryName}}(): {{returnType}};
<Workflow>.phppublic function {{queryName}}(): {{returnType}}
{
return $this->{{field}};
}
WorkflowQueryException.__) are handled by Temporal itself —
don't collide with them.$stub = $workflowClient->newRunningWorkflowStub({{Workflow}}Interface::class, $workflowId);
$status = $stub->{{queryName}}();