[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKM5WAWSWRK56JT3PZP12J":3,"skill-same:01M7EKM5WAWSWRK56JT3PZP12J":68},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":13,"repositoryHtmlUrl":25,"repositoryHomepageUrl":6,"ownerHtmlUrl":26,"ownerBlogUrl":27,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7EKM5WAWSWRK56JT3PZP12J","github-ci-debug",null,"raillen\u002Fdaisy-code-editor","raillen","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50306048?v=4","01M7EKBDVVBSPF21PBPVJYMNYR","Raillen Santos","01M7EKBDWD12A1K9N9Y638FGX9",0,"MIT","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# GitHub CI Debugging\n\n## Purpose\nDiagnose GitHub Actions failures systematically — failed steps, matrix mismatches, flaky tests, cache poisoning, runner drift — and land minimal, verified fixes with the failing job linked as evidence.\n\n## Use when\n- A workflow run fails (red checks) and the cause is unknown or disputed.\n- Matrix jobs fail on a subset of OS\u002Fversion combinations while others pass.\n- A pipeline is flaky: same commit passes and fails intermittently.\n- Operating in mode(s): `implementation`, `testing`.\n\n## Do not use when\n- Authoring new workflows from scratch without a failure to diagnose (use CI authoring flows).\n- Reviewing PR code quality (use `github-pr-review`).\n- Managing repository settings or branch protection rules (use `github-repository`).\n\n## Required context\n- Failing workflow run URL and the exact failed step log excerpt.\n- Workflow YAML (`.github\u002Fworkflows\u002F*.yml`), matrix definition, and runner labels.\n- Recent changes: commits since last green run, dependency or runner-image bumps.\n\n## Procedure\n1. **Capture the failure precisely**: record run URL, job name, step name, exit code, and the first error lines — not just the tail output. Link the run in the diagnosis.\n2. **Bisect the cause**: compare against the last green run; classify as code regression, dependency drift (lockfile vs fresh resolve), runner-image change, cache poisoning, secret\u002Fpermission gap, or concurrency\u002Fcancellation artifact.\n3. **Reproduce locally first**: replicate with `act` or the same container image and commands before editing the workflow; a fix without local reproduction is a guess.\n4. **Fix minimally**: pin the drifted dependency, correct the matrix include\u002Fexclude, add the missing permission (`contents: read`, `id-token: write`), scope the cache key with lockfile hash, or quarantine the flaky test with a tracked issue — one change per hypothesis.\n5. **Verify on the branch**: re-run the exact failing job via `gh run rerun` or a draft PR; require the previously-failing job green plus no new failures before closing.\n6. **Harden against recurrence**: add timeout-minutes, fail-fast policy, cache-key versioning, and a flaky-test quarantine note where applicable.\n\n## Decision rules\n- **Log evidence over intuition**: every diagnosis cites step logs with timestamps; \"probably flaky\" without a rerun history is not a diagnosis.\n- **One hypothesis per change**: bundled workflow edits that mix fixes are prohibited; bisect instead.\n- **Never weaken required checks**: disabling a failing required check to go green is forbidden; fix or formally waive with owner approval.\n- **Secrets stay masked**: logs pasted into issues must be scrubbed of tokens and OIDC material.\n\n## Evidence required\n- Failing run URL + step log excerpt and the passing re-run URL after the fix.\n- Local reproduction notes (commands used, container image).\n- Passing execution log from `scripts\u002Fverify.sh`.\n\n## Output contract\n- Structured GitHub artifact (diagnosis comment or fix PR with failure classification).\n- Validation confirmation (green re-run of the exact failing job).\n\n## Stop conditions\n- Previously-failing job is green on the branch with cause classified and linked.\n- Flaky source quarantined with a tracked follow-up issue if not yet fixed.\n- Token budget exhausted.\n- Blocked on external dependency.\n\n## Escalation rules\n- Escalate to repository owner if the fix requires organization-level runner, secret, or policy changes.\n- Escalate to the test owner when a flaky test needs quarantine or deletion approval.\n",{},"main","2e465213b972294984c8c9515a47f811e4b358da",".ai\u002Fskills\u002Fgithub-ci-debug","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor","https:\u002F\u002Fgithub.com\u002Fraillen","https:\u002F\u002Fraillen.com","\u003C\u003CMarketing & IT>>\r\n\r\n@poppy-team\r\n@wasd-lat ","2026-10-16 09:17:52",{"source":7,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add raillen\u002Fdaisy-code-editor --skill github-ci-debug",{"tool":36,"command":37},"bunx","bunx skills add raillen\u002Fdaisy-code-editor --skill github-ci-debug",{"tool":39,"command":40},"pnpm","pnpm dlx skills add raillen\u002Fdaisy-code-editor --skill github-ci-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002FSKILL.md",true,[44,50,54,58,64],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"checks\u002Fgithub-ci-debug-checklist.md","REFERENCE","参考文档",1173,"https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002Fchecks\u002Fgithub-ci-debug-checklist.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"manifest.json",1607,"https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002Fmanifest.json",{"path":55,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":56,"sourceHtmlUrl":57},"references\u002Fgithub-ci-debug-guide.md",2584,"https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002Freferences\u002Fgithub-ci-debug-guide.md",{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"scripts\u002Fverify.sh","SCRIPT","脚本",4054,"https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002Fscripts\u002Fverify.sh",{"path":65,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":66,"sourceHtmlUrl":67},"templates\u002Fissue-template.md",756,"https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fgithub-ci-debug\u002Ftemplates\u002Fissue-template.md",[69,75,81,88,95,102],{"skillNo":70,"name":71,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":18},"01M7EKQYSDAX3SGSCRF873Z8E2","zoom-reflow","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fzoom-reflow\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M7EKQX0MWJNQD482GGZPGES4","wireframe-styleguide","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fwireframe-styleguide\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M7EKQS57FS6JYE6KWW6X5ADJ","visual-regression","Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fvisual-regression\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":18},"01M7EKQMFR7651NVH100P5781Z","ui-implementation","Component-driven UI implementation, multi-state matrix (default, hover, focus-visible, active, disabled, loading, empty, error), DTCG design tokens, responsive layout contracts, and accessibility tree mapping.","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fui-implementation\u002FSKILL.md",[],[],{"skillNo":96,"name":97,"nameZh":6,"description":98,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":18},"01M7EKQG3NVX6DPCYS6Q4PA71V","tui-editor-engine","Text buffer and editing semantics for a terminal code editor — index conversion, transaction-first editing, multi-cursor invariants, undo grouping, and large-file behaviour.","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftui-editor-engine\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":18},"01M7EKQEJ993JGC72FE2KFY3ZZ","tree-sitter-context-indexing","https:\u002F\u002Fgithub.com\u002Fraillen\u002Fdaisy-code-editor\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftree-sitter-context-indexing\u002FSKILL.md",[],[]]