Back to list
daichan132

extension-debug

by daichan132

Chrome extension for Youtube Live

28🍴 0📅 Jan 22, 2026

SKILL.md


name: extension-debug description: Debug browser extension behavior. Use when asked to debug/reproduce extension issues in Chrome/Firefox, or mentions content script/popup/service worker/manifest/permissions. metadata: short-description: Debug Chrome/Firefox extension issues

Goal

  • Reproduce and debug issues in the extension with clear logs and minimal guesswork.

Inputs (ask only if missing)

  • Where the issue occurs: content script / popup / background (service worker) / options page.
  • Browser: Chrome, Firefox, or both.
  • Repro steps (URL, actions) if not provided.

Steps

  1. Build/run in dev mode
    • Chrome: yarn dev
    • Firefox: yarn dev:firefox
  2. Load/refresh the extension in the browser
    • Use the built output under .output/ (e.g., .output/chrome-mv3) as the load-unpacked target
    • After rebuild: reload extension + reload the target page
  3. Collect the right console logs
    • Popup: open popup, inspect its console
    • Content: open target page devtools console (content script logs)
    • Background/SW: open extension detail page and inspect the service worker console
  4. Narrow down the entrypoint and file
    • Use rg for the feature/keyword and follow imports into shared/
  5. Validate suspected fix
    • yarn lint
    • yarn build(and/or yarn build:firefox
    • If behavior-level: yarn e2e

Guardrails

  • Permissions/host_permissions changes are sensitive: ask before changing.
  • Avoid adding noisy logs; keep debug logs behind a guard if needed.

Output format

  • Repro steps (exact)
  • Observed logs/errors (short excerpt)
  • Suspected root cause (with file pointers)
  • Proposed fix + verification commands

Score

Total Score

65/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

0/10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

0/5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon