server-scripts

Automates creation of Frappé app server logic with reusable patterns for controllers, events, APIs, and jobs.

48|23|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/tody-agent/codymaster --skill server-scripts-tody-agent
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: server-scripts
Source: https://github.com/tody-agent/codymaster/tree/main/skills/cm-frappe-agent/skills/server-scripts
Command: npx skills add https://github.com/tody-agent/codymaster --skill server-scripts-tody-agent

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Frappe server-side patterns and best practices for building maintainable controllers, event handlers, and whitelisted APIs in a clean, scalable way.

Core Features & Use Cases

  • Comprehensive controller templates and examples for Doctypes and server-side logic.
  • Document events, hooks, and background jobs patterns to ensure consistent workflow.
  • Reusable API endpoint templates and data access utilities for rapid API development.

Quick Start

Create a simple API endpoint for a new Doctype using the provided patterns.

Frequently Asked Questions about server-scripts

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

FAQPage Schema
How do I structure Frappe server side logic for a new Doctype?

Frappe server side patterns provide reusable controller templates that standardize Doctype skeletons, document events, and API interactions to keep server logic modular and maintainable.

How do I create whitelisted API endpoints in Frappe?

Creating whitelisted API endpoints in Frappe involves applying reusable API endpoint templates that establish secure and consistent patterns for data access utilities and CRUD operations.

What is the best way to handle document events and hooks in Frappe?

Handling document events and hooks in Frappe is best managed through event-driven workflow patterns that ensure consistent execution of background jobs and server-side logic triggers.

Can I use these server side patterns for background jobs in Frappe?

Yes, these server side patterns support background jobs in Frappe by providing standardized event-driven workflow hooks that ensure consistent asynchronous processing and data management.

How do I standardize database interactions across Frappe controllers?

Standardizing database interactions across Frappe controllers requires applying common CRUD data access utilities and patterns to ensure secure and consistent server-side data manipulation.

When do I need server side patterns for Frappe app development?

You need server side patterns for Frappe app development when building Doctypes and server scripts to satisfy requirements for modular controller templates, event-driven workflows, and secure API structures.