pr-review-ci-fix
하는 일
이 스킬은 AI 에이전트가 풀 리퀘스트를 검토하고, 실패한 빌드 로그를 읽고, 수정을 제안하거나 직접 고치도록 돕습니다. 리뷰와 지속적 통합 사이의 순환을 빠르게 하고 싶은 개발자를 위한 스킬입니다.
사용하는 경우
- ✓풀 리퀘스트에 특정 줄에 대한 댓글이 달린 구조화된 리뷰가 필요할 때.
- ✓지속적 통합 검사가 실패해서 에이전트가 로그를 읽고 원인을 찾기를 원하는 경우.
- ✓검사가 모두 통과할 때까지 수정, 푸시, 재확인을 반복하고 싶을 때.
스킬 링크
https://github.com/composio-community/awesome-codex-skills/blob/master/pr-review-ci-fix/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 풀 리퀘스트에서 CI가 실패하고 있습니다. 로그를 읽고 잘못된 부분을 고친 뒤 다시 확인해 주실 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 Composio 도구로 풀 리퀘스트의 변경 내용과 실패한 작업 로그를 가져옵니다. 변경 사항을 검토하고 수정을 제안하며, 커밋을 푸시하고 검사를 다시 실행해 통과하거나 사용자의 입력이 필요할 때까지 반복합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
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
자주 묻는 질문
GitLab에서도 작동하나요?
네. 스킬은 Composio 도구를 통해 GitHub와 GitLab을 모두 다룹니다.
에이전트가 쓰기 전에 도구 이름을 확인하나요?
네. 각 도구를 처음 쓰기 전에 그 스키마를 확인합니다.
반복을 멈출 수 있나요?
네. 언제든 순환을 멈출 수 있으며, 에이전트는 어디까지 했는지 알려 줍니다.
상세 정보
작성자의 원본 설명
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.
인기도
- GitHub 스타
- 17k
- 순위
- #10758
- 라이선스
- —
- 업데이트
- 2026. 7. 25.
댓글
- …
이 저장소의 다른 스킬
agent-deep-links
17k에이전트가 Codex나 Cursor 같은 앱에서 스레드, 파일, 폴더, 설정을 바로 여는 클릭 가능한 링크를 만들도록 돕습니다.
brand-guidelines
17k에이전트가 결과물에 OpenAI 스타일의 브랜드 색과 글꼴을 적용해 Codex의 느낌과 맞추도록 돕습니다.
codebase-migrate
17k에이전트가 프레임워크 업그레이드나 API 이름 변경처럼 수백 개 파일에 걸친 대규모 코드 마이그레이션을 계획하도록 돕습니다.
connect-apps
17k에이전트가 Gmail, Slack, GitHub 같은 앱에서 이메일 보내기나 이슈 만들기처럼 실제 작업을 하도록 돕습니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.