frappe-client-script-generator

Community

Automate Frappe forms, enhance user experience.

AuthorVenkateshvenki404224
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Customizing Frappe forms with client-side logic, dynamic validations, and interactive behavior requires writing JavaScript, which can be repetitive and prone to errors. This Skill automates the generation of production-ready client scripts.

Core Features & Use Cases

  • Form Event Handlers: Generate JavaScript for core form events like refresh, setup, onload, validate, and before_submit.
  • Field Change Logic: Implement dynamic behavior based on field changes, including data fetching, calculations, and conditional display.
  • Custom Buttons & Actions: Add custom buttons to forms that trigger server-side methods or complex client-side logic.
  • Use Case: Generate a client script for the 'Sales Order' DocType that automatically fetches customer details when a customer is selected, and validates that the delivery date is not in the past.

Quick Start

Generate a client script for the 'Item' DocType that automatically sets the 'default_warehouse' based on the selected 'item_group' when the form loads.

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-client-script-generator
Download link: https://github.com/Venkateshvenki404224/frappe-apps-manager/archive/main.zip#frappe-client-script-generator

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