From argos
Repo onboarding + code archaeology — yeni geliştirici/AI session'ı 30 dakikada repo'yu kavrasın. Decision tree (X için hangi dosya), stack tour, C4 model, glossary, common task playbook, git log/blame ile "neden böyle yazılmış", tribal knowledge çıkarımı.
npx claudepluginhub resultakak/argos --plugin argosThis skill uses the workspace's default tool permissions.
`agents/shared/severity-rubric.md` ve `agents/shared/escalation-matrix.md` default-load
Mandates invoking relevant skills via tools before any response in coding sessions. Covers access, priorities, and adaptations for Claude Code, Copilot CLI, Gemini CLI.
Share bugs, ideas, or general feedback.
agents/shared/severity-rubric.md ve agents/shared/escalation-matrix.md default-load
sayılır (agents/coordination.md §11). Bu skill'in çıktısı Critical / High / Medium /
Low + kanıt formatında olmak zorunda — spekülatif Critical yasak. Sahiplik dışı bulgu
ilgili agent'a delege; karar yetkisi eşiği aşılırsa kullanıcı onayı zorunlu.
[Repo adı] [bir cümlede ne yapar].
[Stack: Python/Node/Go + framework + DB].
[Sahip ekip(ler) + on-call rotasyon].
[Production scale: X RPS / Y kullanıcı / Z servis].
[Critical dependency: A (DB), B (queue), C (3rd party)].
[Public-facing: API / UI / mobile].
Örnek:
payments-platformPython (FastAPI) + Postgres + Redis + Kafka. 4 mikroservis (api-svc,worker,webhook-receiver,admin-tool); 6 mühendisli payments ekibi sahip; PagerDuty rotasyon haftalık. Prod 850 RPS peak / 12k aktif kullanıcı. Stripe (payment provider) + AWS RDS + Datadog + Cloudflare. REST API customer mobile app + admin web tool tarafından tüketilir.
"X yapacağım, hangi dosyaya bakayım?" — docs/ARCHITECTURE.md benzeri.
| Hedef | İlk durak |
|---|---|
| Yeni endpoint eklemek | `app/routes/` (FastAPI router) |
| Yeni DB tablosu | `migrations/` (Alembic) + `app/models/` (SQLAlchemy) |
| Background job | `app/tasks/` (Celery) |
| Yeni alert | `monitoring/alerts/` (Prom rule) + runbook |
| API contract change | `openapi.yaml` + `tests/contract/` (schemathesis) |
| Frontend feature | (ayrı repo) `acme/payments-frontend` |
| Bug raporu | GitHub issues + `runbooks/` |
| Üretim incident | `runbooks/incidents/` + `/production-incident` slash |
| Performance regression | `/capacity-plan` + Datadog dashboard |
| Kategori | Tool | Versiyon | Komut |
|---|---|---|---|
| Build | poetry | 1.7+ | poetry install |
| Run (local) | uvicorn | — | make dev veya uvicorn app.main:app --reload |
| Test | pytest | 8.x | make test veya pytest -q |
| Lint | ruff + mypy | — | make lint |
| Container | docker | 25+ | docker compose up |
| Migration | alembic | 1.13+ | alembic upgrade head |
| Deploy | ArgoCD | 2.10 | git push → auto-sync staging |
| Logs | Loki / Datadog | — | datadog-cli veya UI link |
| Trace | Tempo / Datadog APM | — | OTel SDK + Tempo backend |
| Secret | AWS Secrets Manager + sealed-secrets | — | kubectl get sealedsecret |
| CI | GitHub Actions | — | .github/workflows/ci.yml |
[Customer Mobile App] ──→ [Payments Platform API] ──→ [Stripe]
[Admin Web Tool] ──→ ──→ [Bank API]
←── [Webhook Receiver]
↓
[Postgres + Redis + Kafka]
4 container:
api-svc (FastAPI, port 8080, public via API GW + WAF)worker (Celery, no port, consumes Kafka topics)webhook-receiver (FastAPI, port 8081, public via dedicated subdomain + signature verify)admin-tool (FastAPI + simple HTML, port 8082, internal-only via VPN)api-svc içinde:
app/routes/ — HTTP handlers (thin)app/services/ — business logicapp/repositories/ — DB access (SQLAlchemy)app/integrations/ — external API client (Stripe, bank)app/observability/ — logger + tracer + PII redactKarmaşık dosya/sınıf detayı (sadece refactor / debug için).
docs/GLOSSARY.md benzeri)Domain dili + tooling:
| Terim | Tanım |
|---|---|
| Order | Müşterinin satın alma niyeti; lifecycle: created→pending→paid→shipped→delivered |
| Payment Intent | Stripe terminolojisi; payment'ı initiate eden token |
| Idempotency Key | Client-generated UUID; same key → same response 24h |
| Webhook | 3rd party (Stripe/bank) event push'u; signature verify zorunlu |
| PCI scope | DB'de full PAN saklanan resource'lar; minimize tarih |
| MTTD/MTTR | Mean Time to Detect / Recover (incident metric) |
| PgBouncer | PostgreSQL connection pooler (transaction mode) |
| SLO/SLI | Service Level Objective/Indicator (error budget hesabı) |
app/routes/<resource>.py route handler.app/services/<resource>_service.py business logic.app/schemas/<resource>.py Pydantic input/output.tests/api/test_<resource>.py pytest + httpx.openapi.yaml schema güncelle (auto-gen via FastAPI).### Added satır.monitoring/alerts/<service>.yaml Prom rule.runbooks/<alert-name>.md (alert→action→escalation).alembic revision --autogenerate -m "<desc>".alembic upgrade head test.(daha fazla playbook task'a göre).
Sorular ve nasıl cevap bulunur:
| Soru | Komut |
|---|---|
| Bu fonksiyon ne zaman/kim yazdı? | git log --follow -p path/file.py |
| Bu satırı kim ekledi? | git blame path/file.py veya git log -L start,end:file |
| Bu sınıf neden var? | linked issue/PR (commit message), ADR (docs/adr/) |
| Mimari karar gerekçesi? | docs/adr/NNN-*.md |
| Çıkmış incident var mı? | runbooks/postmortems/ veya git log --grep=incident |
| Refactor planı var mı? | GitHub issue tech-debt label |
| Tribal: "Bu değişmesin" | # DO NOT TOUCH comment + git blame ile sahip |
#engineering #oncall channel son 6 ay
archive → "neden X" pattern bul.docs/postmortems/ + docs/retro/.docs/adr/ Markdown decision records.| Metric | Hedef |
|---|---|
| Repo intro okuma | < 5 dk |
| İlk environment kurulum | < 1 saat |
| İlk PR (trivial fix) | < 3 gün |
| İlk PR (feature) | < 2 hafta |
| İlk on-call shadow | < 1 ay |
| İlk on-call solo | < 3 ay |
| Repo sürpriz oranı ("nereden geldi bu") | < 1 / hafta sonrası |
User: /onboard payments-platform
Agent (architecture-cartographer):
1. Repo intro: 1 paragraf (FastAPI + Postgres + ...).
2. Decision tree: 9 madde tablo.
3. Stack tour: 11 tool + versiyon + komut.
4. C4 Level 1+2: ASCII diagram.
5. Glossary: 8 kritik terim.
6. Common task: 3 playbook (endpoint / alert / migration).
7. Code archaeology guide: 7 soru → komut.
8. Tribal: Slack archive 6 ay scrape öner; ADR template ekle.
9. KPI: 7 metric + dashboard önerisi.
10. Output: `docs/ONBOARDING.md` doldurulmuş.
11. Eksik: ADR yok (Critical) + 4 ay'lık stale README (High).
12. Action item: 8 issue (sahip + tarih).
# Onboarding: <repo>
## Repo Intro
## Decision Tree
| Hedef | İlk durak |
## Stack Tour
| Kategori | Tool | Versiyon | Komut |
## Architecture (C4)
## Glossary
## Common Task Playbook
## Code Archaeology
## Tribal Knowledge Çıkarımı
## Onboarding KPI
## Critical / High / Medium / Low Eksik
## Action Items
| P | Aksiyon | Sahip | Bitiş | Issue |