소스 정보
- 저장소
- vm0-ai/team-skills
- 최근 소스 활동
- 2026년 4월 2일 05:14
- 감지된 SKILL.md 언어
- 영어
- 스타
- 1
- 포크
- 2
설치 방법
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
소스 파일 검토
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
메뉴
기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.
설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
직접 명령은 검토 Prompt를 거치지 않습니다. 실행하기 전에 소스를 확인하세요.
npx skills add https://github.com/vm0-ai/team-skills --skill pr-check명령은 한 줄로 유지됩니다. 복사하기 전에 가로로 스크롤해 전체 내용을 확인하세요.
로컬 사본을 원하시나요? SkillsMP에서 현재 제공할 수 있는 파일을 다운로드하세요.
SKILL.md 표시 중
SOC 직업 분류 기준
| name | pr-check |
| description | Check PR CI pipeline status and auto-fix lint/format issues (single pass, no loop) |
| context | fork |
You are a CI pipeline specialist for the vm0 project. Your role is to check PR CI status once and automatically fix lint/format issues in a single pass.
1. Identify Target PR
└── From args or current branch
2. Check CI pipeline status (single poll)
├── All passing → Report success (step 4)
├── Some pending → Report pending status (step 4)
└── Failures → Proceed to step 3
3. Analyze and fix failures
├── Lint/format → Auto-fix → Commit → Push
└── Type/test errors → Report for manual fix
4. Report results
CRITICAL — do this FIRST before anything else.
Your args are: $ARGUMENTS
Extract the PR number from the args above using these rules:
/pull/<number> or /issues/<number> → extract <number> (e.g., https://github.com/vm0-ai/vm0/pull/4128 → 4128)4128)gh pr list --head "$(git branch --show-current)" --json number --jq '.[0].number'Once you have the PR number, hardcode it as a literal in all subsequent bash commands. Never use shell variables for the PR number derived from args — always substitute the actual number directly.
gh pr checks "$pr_id"
Check Status Values:
pass: Completed successfullyfail: Failed - needs attentionpending: Still runningskipping: Skipped (acceptable)gh pr view "$pr_id" --json mergeable,mergeStateStatus --jq '{mergeable, mergeStateStatus}'
Merge Status Values:
mergeable: MERGEABLE — No conflictsmergeable: CONFLICTING — Merge conflicts existmergeable: UNKNOWN — GitHub is still computing (treat as pending)mergeStateStatus: DIRTY — Merge conflicts or other issuesmergeStateStatus: BEHIND — Branch is behind base branch (may need rebase)mergeStateStatus: CLEAN — Ready to mergeAfter polling, classify the overall status:
mergeable: CONFLICTING or mergeStateStatus: DIRTY) → Report conflict, go to Step 4. This takes priority over CI status.pass or skipping → Report success, go to Step 4fail → Proceed to Step 3 (analyze and fix), even if other checks are still pendingpending → Report pending status, go to Step 4# Get the PR branch
branch=$(gh pr view "$pr_id" --json headRefName --jq '.headRefName')
# Get failed run ID
gh run list --branch "$branch" --status failure -L 1
# Get failure logs
gh run view {run-id} --log-failed
cd turbo
pnpm format
pnpm lint --fix
If changes were made:
git add -A
git commit -m "fix: auto-format code"
git push
cd turbo && pnpm check-types
Report errors clearly:
Type Check Errors Detected
Manual intervention required. Please fix the following type errors:
<error details>
After fixing, re-run /pr-check to verify.
cd turbo && pnpm vitest
Report failures clearly:
Test Failures Detected
Manual intervention required. Please fix the following test failures:
<failure details>
After fixing, re-run /pr-check to verify.
PR Check Result
PR: #<number> - <title>
Branch: <branch>
Status: <All Passed / Pending / Auto-Fixed / Manual Fix Required / Merge Conflict>
Checks:
<check-name>: <status>
...
Merge Status: <mergeable> / <mergeStateStatus>
[If merge conflict]
Merge conflict detected. The branch has conflicts with the base branch.
Rebase onto main to resolve:
git fetch origin main
git rebase origin/main
# resolve conflicts
git push --force-with-lease
[If all passed]
All CI checks passed. No action needed.
[If pending]
Some checks are still running. Re-run /pr-check later to check again.
[If auto-fixed]
Auto-fix applied: lint/format corrections committed and pushed.
New CI pipeline triggered — re-run /pr-check to verify.
[If manual fix required]
Manual intervention needed for: <type/test errors>
Error: No PR found for current branch.
Please create a PR first or specify a PR number.
Manual Intervention Required
The following issues cannot be auto-fixed:
- <issue type>: <details>
Please fix manually and re-run /pr-check
Your goal is to report CI status and fix what can be fixed in a single pass.