[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BZG4TMEAKX5WHWPEQGX0H2":3,"skill-same:01M7BZG4TMEAKX5WHWPEQGX0H2":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},"01M7BZG4TMEAKX5WHWPEQGX0H2","maven-build-lifecycle",null,"Iterate on Maven builds by rerunning the same target command until it is green, and only export patches from real working-tree edits.","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-google-auto\u002Frepaired_skill\u002Fmaven-build-lifecycle\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maven-build-lifecycle\ndescription: Iterate on Maven builds by rerunning the same target command until it is green, and only export patches from real working-tree edits.\n---\n\n# Maven Build Lifecycle\n\nMaster Maven's build lifecycle including phases, goals, profiles, and build customization for efficient Java project builds.\n\n## Verify-first workflow (close the loop)\n\n1. Run the exact CI\u002Ftarget command (same `-f`, profiles, and flags) and treat the first failure as your current gate.\n2. **Gate on provenance before wide edits:** before changing parents, reactor versions, or many POMs, locate the *declaring* source and scope of the failing artifact in the failing module (effective POM \u002F verbose dependency tree).\n3. Fix only the earliest failing module\u002Fphase first (dependency resolution → compile → tests → packaging), then re-run the same command immediately.\n4. Treat every \"new\" failure after a fix as expected: record it, fix it, and keep looping until the full command succeeds.\n5. Do not leave changes in a \"draft\" state: always apply edits to the working tree and re-run the target command; avoid reasoning about un-applied diffs.\n6. Do not hand-author diff hunks: edit files, then generate the patch with `git diff` (or `git format-patch`) and validate it applies.\n7. When tests fail, read the Surefire\u002FFailsafe report files under `target\u002F*-reports\u002F` for the authoritative stack trace and assertion diff.\n\n```bash\nmvn -B -e verify\n# before large-scale POM edits, confirm where the failing artifact is declared\nmvn -pl \u003Cmodule> -Dverbose dependency:tree -Dincludes=\u003CgroupId:artifactId>\n# make edits in the working tree\ngit diff > patch_1.diff\n# gate submission on the patch applying cleanly\ngit apply --check patch_1.diff\n```\n\nDecision rule: if you cannot show a final successful run of the exact target command *and* a patch that passes `git apply --check`, assume the task is still failing and continue iterating.\n\nRead references\u002Fdependency-provenance-tracing.md when a build fails on a missing\u002Fundesired artifact and you are about to change parents, align many versions, or edit multiple POMs.\nSkip when you already know the exact declaring POM line (e.g., a direct dependency in the current module) and only need to apply a small local edit.\n\nRead references\u002Fpatch-export-and-apply-check.md when you are preparing `patch_1.diff` or see `git apply` errors like “corrupt patch” or “patch does not apply”.\nSkip when you are not required to output a patch file (you can commit directly).\n\nRead references\u002Fmaven-test-failure-loop.md when `mvn ... test\u002Fverify` fails in Surefire\u002FFailsafe and you need a tight diagnose→patch→rerun loop.\nSkip when you already have a single known failing test with a clear minimal fix.\n\nRead references\u002Fjdk9-element-enclosing-walk.md when upgrading to JDK 9+ reveals incorrect symbol\u002Fname\u002Fvisibility logic that walks `Element.getEnclosingElement()`.\nSkip when failures are confined to dependency resolution or plugin configuration (no Java element-model traversal involved).\n\n## Default Lifecycle Phases\n\n### Complete Phase Order\n\n```\n1.  validate      - Validate project structure\n2.  initialize    - Initialize build state\n3.  generate-sources\n4.  process-sources\n5.  generate-resources\n6.  process-resources - Copy resources to output\n7.  compile       - Compile source code\n8.  process-classes\n9.  generate-test-sources\n10. process-test-sources\n11. generate-test-resources\n12. process-test-resources\n13. test-compile  - Compile test sources\n14. process-test-classes\n15. test          - Run unit tests\n16. prepare-package\n17. package       - Create JAR\u002FWAR\n18. pre-integration-test\n19. integration-test - Run integration tests\n20. post-integration-test\n21. verify        - Run verification checks\n22. install       - Install to local repo\n23. deploy        - Deploy to remote repo\n```\n\n## Common Pitfalls\n\n1. **Stopping early** - A build that \"gets further\" is still failing; iterate until the exact target command is green.\n2. **Unapplied\u002Fdraft changes** - Reasoning about a fix without applying it and re-running the target command leaves the true failure unknown.\n3. **Hand-authored patches** - Manually editing diff hunks leads to “corrupt patch” \u002F “patch does not apply”; export patches from real working-tree edits and gate on `git apply --check`.\n4. **Multi-POM edits without origin check** - Editing many module POMs before confirming the *declaring* source (effective POM \u002F verbose dependency tree) leads to cargo-cult fixes.\n","# Maven Build Lifecycle\n\nMaster Maven's build lifecycle including phases, goals, profiles, and build customization for efficient Java project builds.\n\n## Verify-first workflow (close the loop)\n\n1. Run the exact CI\u002Ftarget command (same `-f`, profiles, and flags) and treat the first failure as your current gate.\n2. **Gate on provenance before wide edits:** before changing parents, reactor versions, or many POMs, locate the *declaring* source and scope of the failing artifact in the failing module (effective POM \u002F verbose dependency tree).\n3. Fix only the earliest failing module\u002Fphase first (dependency resolution → compile → tests → packaging), then re-run the same command immediately.\n4. Treat every \"new\" failure after a fix as expected: record it, fix it, and keep looping until the full command succeeds.\n5. Do not leave changes in a \"draft\" state: always apply edits to the working tree and re-run the target command; avoid reasoning about un-applied diffs.\n6. Do not hand-author diff hunks: edit files, then generate the patch with `git diff` (or `git format-patch`) and validate it applies.\n7. When tests fail, read the Surefire\u002FFailsafe report files under `target\u002F*-reports\u002F` for the authoritative stack trace and assertion diff.\n\n```bash\nmvn -B -e verify\n# before large-scale POM edits, confirm where the failing artifact is declared\nmvn -pl \u003Cmodule> -Dverbose dependency:tree -Dincludes=\u003CgroupId:artifactId>\n# make edits in the working tree\ngit diff > patch_1.diff\n# gate submission on the patch applying cleanly\ngit apply --check patch_1.diff\n```\n\nDecision rule: if you cannot show a final successful run of the exact target command *and* a patch that passes `git apply --check`, assume the task is still failing and continue iterating.\n\nRead references\u002Fdependency-provenance-tracing.md when a build fails on a missing\u002Fundesired artifact and you are about to change parents, align many versions, or edit multiple POMs.\nSkip when you already know the exact declaring POM line (e.g., a direct dependency in the current module) and only need to apply a small local edit.\n\nRead references\u002Fpatch-export-and-apply-check.md when you are preparing `patch_1.diff` or see `git apply` errors like “corrupt patch” or “patch does not apply”.\nSkip when you are not required to output a patch file (you can commit directly).\n\nRead references\u002Fmaven-test-failure-loop.md when `mvn ... test\u002Fverify` fails in Surefire\u002FFailsafe and you need a tight diagnose→patch→rerun loop.\nSkip when you already have a single known failing test with a clear minimal fix.\n\nRead references\u002Fjdk9-element-enclosing-walk.md when upgrading to JDK 9+ reveals incorrect symbol\u002Fname\u002Fvisibility logic that walks `Element.getEnclosingElement()`.\nSkip when failures are confined to dependency resolution or plugin configuration (no Java element-model traversal involved).\n\n## Default Lifecycle Phases\n\n### Complete Phase Order\n\n```\n1.  validate      - Validate project structure\n2.  initialize    - Initialize build state\n3.  generate-sources\n4.  process-sources\n5.  generate-resources\n6.  process-resources - Copy resources to output\n7.  compile       - Compile source code\n8.  process-classes\n9.  generate-test-sources\n10. process-test-sources\n11. generate-test-resources\n12. process-test-resources\n13. test-compile  - Compile test sources\n14. process-test-classes\n15. test          - Run unit tests\n16. prepare-package\n17. package       - Create JAR\u002FWAR\n18. pre-integration-test\n19. integration-test - Run integration tests\n20. post-integration-test\n21. verify        - Run verification checks\n22. install       - Install to local repo\n23. deploy        - Deploy to remote repo\n```\n\n## Common Pitfalls\n\n1. **Stopping early** - A build that \"gets further\" is still failing; iterate until the exact target command is green.\n2. **Unapplied\u002Fdraft changes** - Reasoning about a fix without applying it and re-running the target command leaves the true failure unknown.\n3. **Hand-authored patches** - Manually editing diff hunks leads to “corrupt patch” \u002F “patch does not apply”; export patches from real working-tree edits and gate on `git apply --check`.\n4. **Multi-POM edits without origin check** - Editing many module POMs before confirming the *declaring* source (effective POM \u002F verbose dependency tree) leads to cargo-cult fixes.\n",{"name":5,"description":7},"main","cdcb6d230f3b15c3c33f8a2bdd16439f43602cbe","evaluation\u002Fresults\u002FSkillGrad\u002Fmain31_clean_20261004_finalized\u002Ftasks\u002Ffix-build-google-auto\u002Frepaired_skill\u002Fmaven-build-lifecycle",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 maven-build-lifecycle",{"tool":37,"command":38},"bunx","bunx skills add linyouxue\u002Fskill-repair-benchmark --skill maven-build-lifecycle",{"tool":40,"command":41},"pnpm","pnpm dlx skills add linyouxue\u002Fskill-repair-benchmark --skill maven-build-lifecycle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flinyouxue\u002Fskill-repair-benchmark\u002Fblob\u002Fmain\u002Fevaluation\u002Fresults\u002FSkillGrad\u002Fmain31_clean_20261004_finalized\u002Ftasks\u002Ffix-build-google-auto\u002Frepaired_skill\u002Fmaven-build-lifecycle\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",[],[]]