Frappe Debug
БесплатноБез исполняемых скриптовНе проверенInvestigate a Frappe/ERPNext error or unexpected behavior. Use when the user reports an exception, a 500 response, a permission error, a slow query, a stuck…
от UnityAppSuite★ 24 звезды на GitHubОб этом скилле
Frappe Debug
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.
Standard checks
Work through these in order; stop as soon as the symptom is reproduced and the root cause is clear.
Frame the failure
- Exact error message or HTTP status, with the user's reproduction steps.
- Which DocType, API endpoint, scheduled job, or page is involved.
- First-seen-on: was this working previously? what changed (recent migrate, app install, hooks.py edit)?
Read the live logs The monitor is already tailing
web.error.logandworker.error.logfor 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.log
Reproduce in
bench consolebench --site ${user_config.default_site} consoleImport 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
PermissionErroror unexpected empty result:frappe.permissions.has_permission(doctype, ptype, doc=name, user=user)- Inspect the DocType's permission rules, role profile, and User Permissions on the affected user.
Inspect database state
bench --site ${user_config.default_site} mariadbConfirm the row exists, owner is correct, no orphaned child rows, no stuck workflow_state. Compare
tabSinglesfor Single doctypes.Check recent migrations
bench --site ${user_config.default_site} list-apps bench --site ${user_config.default_site} migrate --dry-runA pending or partial migration is a frequent cause of "field doesn't exist" / "table doesn't exist".
Hand off to the debugger agent
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.
Установить Frappe Debug в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Frappe Debug?
Investigate a Frappe/ERPNext error or unexpected behavior. Use when the user reports an exception, a 500 response, a permission error, a slow query, a stuck background job, or an unexpected DocType state.
Как установить скилл Frappe Debug?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Frappe Debug запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic