/dapr-skills:review-pubsub-publishingfrom dapr-skills
Reviews Dapr pub/sub publishing code in .NET, Python and Java for swallowed publish failures, content types, client lifetime and bulk-publish partial failures.
Ships in dapr-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Reviews the code that publishes events through Dapr pub/sub (PublishEventAsync, BulkPublishEventAsync, publish_event, publish_events, Java publishEvent / publishEvents and DaprMessagingTemplate, raw /v1.0/publish/ calls). Checks for unawaited or swallowed publish failures, a pub/sub name that matches no component, missing content types, client lifetime problems, ignored bulk-publish failures, tracing overrides and large payloads. Read-only: this skill never modifies source files. Subscribers, handlers and component YAML are out of scope and are covered by review-pubsub-subscriptions and review-pubsub-components.
You MUST follow these phases in strict order. Do not load files outside the agreed scope, and do not write or edit any files.
../dapr-shared/review-scope-prompt.md and follow it to set scope_root.../dapr-shared/review-detect-target-pubsub.md and follow it to produce language, publisher_files and component_files. If publisher_files is empty, emit the "Nothing to review" report defined in review-report-format.md with the reason no pub/sub publishing files found in <scope_root> (no rule id, not counted in Found:) and stop.language, read exactly one of:
dotnet or aspire → ../dapr-shared/review-pubsub-publishing-dotnet.mdpython → ../dapr-shared/review-pubsub-publishing-python.mdjava → ../dapr-shared/review-pubsub-publishing-java.mdpublisher_files against DPS-PUB-001 … DPS-PUB-012 (DPS-PUB-014 for java) as the checklist defines them. Resolve constants (PubSubNames.PubSubName, PUBSUB_NAME) and, for java, ${…} properties and DaprPubSubProperties.getName() before comparing names with component_files. Rules marked "reserved" for the loaded language do not apply. Honour the checklist's confidence notes: low-confidence matches go under ## Please verify, never under ## Critical.../dapr-shared/review-report-format.md. Group by severity, then rule id, then file path. If the scope holds more than one language, produce one report per language.## Next steps block defined by the report format. Clarifying questions are always allowed during the review (see the report format); once answered, the report is still your last output.Read, Grep, Glob only. The skill MUST NOT call Bash, Write, or Edit.
The full rule list, including detection patterns, severities, and suggested fixes, lives in the loaded language checklist:
DPS-PUB-001 … DPS-PUB-012 (004 and 011 reserved)DPS-PUB-001 … DPS-PUB-012DPS-PUB-001 … DPS-PUB-014 (004 and 011 reserved)Rule ids are stable across releases. New rules append; deprecated rule ids are reserved.
The last thing you emit MUST be the report from step 5, including the ## Next steps section. The ## Next steps block should suggest:
review-pubsub-subscriptions next if it has not yet been run on this scope.review-pubsub-components next if component, subscription or resiliency YAML exists.Do not add any text after the report.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub diagrid-labs/dapr-skills --plugin dapr-skills33 skills in this plugin
/add-pubsub-dotnetAdds Dapr pub/sub to an existing .NET (ASP.NET Core, plain or Aspire) project. Edits only after you approve a plan. Use for "add pub/sub to my .NET project" or "subscribe this ASP.NET app to a topic". For a new project use create-pubsub-dotnet./add-pubsub-pythonAdds Dapr pub/sub to an existing Python FastAPI app. Edits only after you approve a plan. Use for "add pub/sub to my FastAPI app" or "make this Python service subscribe to a Dapr topic". For a new app use create-pubsub-python./add-workflow-dotnetAdds Dapr Workflow, activities and management endpoints to an existing .NET (ASP.NET Core, plain or Aspire) project after you approve a plan. Use for "add a workflow to my .NET project" or "make this process a durable workflow". For a new project use create-workflow-dotnet. For Diagrid use the diagrid plugin./check-prereq-agent-dotnetChecks prerequisites for durable AI agents in .NET with Microsoft Agent Framework on Dapr Workflow. Use for "check prerequisites for .NET agents" or "verify .NET agent environment"./check-prereq-agent-pythonChecks prerequisites for durable AI agents in Python with the Dapr Agents SDK or diagrid package framework wrappers. Use for "check prerequisites for Python agents" or "verify Python agent environment"./check-prereq-aspireChecks prerequisites for Dapr Workflow apps with .NET Aspire. Use for "check prerequisites for Aspire" or "verify Aspire environment".Other plugins' skills for the same job