frappe-errors-clientscripts

Official

Harden Frappe client scripts against errors.

AuthorOpenAEC-Foundation
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Frappe client scripts frequently fail due to TypeError, incorrect use of cur_frm, failed frappe.call operations, and poorly managed async patterns. This Skill provides a structured approach to diagnose and prevent these issues, improving reliability for v14–v16 environments.

Core Features & Use Cases

  • Diagnostic flow for client-script errors, with practical guidance on safe patterns and common pitfalls.
  • Safe server-call practices, correct frm vs cur_frm usage, and robust error handling for async code.
  • Reusable anti-patterns and patterns with examples to reduce production failures in client scripts.

Quick Start

Run a failing client script in a test form and apply the recommended error-handling patterns to stabilize its behavior.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: frappe-errors-clientscripts
Download link: https://github.com/OpenAEC-Foundation/Frappe_Claude_Skill_Package/archive/main.zip#frappe-errors-clientscripts

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.