frappe-customizations-baker
Installation
SKILL.md
Frappe — Bake Customizations
Move live-database Custom Fields and Property Setters into the codebase so they survive bench migrate on fresh installs, are version-controlled, and no longer depend on ad-hoc DB state.
Quick start
-
Fetch customizations:
BENCH=$(pwd) PYTHON="$BENCH/env/bin/python" SCRIPT=$(find "$BENCH" -path "*/frappe-customizations-baker/scripts/fetch_customizations.py" | head -1) "$PYTHON" "$SCRIPT" --app <app_name> -
Choose baking target based on app ownership:
- Same-app → Use
frappe-doctype-schema(native field) - Different-app → Use
frappe-customizations-writer(sync_on_migrate custom/ file)
- Same-app → Use
-
Generate cleanup patch to delete DB records after baking