跳到正文
cccskills
免费在 GitHub 公开

workflow-orchestrator

Master entry point for all AEM Workflow tasks on Cloud Service spanning development and production support

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(7)

  • SKILL.md9.5 KB
  • references/workflow-foundation/api-reference.md3.5 KB
  • references/workflow-foundation/architecture-overview.md2.3 KB
  • references/workflow-foundation/cloud-service-guardrails.md2.7 KB
  • references/workflow-foundation/jcr-paths-reference.md2.4 KB
  • references/workflow-foundation/quick-start-guide.md2.0 KB
  • references/workflow-foundation/README.md826 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Workflow Orchestrator — AEM as a Cloud Service

Purpose

This is the master entry point for all AEM Workflow tasks on Cloud Service — spanning both development (building workflows) and production support (debugging and triaging workflow issues). Read this skill first. It classifies the user's request and routes to the right sub-skill.

How to Use This Skill

  1. Read the user's request carefully
  2. Classify it using the Task Classifier table below
  3. Load the identified sub-skill's SKILL.md and its references
  4. For development tasks, always load the workflow-foundation references alongside the sub-skill references
  5. For production-support tasks, the debugging and triaging skills are self-contained

Task Classifier

Development Skills

User Says / AsksSub-Skill to Load
"Create a workflow model", "Add steps to a workflow", "Design an OR split", "I need a parallel review"workflow-model-design
"Implement a custom process step", "Write a WorkflowProcess", "Create a ParticipantStepChooser", "Dynamic participant"workflow-development
"Start a workflow from code", "Trigger a workflow via API", "Use Manage Publication with a workflow", "HTTP REST API to start a workflow"workflow-triggering
"Configure a launcher", "Auto-start on asset upload", "Launcher not firing", "cq:WorkflowLauncher", "Overlay an OOTB launcher"workflow-launchers
"How do workflows work?", "Explain workflow architecture"Load workflow-foundation references only

Production Support Skills

User Says / AsksSub-Skill to Load
"Workflow is stuck", "Why isn't my workflow advancing?", "No work item", "Workflow failed", "Step shows error"workflow-debugging
"Task not in Inbox", "User can't see work item", "Permissions error on workflow"workflow-debugging
"Thread pool exhausted", "Auto-advancement not working", "Queue backlog", "Sling Jobs stuck"workflow-debugging
"Repository bloat", "Too many workflow instances", "Purge not working", "Stale workflows"workflow-debugging
"What workflow errors on host X?", "Workflow activity for the past N hours", "What should I collect?"workflow-triaging
"Classify this workflow ticket", "What Splunk query should I use?", "What logs do I need?"workflow-triaging
"Why did workflow X fail? Show me the error.", "Failure details for model Y"workflow-triaging

Routing heuristic:

  • Building/implementing workflows → development skills (workflow-model-design, workflow-development, workflow-triggering, workflow-launchers)
  • Deep troubleshooting (decision trees, config checks, thread analysis, remediation) → workflow-debugging
  • Incident classification (symptom → runbook, log patterns, Splunk, data gathering) → workflow-triaging
  • When both debugging and triaging apply, start with workflow-triaging to classify, then workflow-debugging for resolution

Reference Loading Order

For every workflow task on Cloud Service, load in this order:

Step 1: Always load these foundation references

workflow-orchestrator/references/workflow-foundation/architecture-overview.md
workflow-orchestrator/references/workflow-foundation/api-reference.md
workflow-orchestrator/references/workflow-foundation/jcr-paths-reference.md
workflow-orchestrator/references/workflow-foundation/cloud-service-guardrails.md
workflow-orchestrator/references/workflow-foundation/quick-start-guide.md

Step 2: Load the sub-skill's SKILL.md

workflow-model-design/SKILL.md         ← for model design tasks
workflow-development/SKILL.md          ← for Java implementation tasks
workflow-triggering/SKILL.md           ← for start/trigger tasks
workflow-launchers/SKILL.md            ← for launcher config tasks
workflow-debugging/SKILL.md            ← for production debugging tasks
workflow-triaging/SKILL.md             ← for incident triage tasks

Step 3: Load the sub-skill's topic references

workflow-model-design:

workflow-model-design/references/workflow-model-design/step-types-catalog.md
workflow-model-design/references/workflow-model-design/model-xml-reference.md
workflow-model-design/references/workflow-model-design/model-design-patterns.md

workflow-development:

workflow-development/references/workflow-development/process-step-patterns.md
workflow-development/references/workflow-development/participant-step-patterns.md
workflow-development/references/workflow-development/variables-and-metadata.md

workflow-triggering:

workflow-triggering/references/workflow-triggering/triggering-mechanisms.md
workflow-triggering/references/workflow-triggering/programmatic-api.md

workflow-launchers:

workflow-launchers/references/workflow-launchers/launcher-config-reference.md
workflow-launchers/references/workflow-launchers/condition-patterns.md

workflow-debugging:

workflow-debugging/SKILL.md
workflow-debugging/reference.md

workflow-triaging:

workflow-triaging/SKILL.md

Cloud Service Production Support Constraints

ConstraintDetail
No JMXNo retryFailedWorkItems, countStaleWorkflows, restartStaleWorkflows, purgeCompleted via JMX
Retry failed itemsInbox Retry only
Stale detectionCustom API/script only
PurgePurge Scheduler (OSGi config in Git)
Log accessCloud Manager → Environments → Logs (download / streaming)
Thread dumpsDeveloper Console or support request
Config changesCode in Git + Cloud Manager pipeline deploy

AEM Cloud Service Guardrails Summary

Before doing anything, apply these non-negotiable constraints:

