/frappe-fullstack:frappe-debugfrom frappe-fullstack
Investigates Frappe/ERPNext errors including exceptions, 500s, permission errors, slow queries, stuck jobs, and unexpected DocType states. Activates on error reports.
Ships in frappe-fullstack. 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.
Use this skill when something is broken in a Frappe or ERPNext site and the next step is diagnosis, not implementation. Invoking it also starts the bench-error-log background monitor (defined in this plugin's monitors/monitors.json), so new tracebacks from web.error.log and worker.error.log arrive as notifications during the session.
Work through these in order; stop as soon as the symptom is reproduced and the root cause is clear.
Frame the failure
Read the live logs
The monitor is already tailing web.error.log and worker.error.log for the configured site. Cross-reference the timestamp of the user's reproduction with the most recent traceback. If the monitor has not surfaced anything, also check:
${user_config.bench_path}/sites/${user_config.default_site}/logs/scheduler.log${user_config.bench_path}/sites/${user_config.default_site}/logs/web.log${user_config.bench_path}/logs/bench.logReproduce in bench console
bench --site ${user_config.default_site} console
Import the relevant DocType controller, instantiate or fetch a document, and call the failing method directly. This narrows the failure surface from "request pipeline" to "Python logic".
Check permissions
If the error is a PermissionError or unexpected empty result:
frappe.permissions.has_permission(doctype, ptype, doc=name, user=user)Inspect database state
bench --site ${user_config.default_site} mariadb
Confirm the row exists, owner is correct, no orphaned child rows, no stuck workflow_state. Compare tabSingles for Single doctypes.
Check recent migrations
bench --site ${user_config.default_site} list-apps
bench --site ${user_config.default_site} migrate --dry-run
A pending or partial migration is a frequent cause of "field doesn't exist" / "table doesn't exist".
Once the failure is framed and basic logs are in hand, route the deep investigation to the specialist:
Use the
frappe-fullstack:frappe-debuggeragent with all of the above as context. Pass it the error message, the reproduction steps, the relevant traceback, and any log lines the monitor has surfaced.
Do not attempt fixes from this skill. Diagnose first; the appropriate agent (frappe-debugger for analysis, frappe-backend / erpnext-customizer / frappe-frontend for the actual fix) handles the change.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub unityappsuite/frappe-claude --plugin frappe-fullstack13 skills in this plugin
/bench-commandsFrappe Bench CLI command reference for site management, app management, development, and production operations. Use when running bench commands, managing sites, migrations, builds, or deployments./client-scriptsFrappe client-side JavaScript patterns for form events, field manipulation, dialogs, and UI customization. Use when writing form scripts, handling field changes, creating dialogs, or customizing the Frappe desk interface./doctype-patternsFrappe DocType creation patterns, field types, controller hooks, and data modeling best practices. Use when creating DocTypes, designing data models, adding fields, or setting up document relationships in Frappe/ERPNext.Other plugins' skills for the same job