Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

workflow-debugging

БесплатноБез исполняемых скриптовНе проверен

Debug AEM Workflow issues on AEM as a Cloud Service — stuck workflows, failed steps, missing Inbox tasks, launcher failures, stale instances, thread pool…

adobeот adobe★ 342 звезды на GitHub

Об этом скилле

AEM Workflow Debugging — Cloud Service

Production-grade debugging for the AEM Granite Workflow engine, launcher, Inbox, Sling Jobs, thread pools, and purge on AEM as a Cloud Service (AEMaaCS).

Audience

AEMaaCS developers and operators (and the IDE LLM acting on their behalf) diagnosing stuck or failed workflows on a local AEMaaCS SDK or a cloud environment — Developer Console, Sling Job Console, and Cloud Manager Logs available; no production Felix Console JMX or filesystem access.

Variant Scope

  • AEM as a Cloud Service only.
  • Not for AEM 6.5 LTS / AMS. If the target is 6.5 LTS, stop and load the 6.5-lts variant of this skill — JMX-based remediation, Felix Console runtime config, AMS log filesystem access, and jstack thread dumps documented there do not apply on AEMaaCS.
  • No JMX access on AEMaaCS production. Diagnosis is read-only via Developer Console, Sling Job Console, and Cloud Manager Logs. Never recommend JMX-based remediation (restartStaleWorkflows, purgeCompleted, terminate, retryFailedWorkItems) — those are 6.5-LTS-only mechanisms. Use Inbox Retry, Purge Scheduler (OSGi config in Git), custom servlets like StaleWorkflowServlet, and Cloud Manager pipeline-driven config changes instead.
  • All remediation lands via Git + Cloud Manager pipeline: OSGi configs in ui.config, custom servlets in core, ACLs in ui.apps/.../repoinit. There is no Felix Console write access on cloud environments.
  • See reference.md for runbook locations and diagnostic tool pointers.

Dependencies

This skill is largely self-contained but routes back into the dev skills when the root cause is a code or model defect:

  • workflow-development — when the diagnosis is "process step throws / not registered / leaks resources"
  • workflow-model-design — when the diagnosis is "model has wrong split rule / missing transition / wrong step type"
  • workflow-launchers — when the diagnosis is "launcher not firing / re-trigger loop"
  • workflow-triaging — load instead of this skill if the user is mining Cloud Manager Logs across multiple environments rather than diagnosing one

When to use this skill

  • Workflow stuck, not progressing, failed, not starting, task not in Inbox, purge/repository bloat, permissions, queue backlog, thread pool exhaustion, auto-advancement not working.
  • User provides thread dumps, Sling Job console output, or error.log excerpts from Cloud Manager.
  • Environment: AEM as a Cloud Service (no JMX; use Developer Console, Cloud Manager logs).

Step 1: Map symptom to first action

Symptom symptom_id First action
Workflow stuck (not advancing) workflow_stuck_not_progressing Open instance; note current step type. No work item → stale.
Task not in Inbox task_not_in_inbox Confirm Participant step; assignee = logged-in user; Inbox filters.
Workflow not starting (launcher) workflow_not_starting_launcher Launcher enabled; path/event match payload.
Workflow fails or shows error workflow_fails_or_shows_error Instance history; error.log for instance ID; payload and process.
Step failed, retries exhausted step_failed_retries_exhausted Logs → process.label → Inbox Retry, or bulk via custom servlet (see Step 6).
Stale (no current work item) stale_workflow_no_work_item Deploy a custom StaleWorkflowServlet to your core bundle (a privileged endpoint — secure it per the Step 6 checklist first); invoke with ?dryRun=true.
Repository bloat / too many instances repository_bloat_too_many_instances Purge Scheduler OSGi config in Git (PID: com.adobe.granite.workflow.purge.Scheduler).
User cannot see or complete item user_cannot_see_or_complete_item Assignee / initiator / superuser group; enforce*Permissions flags.
Cannot delete model cannot_delete_model Count RUNNING instances via Workflow Console → terminate → delete model.
Slow throughput / queue backlog slow_throughput_queue_backlog Sling Job statistics; Granite Workflow Queue queue.maxparallel; Sling thread pool.
Auto-advancement not working workflow_auto_advance_failure Check default thread pool saturation; Sling Scheduler; timeout jobs.
New workflow not working workflow_setup_validation Model sync, launcher, process registration, permissions.

Step 2: Decision tree (workflow stuck)

  1. No current work item? → Stale. Deploy a custom StaleWorkflowServlet to your core bundle — this is a privileged endpoint; secure it per the checklist in Step 6 before deploying. Call GET /bin/support/workflow/stale?dryRun=true to enumerate, then POST ...?dryRun=false to restart.
  2. Participant step → Assignee exists? Inbox visible? Payload accessible? Dynamic participant resolver returning correct user?
  3. Process step → Search error.log for instance ID. Check: process.label registered, payload path exists, bundle active, no excepti
Полный SKILL.md на GitHub

Установить workflow-debugging в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

reference.md

FAQ

Что делает скилл workflow-debugging?

Debug AEM Workflow issues on AEM as a Cloud Service — stuck workflows, failed steps, missing Inbox tasks, launcher failures, stale instances, thread pool exhaustion, queue backlogs, purge failures, and permissions errors. Use when the user reports workflow problems on Cloud Service, asks why a workflow is stuck or failed, needs step-by-step troubleshooting, or provides thread dumps, configuration status output, or Sling Job console output for analysis.

Как установить скилл workflow-debugging?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл workflow-debugging запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить workflow-debugging с