Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Frappe-native SQL and ORM guidance for `frappe.db`, Query Builder, `tab{DocType}` tables, permission-sensitive queries, and raw SQL review. Use when writing or reviewing database access in Frappe.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-04 | ✗→✓ | ▲ Improved | -17% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 51% | 0% |
| case-14 | ✓→✗ | ▼ Worse | 0% | 0% |
| case-22 | ✓→✗ | ▼ Worse | 11% | 0% |
| case-03 | ✓→✓ | = Same ✓ | 27% | 0% |
Treat SQL and ORM decisions as first-class Frappe architecture choices.
Cover:
frappe.db.get_listfrappe.db.get_allfrappe.db.get_valuefrappe.db.existsfrappe.qbfrappe.db.sqlRules:
get_all and raw SQL as deliberate choicestab{DocType} table naming when raw SQL is necessaryWhen reviewing code, explicitly state:
Other measured skills in the registry, with their headline benchmark lift.