RuleDetail
/libs is immutableNever write to /libs; use /conf/global/ or /apps/ overlays
Model design-time path/conf/global/settings/workflow/models/<id>
Model runtime path (for API calls)/var/workflow/models/<id>
Launcher config path/conf/global/settings/workflow/launcher/config/
Service usersAlways use workflow-process-service sub-service; never admin credentials
OSGi annotationsUse DS R6 (@Component, @Reference from org.osgi.service.component.annotations)
Deploy viaCloud Manager pipeline — no Package Manager in production
No javax.jcr.Session.loginAdministrativeUse ResourceResolverFactory.getServiceResourceResolver()

Full detail: references/workflow-foundation/cloud-service-guardrails.md


Quick Architecture Recap

Author tier
  │
  ├── Content Author
  │     └── triggers via: Timeline UI / Manage Publication
  │
  ├── Custom code (OSGi service / event handler / scheduler)
  │     └── triggers via: WorkflowSession.startWorkflow()
  │
  └── Workflow Launcher (cq:WorkflowLauncher)
        └── triggers via: JCR observation events
              ↓
        Granite Workflow Engine
              ↓
        Workflow Instance (/var/workflow/instances/)
              ↓
        Steps executed as Sling Jobs:
          - PROCESS step  → WorkflowProcess.execute()
          - PARTICIPANT step → inbox task for user/group
          - DYNAMIC_PARTICIPANT → ParticipantStepChooser.getParticipant()
          - OR_SPLIT → route expression evaluates to true/false
          - AND_SPLIT → parallel branches, AND_JOIN waits for all

Common Task Patterns (End-to-End)

Pattern A: New custom approval workflow

  1. Load workflow-model-design + workflow-development sub-skills
  2. Design model: START → PARTICIPANT (reviewer) → PROCESS (approve/reject logic) → END
  3. Implement WorkflowProcess for the approve/reject step
  4. Deploy model XML to /conf/global/settings/workflow/models/
  5. Deploy OSGi bundle with the process step

Pattern B: Auto-process content on upload

  1. Load workflow-launchers sub-skill
  2. Configure a cq:WorkflowLauncher for NODE_ADDED on the DAM path
  3. Point it to your workflow model at /var/workflow/models/
  4. Deploy launcher config to /conf/global/settings/workflow/launcher/config/

Pattern C: Programmatically batch-start workflows

  1. Load workflow-triggering sub-skill
  2. Implement WorkflowStarterService using ResourceResolverFactory + WorkflowSession
  3. Map sub-service workflow-starter to workflow-process-service
  4. Deploy and trigger from a Sling Scheduler or Servlet

Pattern D: "Workflow errors on host X for the past 4 hours"

  1. Load workflow-triaging → classify as workflow_fails_or_shows_error
  2. Suggest Splunk / Cloud Manager log search for Error executing workflow step on host + time range
  3. If errors found, load workflow-debugging → map to runbook, walk decision tree
  4. Return: symptom_id, runbook, evidence, remediation

Pattern E: "Workflow stuck — not advancing"

  1. Load workflow-debugging → classify as workflow_stuck_not_progressing
  2. Follow decision tree: check for work item → step type → specific checks
  3. If thread pool suspected, guide thread dump analysis (Developer Console)
  4. Return: root cause, config fix (via Git), remediation steps

References in This Skill

references/workflow-foundation/architecture-overview.md
references/workflow-foundation/api-reference.md
references/workflow-foundation/jcr-paths-reference.md
references/workflow-foundation/cloud-service-guardrails.md
references/workflow-foundation/quick-start-guide.md

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Analyzes a multi-step conversion funnel to find where visitors drop off and which steps have the worst leakage. Use this skill when someone describes a journey and asks about conversion rates, drop-off, fallout, or step completion. Trigger for "analyze our checkout funnel," "where are visitors dropping off," "what's our add-to-cart to purchase conversion rate," "funnel analysis," "show me fallout between steps," or "which step loses the most visitors."

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

Generates a concise, executive-ready performance summary covering key metrics, trends, and what's driving movement. Use this skill when someone needs to produce a briefing, executive summary, performance narrative, or stakeholder readout — for example, "write an exec summary of last week's performance," "create a performance briefing for our leadership team," "produce a monthly business review summary," "what should I tell executives about our metrics," or "generate a performance narrative." Also trigger for "QBR summary," "weekly business review," or "stakeholder briefing."

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

Produces a compact KPI digest showing how key metrics changed over a period and what's driving the movement. Use this skill when someone asks for a performance summary, a weekly recap, a morning briefing, a KPI update, or any variation of "how did we do this week/month." Also trigger for "give me a performance overview," "what moved in the last 7 days," "pull our AA KPI report," or "summarize our metrics."

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

Compares the performance of two or more audience segments across key metrics side by side. Use this skill when someone wants to compare audiences or visitor groups — for example, "how do mobile visitors compare to desktop on conversion," "compare new vs. returning visitors," "show me the difference between these two segments," "compare these audiences on our KPIs," or "which segment performs better." Also trigger for "segment comparison" or "audience comparison."

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

Identifies which items (pages, campaigns, products, channels, regions) had the biggest increases or decreases for a key metric between two time periods. Use this skill when someone asks "what's up and what's down," "which campaigns moved the most," "top gainers and losers," "what pages are trending," "show me what changed by channel," or any variation of identifying the biggest movers and decliners for a metric.

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

Scan an AEM Edge Delivery Services page for WCAG 2.1 AA accessibility violations and generate specific fixes. Identifies missing alt text, heading hierarchy issues, link text problems, color contrast concerns, and EDS-specific accessibility patterns. Use when fixing accessibility issues, preparing for compliance audits, or remediating WCAG violations.

中文简介正在准备中。当前显示原文说明。

aemgdc/aemdev22026年10月18日 更新

查看 aemgdc 的全部技能

报告此技能的问题