frappe-impl-serverscripts
Originally fromopenaec-foundation/frappe_claude_skill_package
Installation
SKILL.md
Server Scripts — Implementation Workflows
Step-by-step workflows for building server-side features without a custom app. For exact syntax, see frappe-syntax-serverscripts.
Version: v14/v15/v16 | v15+ Note: Server Scripts disabled by default — enable with bench set-config server_script_enabled true
CRITICAL: Sandbox Limitations
ALL IMPORTS BLOCKED — RestrictedPython sandbox
import json → ImportError: __import__ not found
from frappe.utils → ImportError
import requests → ImportError
SOLUTION: Use pre-loaded namespace:
frappe.utils.nowdate() frappe.utils.flt()
frappe.parse_json(data) json.loads() (json IS available)
frappe.as_json(obj) json.dumps()
frappe.make_get_request(url) (replaces requests.get)
Related skills