[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6CT2EMPT1RZWWBZTNXNNW8P":3,"skill-same:01M6CT2EMPT1RZWWBZTNXNNW8P":60},{"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":23,"linkOnly":24,"markdownContent":25,"markdownBody":26,"frontMatter":27,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":14,"repositoryHtmlUrl":33,"repositoryHomepageUrl":6,"ownerHtmlUrl":34,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":35,"install":36,"resources":49},"01M6CT2EMPT1RZWWBZTNXNNW8P","correlation",null,"Cross-service error correlation using trace IDs and run IDs across the Lucid platform","lucid-fdn\u002Flucid-plugins","lucid-fdn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F93290671?v=4","01M6CT12EHKN5DWVD9NAK6WSXT","Lucid","01M6CT12K0ARYZ8D28MK4G89F8",0,"MIT","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-observability\u002Fskill\u002Freferences\u002Fcorrelation\u002FSKILL.md",[],[5,19,20,21,22],"run","sentry","ids","trace","2026-11-10 10:12:30",false,"---\nname: correlation\ndescription: \"Cross-service error correlation using trace IDs and run IDs across the Lucid platform\"\nrequires:\n  mcps: [sentry]\n---\n\n# Cross-Service Correlation\n\nCorrelate errors across services using trace IDs and run IDs to detect cascading failures.\n\n## Prerequisites\n\n- **Sentry MCP**: `search_issues`, `get_issue_details`\n\n## Correlation Procedure\n\n### Step 1: Extract Correlation IDs\n\nFrom the issue being investigated, look for these tags:\n- `trace_id` — W3C Trace Context ID (32-char hex)\n- `run_id` — Lucid run UUID (links all operations in a single user request)\n\nIf neither exists, correlation is not possible. Check that `enrichSentryEvent()` is called in `beforeSend` to attach these tags.\n\n### Step 2: Search Across All Projects\n\nUse Sentry MCP `search_issues` with query `trace_id:{id}` (or `run_id:{id}`) for each of these projects:\n- `lucid-web`\n- `lucid-worker`\n- `lucid-l2`\n- `lucid-trustgate`\n- `lucid-mcpgate`\n- `javascript-nextjs`\n\n**Rate limit strategy**: Search 6 projects in a batch (all at once is fine for 6 projects).\n\n### Step 3: Deduplicate and Sort\n\n- Deduplicate results by issue ID (same issue may appear in multiple searches)\n- Sort by `lastSeen` descending (newest first)\n- Note which services are affected\n\n### Step 4: Detect Cascade\n\nIf errors appear in **more than one service** for the same trace:\n- **Cascade detected** — this is a cross-service failure\n- Investigate the **oldest error first** (likely the root cause)\n- The error propagation path usually follows the service dependency graph\n\nIf errors appear in **only one service**:\n- Isolated failure — no cascade\n- Focus diagnosis on that single service\n\nIf **no errors found**:\n- Verify `enrichSentryEvent()` is called in `beforeSend` to attach `trace_id` and `run_id` tags\n- The trace may exist in OTel but not have triggered Sentry errors\n\n### Step 5: Build Timeline\n\nPresent the correlated issues as a timeline:\n1. Service name + Sentry project\n2. Issue title and severity\n3. Event count and user count\n4. First seen and last seen timestamps\n5. Analysis: which service was the origin, which were downstream effects\n\n## Service Dependencies\n\nSee [references\u002Fservices.md](references\u002Fservices.md) for the full service topology and dependency graph.\n\n## Trace Flow\n\nSee [references\u002Ftrace-flow.md](references\u002Ftrace-flow.md) for how traces propagate between services.\n","# Cross-Service Correlation\n\nCorrelate errors across services using trace IDs and run IDs to detect cascading failures.\n\n## Prerequisites\n\n- **Sentry MCP**: `search_issues`, `get_issue_details`\n\n## Correlation Procedure\n\n### Step 1: Extract Correlation IDs\n\nFrom the issue being investigated, look for these tags:\n- `trace_id` — W3C Trace Context ID (32-char hex)\n- `run_id` — Lucid run UUID (links all operations in a single user request)\n\nIf neither exists, correlation is not possible. Check that `enrichSentryEvent()` is called in `beforeSend` to attach these tags.\n\n### Step 2: Search Across All Projects\n\nUse Sentry MCP `search_issues` with query `trace_id:{id}` (or `run_id:{id}`) for each of these projects:\n- `lucid-web`\n- `lucid-worker`\n- `lucid-l2`\n- `lucid-trustgate`\n- `lucid-mcpgate`\n- `javascript-nextjs`\n\n**Rate limit strategy**: Search 6 projects in a batch (all at once is fine for 6 projects).\n\n### Step 3: Deduplicate and Sort\n\n- Deduplicate results by issue ID (same issue may appear in multiple searches)\n- Sort by `lastSeen` descending (newest first)\n- Note which services are affected\n\n### Step 4: Detect Cascade\n\nIf errors appear in **more than one service** for the same trace:\n- **Cascade detected** — this is a cross-service failure\n- Investigate the **oldest error first** (likely the root cause)\n- The error propagation path usually follows the service dependency graph\n\nIf errors appear in **only one service**:\n- Isolated failure — no cascade\n- Focus diagnosis on that single service\n\nIf **no errors found**:\n- Verify `enrichSentryEvent()` is called in `beforeSend` to attach `trace_id` and `run_id` tags\n- The trace may exist in OTel but not have triggered Sentry errors\n\n### Step 5: Build Timeline\n\nPresent the correlated issues as a timeline:\n1. Service name + Sentry project\n2. Issue title and severity\n3. Event count and user count\n4. First seen and last seen timestamps\n5. Analysis: which service was the origin, which were downstream effects\n\n## Service Dependencies\n\nSee [references\u002Fservices.md](references\u002Fservices.md) for the full service topology and dependency graph.\n\n## Trace Flow\n\nSee [references\u002Ftrace-flow.md](references\u002Ftrace-flow.md) for how traces propagate between services.\n",{"name":5,"requires":28,"description":7},{"mcps":29},[20],"main","60a187a694df4ce725464b7578e08ad46a73340f","lucid-observability\u002Fskill\u002Freferences\u002Fcorrelation","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins","https:\u002F\u002Fgithub.com\u002Flucid-fdn","2026-03-26 06:06:06",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add lucid-fdn\u002Flucid-plugins --skill correlation",{"tool":42,"command":43},"bunx","bunx skills add lucid-fdn\u002Flucid-plugins --skill correlation",{"tool":45,"command":46},"pnpm","pnpm dlx skills add lucid-fdn\u002Flucid-plugins --skill correlation","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-observability\u002Fskill\u002Freferences\u002Fcorrelation\u002FSKILL.md",true,[50,56],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Fservices.md","REFERENCE","参考文档",1631,"https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-observability\u002Fskill\u002Freferences\u002Fcorrelation\u002Freferences\u002Fservices.md",{"path":57,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Ftrace-flow.md",1414,"https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-observability\u002Fskill\u002Freferences\u002Fcorrelation\u002Freferences\u002Ftrace-flow.md",[61,70,95,107,123,142],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":23},"01M6CT442ZA942TW2E4GM9B47B","lucid-PLUGIN_NAME","PLUGIN_DESCRIPTION","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Ftemplates\u002Fplugin-template\u002Fdocs\u002FSKILL.md",[],[68,69],"lucid PLUGIN NAME","plugin",{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":86,"publishedAt":23},"01M6CT41PA1EKESRMFV5V775TW","social-content","Generate short-form video content optimized for social media platforms","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fsocial-content\u002FSKILL.md",[76,81],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000016","图像与多媒体","SCENARIO","使用场景",{"categoryNo":82,"categoryName":83,"taxonomyType":84,"taxonomyTypeDesc":85},"01JBSEEDCAT000000000000036","内容创作者","PROFESSION","适用职业",[87,88,89,90,91,92,93,94],"social","social content","content","short","social media","Media","Video","generate",{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":102,"publishedAt":23},"01M6CT3Z4SPEJQYJNZ60ZBDKMF","personalized-outreach","Generate 1:1 personalized video for sales prospecting and customer success","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fpersonalized-outreach\u002FSKILL.md",[101],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},[103,94,104,93,105,106],"personalized outreach","sales","prospecting","customer",{"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":15,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":116,"publishedAt":23},"01M6CT3WH4C1TMMSWY25XBEM19","data-reports","Generate animated data report videos from KPIs, charts, and analytics","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002Freferences\u002Fdata-reports\u002FSKILL.md",[113],{"categoryNo":114,"categoryName":115,"taxonomyType":84,"taxonomyTypeDesc":85},"01JBSEEDCAT000000000000033","数据分析师",[117,118,119,120,121,94,122],"data","data reports","reports","Charts","report","analytics",{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":133,"publishedAt":23},"01M6CT3TJTWDVGM0CY356RS99V","lucid-video","Agent-native video generation using Remotion — MCP server + OpenClaw plugin","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-video\u002Fskill\u002FSKILL.md",[129,130],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},{"categoryNo":131,"categoryName":132,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000023","Skill与智能体开发",[134,93,135,136,137,138,139,140,141,69],"lucid video","server","MCP","openclaw","mcp server","openclaw plugin","video generation","Remotion",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":23},"01M6CT3RP3ZWEJBA5Q3X8J4XV4","lucid-veille","Content monitoring, AI digest generation, and multi-platform auto-publishing","https:\u002F\u002Fgithub.com\u002Flucid-fdn\u002Flucid-plugins\u002Fblob\u002Fmain\u002Flucid-veille\u002Fskill\u002Freferences\u002Flucid-veille\u002FSKILL.md",[],[149,150,151,152,153,154,89],"lucid veille","supabase","monitoring","auto","publishing","digest"]