frappe-api

Automate secure REST API endpoint creation for Frappe v15 applications.

15|Updated Dec 21, 2025
One-click install
npx skills add https://github.com/sergio-bershadsky/ai --skill frappe-api
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: frappe-api
Source: https://github.com/sergio-bershadsky/ai/tree/main/plugins/frappe-dev/skills/frappe-api
Command: npx skills add https://github.com/sergio-bershadsky/ai --skill frappe-api

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Building custom REST API endpoints for Frappe apps while ensuring robust security and maintainability.

Core Features & Use Cases

  • Secure authentication and permission checks for API routes
  • v2 endpoint generation with type validation and clear docs
  • Webhook handlers and service-layer integration for scalable apps

Quick Start

Define your endpoint name and related doctype, then run the API scaffold to generate v2 endpoints.

Frequently Asked Questions about frappe-api

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

FAQPage Schema
How do I create secure REST API endpoints in Frappe v15?

To create secure REST API endpoints in Frappe v15, you can scaffold v2 endpoints that automatically implement authentication, permission checks, and input validation. This ensures robust security and maintainability for custom apps.

What is the best way to add webhook integrations to a Frappe application?

The best way to add webhook integrations to a Frappe application is by generating v2 endpoints with built-in service-layer integration. This approach provides secure webhook handlers and scalable app architecture.

How does Frappe handle API authentication and permission checks for custom routes?

Frappe handles API authentication and permission checks for custom routes by applying security measures during endpoint generation. Scaffolding v2 endpoints ensures that routes enforce proper authentication and validate user permissions.

Can I generate documentation and tests automatically when building Frappe REST APIs?

Yes, you can generate documentation and tests automatically when building Frappe REST APIs. Scaffolding v2 endpoints produces accompanying tests and clear docs alongside the secure route implementation.

Do I need to manually validate input for Frappe v2 API endpoints?

You do not need to manually validate input for Frappe v2 API endpoints. The scaffolding process implements type validation automatically, ensuring that input data is checked before processing requests.