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

  1. 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>
    
  2. 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)
  3. Generate cleanup patch to delete DB records after baking

Related skills
Installs
2
Repository
kehwar/skills
First Seen
Apr 18, 2026