[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M71NKVSAGHY0W61HQ250VGHS":3,"skill-same:01M71NKVSAGHY0W61HQ250VGHS":68},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":49,"repositoryHtmlUrl":50,"repositoryHomepageUrl":6,"ownerHtmlUrl":51,"ownerBlogUrl":6,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M71NKVSAGHY0W61HQ250VGHS","pr-review-ci-fix",null,"Automated PR review and CI auto-fix for GitHub and GitLab using the Composio CLI. Pulls diffs, fetches failing job logs, posts review comments, and loops fix commits until checks go green.","q2805187159\u002FAnvil","q2805187159","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F105276843?v=4","01M71KF4TN999VNJX9FY9QT06A","铁甲勇士宋小宝","01M71KF4V97XXQ7AGES97R4Q9F",3,"MIT","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fpr-review-ci-fix\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"pr review","ci fix","fix","ci","review","pr review ci fix","pr","loops","across","logs","comments","auto","diffs","composio cli","auto-fix","failing","for","commits","green","posts","2026-11-10 10:56:23",false,"---\nname: pr-review-ci-fix\ndescription: Automated PR review and CI auto-fix for GitHub and GitLab using the Composio CLI. Pulls diffs, fetches failing job logs, posts review comments, and loops fix commits until checks go green.\nmetadata:\n  short-description: Automated PR review + CI auto-fix across GitHub\u002FGitLab\n---\n\n# PR Review + CI Auto-Fix\n\nDrive GitHub\u002FGitLab PR reviews and CI triage from the shell using the [Composio CLI](https:\u002F\u002Fdocs.composio.dev\u002Fdocs\u002Fcli). No tab-switching between browser, terminal, and chat.\n\n## When to Use\n\n- A PR needs a structured review (correctness, style, risks) with inline comments.\n- CI is red and you want the agent to read the logs, patch the code, and recheck.\n- You want a single command that cycles: **fetch diff → critique → fix → push → rerun**.\n\n## Prereqs\n\n```bash\ncurl -fsSL https:\u002F\u002Fcomposio.dev\u002Finstall | bash\ncomposio login\ncomposio link github        # or: composio link gitlab\n```\n\nOptional env for non-interactive runs: `COMPOSIO_API_KEY`.\n\n## Core Toolkits\n\nDiscover slugs with search, then pin them for reuse:\n\n```bash\ncomposio search \"list pull request files\" --toolkits github\ncomposio search \"download workflow logs\" --toolkits github\ncomposio search \"create pr comment\" --toolkits gitlab\n```\n\nCommon slugs you'll reuse:\n\n- `GITHUB_GET_A_PULL_REQUEST`\n- `GITHUB_LIST_PULL_REQUESTS_FILES`\n- `GITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUEST`\n- `GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY`\n- `GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS`\n- `GITLAB_GET_SINGLE_MERGE_REQUEST`\n- `GITLAB_LIST_MERGE_REQUEST_DISCUSSIONS`\n- `GITLAB_CREATE_NEW_MERGE_REQUEST_NOTE`\n\nAlways confirm via `composio execute \u003CSLUG> --get-schema` before first use.\n\n## Review Workflow\n\n1. **Pull the PR metadata + diff:**\n   ```bash\n   composio execute GITHUB_GET_A_PULL_REQUEST \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482}'\n   composio execute GITHUB_LIST_PULL_REQUESTS_FILES \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482}'\n   ```\n2. **Summarize risk areas** (auth, migrations, public APIs, tests) into a review body.\n3. **Post the review** with inline comments:\n   ```bash\n   composio execute GITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUEST -d '{\n     \"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482,\n     \"event\":\"COMMENT\",\n     \"body\":\"Overall LGTM with 2 blocking notes.\",\n     \"comments\":[\n       {\"path\":\"src\u002Fauth.ts\",\"line\":42,\"body\":\"Missing null check on session\"},\n       {\"path\":\"src\u002Fauth.ts\",\"line\":88,\"body\":\"Token TTL is hardcoded; move to config\"}\n     ]\n   }'\n   ```\n\n## CI Auto-Fix Loop\n\n1. **Find the red run:**\n   ```bash\n   composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"branch\":\"feat\u002Fbilling\",\"status\":\"failure\"}'\n   ```\n2. **Pull logs:**\n   ```bash\n   composio execute GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"run_id\":123456}'\n   ```\n3. **Parse failure → patch locally** (the agent writes the fix into the working tree).\n4. **Commit + push** via local `git`, then re-poll step 1 until `conclusion=success`.\n5. **Post a PR comment** describing each fix commit so the human reviewer sees what changed.\n\n## One-Shot Workflow File\n\nSave as `scripts\u002Freview-and-fix.ts` and run with `composio run --file .\u002Fscripts\u002Freview-and-fix.ts -- --pr 482`:\n\n```ts\nconst pr = process.argv.includes(\"--pr\")\n  ? Number(process.argv[process.argv.indexOf(\"--pr\") + 1])\n  : null;\n\nconst meta = await execute(\"GITHUB_GET_A_PULL_REQUEST\", {\n  owner: \"acme\", repo: \"app\", pull_number: pr\n});\nconst files = await execute(\"GITHUB_LIST_PULL_REQUESTS_FILES\", {\n  owner: \"acme\", repo: \"app\", pull_number: pr\n});\n\nconsole.log(JSON.stringify({ meta, files }, null, 2));\n```\n\n## GitLab Variant\n\nSwap slugs and param names:\n\n```bash\ncomposio execute GITLAB_GET_SINGLE_MERGE_REQUEST \\\n  -d '{\"id\":\"acme\u002Fapp\",\"merge_request_iid\":482}'\ncomposio execute GITLAB_CREATE_NEW_MERGE_REQUEST_NOTE \\\n  -d '{\"id\":\"acme\u002Fapp\",\"merge_request_iid\":482,\"body\":\"CI fix pushed as commit deadbeef\"}'\n```\n\n## Troubleshooting\n\n- **`Connection required for github`** → `composio link github`\n- **Unknown input shape** → `composio execute \u003CSLUG> --get-schema`\n- **Log download huge** → stream via `composio proxy` against the raw API and `grep` locally\n- **Rate limits** → serialize calls or lower poll frequency; avoid `--parallel` for the same repo\n\nFull CLI reference: [docs.composio.dev\u002Fdocs\u002Fcli](https:\u002F\u002Fdocs.composio.dev\u002Fdocs\u002Fcli)\n","# PR Review + CI Auto-Fix\n\nDrive GitHub\u002FGitLab PR reviews and CI triage from the shell using the [Composio CLI](https:\u002F\u002Fdocs.composio.dev\u002Fdocs\u002Fcli). No tab-switching between browser, terminal, and chat.\n\n## When to Use\n\n- A PR needs a structured review (correctness, style, risks) with inline comments.\n- CI is red and you want the agent to read the logs, patch the code, and recheck.\n- You want a single command that cycles: **fetch diff → critique → fix → push → rerun**.\n\n## Prereqs\n\n```bash\ncurl -fsSL https:\u002F\u002Fcomposio.dev\u002Finstall | bash\ncomposio login\ncomposio link github        # or: composio link gitlab\n```\n\nOptional env for non-interactive runs: `COMPOSIO_API_KEY`.\n\n## Core Toolkits\n\nDiscover slugs with search, then pin them for reuse:\n\n```bash\ncomposio search \"list pull request files\" --toolkits github\ncomposio search \"download workflow logs\" --toolkits github\ncomposio search \"create pr comment\" --toolkits gitlab\n```\n\nCommon slugs you'll reuse:\n\n- `GITHUB_GET_A_PULL_REQUEST`\n- `GITHUB_LIST_PULL_REQUESTS_FILES`\n- `GITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUEST`\n- `GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY`\n- `GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS`\n- `GITLAB_GET_SINGLE_MERGE_REQUEST`\n- `GITLAB_LIST_MERGE_REQUEST_DISCUSSIONS`\n- `GITLAB_CREATE_NEW_MERGE_REQUEST_NOTE`\n\nAlways confirm via `composio execute \u003CSLUG> --get-schema` before first use.\n\n## Review Workflow\n\n1. **Pull the PR metadata + diff:**\n   ```bash\n   composio execute GITHUB_GET_A_PULL_REQUEST \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482}'\n   composio execute GITHUB_LIST_PULL_REQUESTS_FILES \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482}'\n   ```\n2. **Summarize risk areas** (auth, migrations, public APIs, tests) into a review body.\n3. **Post the review** with inline comments:\n   ```bash\n   composio execute GITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUEST -d '{\n     \"owner\":\"acme\",\"repo\":\"app\",\"pull_number\":482,\n     \"event\":\"COMMENT\",\n     \"body\":\"Overall LGTM with 2 blocking notes.\",\n     \"comments\":[\n       {\"path\":\"src\u002Fauth.ts\",\"line\":42,\"body\":\"Missing null check on session\"},\n       {\"path\":\"src\u002Fauth.ts\",\"line\":88,\"body\":\"Token TTL is hardcoded; move to config\"}\n     ]\n   }'\n   ```\n\n## CI Auto-Fix Loop\n\n1. **Find the red run:**\n   ```bash\n   composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"branch\":\"feat\u002Fbilling\",\"status\":\"failure\"}'\n   ```\n2. **Pull logs:**\n   ```bash\n   composio execute GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS \\\n     -d '{\"owner\":\"acme\",\"repo\":\"app\",\"run_id\":123456}'\n   ```\n3. **Parse failure → patch locally** (the agent writes the fix into the working tree).\n4. **Commit + push** via local `git`, then re-poll step 1 until `conclusion=success`.\n5. **Post a PR comment** describing each fix commit so the human reviewer sees what changed.\n\n## One-Shot Workflow File\n\nSave as `scripts\u002Freview-and-fix.ts` and run with `composio run --file .\u002Fscripts\u002Freview-and-fix.ts -- --pr 482`:\n\n```ts\nconst pr = process.argv.includes(\"--pr\")\n  ? Number(process.argv[process.argv.indexOf(\"--pr\") + 1])\n  : null;\n\nconst meta = await execute(\"GITHUB_GET_A_PULL_REQUEST\", {\n  owner: \"acme\", repo: \"app\", pull_number: pr\n});\nconst files = await execute(\"GITHUB_LIST_PULL_REQUESTS_FILES\", {\n  owner: \"acme\", repo: \"app\", pull_number: pr\n});\n\nconsole.log(JSON.stringify({ meta, files }, null, 2));\n```\n\n## GitLab Variant\n\nSwap slugs and param names:\n\n```bash\ncomposio execute GITLAB_GET_SINGLE_MERGE_REQUEST \\\n  -d '{\"id\":\"acme\u002Fapp\",\"merge_request_iid\":482}'\ncomposio execute GITLAB_CREATE_NEW_MERGE_REQUEST_NOTE \\\n  -d '{\"id\":\"acme\u002Fapp\",\"merge_request_iid\":482,\"body\":\"CI fix pushed as commit deadbeef\"}'\n```\n\n## Troubleshooting\n\n- **`Connection required for github`** → `composio link github`\n- **Unknown input shape** → `composio execute \u003CSLUG> --get-schema`\n- **Log download huge** → stream via `composio proxy` against the raw API and `grep` locally\n- **Rate limits** → serialize calls or lower poll frequency; avoid `--parallel` for the same repo\n\nFull CLI reference: [docs.composio.dev\u002Fdocs\u002Fcli](https:\u002F\u002Fdocs.composio.dev\u002Fdocs\u002Fcli)\n",{"name":5,"metadata":44,"description":7},{"short-description":45},"Automated PR review + CI auto-fix across GitHub\u002FGitLab","main","6ffadc67c9777282fa1f9330ec12ac8778064409","skills\u002Fpr-review-ci-fix",0,"https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil","https:\u002F\u002Fgithub.com\u002Fq2805187159","Independent Researcher\r\n\r\nEmail: q2805187159@gmail.com\r\n\r\nGithub: q2805187159\r\n\r\nResearch Interests:\r\n- LLM Agents\r\n- Tool Routing\r\n- RAG","2026-06-24 18:31:41",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add q2805187159\u002FAnvil --skill pr-review-ci-fix",{"tool":60,"command":61},"bunx","bunx skills add q2805187159\u002FAnvil --skill pr-review-ci-fix",{"tool":63,"command":64},"pnpm","pnpm dlx skills add q2805187159\u002FAnvil --skill pr-review-ci-fix","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fpr-review-ci-fix\u002FSKILL.md",true,[],[69,101,133,140,166,189],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":73,"licenseFileUrl":74,"sourceHtmlUrl":75,"categories":76,"keywords":85,"publishedAt":39},"01M71NPWVVMB1AZ8XGKNJFT0YP","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fwebapp-testing\u002FSKILL.md",[77,82],{"categoryNo":78,"categoryName":79,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",{"categoryNo":83,"categoryName":84,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000009","前端开发",[86,87,88,35,89,90,91,92,93,28,94,95,96,97,98,99,100],"webapp","testing","webapp testing","applications","local","frontend","debugging","toolkit","browser","with","playwright","web","behavior","ui","screenshots",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":115,"publishedAt":39},"01M71NPTQ96H4XSZVZT422BNRB","web-design-guidelines","Review UI code for Web Interface Guidelines compliance. Use when asked to \"review my UI\", \"check accessibility\", \"audit design\", \"review UX\", or \"check my site against best practices\".","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design-guidelines\u002FSKILL.md",[107,110],{"categoryNo":108,"categoryName":109,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},"01JBSEEDCAT000000000000032","设计师","PROFESSION","适用职业",[116,117,97,118,119,35,120,121,122,123,124,125,126,127,23,128,129,130,131,132],"guidelines","design","web design guidelines","web design","vercel","interface","web interface guidelines","use","when","best practices","file","code","check","compliance","audit","ux","accessibility",{"skillNo":134,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":139,"publishedAt":39},"01M71NPS2D31Y2BGFYA9DB7CE4","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design-guidelines copy\u002FSKILL.md",[137,138],{"categoryNo":108,"categoryName":109,"taxonomyType":80,"taxonomyTypeDesc":81},{"categoryNo":111,"categoryName":112,"taxonomyType":113,"taxonomyTypeDesc":114},[116,117,97,118,119,35,120,121,122,123,124,125,126,127,23,128,129,130,131,132],{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":152,"publishedAt":39},"01M71NPQ9DRT54QSQJ0BHBM3VG","video-generation","Use this skill when the user requests to generate, create, or imagine videos. Supports structured prompts and reference image for guided generation.","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-generation\u002FSKILL.md",[146,149],{"categoryNo":147,"categoryName":148,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000016","图像与多媒体",{"categoryNo":150,"categoryName":151,"taxonomyType":80,"taxonomyTypeDesc":81},"01JBSEEDCAT000000000000023","Skill与智能体开发",[153,154,155,35,123,124,156,157,158,159,160,161,162,163,164,165],"Video","video generation","generation","image","create","imagine","requests","generate","videos","reference","prompts","user","structured",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":173,"publishedAt":39},"01M71NPN57CT154SWXAS52475X","youtube-downloader","Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports various quality settings (best, 1080p, 720p, 480p, 360p), multiple formats (mp4, webm, mkv), and audio-only downloads as MP3.","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fvideo-downloader\u002FSKILL.md",[172],{"categoryNo":147,"categoryName":148,"taxonomyType":80,"taxonomyTypeDesc":81},[174,175,176,177,178,179,180,123,124,181,95,182,183,184,185,186,161,187,164,188],"youtube","youtube downloader","mp4","as","downloads","Audio","only","mp3","options","quality","format","settings","grab","formats","download",{"skillNo":190,"name":191,"nameZh":6,"description":192,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":193,"categories":194,"keywords":195,"publishedAt":39},"01M71NPKD95YB8N3J6J78QGFFW","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fq2805187159\u002FAnvil\u002Fblob\u002Fmain\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[196,197,198,199,200,201,202,123,203,124,204,205,206,207,208,209],"verification","verification before completion","running","evidence","complete","prs","claim","assertions","committing","output","claims","work","about","commands"]