/major:debug-issuefrom major
Investigates existing failures, bugs, and regressions in applications. Activated when users report broken behavior, runtime errors, visual regressions, or failing tests.
Ships in major. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
You are debugging an application issue. Treat debugging as evidence gathering followed by the smallest responsible fix.
This skill is retrospective: use it to investigate existing behavior, confirmed failures, or regressions.
Do not turn subjective or forward-looking product requests into debugging work. If the user asks for UX to be "nice", "better", "cleaner", "polished", or similar without naming a broken current behavior, treat it as design/implementation work instead of invoking this debug workflow.
Use this skill for UX only when there is something concrete to reproduce, such as:
Start by clarifying the failure mode when needed:
If the user asks a vague follow-up like "debug the issue", "fix the bug", or "find what's wrong" in a session with a running preview, do not ask for more details first. Treat the current app as the reproduction target, inspect http://localhost:3000, and gather browser evidence before deciding whether you need clarification.
Prefer direct evidence over guesses. Use the most relevant tools below.
The app's preview is always served at http://localhost:3000. There is no other port or host to discover — navigate, screenshot, and read logs against that URL every time.
Always check app errors and app logs before opening Playwright. major app errors list and major app logs explain almost every server, route handler, and runtime failure without needing the browser. Run these CLI commands through mcp__plugin_major_major__sandbox_bash in the mounted app workspace; load app-builder if you need to mount it first. Only open the browser when the bug is purely visual, layout-related, or only observable from the rendered page.
When you do use the browser, you are limited to looking at the page, not driving it. Run these major app browser commands through mcp__plugin_major_major__sandbox_bash in the mounted app workspace:
major app browser navigate <path> — open a page on http://localhost:3000 (a relative path like /dashboard works).major app browser screenshot <name>.png — capture the rendered page (add --full-page for the whole page). It saves under .session-files/ and prints the path.major app browser snapshot — accessibility snapshot for reading text/structure.major app browser wait-for --time 2 (or --text "...") — wait briefly for a pending/loading state to settle before re-screenshotting.major app browser console --level warning — read the browser console when investigating client-side errors.Do not click, type, drag, hover, resize, fill forms, press keys, evaluate JavaScript, or otherwise interact with or mutate the page. If the bug only reproduces through user interaction, describe the reproduction steps and ask the user to perform them — do not attempt to drive the page yourself.
mcp__plugin_major_major__sandbox_read_file and inspect it yourself before making conclusions.When investigating a user-reported issue whose affected surface is broad — a shared component, layout, theme/CSS, or anything imported by many pages — discover the app's routes from http://localhost:3000/__major_devtools_routes__.json and check the affected ones in the browser rather than guessing from code alone. For a single-page complaint, navigate and screenshot that page.
For blank pages, error overlays, server crashes, failed route handlers, or deployed runtime failures, check app errors early.
major app errors list to find recent errors.major app errors get <errorId> for details before editing.major app errors resolve <errorId> only when the issue is actually addressed.major app errors enable.When the complaint is slowness rather than failure, load the app-performance skill and follow it instead of this one. For a quick look, run major resource invocations --slow first. It ranks the app's resource operations by total time with p95 latency and the call site (callSite.filePath:line). The --slow flag includes only operations over 500 ms p95; omit it to see everything, and use --environment coding-session for preview traffic. Open the call site, and for SQL run EXPLAIN through the connector's tools before editing.
Use logs when behavior depends on server startup, route handlers, background work, request handling, or errors that are not captured by app errors.
major app logs --preview.major app logs.--limit and a focused --search term from the route, error message, request ID, resource name, or timestamp. Search is case-sensitive for deployed logs and case-insensitive with --preview.--since and --until for time-bounded reports.--json to obtain nextToken, then --next-token <token> after reading the first result. Keep --preview when paging preview logs.After collecting runtime evidence, trace the responsible code path.
mcp__plugin_major_major__sandbox_grep / mcp__plugin_major_major__sandbox_glob.mcp__plugin_major_major__sandbox_read_file before editing with mcp__plugin_major_major__sandbox_edit_file or mcp__plugin_major_major__sandbox_write_file.Make the smallest fix that explains the evidence.
When reporting back, include:
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
debugging, bug-fixing, error-investigation, regression-testing
13 skills in this plugin
/agent-builderCreate and configure a Major agent — a versioned two-file bundle (agent.jsonc + prompt.md) edited on a sandbox — what each field means, how to research connectors and applications before writing the prompt, and the edit/validate/save/publish lifecycle./app-builderCreate and edit Major apps — full-stack apps with a Vite + React frontend, a Hono backend under /api, and a live preview — how to create or mount an app sandbox and edit through the workspace tools./app-performanceUse this skill when the user says a Major app is slow, laggy, sluggish, takes a long time to load, hangs, spins, or times out, or asks to speed up, optimize, tune, cache, or scale an app, page, query, or API route. Covers measuring where the time goes (resource-call timings, CPU and memory usage), fixing slow and chatty queries, choosing a cache and agreeing its staleness with the user, and resizing the app's CPU and memory. Do not use it for failures that are not about speed — that is debug-issue.npx claudepluginhub major-technology/cli --plugin majorOther plugins' skills for the same job