frappe-impl-serverscripts

Guide sandbox-safe Frappe Server Script implementations with correct event selection.

163|53|Updated Jan 14, 2026
One-click install
npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-impl-serverscripts-impertio-studio
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-impl-serverscripts
Source: https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package/tree/main/skills/source/impl/frappe-impl-serverscripts
Command: npx skills add https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package --skill frappe-impl-serverscripts-impertio-studio

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill prevents production-breaking mistakes when implementing server-side logic using Frappe Server Scripts, where the sandbox blocks imports and common anti-patterns silently fail.

Core Features & Use Cases

  • Server Script implementation workflows for common needs like validation, auto-calculation, related-doc creation, REST APIs, scheduled tasks, and permission query filtering.
  • Sandbox-safe guidance that replaces blocked imports and network calls with Frappe-provided helpers (e.g., frappe.parse_json, frappe.make_get_request).
  • Production guardrails for event selection (Before Save vs After Save, etc.), error handling (use frappe.throw), and scheduler correctness (commit at the end, query limits).

Quick Start

Enable server scripts if needed, then ask the AI: "Create a sandbox-safe Server Script for Sales Order that validates delivery_date and item quantities on Before Save, and include a single aggregated frappe.throw error message."

Frequently Asked Questions about frappe-impl-serverscripts

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.

When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.

When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.

When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.

When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.

When should I use Before Save versus After Save events in Frappe document automation?

Use Before Save in Frappe document automation when you need to validate or modify document properties before committing, and After Save when triggering related-doc creation or downstream actions.