[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M736BT1AJST8G30942S0N4NF":3,"skill-same:01M736BT1AJST8G30942S0N4NF":84},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M736BT1AJST8G30942S0N4NF","workflow-development",null,"Implement custom AEM Workflow Java components on AEM as a Cloud Service. Use when writing WorkflowProcess steps, ParticipantStepChooser implementations, registering services via OSGi DS R6 annotations, reading step arguments from MetaDataMap, accessing JCR payload via WorkflowSession adapter, reading and writing workflow metadata and variables, and handling errors with WorkflowException for retry behavior.","kalash33\u002Fkstack","kalash33","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F90259149?v=4","01M7365X8Q0B73NYHA730SMZWN","Kalash Poddar","01M7365X9D0JK47C3Q0YCCK9Z2",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002FSKILL.md",[],[],"2026-11-11 15:11:14",false,"---\nname: workflow-development\ndescription: Implement custom AEM Workflow Java components on AEM as a Cloud Service. Use when writing WorkflowProcess steps, ParticipantStepChooser implementations, registering services via OSGi DS R6 annotations, reading step arguments from MetaDataMap, accessing JCR payload via WorkflowSession adapter, reading and writing workflow metadata and variables, and handling errors with WorkflowException for retry behavior.\nlicense: Apache-2.0\n---\n\n# Workflow Development (Cloud Service)\n\nImplement custom workflow components for AEM Cloud Service: `WorkflowProcess`, `ParticipantStepChooser`, OSGi registration, metadata handling, and error patterns.\n\n## Variant Scope\n\n- AEM Cloud Service only.\n- Use OSGi DS R6 annotations (`org.osgi.service.component.annotations.*`). Do not use Felix SCR.\n- Bundle goes into the `ui.apps` content package and is deployed via Cloud Manager pipeline.\n\n## Workflow\n\n```text\nDevelopment Progress\n- [ ] 1) Identify what the step does: process (auto) or participant (human) or dynamic participant\n- [ ] 2) Create Java class implementing WorkflowProcess or ParticipantStepChooser\n- [ ] 3) Register with correct @Component annotation and service property (process.label \u002F chooser.label)\n- [ ] 4) Read step arguments from MetaDataMap args (set in model editor)\n- [ ] 5) Access payload via item.getWorkflowData().getPayload().toString()\n- [ ] 6) Read\u002Fwrite workflow instance metadata via item.getWorkflowData().getMetaDataMap()\n- [ ] 7) Return normally to advance; throw WorkflowException to trigger retry\n- [ ] 8) Deploy bundle; verify process.label appears in Workflow Model Editor step picker\n```\n\n## WorkflowProcess Template (Cloud Service)\n\n```java\n@Component(\n    service = WorkflowProcess.class,\n    property = {\n        \"process.label=My Custom Process Step\",\n        \"service.description=Short description of what this step does\"\n    }\n)\npublic class MyCustomProcess implements WorkflowProcess {\n\n    private static final Logger LOG = LoggerFactory.getLogger(MyCustomProcess.class);\n\n    @Reference\n    private ResourceResolverFactory resolverFactory;\n\n    @Override\n    public void execute(WorkItem item, WorkflowSession session, MetaDataMap args)\n            throws WorkflowException {\n        \u002F\u002F 1. Read payload\n        WorkflowData data = item.getWorkflowData();\n        String payloadPath = data.getPayload().toString();\n\n        \u002F\u002F 2. Read step arguments\n        String recipient = args.get(\"recipient\", \"workflow-administrators\");\n        boolean createVersion = args.get(\"createVersion\", false);\n\n        \u002F\u002F 3. Read\u002Fwrite shared workflow metadata\n        MetaDataMap metadata = data.getMetaDataMap();\n        String status = metadata.get(\"approvalStatus\", \"PENDING\");\n        metadata.put(\"processedBy\", \"my-custom-step\");\n\n        \u002F\u002F 4. Access JCR if needed\n        try {\n            ResourceResolver resolver = session.adaptTo(ResourceResolver.class);\n            Resource resource = resolver.getResource(payloadPath);\n            \u002F\u002F ... do work ...\n        } catch (Exception e) {\n            LOG.error(\"Error in MyCustomProcess for payload {}\", payloadPath, e);\n            throw new WorkflowException(\"Failed: \" + e.getMessage(), e);\n        }\n        \u002F\u002F Return normally = step completes, workflow advances\n    }\n}\n```\n\n## ParticipantStepChooser Template\n\n```java\n@Component(\n    service = ParticipantStepChooser.class,\n    property = {\"chooser.label=Content Owner Chooser\"}\n)\npublic class ContentOwnerChooser implements ParticipantStepChooser {\n\n    @Override\n    public String getParticipant(WorkItem workItem, WorkflowSession session,\n                                 MetaDataMap args) throws WorkflowException {\n        String payloadPath = workItem.getWorkflowData().getPayload().toString();\n        try {\n            Session jcrSession = session.adaptTo(Session.class);\n            Node content = jcrSession.getNode(payloadPath + \"\u002Fjcr:content\");\n            if (content.hasProperty(\"cq:lastModifiedBy\")) {\n                return content.getProperty(\"cq:lastModifiedBy\").getString();\n            }\n        } catch (RepositoryException e) {\n            throw new WorkflowException(\"Cannot resolve participant\", e);\n        }\n        return args.get(\"fallbackParticipant\", \"content-authors\");\n    }\n}\n```\n\n## Guardrails\n\n- Never use `ResourceResolverFactory.loginAdministrative()`. Always use a service user sub-service.\n- Do not call `Session.save()` on the workflow session's JCR session for payload changes — use a separate ResourceResolver obtained from `resolverFactory.getServiceResourceResolver()`.\n- If a step must hold (not auto-advance), set `PROCESS_AUTO_ADVANCE=false` in the model metaData and use `TaskWorkflowProcess` or an external completion mechanism.\n\n## References\n\n- [process-step-patterns.md](.\u002Freferences\u002Fworkflow-development\u002Fprocess-step-patterns.md) — WorkflowProcess patterns: payload access, metadata, error handling\n- [participant-step-patterns.md](.\u002Freferences\u002Fworkflow-development\u002Fparticipant-step-patterns.md) — ParticipantStepChooser patterns and completing participant steps\n- [variables-and-metadata.md](.\u002Freferences\u002Fworkflow-development\u002Fvariables-and-metadata.md) — MetaDataMap, workflow variables, inter-step data\n- [api-reference.md](.\u002Freferences\u002Fworkflow-foundation\u002Fapi-reference.md)\n- [cloud-service-guardrails.md](.\u002Freferences\u002Fworkflow-foundation\u002Fcloud-service-guardrails.md)\n","# Workflow Development (Cloud Service)\n\nImplement custom workflow components for AEM Cloud Service: `WorkflowProcess`, `ParticipantStepChooser`, OSGi registration, metadata handling, and error patterns.\n\n## Variant Scope\n\n- AEM Cloud Service only.\n- Use OSGi DS R6 annotations (`org.osgi.service.component.annotations.*`). Do not use Felix SCR.\n- Bundle goes into the `ui.apps` content package and is deployed via Cloud Manager pipeline.\n\n## Workflow\n\n```text\nDevelopment Progress\n- [ ] 1) Identify what the step does: process (auto) or participant (human) or dynamic participant\n- [ ] 2) Create Java class implementing WorkflowProcess or ParticipantStepChooser\n- [ ] 3) Register with correct @Component annotation and service property (process.label \u002F chooser.label)\n- [ ] 4) Read step arguments from MetaDataMap args (set in model editor)\n- [ ] 5) Access payload via item.getWorkflowData().getPayload().toString()\n- [ ] 6) Read\u002Fwrite workflow instance metadata via item.getWorkflowData().getMetaDataMap()\n- [ ] 7) Return normally to advance; throw WorkflowException to trigger retry\n- [ ] 8) Deploy bundle; verify process.label appears in Workflow Model Editor step picker\n```\n\n## WorkflowProcess Template (Cloud Service)\n\n```java\n@Component(\n    service = WorkflowProcess.class,\n    property = {\n        \"process.label=My Custom Process Step\",\n        \"service.description=Short description of what this step does\"\n    }\n)\npublic class MyCustomProcess implements WorkflowProcess {\n\n    private static final Logger LOG = LoggerFactory.getLogger(MyCustomProcess.class);\n\n    @Reference\n    private ResourceResolverFactory resolverFactory;\n\n    @Override\n    public void execute(WorkItem item, WorkflowSession session, MetaDataMap args)\n            throws WorkflowException {\n        \u002F\u002F 1. Read payload\n        WorkflowData data = item.getWorkflowData();\n        String payloadPath = data.getPayload().toString();\n\n        \u002F\u002F 2. Read step arguments\n        String recipient = args.get(\"recipient\", \"workflow-administrators\");\n        boolean createVersion = args.get(\"createVersion\", false);\n\n        \u002F\u002F 3. Read\u002Fwrite shared workflow metadata\n        MetaDataMap metadata = data.getMetaDataMap();\n        String status = metadata.get(\"approvalStatus\", \"PENDING\");\n        metadata.put(\"processedBy\", \"my-custom-step\");\n\n        \u002F\u002F 4. Access JCR if needed\n        try {\n            ResourceResolver resolver = session.adaptTo(ResourceResolver.class);\n            Resource resource = resolver.getResource(payloadPath);\n            \u002F\u002F ... do work ...\n        } catch (Exception e) {\n            LOG.error(\"Error in MyCustomProcess for payload {}\", payloadPath, e);\n            throw new WorkflowException(\"Failed: \" + e.getMessage(), e);\n        }\n        \u002F\u002F Return normally = step completes, workflow advances\n    }\n}\n```\n\n## ParticipantStepChooser Template\n\n```java\n@Component(\n    service = ParticipantStepChooser.class,\n    property = {\"chooser.label=Content Owner Chooser\"}\n)\npublic class ContentOwnerChooser implements ParticipantStepChooser {\n\n    @Override\n    public String getParticipant(WorkItem workItem, WorkflowSession session,\n                                 MetaDataMap args) throws WorkflowException {\n        String payloadPath = workItem.getWorkflowData().getPayload().toString();\n        try {\n            Session jcrSession = session.adaptTo(Session.class);\n            Node content = jcrSession.getNode(payloadPath + \"\u002Fjcr:content\");\n            if (content.hasProperty(\"cq:lastModifiedBy\")) {\n                return content.getProperty(\"cq:lastModifiedBy\").getString();\n            }\n        } catch (RepositoryException e) {\n            throw new WorkflowException(\"Cannot resolve participant\", e);\n        }\n        return args.get(\"fallbackParticipant\", \"content-authors\");\n    }\n}\n```\n\n## Guardrails\n\n- Never use `ResourceResolverFactory.loginAdministrative()`. Always use a service user sub-service.\n- Do not call `Session.save()` on the workflow session's JCR session for payload changes — use a separate ResourceResolver obtained from `resolverFactory.getServiceResourceResolver()`.\n- If a step must hold (not auto-advance), set `PROCESS_AUTO_ADVANCE=false` in the model metaData and use `TaskWorkflowProcess` or an external completion mechanism.\n\n## References\n\n- [process-step-patterns.md](.\u002Freferences\u002Fworkflow-development\u002Fprocess-step-patterns.md) — WorkflowProcess patterns: payload access, metadata, error handling\n- [participant-step-patterns.md](.\u002Freferences\u002Fworkflow-development\u002Fparticipant-step-patterns.md) — ParticipantStepChooser patterns and completing participant steps\n- [variables-and-metadata.md](.\u002Freferences\u002Fworkflow-development\u002Fvariables-and-metadata.md) — MetaDataMap, workflow variables, inter-step data\n- [api-reference.md](.\u002Freferences\u002Fworkflow-foundation\u002Fapi-reference.md)\n- [cloud-service-guardrails.md](.\u002Freferences\u002Fworkflow-foundation\u002Fcloud-service-guardrails.md)\n",{"name":5,"license":15,"description":7},"main","b30820b3248f6676d5389f0ccabd4e5250c9c536","skills\u002Fadobe-aem-workflow\u002Fworkflow-development","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack","https:\u002F\u002Fgithub.com\u002Fkalash33","kalashpoddar.me","Tech-savvy Full Stack Developer 🚀 | Cybersecurity enthusiast 🔒 | Passionate about innovation and securing the digital world 🌐 | Let's code securely! 💻🔐","2026-05-20 04:11:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add kalash33\u002Fkstack --skill workflow-development",{"tool":38,"command":39},"bunx","bunx skills add kalash33\u002Fkstack --skill workflow-development",{"tool":41,"command":42},"pnpm","pnpm dlx skills add kalash33\u002Fkstack --skill workflow-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002FSKILL.md",true,[46,52,56,60,64,68,72,76,80],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fworkflow-development\u002Fparticipant-step-patterns.md","REFERENCE","参考文档",4739,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-development\u002Fparticipant-step-patterns.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fworkflow-development\u002Fprocess-step-patterns.md",4970,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-development\u002Fprocess-step-patterns.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Fworkflow-development\u002Fvariables-and-metadata.md",3237,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-development\u002Fvariables-and-metadata.md",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Fworkflow-foundation\u002Fapi-reference.md",3606,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002Fapi-reference.md",{"path":65,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":66,"sourceHtmlUrl":67},"references\u002Fworkflow-foundation\u002Farchitecture-overview.md",2363,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002Farchitecture-overview.md",{"path":69,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":70,"sourceHtmlUrl":71},"references\u002Fworkflow-foundation\u002Fcloud-service-guardrails.md",2724,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002Fcloud-service-guardrails.md",{"path":73,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":74,"sourceHtmlUrl":75},"references\u002Fworkflow-foundation\u002Fjcr-paths-reference.md",2481,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002Fjcr-paths-reference.md",{"path":77,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fworkflow-foundation\u002Fquick-start-guide.md",2038,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002Fquick-start-guide.md",{"path":81,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fworkflow-foundation\u002FREADME.md",826,"https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fadobe-aem-workflow\u002Fworkflow-development\u002Freferences\u002Fworkflow-foundation\u002FREADME.md",[85,93,100,107,114,121],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M73CFERCR43JCAP606E41EFB","zustand-store-ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reacti...","MIT","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzustand-store-ts\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":19},"01M73CFCMFVTAQEMTZ5HR10X8V","zoom-automation","Automate Zoom meeting creation, management, recordings, webinars, and participant tracking via Rube MCP (Composio). Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoom-automation\u002FSKILL.md",[],[],{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":19},"01M73CFAA7EBWXJVXDQ1X555MB","zoho-crm-automation","Automate Zoho CRM tasks via Rube MCP (Composio): create\u002Fupdate records, search contacts, manage leads, and convert leads. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzoho-crm-automation\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":19},"01M73CF80XCM9K81567MJ8QZFW","zod-validation-expert","Expert in Zod — TypeScript-first schema validation. Covers parsing, custom errors, refinements, type inference, and integration with React Hook Form, Next.js, and tRPC.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzod-validation-expert\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":19},"01M73CF4YPMF3RA8ZJDXZSMD93","zeroize-audit","Detects missing zeroization of sensitive data in source code and identifies zeroization removed by compiler optimizations, with assembly-level analysis, and control-flow verification. Use for auditing C\u002FC++\u002FRust code handling secrets, keys, passwords, or other sensitive data.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzeroize-audit\u002FSKILL.md",[],[],{"skillNo":122,"name":123,"nameZh":6,"description":124,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":89,"licenseFileUrl":6,"sourceHtmlUrl":125,"categories":126,"keywords":127,"publishedAt":19},"01M73CF2S25EN3XNAMKY47XHPS","zendesk-automation","Automate Zendesk tasks via Rube MCP (Composio): tickets, users, organizations, replies. Always search tools first for current schemas.","https:\u002F\u002Fgithub.com\u002Fkalash33\u002Fkstack\u002Fblob\u002Fmain\u002Fskills\u002Fzendesk-automation\u002FSKILL.md",[],[]]