L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Développement · SKILL.md

frappe-backend

frappe-backend

Frappe backend guidance for Python and backend-adjacent JavaScript surfaces such as client interaction patterns, hooks, APIs, patches, scheduler logic, reports, and server-side review. Use when implementing or reviewing Frappe backend behavior.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: frappe-backend description: Frappe backend guidance for Python and backend-adjacent JavaScript surfaces such as client interaction patterns, hooks, APIs, patches, scheduler logic, reports, and server-side review. Use when implementing or reviewing Frappe backend behavior.

Treat Frappe backend work as a Python-first system with important JavaScript touchpoints.

Cover:

  • controllers and document lifecycle methods
  • hooks
  • whitelisted methods
  • scheduler jobs and background work
  • patches and migrations
  • server scripts when they are the right layer
  • report backends
  • client-to-server API contracts

Principles:

  • prefer framework APIs over ad hoc patterns
  • keep imports clean and explicit
  • use permissions deliberately
  • separate document logic, service logic, and integration logic
  • avoid accidental public APIs

Before writing code, decide whether the request should instead be handled by:

  • Custom Field
  • Property Setter
  • Client Script
  • Server Script
  • Workflow
  • Report
  • Workspace
Skills enregistrées