[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BZFJYE2CRVB99W9JJCZGZP":3,"skill-same:01M7BZFJYE2CRVB99W9JJCZGZP":45},{"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":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BZFJYE2CRVB99W9JJCZGZP","analyze-ci",null,"Diagnose CI failures by reproducing the evaluator install\u002Ftest boundary, making minimal edits, generating valid diffs, and completing the required deliverable artifacts exactly as the evaluator expects.","linyouxue\u002Fskill-repair-benchmark","linyouxue","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F216151464?v=4","01M7BJEVCXKD74KH6FG9CBVSQB","林宥学","01M7BJEVE02NP217V93BKZFC0J",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillGrad\u002Fmain31_clean_20261004_finalized\u002Ftasks\u002Ffix-build-agentops\u002Frepaired_skill\u002Fanalyze-ci\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\ndescription: Diagnose CI failures by reproducing the evaluator install\u002Ftest boundary, making minimal edits, generating valid diffs, and completing the required deliverable artifacts exactly as the evaluator expects.\n---\n\n# Analyze CI Failures\n\n## Plan to the evaluation boundary (stop when it passes)\n\n1. Identify the evaluator boundary: exact install command(s), toolchain versions, test invocation, and **required deliverable artifacts\u002Fpaths** that decide success.\n2. Record boundary constraints that change outcomes (e.g., venv vs no-venv, user-site enablement, permissions, network access).\n3. Reproduce the boundary in the same mode; treat other probes (different envs, flags, or tools) as diagnostics only.\n4. Target the **first hard failure** in that exact mode (permission errors, missing executables, build backend errors), not a downstream\u002Fsecondary symptom.\n5. Make the smallest change that could plausibly turn the boundary green.\n6. Apply the change immediately (no “pending diffs”), then rerun the full boundary in the **same mode**.\n7. Repeat the apply→rerun loop until the boundary is green; do not end with known red tests.\n8. If the primary failure is environmental (e.g., filesystem permission denied to an install destination), explicitly conclude it is not reliably fixable from repo code and switch to making the boundary use an isolated environment only if the repo controls the entrypoint.\n9. Treat deliverable generation as part of the boundary: write artifacts to the **exact required absolute paths** and verify they exist and are non-empty.\n10. If any verification command errors (locale\u002Falias\u002Funicode flags), immediately re-run verification with simpler ASCII-only primitives (`test -s`, `wc -l`, `head`).\n11. If a patch attempt fails to apply, return to a clean working tree and regenerate the patch from real edits (don’t hand-surgery hunks).\n\n```python\nfrom dataclasses import dataclass\n\n@dataclass\nclass Boundary:\n    install_cmd: str\n    test_cmd: str\n    required_artifacts: list[str]\n    toolchain: dict\n    constraints: dict\n\nboundary = Boundary(\n    install_cmd=\"\u003Cinstall command>\",\n    test_cmd=\"\u003Ctest command>\",\n    required_artifacts=[\"\u003Cabsolute output path>\", \"\u003Cabsolute output path>\"],\n    toolchain={\"pip\": \"\u003Cver>\", \"setuptools\": \"\u003Cver>\"},\n    constraints={\"venv\": \"\u003Cyes\u002Fno>\", \"user_site\": \"\u003Cyes\u002Fno>\", \"permissions\": \"\u003Cnotes>\"},\n)\n```\n\nDecision rule: If a change does not move the boundary from red to green within one apply→rerun cycle, revert or isolate it, then pursue the failing assertion\u002Ferror message directly.\n\nRead references\u002Fevaluator-equivalent-repro.md when you can’t reliably reproduce CI locally or suspect toolchain\u002Fversion mismatches. Skip when you already have a container\u002Fvenv that matches CI.\n\nRead references\u002Fpermission-denied-user-site.md when installs fail writing to user-site\u002Fscript directories (EACCES\u002Fpermission denied under a home bin path). Skip when installs happen inside an isolated venv or container with writable paths.\n\nRead references\u002Feditable-installs-old-pip.md when CI uses `pip install -e` and errors mention `build_editable`, PEP 660, or editable fallback behavior. Skip when CI installs non-editable wheels\u002Fsdists only.\n\nRead references\u002Fgenerate-valid-patches.md when you see “corrupt patch”, hunk\u002Fheader mismatches, or repeated apply failures. Skip when you always patch via `git apply` from `git diff` output.\n\nRead references\u002Frequired-deliverables-at-evaluator-path.md when the task requires writing a patch\u002Flog\u002Freport to a specific absolute path or the harness says a deliverable is missing. Skip when the only success condition is passing tests.\n\n## Triage: build\u002Finstall vs runtime\u002Ftest semantics\n\nFirst classify the failure mode and confine changes to that layer:\n\n- Build\u002Finstall\u002Ftooling errors → change packaging\u002Fbuild configuration and metadata alignment.\n- Runtime\u002Ftest failures → change code paths exercised by the failing tests, preserving documented API semantics.\n\n```python\ndef classify_failure(stderr: str) -> str:\n    if any(tok in stderr for tok in (\"build\", \"install\", \"backend\", \"wheel\")):\n        return \"build-install\"\n    return \"runtime-test\"\n\nlayer = classify_failure(\"\u003Ccaptured stderr>\")\n```\n\nDecision rule: Do not modify public API or lifecycle semantics to fix a build\u002Finstall failure unless a failing test explicitly requires it.\n\nRead references\u002Fdont-fix-build-by-changing-runtime.md when a build\u002Finstall failure tempts you to change runtime imports, optional dependencies, or lifecycle behavior. Skip when CI is already past install and failing only unit tests.\n\n## Use non-representative installs as diagnostics (don’t chase them)\n\nSome install modes intentionally omit dependencies; missing imports there are expected and should not drive runtime changes.\n\n```python\ndef is_expected_missing_deps(mode: str, exc: Exception) -> bool:\n    return mode in {\"no-deps\", \"minimal\"} and isinstance(exc, ModuleNotFoundError)\n\nmode = \"\u003Cinstall mode>\"\ntry:\n    __import__(\"some_optional_dependency\")\nexcept Exception as e:\n    if is_expected_missing_deps(mode, e):\n        pass  # diagnostic only\n```\n\nDecision rule: Only change import\u002Foptional-dependency behavior if the evaluator uses that install mode or the tests assert behavior under missing deps.\n\nRead references\u002Fno-deps-probes.md when you used `--no-deps`\u002Fminimal installs and saw import errors. Skip when CI installs full dependencies.\n\n## Common Pitfalls\n\n- Stopping after drafting a fix instead of applying it and rerunning the evaluator boundary in the same mode.\n- Validating only in a convenient environment (often a fresh venv) while the evaluator fails under a different boundary (no venv, pinned tooling, restricted permissions).\n- Targeting a downstream packaging symptom before the first hard failure (e.g., ignoring an EACCES\u002Fpermission error during install).\n- Continuing to refactor after the install\u002Ftest boundary is green, causing new regressions.\n- Fixing packaging\u002Ftooling problems by changing public runtime\u002Fsession semantics.\n- Treating missing imports from diagnostic `--no-deps`\u002Fminimal installs as evidence to change runtime behavior.\n- Fixing editable-install failures by forcing legacy `setup.py develop` fallbacks that require writing to system site-packages, or by adding brittle pins on packaging tooling libraries.\n- Passing tests but failing the task because a required deliverable artifact was not written to (and verified at) the evaluator’s expected absolute path.\n","# Analyze CI Failures\n\n## Plan to the evaluation boundary (stop when it passes)\n\n1. Identify the evaluator boundary: exact install command(s), toolchain versions, test invocation, and **required deliverable artifacts\u002Fpaths** that decide success.\n2. Record boundary constraints that change outcomes (e.g., venv vs no-venv, user-site enablement, permissions, network access).\n3. Reproduce the boundary in the same mode; treat other probes (different envs, flags, or tools) as diagnostics only.\n4. Target the **first hard failure** in that exact mode (permission errors, missing executables, build backend errors), not a downstream\u002Fsecondary symptom.\n5. Make the smallest change that could plausibly turn the boundary green.\n6. Apply the change immediately (no “pending diffs”), then rerun the full boundary in the **same mode**.\n7. Repeat the apply→rerun loop until the boundary is green; do not end with known red tests.\n8. If the primary failure is environmental (e.g., filesystem permission denied to an install destination), explicitly conclude it is not reliably fixable from repo code and switch to making the boundary use an isolated environment only if the repo controls the entrypoint.\n9. Treat deliverable generation as part of the boundary: write artifacts to the **exact required absolute paths** and verify they exist and are non-empty.\n10. If any verification command errors (locale\u002Falias\u002Funicode flags), immediately re-run verification with simpler ASCII-only primitives (`test -s`, `wc -l`, `head`).\n11. If a patch attempt fails to apply, return to a clean working tree and regenerate the patch from real edits (don’t hand-surgery hunks).\n\n```python\nfrom dataclasses import dataclass\n\n@dataclass\nclass Boundary:\n    install_cmd: str\n    test_cmd: str\n    required_artifacts: list[str]\n    toolchain: dict\n    constraints: dict\n\nboundary = Boundary(\n    install_cmd=\"\u003Cinstall command>\",\n    test_cmd=\"\u003Ctest command>\",\n    required_artifacts=[\"\u003Cabsolute output path>\", \"\u003Cabsolute output path>\"],\n    toolchain={\"pip\": \"\u003Cver>\", \"setuptools\": \"\u003Cver>\"},\n    constraints={\"venv\": \"\u003Cyes\u002Fno>\", \"user_site\": \"\u003Cyes\u002Fno>\", \"permissions\": \"\u003Cnotes>\"},\n)\n```\n\nDecision rule: If a change does not move the boundary from red to green within one apply→rerun cycle, revert or isolate it, then pursue the failing assertion\u002Ferror message directly.\n\nRead references\u002Fevaluator-equivalent-repro.md when you can’t reliably reproduce CI locally or suspect toolchain\u002Fversion mismatches. Skip when you already have a container\u002Fvenv that matches CI.\n\nRead references\u002Fpermission-denied-user-site.md when installs fail writing to user-site\u002Fscript directories (EACCES\u002Fpermission denied under a home bin path). Skip when installs happen inside an isolated venv or container with writable paths.\n\nRead references\u002Feditable-installs-old-pip.md when CI uses `pip install -e` and errors mention `build_editable`, PEP 660, or editable fallback behavior. Skip when CI installs non-editable wheels\u002Fsdists only.\n\nRead references\u002Fgenerate-valid-patches.md when you see “corrupt patch”, hunk\u002Fheader mismatches, or repeated apply failures. Skip when you always patch via `git apply` from `git diff` output.\n\nRead references\u002Frequired-deliverables-at-evaluator-path.md when the task requires writing a patch\u002Flog\u002Freport to a specific absolute path or the harness says a deliverable is missing. Skip when the only success condition is passing tests.\n\n## Triage: build\u002Finstall vs runtime\u002Ftest semantics\n\nFirst classify the failure mode and confine changes to that layer:\n\n- Build\u002Finstall\u002Ftooling errors → change packaging\u002Fbuild configuration and metadata alignment.\n- Runtime\u002Ftest failures → change code paths exercised by the failing tests, preserving documented API semantics.\n\n```python\ndef classify_failure(stderr: str) -> str:\n    if any(tok in stderr for tok in (\"build\", \"install\", \"backend\", \"wheel\")):\n        return \"build-install\"\n    return \"runtime-test\"\n\nlayer = classify_failure(\"\u003Ccaptured stderr>\")\n```\n\nDecision rule: Do not modify public API or lifecycle semantics to fix a build\u002Finstall failure unless a failing test explicitly requires it.\n\nRead references\u002Fdont-fix-build-by-changing-runtime.md when a build\u002Finstall failure tempts you to change runtime imports, optional dependencies, or lifecycle behavior. Skip when CI is already past install and failing only unit tests.\n\n## Use non-representative installs as diagnostics (don’t chase them)\n\nSome install modes intentionally omit dependencies; missing imports there are expected and should not drive runtime changes.\n\n```python\ndef is_expected_missing_deps(mode: str, exc: Exception) -> bool:\n    return mode in {\"no-deps\", \"minimal\"} and isinstance(exc, ModuleNotFoundError)\n\nmode = \"\u003Cinstall mode>\"\ntry:\n    __import__(\"some_optional_dependency\")\nexcept Exception as e:\n    if is_expected_missing_deps(mode, e):\n        pass  # diagnostic only\n```\n\nDecision rule: Only change import\u002Foptional-dependency behavior if the evaluator uses that install mode or the tests assert behavior under missing deps.\n\nRead references\u002Fno-deps-probes.md when you used `--no-deps`\u002Fminimal installs and saw import errors. Skip when CI installs full dependencies.\n\n## Common Pitfalls\n\n- Stopping after drafting a fix instead of applying it and rerunning the evaluator boundary in the same mode.\n- Validating only in a convenient environment (often a fresh venv) while the evaluator fails under a different boundary (no venv, pinned tooling, restricted permissions).\n- Targeting a downstream packaging symptom before the first hard failure (e.g., ignoring an EACCES\u002Fpermission error during install).\n- Continuing to refactor after the install\u002Ftest boundary is green, causing new regressions.\n- Fixing packaging\u002Ftooling problems by changing public runtime\u002Fsession semantics.\n- Treating missing imports from diagnostic `--no-deps`\u002Fminimal installs as evidence to change runtime behavior.\n- Fixing editable-install failures by forcing legacy `setup.py develop` fallbacks that require writing to system site-packages, or by adding brittle pins on packaging tooling libraries.\n- Passing tests but failing the task because a required deliverable artifact was not written to (and verified at) the evaluator’s expected absolute path.\n",{"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillGrad\u002Fmain31_clean_20261004_finalized\u002Ftasks\u002Ffix-build-agentops\u002Frepaired_skill\u002Fanalyze-ci",1,"https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark","https:\u002F\u002Fgithub.com\u002Flinyouxue","2026-11-14 20:28:35",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add linyouxue\u002Fskill-repair-benchmark --skill analyze-ci",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill analyze-ci",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill analyze-ci","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillGrad\u002Fmain31_clean_20261004_finalized\u002Ftasks\u002Ffix-build-agentops\u002Frepaired_skill\u002Fanalyze-ci\u002FSKILL.md",true,[],[46,53,60,67,72,77],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":19},"01M7E1HGVRY73NBJ022CJG13X6","video-frame-extraction","Extract frames from video files and save them as images using OpenCV","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7E1HAG5R7CJ9C8NYJS771MB","openai-vision","Analyze images and multi-frame sequences using OpenAI GPT vision models","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7E1H7DADKB6QBWKC2KQ63SZ","image-ocr","Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_03\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[],{"skillNo":68,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7E1H0WBNT43TENGQY7AVZHD","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fvideo-frame-extraction\u002FSKILL.md",[],[],{"skillNo":73,"name":55,"nameZh":6,"description":56,"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":76,"publishedAt":19},"01M7E1GTC7D4N4Q2EF03875J9E","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fopenai-vision\u002FSKILL.md",[],[],{"skillNo":78,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M7E1GQ92CWFMGH53KSSE4WER","https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fjpg-ocr-stat\u002Fresult\u002Fskilltta-claude4.7\u002Fgroup_03\u002Frun_02\u002Finputs\u002Fskills\u002Fimage-ocr\u002FSKILL.md",[],[]]