pr-review-ci-fix
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.
Install / Use
npx skills add composio-community/awesome-codex-skills --skill pr-review-ci-fixInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
AutomationSupported Platforms
Our assessment of pr-review-ci-fix
pr-review-ci-fix scores 93/100 on our quality scale, 513th of 1,943 Automation skills we index (top 27%).
Its SKILL.md is 4.3 KB long, well organised into 9 sections with 4 code examples: a solid amount of guidance for an agent.
With 16,633 GitHub stars, it is one of the more widely adopted skills in the catalogue.
Maintenance, license and trust
- The repository was last updated about 2 months ago, so pr-review-ci-fix is actively maintained.
- No license is declared. By default that means all rights are reserved: you can read it, but reusing or redistributing it is not clearly permitted. Ask the author before building on it commercially.
- Its trust signals score 88/100, with 1 caution from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.
pr-review-ci-fix compared with similar skills
All 4 of these similar skills score higher than pr-review-ci-fix; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| pr-review-ci-fix (this skill)by composio-community | 93 | 16.6k | 2mo ago | SKILL.md |
| Agent-Reachby Panniantong | 100 | 85.8k | 12d ago | CLAUDE.md |
| rufloby ruvnet | 100 | 73.4k | today | CLAUDE.md |
| Scraplingby D4Vinci | 100 | 84.1k | today | MCP Server |
| algorithmic-artby anthropics | 100 | 177.9k | 5d ago | SKILL.md |
Frequently asked questions
- How do I install pr-review-ci-fix?
- Run
npx skills add composio-community/awesome-codex-skills --skill pr-review-ci-fix. The install tabs above show the steps for each supported agent. - Which AI agents does pr-review-ci-fix work with?
- It is written for Universal, as a SKILL.md file. Other agents that read the same format can often use it too.
- Is pr-review-ci-fix safe to use?
- It declares no license and scores 88/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
- Is pr-review-ci-fix still maintained?
- The repository was last updated about 2 months ago, so pr-review-ci-fix is actively maintained.
Skill content
View source on GitHubname: pr-review-ci-fix description: 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. metadata: short-description: Automated PR review + CI auto-fix across GitHub/GitLab
PR Review + CI Auto-Fix
Drive GitHub/GitLab PR reviews and CI triage from the shell using the Composio CLI. No tab-switching between browser, terminal, and chat.
When to Use
- A PR needs a structured review (correctness, style, risks) with inline comments.
- CI is red and you want the agent to read the logs, patch the code, and recheck.
- You want a single command that cycles: fetch diff → critique → fix → push → rerun.
Prereqs
curl -fsSL https://composio.dev/install | bash
composio login
composio link github # or: composio link gitlab
Optional env for non-interactive runs: COMPOSIO_API_KEY.
Core Toolkits
Discover slugs with search, then pin them for reuse:
composio search "list pull request files" --toolkits github
composio search "download workflow logs" --toolkits github
composio search "create pr comment" --toolkits gitlab
Common slugs you'll reuse:
GITHUB_GET_A_PULL_REQUESTGITHUB_LIST_PULL_REQUESTS_FILESGITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUESTGITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORYGITHUB_DOWNLOAD_WORKFLOW_RUN_LOGSGITLAB_GET_SINGLE_MERGE_REQUESTGITLAB_LIST_MERGE_REQUEST_DISCUSSIONSGITLAB_CREATE_NEW_MERGE_REQUEST_NOTE
Always confirm via composio execute <SLUG> --get-schema before first use.
Review Workflow
- Pull the PR metadata + diff:
composio execute GITHUB_GET_A_PULL_REQUEST \ -d '{"owner":"acme","repo":"app","pull_number":482}' composio execute GITHUB_LIST_PULL_REQUESTS_FILES \ -d '{"owner":"acme","repo":"app","pull_number":482}' - Summarize risk areas (auth, migrations, public APIs, tests) into a review body.
- Post the review with inline comments:
composio execute GITHUB_CREATE_A_REVIEW_FOR_A_PULL_REQUEST -d '{ "owner":"acme","repo":"app","pull_number":482, "event":"COMMENT", "body":"Overall LGTM with 2 blocking notes.", "comments":[ {"path":"src/auth.ts","line":42,"body":"Missing null check on session"}, {"path":"src/auth.ts","line":88,"body":"Token TTL is hardcoded; move to config"} ] }'
CI Auto-Fix Loop
- Find the red run:
composio execute GITHUB_LIST_WORKFLOW_RUNS_FOR_A_REPOSITORY \ -d '{"owner":"acme","repo":"app","branch":"feat/billing","status":"failure"}' - Pull logs:
composio execute GITHUB_DOWNLOAD_WORKFLOW_RUN_LOGS \ -d '{"owner":"acme","repo":"app","run_id":123456}' - Parse failure → patch locally (the agent writes the fix into the working tree).
- Commit + push via local
git, then re-poll step 1 untilconclusion=success. - Post a PR comment describing each fix commit so the human reviewer sees what changed.
One-Shot Workflow File
Save as scripts/review-and-fix.ts and run with composio run --file ./scripts/review-and-fix.ts -- --pr 482:
const pr = process.argv.includes("--pr")
? Number(process.argv[process.argv.indexOf("--pr") + 1])
: null;
const meta = await execute("GITHUB_GET_A_PULL_REQUEST", {
owner: "acme", repo: "app", pull_number: pr
});
const files = await execute("GITHUB_LIST_PULL_REQUESTS_FILES", {
owner: "acme", repo: "app", pull_number: pr
});
console.log(JSON.stringify({ meta, files }, null, 2));
GitLab Variant
Swap slugs and param names:
composio execute GITLAB_GET_SINGLE_MERGE_REQUEST \
-d '{"id":"acme/app","merge_request_iid":482}'
composio execute GITLAB_CREATE_NEW_MERGE_REQUEST_NOTE \
-d '{"id":"acme/app","merge_request_iid":482,"body":"CI fix pushed as commit deadbeef"}'
Troubleshooting
Connection required for github→composio link github- Unknown input shape →
composio execute <SLUG> --get-schema - Log download huge → stream via
composio proxyagainst the raw API andgreplocally - Rate limits → serialize calls or lower poll frequency; avoid
--parallelfor the same repo
Full CLI reference: docs.composio.dev/docs/cli
Related Skills
Agent-Reach
85.8kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
ruflo
73.4k🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
Scrapling
84.1k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
