Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsCommunityBlog
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

Back to skills

Erpnext Frappe Dev

ASecurity

Complete Frappe Framework development reference for building ERPNext apps. Use when creating custom DocTypes, controllers, hooks, REST APIs, form scripts, background jobs, or any Frappe/ERPNext development. Contains full API documentation for Document, Database, Controllers, Hooks, REST API, Form Scripts, Testing, and common patterns.

207 stars
0 votes
0 copies
2 views
Added 9/4/2026
developmentjavascriptpythonjavabashtestingapidatabasedocumentation

Works with

claude codecliapi

Security Analysis

A100/100

Scanned 9/4/2026

Install to Claude Code

$npx -y skills add NeverSight/skills_feed --skill erpnext-frappe-dev --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Erpnext Frappe Dev?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Erpnext Frappe Dev
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/neversight-erpnext-frappe-dev/badge)](https://www.skillsdirectory.com/skills/neversight-erpnext-frappe-dev)

More formats (shields.io, HTML) on the badges page.

Download Zip
Files
SKILL.md
---
name: erpnext-frappe-dev
description: Complete Frappe Framework development reference for building ERPNext apps. Use when creating custom DocTypes, controllers, hooks, REST APIs, form scripts, background jobs, or any Frappe/ERPNext development. Contains full API documentation for Document, Database, Controllers, Hooks, REST API, Form Scripts, Testing, and common patterns.
license: MIT
metadata:
  author: openclaw
  version: "1.0.0"
---

# Frappe Framework Development Reference

Complete documentation for building applications on Frappe Framework / ERPNext. This skill contains comprehensive API documentation that Claude Code needs to build any Frappe app from scratch.

## When to Use This Skill

Use this skill when:
- Creating a new Frappe/ERPNext custom app
- Building DocTypes and controllers
- Writing hooks for customization
- Implementing REST APIs
- Creating form scripts (client-side JS)
- Writing background jobs
- Building integrations with external services
- Any ERPNext/Frappe development work

## Quick Start

### Create an App
```bash
bench new-app my_app
bench --site mysite install-app my_app
```

### Key Files
- `hooks.py` — App-level configuration and event handlers
- `{doctype}.py` — Python controller (server-side logic)
- `{doctype}.js` — Form script (client-side logic)
- `{doctype}.json` — DocType definition

## Documentation Index

| Reference | Contents |
|-----------|----------|
| `reference/frappe-framework-complete.md` | **MAIN REFERENCE** — Full API docs for Document, Database, Controllers, Hooks, REST API, Form Scripts, Testing |
| `reference/document-api.md` | Document CRUD operations |
| `reference/database-api.md` | Database queries and transactions |
| `reference/hooks-reference.md` | hooks.py configuration |
| `reference/rest-api.md` | REST API endpoints |
| `reference/form-scripts.md` | Client-side JavaScript |
| `reference/index.md` | ERPNext module documentation index |
| `reference/accounting/` | Accounting module reference |
| `reference/stock/` | Inventory/Stock module reference |
| `reference/manufacturing/` | Manufacturing module reference |
| `reference/crm/` | CRM module reference |
| `reference/hr-payroll/` | HR & Payroll module reference |
| `reference/api/` | REST & Developer API reference |

## Core Concepts Summary

### DocType = Model
```python
# DocType "Customer" creates:
# - Database table `tabCustomer`
# - Python controller customer.py
# - Form script customer.js
```

### Document = Instance
```python
doc = frappe.get_doc("Customer", "CUST-001")
doc.customer_name = "Updated Name"
doc.save()
```

### Controller = Business Logic
```python
class Customer(Document):
    def validate(self):
        if not self.email:
            frappe.throw("Email required")
    
    def on_submit(self):
        self.create_linked_records()
```

### Hooks = App Configuration
```python
# hooks.py
doc_events = {
    "Sales Order": {
        "on_submit": "my_app.events.on_sales_order_submit"
    }
}
```

## API Quick Reference

### Document Operations
```python
frappe.get_doc(doctype, name)           # Get document
frappe.new_doc(doctype)                 # Create new
doc.insert()                            # Insert to DB
doc.save()                              # Update in DB
doc.delete()                            # Delete
doc.db_set(field, value)               # Direct DB update
```

### Database Queries
```python
frappe.db.get_list(doctype, filters, fields)  # With permissions
frappe.db.get_all(doctype, filters, fields)   # All records
frappe.db.get_value(doctype, name, field)     # Single value
frappe.db.set_value(doctype, name, field, val) # Direct update
frappe.db.exists(doctype, name)               # Check exists
frappe.db.count(doctype, filters)             # Count records
```

### Controller Hooks
```
autoname → before_insert → validate → before_save → 
on_update → after_insert → on_submit → on_cancel
```

### REST API
```
GET    /api/resource/{doctype}           # List
GET    /api/resource/{doctype}/{name}    # Read
POST   /api/resource/{doctype}           # Create
PUT    /api/resource/{doctype}/{name}    # Update
DELETE /api/resource/{doctype}/{name}    # Delete
POST   /api/method/{dotted.path}         # Custom method
```

### Form Scripts
```javascript
frappe.ui.form.on('DocType', {
    refresh(frm) { },
    validate(frm) { },
    fieldname(frm) { }  // Field change
});
```

## Read Full Documentation

**Start with:** `reference/frappe-framework-complete.md`

This file contains 20KB+ of comprehensive documentation covering all Frappe APIs with code examples.

Attribution

NeverSightNeverSight
View sourceMore from NeverSight →
SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Know which skills are safe — weekly.

Best new skills + every skill we flagged as malicious. From the team that scanned 103,619.

Join free

Related Skills

Browser Extension Developer

Use this skill when developing or maintaining browser extension code in the `browser/` directory, including Chrome/Firefox/Edge compatibility, content scripts, background scripts, or i18n updates.

281612 votes

Seo Optimizer

SEO optimization with keyword analysis, readability assessment, technical validation, content quality. Use for search rankings, blog posts, content audits, or encountering keyword density, readability scores, meta tags, schema markup errors.

2132 votes

Google Official Seo Guide

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

1862 votes

Tanstack Start

Build a full-stack TanStack Start app on Cloudflare Workers from scratch — SSR, file-based routing, server functions, D1+Drizzle, better-auth, Tailwind v4+shadcn/ui. Use whenever the user mentions TanStack Start, asks to scaffold a full-stack Cloudflare app with SSR, wants an SSR dashboard, or asks for a React 19 + Cloudflare Workers app with file-based routing and server functions — even if they don't name TanStack Start specifically. No template repo — Claude generates every file fresh per ...

9881 votes

Pentest

PTES-aligned adversarial security audit for backend, frontend, and mobile applications. Produces a CVSS-scored Hacker Report with verified PoCs and phased remediation.

5491 votes
View all in development →