[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BV00KBQ4YVFEHFT6ZMGKKS":3,"skill-same:01M6BV00KBQ4YVFEHFT6ZMGKKS":77},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":49,"linkOnly":50,"markdownContent":51,"markdownBody":52,"frontMatter":53,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":17,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6BV00KBQ4YVFEHFT6ZMGKKS","ci-investigate","CI 不稳定失败排查","Investigate flaky CI failures across multiple workflow runs to identify patterns, categorize root causes, and propose fixes. Use when asked to investigate CI failures, find flaky tests, diagnose test flakiness, or understand why CI is failing repeatedly.","调查多次工作流运行中的 CI 不稳定失败，以识别规律、归类根本原因并提出修复建议。当被要求调查 CI 失败、查找不稳定测试、诊断测试抖动或理解 CI 为何反复失败时使用。","drn\u002Fdots","drn","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F885841?v=4","01M6BTZJR7B1RVQRJKP0S70DQS","Darren Cheng","01M6BTZJWXCK41P3Z50BV8KWD9",23,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fci-investigate\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],"ci","investigate","ci investigate","categorize","failing","when","fixes","root","understand","tests","across","patterns","workflow","use","find","why","diagnose","test","2026-11-10 10:12:30",false,"---\nname: ci-investigate\ndescription: Investigate flaky CI failures across multiple workflow runs to identify patterns, categorize root causes, and propose fixes. Use when asked to investigate CI failures, find flaky tests, diagnose test flakiness, or understand why CI is failing repeatedly.\n---\n\n# CI Failure Investigator\n\nInvestigate flaky CI failures across multiple workflow runs to identify patterns, categorize root causes, and propose targeted fixes.\n\n## Arguments\n\n- `$ARGUMENTS` - Optional: job name filter, number of runs to check, or branch name. Examples: \"test-core-rspec\", \"--runs 10\", \"master\"\n\nIf no arguments are provided, investigate the most recent failing workflow on the current branch.\n\n## Context\n\n- Current branch: !`git branch --show-current`\n- Repo remote: !`git remote get-url origin 2>\u002Fdev\u002Fnull | head -1`\n- CI config: !`find . -maxdepth 2 \\( -name \".circleci\" -o -name \".github\" \\) -type d 2>\u002Fdev\u002Fnull | head -5`\n- CircleCI config snippet: !`head -30 .circleci\u002Fconfig.yml 2>\u002Fdev\u002Fnull | head -30`\n\n## Instructions\n\nInvestigate CI failures by fetching multiple workflow runs, extracting test results, and categorizing failure patterns.\n\n### Step 1: Determine Scope\n\nParse `$ARGUMENTS` for:\n- **Job name filter** (e.g., \"test-core-rspec\") -- only analyze jobs matching this name\n- **Run count** (e.g., \"--runs 10\") -- how many recent runs to check (default: 5, max: 15)\n- **Branch** -- which branch to investigate (default: current branch from context above)\n\nDerive the project slug from the git remote URL. For GitHub repos, format is \"gh\u002Forg\u002Frepo\".\n\nReport the scope to the user before proceeding:\n- Project slug\n- Branch\n- Job filter (if any)\n- Number of runs to fetch\n\n### Step 2: Fetch Recent Workflow Runs\n\nDetect the CI provider from the context above and use the appropriate tools.\n\n**CircleCI** (if .circleci\u002F exists):\nUse ToolSearch to find available CircleCI MCP tools (search \"circleci\"). Then:\n1. Fetch recent pipelines for the project slug and branch\n2. For each pipeline, get its workflows\n3. For each workflow, get jobs and their statuses\n4. Filter to failed jobs (and optionally by job name from Step 1)\n\n**GitHub Actions** (if .github\u002Fworkflows\u002F exists):\nUse the gh CLI:\n1. `gh run list --branch {branch} --limit {N}` to get recent runs\n2. `gh run view {run_id}` to get job details\n3. `gh run view {run_id} --log-failed` to get failure output\n\nCollect up to the target number of failed runs. If a workflow has no failures, skip it but note it as a passing run (useful for calculating flake rate).\n\nTrack:\n- Total workflow runs examined\n- Number with failures vs passing\n- Which specific jobs failed in each run\n\n### Step 3: Extract Failure Details\n\nFor each failed job found in Step 2:\n\n**CircleCI:**\n1. Fetch test results for the failed job (with artifacts and logs if the MCP tools support it)\n2. If 0 test failures but non-zero exit code, fetch raw job logs. Flag as **infrastructure failure**.\n\n**GitHub Actions:**\n1. Use `gh run view {run_id} --log-failed` to get failure output\n2. Parse test framework output (JUnit XML, RSpec, Jest, etc.) for structured results\n\nFor each failure, extract:\n- Test file path\n- Test name\n- Error message and stack trace\n- Node\u002Fcontainer number (for parallel test splitting issues)\n\nUse parallel Task tool calls to fetch test results for multiple jobs simultaneously when possible.\n\n### Step 4: Categorize Failures\n\nGroup failures by test file + test name. For each group, classify the root cause:\n\n| Category | Signals | Common Fix |\n|----------|---------|------------|\n| **Deterministic** | Fails every run, same error | Fix the test or code -- this is a real bug |\n| **Timing flake** | Intermittent, error involves time comparison, values differ by milliseconds | Freeze time in tests, use tolerance matchers |\n| **Parallel collision** | Hard-coded IDs, PK violations, \"Duplicate entry\" | Use sequences\u002Fauto-increment, avoid hard-coded IDs |\n| **Test isolation** | Order-dependent failures, shared mutable state between tests | Reset state between tests, avoid global side effects |\n| **Infrastructure** | 0 test failures + exit code 1, OOM killed, container timeout | Retry or investigate resource limits |\n| **External dependency** | Timeout connecting to external service, API errors | Add retry logic or stub external calls in tests |\n\nIf a failure does not clearly fit one category, mark it as **Unclassified** and include the full error for manual review.\n\n### Step 5: Report Findings\n\nPresent the findings in this format:\n\n```\n## CI Investigation Report\n\n**Scope:** {project} \u002F {branch} \u002F {job filter or \"all jobs\"}\n**Runs analyzed:** {N} ({pass_count} passed, {fail_count} failed)\n**Overall flake rate:** {fail_count\u002FN * 100}%\n\n### Failure Groups (by frequency)\n\n#### 1. {test_file}:{test_name} -- {category}\n- **Frequency:** {X}\u002F{N} runs ({percentage}%)\n- **Error:** {1-2 line error summary}\n- **Affected nodes:** {node numbers if relevant}\n- **Root cause:** {explanation}\n- **Proposed fix:**\n  {specific code change or strategy}\n\n#### 2. ...\n\n### Infrastructure Failures\n{List any jobs that failed with 0 test failures}\n\n### Cross-Repo Issues\n{Flag any fixes needed in shared gems (Nucleus, etc.) or CI configuration}\n\n### Recommended Priority\n1. {highest frequency flake} -- affects X% of runs\n2. ...\n```\n\n### Step 6: Offer Next Steps\n\nAfter presenting the report, ask the user if they want to:\n1. **Fix a specific flake** -- implement the proposed fix for a chosen failure group\n2. **Investigate deeper** -- fetch more runs or drill into a specific failure\n3. **Export the report** -- save findings to a file for reference\n","# CI Failure Investigator\n\nInvestigate flaky CI failures across multiple workflow runs to identify patterns, categorize root causes, and propose targeted fixes.\n\n## Arguments\n\n- `$ARGUMENTS` - Optional: job name filter, number of runs to check, or branch name. Examples: \"test-core-rspec\", \"--runs 10\", \"master\"\n\nIf no arguments are provided, investigate the most recent failing workflow on the current branch.\n\n## Context\n\n- Current branch: !`git branch --show-current`\n- Repo remote: !`git remote get-url origin 2>\u002Fdev\u002Fnull | head -1`\n- CI config: !`find . -maxdepth 2 \\( -name \".circleci\" -o -name \".github\" \\) -type d 2>\u002Fdev\u002Fnull | head -5`\n- CircleCI config snippet: !`head -30 .circleci\u002Fconfig.yml 2>\u002Fdev\u002Fnull | head -30`\n\n## Instructions\n\nInvestigate CI failures by fetching multiple workflow runs, extracting test results, and categorizing failure patterns.\n\n### Step 1: Determine Scope\n\nParse `$ARGUMENTS` for:\n- **Job name filter** (e.g., \"test-core-rspec\") -- only analyze jobs matching this name\n- **Run count** (e.g., \"--runs 10\") -- how many recent runs to check (default: 5, max: 15)\n- **Branch** -- which branch to investigate (default: current branch from context above)\n\nDerive the project slug from the git remote URL. For GitHub repos, format is \"gh\u002Forg\u002Frepo\".\n\nReport the scope to the user before proceeding:\n- Project slug\n- Branch\n- Job filter (if any)\n- Number of runs to fetch\n\n### Step 2: Fetch Recent Workflow Runs\n\nDetect the CI provider from the context above and use the appropriate tools.\n\n**CircleCI** (if .circleci\u002F exists):\nUse ToolSearch to find available CircleCI MCP tools (search \"circleci\"). Then:\n1. Fetch recent pipelines for the project slug and branch\n2. For each pipeline, get its workflows\n3. For each workflow, get jobs and their statuses\n4. Filter to failed jobs (and optionally by job name from Step 1)\n\n**GitHub Actions** (if .github\u002Fworkflows\u002F exists):\nUse the gh CLI:\n1. `gh run list --branch {branch} --limit {N}` to get recent runs\n2. `gh run view {run_id}` to get job details\n3. `gh run view {run_id} --log-failed` to get failure output\n\nCollect up to the target number of failed runs. If a workflow has no failures, skip it but note it as a passing run (useful for calculating flake rate).\n\nTrack:\n- Total workflow runs examined\n- Number with failures vs passing\n- Which specific jobs failed in each run\n\n### Step 3: Extract Failure Details\n\nFor each failed job found in Step 2:\n\n**CircleCI:**\n1. Fetch test results for the failed job (with artifacts and logs if the MCP tools support it)\n2. If 0 test failures but non-zero exit code, fetch raw job logs. Flag as **infrastructure failure**.\n\n**GitHub Actions:**\n1. Use `gh run view {run_id} --log-failed` to get failure output\n2. Parse test framework output (JUnit XML, RSpec, Jest, etc.) for structured results\n\nFor each failure, extract:\n- Test file path\n- Test name\n- Error message and stack trace\n- Node\u002Fcontainer number (for parallel test splitting issues)\n\nUse parallel Task tool calls to fetch test results for multiple jobs simultaneously when possible.\n\n### Step 4: Categorize Failures\n\nGroup failures by test file + test name. For each group, classify the root cause:\n\n| Category | Signals | Common Fix |\n|----------|---------|------------|\n| **Deterministic** | Fails every run, same error | Fix the test or code -- this is a real bug |\n| **Timing flake** | Intermittent, error involves time comparison, values differ by milliseconds | Freeze time in tests, use tolerance matchers |\n| **Parallel collision** | Hard-coded IDs, PK violations, \"Duplicate entry\" | Use sequences\u002Fauto-increment, avoid hard-coded IDs |\n| **Test isolation** | Order-dependent failures, shared mutable state between tests | Reset state between tests, avoid global side effects |\n| **Infrastructure** | 0 test failures + exit code 1, OOM killed, container timeout | Retry or investigate resource limits |\n| **External dependency** | Timeout connecting to external service, API errors | Add retry logic or stub external calls in tests |\n\nIf a failure does not clearly fit one category, mark it as **Unclassified** and include the full error for manual review.\n\n### Step 5: Report Findings\n\nPresent the findings in this format:\n\n```\n## CI Investigation Report\n\n**Scope:** {project} \u002F {branch} \u002F {job filter or \"all jobs\"}\n**Runs analyzed:** {N} ({pass_count} passed, {fail_count} failed)\n**Overall flake rate:** {fail_count\u002FN * 100}%\n\n### Failure Groups (by frequency)\n\n#### 1. {test_file}:{test_name} -- {category}\n- **Frequency:** {X}\u002F{N} runs ({percentage}%)\n- **Error:** {1-2 line error summary}\n- **Affected nodes:** {node numbers if relevant}\n- **Root cause:** {explanation}\n- **Proposed fix:**\n  {specific code change or strategy}\n\n#### 2. ...\n\n### Infrastructure Failures\n{List any jobs that failed with 0 test failures}\n\n### Cross-Repo Issues\n{Flag any fixes needed in shared gems (Nucleus, etc.) or CI configuration}\n\n### Recommended Priority\n1. {highest frequency flake} -- affects X% of runs\n2. ...\n```\n\n### Step 6: Offer Next Steps\n\nAfter presenting the report, ask the user if they want to:\n1. **Fix a specific flake** -- implement the proposed fix for a chosen failure group\n2. **Investigate deeper** -- fetch more runs or drill into a specific failure\n3. **Export the report** -- save findings to a file for reference\n",{"name":5,"description":7},"master","427f62a9fc82624977516767979411f885161ac5","agents\u002Fskills\u002Fci-investigate",4,"https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots","https:\u002F\u002Fgithub.com\u002Fdrn","https:\u002F\u002Fdrn.dev","CTO & Co-Founder @thanx","2026-11-12 16:13:13",{"source":9,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add drn\u002Fdots --skill ci-investigate",{"tool":69,"command":70},"bunx","bunx skills add drn\u002Fdots --skill ci-investigate",{"tool":72,"command":73},"pnpm","pnpm dlx skills add drn\u002Fdots --skill ci-investigate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fci-investigate\u002FSKILL.md",true,[],[78,104,129,141,173,199],{"skillNo":79,"name":80,"nameZh":17,"description":81,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":49},"01M70KJSG2P5Y3N95MGSGKJ8VA","batch-pr-review","Review a batch of pull requests together, describe every change in plain language, and build a private Claude artifact that eases human review, with a severity-tagged and verified findings list. Use when asked to review several PRs, a stack of PRs, PRs listed in a Slack thread or message, or to summarize a batch of PRs for a reviewer.","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fbatch-pr-review\u002FSKILL.md",[],[85,86,87,88,89,90,36,91,92,93,94,95,96,97,98,99,100,101,102,103],"batch pr review","batch","pr","pr review","review","reviewer","parse","scripts","human","artifact","message","write","read","stack","gh pr","Bash","change","pull requests","slack",{"skillNo":105,"name":106,"nameZh":107,"description":108,"descriptionZh":109,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":110,"categories":111,"keywords":118,"publishedAt":49},"01M6BV2G3ZAS76C40S3YBY6R61","plannotator-setup-goal","Codex 目标设置包生成","Create reviewed Codex goal setup packages for long-running \u002Fgoal work. Use when the user wants to turn an idea, backlog, project mission, or vague objective into durable goal files under a project goals slug folder, with Plannotator review gates for brief, narrative plan with acceptance criteria, verification, blockers, and the final \u002Fgoal prompt.","为长时间运行的 \u002Fgoal 工作创建经过审查的 Codex 目标设置包。当用户想把想法、待办清单、项目使命或模糊目标，转化为项目 goals slug 文件夹下的持久化目标文件时使用；包含 Plannotator 审查关卡，覆盖简报、带验收标准的叙述性计划、验证方案、阻碍项，以及最终的 \u002Fgoal 提示词。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fplannotator-setup-goal\u002FSKILL.md",[112,115],{"categoryNo":113,"categoryName":114,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BTBRTQXJ9T5TABNS7XP1A0","任务规划与分解",{"categoryNo":116,"categoryName":117,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8C31AVFVV99RWJEGF9PS85F","项目经理",[119,120,121,122,123,124,125,126,127,128,89],"plannotator setup goal","setup","verification","plan","plannotator review","brief","acceptance","create","packages","codex",{"skillNo":130,"name":131,"nameZh":17,"description":132,"descriptionZh":17,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":49},"01M6BV26Y6GTDMQZYXFRWKEC08","plannotator-annotate","Open Plannotator's annotation UI for a markdown file, converted HTML file, URL, or folder and then respond to the returned annotations.","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fplannotator-annotate\u002FSKILL.md",[],[136,137,138,139,140],"plannotator annotate","markdown","open","ui","file",{"skillNo":142,"name":143,"nameZh":144,"description":145,"descriptionZh":146,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":147,"categories":148,"keywords":155,"publishedAt":49},"01M6BV44RGGTRRFGWMYCR3BQ1P","write-skill","Claude 技能编写","Create or improve a Claude Code skill\u002Fslash command with best practices for structure, dynamic context, and safety. Use for creating new skills, improving existing ones, or learning skill authoring.","创建或改进 Claude Code 技能\u002F斜杠命令，遵循结构、动态上下文和安全性方面的最佳实践。用于创建新技能、改进现有技能，或学习技能编写。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fwrite-skill\u002FSKILL.md",[149,152],{"categoryNo":150,"categoryName":151,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRN0CV1NMDZ5TEJX1GVM29","插件与技能管理",{"categoryNo":153,"categoryName":154,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",[96,156,157,158,159,160,161,162,163,44,164,165,166,167,168,169,170,171,172,126],"write skill","with","authoring","code skill","code","for","structure","claude code skill","context","command","improve","learning","Safety","best practices","Existing","new","skill authoring",{"skillNo":174,"name":175,"nameZh":176,"description":177,"descriptionZh":178,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":179,"categories":180,"keywords":187,"publishedAt":49},"01M6BV4390BFK30F1T51SAJPAV","wrapup","会话收尾检查","End-of-session checklist that detects loose ends — uncommitted changes, unmerged branches, learnings to capture, handoffs needed — and routes to the right skills. Use for session closeout, wrapping up, end of day, or \"anything else to capture\".","会话结束时的检查清单，用于检测遗漏事项——未提交的变更、未合并的分支、需记录的经验教训、需完成的交接——并路由到相应的技能。用于会话收尾、结束工作、一天结束，或“还有其他要记录的吗”。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Fwrapup\u002FSKILL.md",[181,184],{"categoryNo":182,"categoryName":183,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":185,"categoryName":186,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8CA3FKWP12T4DB881J9CNHJ","编码会话复盘",[175,188,189,190,161,191,192,193,194,195,44,196,197,198],"session closeout","up","changes","end of day","end","branches","learnings","checklist","session","closeout","capture",{"skillNo":200,"name":201,"nameZh":202,"description":203,"descriptionZh":204,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":205,"categories":206,"keywords":213,"publishedAt":49},"01M6BV41ZZ051JX2B3CB5WARZM","tts","文本转语音朗读","Read text aloud using text-to-speech. Use when the user says \"speak to me\", \"read to me\", \"read this aloud\", \"say this\", \"speak the summary\", or asks to hear something spoken.","使用文本转语音（text-to-speech）大声朗读文本。当用户说“读给我听”“念给我听”“大声朗读这个”“说出这个”“朗读摘要”，或要求听到某内容被朗读时使用。","https:\u002F\u002Fgithub.com\u002Fdrn\u002Fdots\u002Fblob\u002Fmaster\u002Fagents\u002Fskills\u002Ftts\u002FSKILL.md",[207,210],{"categoryNo":208,"categoryName":209,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BR82CCRKG2HNYVFH5H6GZ0","音频与语音处理",{"categoryNo":211,"categoryName":212,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BS5011KJDVSRXG1DC4P666","普通用户",[201,44,214,97,215,216,217,218,36,219,220,221],"user","speak","text","speech","say","text-to-speech","me","summary"]