
Autonomous PR
Otonom PR yasam dongusu.
Install
npx skills add vibeeval/vibecosystem --skill autonomous-pr -g -a claude-code -y- Repository
- vibeeval/vibecosystem541
- Category
- Git and review
- Updated
- 3mo ago
- License
- MIT
- Context cost
- Lightabout 1,325 tokens
- Runs scripts
- No, instructions only
What it does
Otonom PR yasam dongusu. PR olustur, CI bekle, hata varsa duzelt, review feedback'i uygula, merge'e hazirla. Budget ve zaman limiti ile kontrol altinda tutulan tam otonom PR pipeline'i.
Autonomous PR Lifecycle
PR'i olusturmaktan merge'e kadar tum sureci otonom yonet. CI basarisiz olursa duzelt, review feedback gelirse uygula, butce asarsa dur.
PR Pipeline
1. BRANCH → Feature branch olustur
2. IMPLEMENT → Kodu yaz (kraken/spark)
3. VERIFY → Lokal test + lint + build
4. PR CREATE → gh pr create
5. CI WAIT → CI pipeline'i bekle
6. CI FIX → Basarisizsa duzelt, tekrar push (max 3)
7. REVIEW → Review feedback bekle
8. APPLY → Feedback'i uygula
9. READY → Merge'e hazir bildir
Kullanim
Basit: Tek PR
# Claude'a otonom PR olusturttir
claude -p "
Feature: kullanici profil sayfasi ekle
Branch: feat/user-profile
PR target: main
Pipeline:
1. Branch olustur
2. Implement et
3. Test yaz
4. PR olustur
5. CI bekle ve fix et
6. Hazir olunca bildir
"
Gelismis: Budget ve Zaman Limiti
claude -p "
Feature: auth middleware refactor
Branch: refactor/auth-middleware
PR target: main
Limitler:
--budget 500K tokens # Max token harcama
--max-duration 30m # Max sure
--max-ci-retries 3 # Max CI fix denemesi
--auto-merge false # Merge'i ben onaylayacagim
Basarisiz olursa:
Draft PR olarak birak, ne yaptigini acikla
"
CI Fix Dongusu
CI BASARISIZ
│
├─ Build hatasi?
│ └─ build-error-resolver agent cagir
│ └─ Fix → Push → CI tekrar bekle
│
├─ Test basarisiz?
│ └─ Hata mesajini oku
│ ├─ Test kodu hatali → Test'i duzelt
│ └─ Implementation hatali → Kodu duzelt
│ └─ Push → CI tekrar bekle
│
├─ Lint hatasi?
│ └─ Otomatik fix (prettier, eslint --fix)
│ └─ Push → CI tekrar bekle
│
├─ Type hatasi?
│ └─ Type fix uygula
│ └─ Push → CI tekrar bekle
│
└─ 3. deneme basarisiz?
└─ DURR → Draft PR olarak birak
└─ PR body'ye aciklama yaz
CI Fix Script
#!/bin/bash
# scripts/ci-fix-loop.sh
MAX_RETRIES=3
RETRY=0

