report-expert

Guide developers in designing Frappe reports across Report Builder, Query, and Script Reports.

1|Updated Jan 16, 2025
One-click install
npx skills add https://github.com/kehwar/frappe_tweaks --skill report-expert
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: report-expert
Source: https://github.com/kehwar/frappe_tweaks/tree/main/.github/skills/report-expert
Command: npx skills add https://github.com/kehwar/frappe_tweaks --skill report-expert

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Frappe report authors often struggle with designing consistent, maintainable reporting patterns and finding reliable guidance across multiple report types. This skill consolidates best practices and practical patterns to streamline building Report Builder, Script Reports, and Query Reports.

Core Features & Use Cases

  • Centralized guidance on report structures, types, and workflows
  • Step-by-step examples and troubleshooting patterns for common reporting scenarios
  • Real-world guidance for creating scripts, filters, columns, and charts in Frappe reports

Quick Start

Create a Script Report scaffold with a basic execute function, a representative set of columns, and standard filters to get started.

Frequently Asked Questions about report-expert

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a Script Report in Frappe with standard filters and columns?

To create a Frappe Script Report, use a scaffold with a basic execute function, define representative columns, and apply standard filters to establish a reliable reporting pattern.

What is the difference between Query Reports and Script Reports in Frappe?

Frappe Query Reports use direct SQL queries for data retrieval, while Script Reports execute Python functions, offering greater flexibility for complex logic and data manipulation.

What's the best way to structure maintainable Frappe reports across different types?

The best way to structure maintainable Frappe reports is by applying consolidated best practices and standardized patterns for report types, ensuring consistent columns, filters, and workflows.

Why does my Frappe report return inconsistent data or fail during execution?

Frappe reports return inconsistent data or fail due to poorly structured queries or scripts; use the provided debugging workflows and troubleshooting patterns to identify and resolve logic errors.

Can I use the Report Builder to generate custom reports with complex filters?

The Frappe Report Builder allows you to generate custom reports with standard filters, but complex logic often requires transitioning to Query Reports or Script Reports for advanced filtering.

How do I add charts to Frappe Script Reports for data visualization?

To add charts to Frappe Script Reports, implement the chart generation logic within your Python execute function using established patterns to render and visualize the report data.