Canlı bir Chrome tarayıcısını kontrol ederek navigasyonu otomatize eder, JavaScript hata ayıklama yapar, ağ trafiğini analiz eder ve web performansını profiller.
- GitHub yıldızları
- 41.038
- Dosyalar
- 1
- Son commit
- 11 Kas 2026
- Lisans
- MIT
- İzin verilen araçlar
- —
chrome-devtools skill ne işe yarar?
chrome-devtools bir agent skill'dir. Canlı bir Chrome tarayıcısını kontrol ederek navigasyonu otomatize eder, JavaScript hata ayıklama yapar, ağ trafiğini analiz eder ve web performansını profiller.
Özet, skill'in SKILL.md dosyasından oluşturuldu.
chrome-devtools skilli hakkında
Bu SKILL, canlı bir Chrome tarayıcısı içerisinde web navigasyonunu otomatize etmeyi ve JavaScript hata ayıklamayı sağlar. Geliştiriciler ve test uzmanları; click, fill ve handle_dialog gibi özel araçlar aracılığıyla öğelere tıklayarak, formları doldurarak ve diyalogları yöneterek web sayfalarıyla etkileşime geçebilirler. Bir ajanın basit tarama işlemlerinin ötesine geçip bir sitenin dahili durumunu derinlemesine incelemesi gerektiğinde özellikle kullanışlıdır.
Temel etkileşimin ötesinde bu yetenek, konsol mesajlarını inceleme ve ağ isteklerini analiz etme gibi hata ayıklama kabiliyetleri sunar. take_screenshot ile görsel doğrulama ve öğe uid'lerini almak için take_snapshot ile yapısal analiz yapılmasına olanak tanır. Performans odaklı görevler için bu yetenek, darboğazları veya Core Web Vital sorunlarını belirlemek amacıyla performance_start_trace ile izler kaydedebilir ve performance_analyze_insight ile içgörüler üretebilir. Ayrıca viewport boyutunu değiştirerek veya CPU ve ağ koşullarını kısıtlayarak ortam emülasyonunu da destekler.
Bir agent bununla neler yapabilir
- 1Web formu etkileşimlerini otomatize edinBir ajan bir web sitesine gidebilir, giriş alanlarını bulabilir ve bir kayıt işlemini tamamlamak için verileri girebilir.
- 2JavaScript ve ağ hatalarını hata ayıklayınBir geliştirici, konsol günlüklerini ve başarısız ağ isteklerini kontrol ederek bir web uygulamasının neden hata verdiğini araştırabilir.
- 3Otomasyon için sayfa yapısını çıkarınBir yapay zeka, belirli düğmelere tıklamak için gereken benzersiz tanımlayıcıları bulmak amacıyla metin tabanlı erişilebilirlik ağaçlarını kullanabilir.
Skill'in SKILL.md dosyasından yazılmıştır. Her kullanım durumu oradaki bir alıntı ile kontrol edilir.
chrome-devtools skill nasıl kurulur
Her komut, skill klasörünü istemcinin skills dizinine kopyalar. Yüklemek için istemciyi yeniden başlatın veya yeni bir oturum başlatın.chrome-devtools skill'ini Claude Code uygulamasına kur
~/.claude/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.claude/skills/chrome-devtoolschrome-devtools skill'ini Claude Code (project) uygulamasına kur
.claude/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools .claude/skills/chrome-devtoolschrome-devtools skill'ini Codex uygulamasına kur
~/.agents/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.agents/skills/chrome-devtoolschrome-devtools skill'ini Gemini CLI uygulamasına kur
~/.gemini/skills/chrome-devtools/SKILL.md
$ npx degit github/awesome-copilot/skills/chrome-devtools ~/.gemini/skills/chrome-devtoolschrome-devtools skill'ini Claude.ai uygulamasına kur
npx degit github/awesome-copilot/skills/chrome-devtools chrome-devtools && zip -r chrome-devtools.zip chrome-devtools # claude.ai → Customize → Skills → + → Create skill → Upload a skill → chrome-devtools.zip
Otomatik kontroller
Çalıştırıldı 15 Kas 2026Tam rapor →Otomatik kontrollerimizi geçti. Bu bir güvenlik denetimi değil: bir ajanın çalıştırmasına izin vermeden önce betikleri okuyun. Kontroller nasıl çalışır
- Kaynak deposu bağlantılı ve erişilebilirgithub/awesome-copilot/skills/chrome-devtools is public and reachablegithub.com/github/awesome-copilot/tree/HEAD/skills/chrome-de ↗Geçti
- Açık kaynak lisansı (OSI)MITspdx.org/licenses/MIT.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit 2026-11-11github.com/github/awesome-copilot/commits ↗Geçti
- Betiklerde indir-çalıştır veya kimlik bilgisi hırsızlığı yokNo scripts in the skill folderGeçti
- SKILL.md içinde gizli talimat yokNo override phrases, safeguard switches, credential requests or hidden charactersgithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗Geçti
- Önceden izin verilen araçlar sınırlıNo pre-approved tools; the agent asks before using onegithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗Geçti
- SKILL.md, Agent Skills biçimine uyuyorValid name and description; says when to use it; 98 linesgithub.com/github/awesome-copilot/blob/HEAD/skills/chrome-de ↗Geçti
SKILL.md
GitHub'da görüntüleChrome DevTools Agent
Overview
A specialized skill for controlling and inspecting a live Chrome browser. This skill leverages the chrome-devtools MCP server to perform a wide range of browser-related tasks, from simple navigation to complex performance profiling.
When to Use
Use this skill when:
- Browser Automation: Navigating pages, clicking elements, filling forms, and handling dialogs.
- Visual Inspection: Taking screenshots or text snapshots of web pages.
- Debugging: Inspecting console messages, evaluating JavaScript in the page context, and analyzing network requests.
- Performance Analysis: Recording and analyzing performance traces to identify bottlenecks and Core Web Vital issues.
- Emulation: Resizing the viewport or emulating network/CPU conditions.
Tool Categories
1. Navigation & Page Management
new_page: Open a new tab/page.navigate_page: Go to a specific URL, reload, or navigate history.select_page: Switch context between open pages.list_pages: See all open pages and their IDs.close_page: Close a specific page.wait_for: Wait for specific text to appear on the page.
2. Input & Interaction
click: Click on an element (useuidfrom snapshot).fill/fill_form: Type text into inputs or fill multiple fields at once.hover: Move the mouse over an element.press_key: Send keyboard shortcuts or special keys (e.g., "Enter", "Control+C").drag: Drag and drop elements.handle_dialog: Accept or dismiss browser alerts/prompts.upload_file: Upload a file through a file input.
3. Debugging & Inspection
take_snapshot: Get a text-based accessibility tree (best for identifying elements).take_screenshot: Capture a visual representation of the page or a specific element.list_console_messages/get_console_message: Inspect the page's console output.evaluate_script: Run custom JavaScript in the page context.list_network_requests/get_network_request: Analyze network traffic and request details.
4. Emulation & Performance
resize_page: Change the viewport dimensions.emulate: Throttling CPU/Network or emulating geolocation.performance_start_trace: Start recording a performance profile.performance_stop_trace: Stop recording and save the trace.performance_analyze_insight: Get detailed analysis from recorded performance data.
Workflow Patterns
Pattern A: Identifying Elements (Snapshot-First)
Always prefer take_snapshot over take_screenshot for finding elements. The snapshot provides uid values which are required by interaction tools.
1. `take_snapshot` to get the current page structure.
2. Find the `uid` of the target element.
3. Use `click(uid=...)` or `fill(uid=..., value=...)`.
Pattern B: Troubleshooting Errors
When a page is failing, check both console logs and network requests.
1. `list_console_messages` to check for JavaScript errors.
2. `list_network_requests` to identify failed (4xx/5xx) resources.
3. `evaluate_script` to check the value of specific DOM elements or global variables.
Pattern C: Performance Profiling
Identify why a page is slow.
1. `performance_start_trace(reload=true, autoStop=true)`
2. Wait for the page to load/trace to finish.
3. `performance_analyze_insight` to find LCP issues or layout shifts.
Best Practices
- Context Awareness: Always run
list_pagesandselect_pageif you are unsure which tab is currently active. - Snapshots: Take a new snapshot after any major navigation or DOM change, as
uidvalues may change. - Timeouts: Use reasonable timeouts for
wait_forto avoid hanging on slow-loading elements. - Screenshots: Use
take_screenshotsparingly for visual verification, but rely ontake_snapshotfor logic.
Bu becerideki dosyalar
1chrome-devtools skill soruları
chrome-devtools skill'ini Claude Code uygulamasına nasıl kurarım?
npx degit github/awesome-copilot/skills/chrome-devtools ~/.claude/skills/chrome-devtools komutunu çalıştırın. Claude Code, skill'leri ~/.claude/skills (tüm projeler) veya .claude/skills (tek proje) konumundan yükler ve açıklaması görevle eşleştiğinde skill'i kullanır.
chrome-devtools skill'ini hangi istemciler kullanabilir?
Agent Skills biçimini okuyan her istemci: Claude Code, Codex, Gemini CLI ve claude.ai (ZIP olarak yükleyin). Skill içindeki betikler yalnızca istemcinin kod çalıştırmaya izin verdiği yerlerde çalışır.
Etkileşime geçilecek öğeleri nasıl bulabilirim?
Tıklama veya form doldurma gibi etkileşim araçları için gereken uid değerlerini almak amacıyla metin tabanlı bir erişilebilirlik ağacı sağlayan take_snapshot aracını kullanmalısınız.