본문으로 건너뛰기
cccskills
무료GitHub에 공개

diagnose

Use when diagnosing PlainTab bugs, broken UI behavior, failing extension/web-mode flows, storage or wallpaper regressions, startup issues, or performance regressions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md3.1 KB
  • agents/openai.yaml237 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Diagnose PlainTab

Use this skill for bug reports and performance regressions. Adapted for PlainTab from Matt Pocock's diagnose skill.

Core Rule

Build a feedback loop first. Do not guess at fixes until the symptom can be reproduced or measured well enough to prove the fix.

PlainTab Context

  1. Read .claude/rules/00-core.md and the relevant module rule from .claude/rules/README.md.
  2. Preserve the startup invariant in index.html: #wallpaperBack, synchronous js/preload.js, #wallpaperFront, then the rest of the page.
  3. Keep storage access behind window.WallpaperData and preserve localStorage compatibility unless a migration exists.
  4. Use docs/ai-tasks/ for temporary repro scripts or notes that should remain with the task.

Build the Loop

Prefer the fastest deterministic signal that reaches the real symptom:

  1. A small Node repro script in docs/ai-tasks/ for pure JavaScript, storage migration, parser, or data-shaping bugs.
  2. node --check on touched files or the whole js tree for syntax regressions.
  3. A browser/Playwright script for DOM, settings panel, command palette, wallpaper rendering, or extension/web-mode behavior.
  4. A direct index.html web-mode run when extension APIs are not required.
  5. A measured timing harness using performance.now() for startup or wallpaper performance regressions.
  6. A manually assisted loop only as a last resort; write exact steps, expected result, actual result, and screenshots/logs when available.

If no loop is possible, stop and say what was tried. Ask for the missing artifact: console log, screen recording, settings export, uploaded media sample, HAR, or permission to add temporary instrumentation.

Diagnose

  1. Reproduce the user-visible symptom, not a nearby error.
  2. Capture the exact failure: console message, wrong DOM state, storage value, timing, image layer state, or user-facing result.
  3. Generate 3 to 5 ranked hypotheses. Each must predict what will change if it is true.
  4. Probe one hypothesis at a time. Use targeted logs or assertions at module boundaries.
  5. Prefix temporary logs with a unique tag such as [DEBUG-9f3a] so cleanup is reliable.

For performance regressions, measure before fixing. Avoid broad logging in startup paths; it can change the timing you are trying to understand.

Fix

  1. Turn the minimized repro into a regression check before changing production code when there is a correct seam.
  2. If there is no correct seam, document that as part of the finding and keep the fix small.
  3. Apply the smallest fix that addresses the confirmed cause.
  4. Re-run the minimized repro and the original scenario.

Cleanup

Before finishing:

  • Re-run the original feedback loop.
  • Run validation appropriate to touched files.
  • Remove all temporary [DEBUG-...] instrumentation.
  • Keep useful task repro scripts under docs/ai-tasks/; delete throwaway scratch files.
  • State the confirmed cause in the final answer or commit message.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Claude adapter for bumping the PlainTab version. Use when the user asks "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本", or asks to prepare a PlainTab release.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Use when preparing a PlainTab release or bumping the PlainTab version, triggered by phrases like "更新版本", "bump version", "upgrade to vX.Y.Z", "发布新版本". Updates manifest.json, runtime UI/version constants, localized changelogs, store listings, release notes, validation notes, and current project docs.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Claude adapter for preparing and creating PlainTab git commits with scoped, detailed Conventional Commit messages. Use when the user asks to commit, 提交, stage changes, or use precise Conventional Commit / Google-style commit messages.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Prepare and create PlainTab git commits with scoped Conventional Commit subjects and detailed commit bodies. Use when the user asks to commit, 提交, create a git commit, stage changes, or asks for precise Conventional Commits / Google-style commit messages; especially when the worktree may contain unrelated user changes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

diagnose

무료

Claude adapter for diagnosing PlainTab bugs, broken flows, startup issues, storage or wallpaper regressions, and performance regressions.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

Use when reviewing PlainTab architecture, looking for refactoring opportunities, reducing coupling, improving testability, or making modules easier for agents to understand without redesigning stable behavior.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

kaininx/PlainTab952026년 5월 27일 업데이트

kaininx의 스킬 모두 보기

이 스킬의 문제 신고