/dapr-skills:review-pubsub-subscriptionsfrom dapr-skills
Reviews Dapr pub/sub subscriptions and handlers in .NET, Python, and Java for CloudEvent handling, response statuses, idempotency, dead-letter handling, and duplicate subscriptions.
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 how an app receives Dapr pub/sub messages: declarative kind: Subscription files, programmatic subscriptions ([Topic], .WithTopic, DaprApp.subscribe, Java @Topic) and streaming subscriptions (Dapr.Messaging, subscribe_with_handler, Java subscribeToTopic). Checks CloudEvent handling, SUCCESS / RETRY / DROP responses, idempotency, dead-letter handling, match expressions, the same topic subscribed through two types, and declarative routes that have no endpoint. Read-only: this skill never modifies source files. Publishing code and component configuration are out of scope and are covered by review-pubsub-publishing 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, subscriptions, handler_files, subscription_files, plus publisher_files and run_files as context. If subscriptions is empty, emit the "Nothing to review" report defined in review-report-format.md with the reason no pub/sub subscription files found in <scope_root> (no rule id, not counted in Found:) and stop.language, read exactly one of:
subscriptions by type (declarative, programmatic, streaming). For each group, apply only the rules whose Types column includes that type (HTTP means declarative or programmatic) to the entries and their handlers. Then run the cross-type pass over all subscriptions together:
DPS-SUB-014 — the same pubsub and topic subscribed through two or more types in one app. Resolve scopes to app ids first.DPS-SUB-015 — a declarative routes.default or rules[].path with no matching POST endpoint in the app it is scoped to.../dapr-shared/review-report-format.md. Group by severity, then rule id, then file path. Put low-confidence findings (indirect side effects, handler files outside the scope) under ## Please verify.## 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, applicable subscription types and suggested fixes, lives in the loaded language checklist:
DPS-SUB-001 … DPS-SUB-016DPS-SUB-001 … DPS-SUB-016DPS-SUB-001 … DPS-SUB-020 (001, 003 and 011 reserved, 013 for the listener form only)A rule id that applies to only one language is reserved on the other side (DPS-SUB-001 and DPS-SUB-003 are .NET-only; DPS-SUB-011 is Python-only; DPS-SUB-013 applies to Python and to the Java listener form; DPS-SUB-016 applies to Python and Java; DPS-SUB-017 … DPS-SUB-020 are Java-only). Rule ids are stable across releases. New rules append; deprecated rule ids are reserved. Never reuse DWF-* or DAG-* ids.
Follow the checklist's streaming notes and confidence notes: never describe DROP as silently discarded, never report a missing appPort for a streaming-only app, do not suggest Drop for malformed JSON on a .NET streaming handler, and never suggest returning RETRY or DROP from a Java Flux consumer (subscribeToTopic; the SDK acks every event it emits). The deprecated Java listener form returns its own status.
If the scope has apps in more than one language, produce one report per language.
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-components next if it has not yet been run on this scope.review-pubsub-publishing next if any publisher files exist.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