[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M72W9TH0B9K7KS6KVVRYB1QZ":3,"skill-same:01M72W9TH0B9K7KS6KVVRYB1QZ":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":34,"commitSha":35,"skillDirectory":5,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M72W9TH0B9K7KS6KVVRYB1QZ","ci-failures",null,"Analyze CI test failures with parallel log analysis and root cause identification","jpoindexter\u002Ftheft-kit","jpoindexter","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2729617?v=4","01M72VRRYY1CP7RPF3B7GHH0CR","01M72VRRZG461Q013PM800BVYK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fci-failures\u002FSKILL.md",[],[],"2026-11-10 22:39:42",false,"---\nname: ci-failures\ndescription: Analyze CI test failures with parallel log analysis and root cause identification\nlicense: MIT\ncompatibility: Claude Code\nmetadata:\n  author: Vercel Next.js Team\n  version: \"1.0\"\n  priority: high\n  source: https:\u002F\u002Fgithub.com\u002Fvercel\u002Fnext.js\u002Fblob\u002Fmain\u002F.claude\u002Fcommands\u002Fci-failures.md\nallowed-tools:\n  - Bash\n  - Read\n  - Task\n  - WebFetch\n---\n\n# CI Failures Analysis\n\nAnalyzes failing tests from CI runs with parallel subagent log analysis.\n\n## Usage\n\nWhen CI tests fail, use this workflow to identify and fix issues efficiently.\n\n## Core Workflow\n\n### Step 1: Retrieve PR\u002FRun Information\n\n```bash\n# Get PR checks status\ngh pr checks \u003Cpr-number> | grep -i fail\n\n# Get failed job names from a run\ngh run view \u003Crun-id> --json jobs --jq '.jobs[] | select(.conclusion == \"failure\") | .name'\n```\n\n### Step 2: Identify Failed Jobs\n\nQuery all failed jobs with pagination (large repos may have 100+ jobs):\n\n```bash\n# List all jobs (paginated)\ngh api repos\u002F{owner}\u002F{repo}\u002Factions\u002Fruns\u002F{run-id}\u002Fjobs --paginate \\\n  --jq '.jobs[] | select(.conclusion == \"failure\") | {name, id}'\n```\n\n### Step 3: Parallel Log Analysis\n\nSpawn 3-4 subagents to analyze logs simultaneously. Use GitHub API for in-progress runs:\n\n```bash\n# Get logs for a specific job (works for in-progress runs)\ngh api repos\u002F{owner}\u002F{repo}\u002Factions\u002Fjobs\u002F{job-id}\u002Flogs\n```\n\n**DO NOT use** `gh run view --log` for in-progress runs - it fails.\n\n### Step 4: Extract Failure Information\n\nFor each failing test, extract:\n1. **TEST FILE**: Full path to test file\n2. **TEST NAME**: Specific test case name\n3. **EXPECTED**: What the assertion expected\n4. **RECEIVED**: What was actually received\n5. **CATEGORY**: Type of failure (see categories below)\n6. **ROOT CAUSE**: One sentence hypothesis\n\n### Step 5: Deduplicate and Group\n\nGroup failures by test file path, not by CI job name. Count jobs with identical failures but report once.\n\n## Failure Categories\n\n| Category | Description | Example |\n|----------|-------------|---------|\n| **assertion** | Wrong output values | Expected \"foo\", got \"bar\" |\n| **timeout** | Tests hanging | Jest timeout exceeded |\n| **build** | Compilation errors | TypeScript error, missing deps |\n| **routing** | Wrong routes\u002Fstatus | 404 instead of 200 |\n| **source-map** | Path mismatches | webpack-internal:\u002F\u002F paths |\n| **cli-output** | Wrong log messages | Missing expected warnings |\n| **infrastructure** | Transient\u002Fnetwork | 503 errors, flaky |\n\n## Priority Levels\n\n- **HIGH**: Assertion failures with specific expected\u002Freceived values\n- **MEDIUM**: Consistent patterns across multiple jobs\n- **LOW**: Likely transient (network, timing)\n\n## Quick Triage Commands\n\n```bash\n# Search job logs for errors (completed runs only)\ngh run view \u003Crun-id> --job \u003Cjob-id> --log 2>&1 | grep -E \"FAIL|Error|error:\" | head -30\n\n# Check for specific failure patterns\ngh run view \u003Crun-id> --job \u003Cjob-id> --log 2>&1 | grep -E \"Expected|Received|EADDRINUSE|timeout\"\n```\n\n## Common Fixes\n\n| Pattern | Fix |\n|---------|-----|\n| `rust check \u002F build` failed | Run `cargo fmt` locally |\n| Prettier errors | Run `pnpm prettier --write \u003Cfile>` |\n| Test assertion failure | Run test locally to reproduce |\n| EADDRINUSE | Port conflict - check parallel tests |\n| Timeout | Check for missing await, slow async ops |\n\n## Running Tests Locally\n\n```bash\n# Development mode\npnpm test-dev test\u002Fpath\u002Fto\u002Ftest.ts\n\n# Production mode\npnpm test test\u002Fpath\u002Fto\u002Ftest.ts\n\n# With debug output\nDEBUG=* pnpm test test\u002Fpath\u002Fto\u002Ftest.ts\n```\n\n## Output Format\n\nCreate a summary table:\n\n| Test File | Issue | Jobs Affected | Priority |\n|-----------|-------|---------------|----------|\n| `test\u002Fe2e\u002Fapp.test.ts` | Expected \"200\", got \"404\" | 3 jobs | HIGH |\n| `test\u002Funit\u002Futils.test.ts` | Timeout after 5000ms | 1 job | MEDIUM |\n\n## Tips\n\n- Don't spawn too many parallel agents hitting GitHub API (causes rate limits)\n- Prioritize blocking jobs: lint, types, then test jobs\n- Check run attempt counts - query specific attempts if needed\n- For flaky tests, check if failure is consistent across attempts\n","# CI Failures Analysis\n\nAnalyzes failing tests from CI runs with parallel subagent log analysis.\n\n## Usage\n\nWhen CI tests fail, use this workflow to identify and fix issues efficiently.\n\n## Core Workflow\n\n### Step 1: Retrieve PR\u002FRun Information\n\n```bash\n# Get PR checks status\ngh pr checks \u003Cpr-number> | grep -i fail\n\n# Get failed job names from a run\ngh run view \u003Crun-id> --json jobs --jq '.jobs[] | select(.conclusion == \"failure\") | .name'\n```\n\n### Step 2: Identify Failed Jobs\n\nQuery all failed jobs with pagination (large repos may have 100+ jobs):\n\n```bash\n# List all jobs (paginated)\ngh api repos\u002F{owner}\u002F{repo}\u002Factions\u002Fruns\u002F{run-id}\u002Fjobs --paginate \\\n  --jq '.jobs[] | select(.conclusion == \"failure\") | {name, id}'\n```\n\n### Step 3: Parallel Log Analysis\n\nSpawn 3-4 subagents to analyze logs simultaneously. Use GitHub API for in-progress runs:\n\n```bash\n# Get logs for a specific job (works for in-progress runs)\ngh api repos\u002F{owner}\u002F{repo}\u002Factions\u002Fjobs\u002F{job-id}\u002Flogs\n```\n\n**DO NOT use** `gh run view --log` for in-progress runs - it fails.\n\n### Step 4: Extract Failure Information\n\nFor each failing test, extract:\n1. **TEST FILE**: Full path to test file\n2. **TEST NAME**: Specific test case name\n3. **EXPECTED**: What the assertion expected\n4. **RECEIVED**: What was actually received\n5. **CATEGORY**: Type of failure (see categories below)\n6. **ROOT CAUSE**: One sentence hypothesis\n\n### Step 5: Deduplicate and Group\n\nGroup failures by test file path, not by CI job name. Count jobs with identical failures but report once.\n\n## Failure Categories\n\n| Category | Description | Example |\n|----------|-------------|---------|\n| **assertion** | Wrong output values | Expected \"foo\", got \"bar\" |\n| **timeout** | Tests hanging | Jest timeout exceeded |\n| **build** | Compilation errors | TypeScript error, missing deps |\n| **routing** | Wrong routes\u002Fstatus | 404 instead of 200 |\n| **source-map** | Path mismatches | webpack-internal:\u002F\u002F paths |\n| **cli-output** | Wrong log messages | Missing expected warnings |\n| **infrastructure** | Transient\u002Fnetwork | 503 errors, flaky |\n\n## Priority Levels\n\n- **HIGH**: Assertion failures with specific expected\u002Freceived values\n- **MEDIUM**: Consistent patterns across multiple jobs\n- **LOW**: Likely transient (network, timing)\n\n## Quick Triage Commands\n\n```bash\n# Search job logs for errors (completed runs only)\ngh run view \u003Crun-id> --job \u003Cjob-id> --log 2>&1 | grep -E \"FAIL|Error|error:\" | head -30\n\n# Check for specific failure patterns\ngh run view \u003Crun-id> --job \u003Cjob-id> --log 2>&1 | grep -E \"Expected|Received|EADDRINUSE|timeout\"\n```\n\n## Common Fixes\n\n| Pattern | Fix |\n|---------|-----|\n| `rust check \u002F build` failed | Run `cargo fmt` locally |\n| Prettier errors | Run `pnpm prettier --write \u003Cfile>` |\n| Test assertion failure | Run test locally to reproduce |\n| EADDRINUSE | Port conflict - check parallel tests |\n| Timeout | Check for missing await, slow async ops |\n\n## Running Tests Locally\n\n```bash\n# Development mode\npnpm test-dev test\u002Fpath\u002Fto\u002Ftest.ts\n\n# Production mode\npnpm test test\u002Fpath\u002Fto\u002Ftest.ts\n\n# With debug output\nDEBUG=* pnpm test test\u002Fpath\u002Fto\u002Ftest.ts\n```\n\n## Output Format\n\nCreate a summary table:\n\n| Test File | Issue | Jobs Affected | Priority |\n|-----------|-------|---------------|----------|\n| `test\u002Fe2e\u002Fapp.test.ts` | Expected \"200\", got \"404\" | 3 jobs | HIGH |\n| `test\u002Funit\u002Futils.test.ts` | Timeout after 5000ms | 1 job | MEDIUM |\n\n## Tips\n\n- Don't spawn too many parallel agents hitting GitHub API (causes rate limits)\n- Prioritize blocking jobs: lint, types, then test jobs\n- Check run attempt counts - query specific attempts if needed\n- For flaky tests, check if failure is consistent across attempts\n",{"name":5,"license":14,"metadata":23,"description":7,"allowed-tools":28,"compatibility":33},{"author":24,"source":25,"version":26,"priority":27},"Vercel Next.js Team","https:\u002F\u002Fgithub.com\u002Fvercel\u002Fnext.js\u002Fblob\u002Fmain\u002F.claude\u002Fcommands\u002Fci-failures.md","1.0","high",[29,30,31,32],"Bash","Read","Task","WebFetch","Claude Code","main","6d67dce7942a631fe64f708c761284f84c4dd88c",0,"https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit","https:\u002F\u002Fgithub.com\u002Fjpoindexter","jason.theft.studio","Just some guy trying to build stuff","2026-08-26 18:23:33",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add jpoindexter\u002Ftheft-kit --skill ci-failures",{"tool":48,"command":49},"bunx","bunx skills add jpoindexter\u002Ftheft-kit --skill ci-failures",{"tool":51,"command":52},"pnpm","pnpm dlx skills add jpoindexter\u002Ftheft-kit --skill ci-failures","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fci-failures\u002FSKILL.md",true,[],[57,65,72,80,87,94],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M72YW2F1W2JNREY6NKPSFFMF","vertical-grid","Enforce Swiss-Industrial 4px baseline vertical grid for consistent rhythm","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvertical-grid\u002FSKILL.md",[],[],"2026-11-11 15:11:14",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M72YVSWAGTZ6SKDHSQYD7MNP","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvercel-react-best-practices\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":76,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":64},"01M72YSFWQBR5JYW36VJAHXF6X","valid-skill","A complete test skill with all optional directories.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fvalid-skill\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":64},"01M72YMFMFBA64ZJSXR7ARBPG1","table-patterns","Create and enhance data tables with proper patterns, design tokens, and features","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Ftable-patterns\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":64},"01M72YM1HNX0XN88BDWT613V8X","swiss-design","Enforce Swiss design principles - reduce visual noise, remove harsh borders","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fswiss-design\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":64},"01M72YK90R9N69YZQ9SQ5Q23ZK","supabase-postgres-best-practices","Postgres performance optimization and best practices from Supabase. Use this skill when writing, reviewing, or optimizing Postgres queries, schema designs, or database configurations.","https:\u002F\u002Fgithub.com\u002Fjpoindexter\u002Ftheft-kit\u002Fblob\u002Fmain\u002Fsupabase-postgres-best-practices\u002FSKILL.md",[],[]]