frappe-app-development
Installation
SKILL.md
Frappe App Development
Scaffold and build production-grade custom Frappe / ERPNext applications with correct separation of concerns and tested patterns.
When to use
- Creating a new custom Frappe app from scratch (
bench new-app) - Designing DocType structure (fields, child tables, naming series)
- Writing
hooks.py—doc_events,scheduler_events,override_whitelisted_methods - Implementing background jobs via
frappe.enqueue - Building REST APIs with
@frappe.whitelist() - Service-layer pattern: thin controllers, fat service modules
- Adding caching, logging, error handling cross-cutting utilities
- Permission checks with
frappe.has_permission()/frappe.only_for() - Writing tests with
frappe.tests.utils.FrappeTestCase - Deploying and migrating (
bench migrate,bench build)