frappe-live-code-extractor

Installation
SKILL.md

frappe-live-code-extractor

Queries the live Frappe database (read-only) and writes each artifact's code into source files and meta.json under <app>/live/<doctype-slug>/. Makes all DB-resident code visible to grep, LSP, and AI assistants. Safe to run at any time.

All doctypes — built-in Frappe types and custom app types — are treated identically. Each doctype has a config.json at <app>/live/<doctype-slug>/config.json. The script resolves it via a 3-step fallback:

  1. App config<app>/live/<doctype-slug>/config.json if it exists
  2. Skill asset — copies the bundled default from assets/ into the app tree, then uses it
  3. Agent — interview the user / infer from context to create a config (see REFERENCE.md)

Quick start

--app is required. The agent must determine the app before calling the script.

Agent: inferring the app

If the user has not specified an app, determine it from context:

  1. From the workspace folder — use the workspace folder the user is currently in. The app that owns the DocType being extracted is irrelevant — always use the user's active workspace app.
Related skills
Installs
2
Repository
kehwar/skills
First Seen
Apr 18, 2026