[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78F8Z05804TRD7BFSWYF5R3":3,"skill-same:01M78F8Z05804TRD7BFSWYF5R3":69},{"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":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":28,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M78F8Z05804TRD7BFSWYF5R3","github-ci-debug",null,"poppyTM\u002Foride","poppyTM","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F339400917?v=4","01M78F6YNKFR5S5JQR27X9F09Z","Poppy Team","01M78F6YP8ZZTRES9X8Q2ZAD21",1,"MIT","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\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","1cd515630b8ceb57777d466bee4970fe7c2e30e0",".agents\u002Fskills\u002Fgithub-ci-debug",0,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride","https:\u002F\u002Fgithub.com\u002FpoppyTM","https:\u002F\u002Fpoppy.lat","Construímos linguagens de programação e ferramentas para quem lê código com o mesmo cuidado com que escreve.","2026-09-30 10:15:52",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add poppyTM\u002Foride --skill github-ci-debug",{"tool":37,"command":38},"bunx","bunx skills add poppyTM\u002Foride --skill github-ci-debug",{"tool":40,"command":41},"pnpm","pnpm dlx skills add poppyTM\u002Foride --skill github-ci-debug","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002FSKILL.md",true,[45,51,55,59,65],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"checks\u002Fgithub-ci-debug-checklist.md","REFERENCE","参考文档",1173,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002Fchecks\u002Fgithub-ci-debug-checklist.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"manifest.json",1607,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002Fmanifest.json",{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"references\u002Fgithub-ci-debug-guide.md",2584,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002Freferences\u002Fgithub-ci-debug-guide.md",{"path":60,"resourceType":61,"resourceTypeDesc":62,"sizeBytes":63,"sourceHtmlUrl":64},"scripts\u002Fverify.sh","SCRIPT","脚本",4054,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002Fscripts\u002Fverify.sh",{"path":66,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":67,"sourceHtmlUrl":68},"templates\u002Fissue-template.md",756,"https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgithub-ci-debug\u002Ftemplates\u002Fissue-template.md",[70,76,82,89,96,103],{"skillNo":71,"name":72,"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":73,"categories":74,"keywords":75,"publishedAt":18},"01M78FHQN254KEH0DETXT5JM29","zoom-reflow","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fzoom-reflow\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"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":79,"categories":80,"keywords":81,"publishedAt":18},"01M78FHP1880S695V8GQEE0RXK","wireframe-styleguide","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fwireframe-styleguide\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":18},"01M78FHHYM6AN2H819FABW01DZ","visual-regression","Pixel-by-pixel snapshot testing, Playwright integration, dynamic content masking, deterministic font rendering, and cross-browser CI gates","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fvisual-regression\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":18},"01M78FHE53D8DD0QVRY5C37DA4","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\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Fui-implementation\u002FSKILL.md",[],[],{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":18},"01M78FHBJ1KXFF734GFE509TBJ","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\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftui-editor-engine\u002FSKILL.md",[],[],{"skillNo":104,"name":105,"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":106,"categories":107,"keywords":108,"publishedAt":18},"01M78FH9X6CPJX1H61ZDWTTVW8","tree-sitter-context-indexing","https:\u002F\u002Fgithub.com\u002FpoppyTM\u002Foride\u002Fblob\u002Fmain\u002F.ai\u002Fskills\u002Ftree-sitter-context-indexing\u002FSKILL.md",[],[]]