Sandbox
@lubusIN/frappe-skills

Frappe Agent Skills for coding assistants

This repo packages Frappe knowledge as Agent Skills that assistants can read and follow. The skills cover app building, DocTypes, APIs, UI work, reports, testing, and production patterns, with one router skill to point tasks to the right place.

58 stars22 forksPythonUpdated 1mo ago
Who it's for

Builders who want their agent to use Frappe patterns instead of guessing.

What it delivers

You can have your agent follow Frappe-specific procedures and checks instead of making outdated or unsafe assumptions.

What it does

Router skill

Points a task to the right Frappe skill based on what you are trying to do.

Project triage

Helps identify the project type, installed apps, version, and tooling before work starts.

App development guidance

Covers app scaffolding, hooks, background jobs, and service layers.

DocType development guidance

Explains how to create and modify DocTypes, controllers, and child tables.

API development guidance

Shows how to build REST and RPC APIs with auth and permission checks.

Frontend and Desk guidance

Includes Desk customization, Vue 3 frontend apps with Frappe UI, UI patterns, print formats, reports, and web forms.

Testing and environment guidance

Includes testing skills and Docker-based Frappe Manager setup.

How to get it

  1. 1Run
    # Install all Frappe skills
    npx skills add lubusIN/frappe-skills
    
    # Install all skills from all frameworks globally
    npx skills add lubusIN/frappe-skills -g
    
    # Or install specific Frappe skills
    npx skills add lubusIN/frappe-skills --skills=doctype-development,api-development

README

Frappe Agent Skills

Frappe Skills

Frappe Framework Structured knowledge for AI coding assistants—DocTypes, APIs, testing, and best practices.

[!NOTE] AI Authorship Disclosure: Drafted with GPT-5.3 Codex from official documentation, then reviewed, refined, and validated by humans. Tested with AI assistants and improved through practical iteration.

Why Frappe Agent Skills?

AI coding assistants are powerful, but they often:

  • Generate outdated Frappe patterns (pre-v13, pre-Query Builder)
  • Miss critical permission checks in API handlers
  • Skip proper DocType controller patterns
  • Ignore existing tooling in your project

These Agent Skills solve this by giving AI assistants deep framework knowledge in a structured format they can use.

Available Skills

Core Skills

SkillDescription
routerEntry point-routes to appropriate skill based on task
project-triageDetect project type, installed apps, version, and tooling

Development Skills

SkillDescription
app-developmentScaffold and architect custom Frappe apps with hooks, background jobs, and service layers
doctype-developmentCreate and modify DocTypes, controllers, child tables
api-developmentBuild REST and RPC APIs with proper auth and permissions

UI & Frontend Skills

SkillDescription
desk-customizationCustomize Frappe Desk UI with form scripts, list views, and dialogs
frontend-developmentBuild modern Vue 3 frontend apps using Frappe UI
ui-patternsUI/UX patterns derived from official Frappe apps (CRM, Helpdesk, HRMS)
printing-templatesBuild print formats, email templates, and Jinja-based rendering
reportsCreate Report Builder, Query Reports (SQL), and Script Reports (Python + JS)
web-formsBuild public-facing web forms for data collection

Testing & Infrastructure

SkillDescription
testingWrite and run unit, integration, and UI tests
frappe-managerDocker-based dev environments with Frappe Manager

Patterns & Best Practices

SkillDescription
enterprise-patternsProduction patterns for CRM/Helpdesk-style apps

Installation

Using Skills CLI (Recommended)

# Install all Frappe skills
npx skills add lubusIN/frappe-skills

# Install all skills from all frameworks globally
npx skills add lubusIN/frappe-skills -g

# Or install specific Frappe skills
npx skills add lubusIN/frappe-skills --skills=doctype-development,api-development

Manual Installation

# Clone the parent repo
git clone https://github.com/lubusIN/frappe-skills.git
cd frappe-skills

# Copy Frappe skills to your AI assistant's skills directory
# Claude Code (global)
cp -r doctype-development api-development ~/.claude/skills/

# Cursor (global)
cp -r doctype-development api-development ~/.cursor/skills/

# Or into your project
cp -r doctype-development api-development /path/to/your-project/.claude/skills/

How It Works

Each skill contains:

doctype-development/
├── SKILL.md              # Main instructions (when to use, procedure, verification)
└── references/           # Deep-dive docs on specific topics
    ├── doctypes.md
    ├── controllers.md
    └── ...

When you ask your AI assistant to work on Frappe code, it reads these skills and follows documented procedures rather than guessing.

Skill Structure

Each SKILL.md follows a standard format:

  • When to use — Trigger conditions for this skill
  • Inputs required — What info the agent needs before starting
  • Procedure — Step-by-step instructions
  • Verification — Checklist to confirm success
  • Failure modes — Common issues and fixes
  • Escalation — When to consult docs or ask user

Compatibility

  • Compatible with any AI assistant that supports Agent Skills

Contributing

Contributions welcome! To add or improve a skill:

  1. Fork this repository
  2. Create or modify skill in <topic>
  3. Ensure SKILL.md has all required sections
  4. Test with your AI assistant
  5. Submit a pull request

Skill Authoring Guidelines

  • Keep SKILL.md short and procedural
  • Push detailed content into references/
  • Include verification steps
  • Document failure modes
  • Link to official docs when appropriate

Adding a New Skill

  1. Create <topic> directory
  2. Add <topic>/README.md with topic-specific documentation
  3. Create individual directories following the Agent Skills specification
  4. Update the main README.md to list the new topic

Credits

Meet Your Artisans

LUBUS is a web design agency based in Mumbai.

License

Frappe Skills is open-sourced licensed under the MIT License.

Files in the repo

Repository payload18 top-level entries
  • .github
  • api-development
  • app-development
  • desk-customization
  • doctype-development
  • enterprise-patterns
  • frappe-manager
  • frontend-development
  • printing-templates
  • project-triage
  • reports
  • router
  • testing
  • ui-patterns
  • web-forms
  • .gitignore
  • LICENSE
  • README.md

Discussion (0)

Ask about usage, or say what you built with it

Sign in to join the discussion.

No comments yet. Be the first to say what this is good for.

More skills

obra/
superpowers

An agentic skills framework & software development methodology that works.

285k
1 add

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.

117k
1 add
Vincentwei1021/
anything2explainer

Topic in, narrated explainer video out. A Claude Code / Codex skill that turns any topic into a black-canvas motion-graphics explainer video with TTS voiceover, subtitles and a chapter progress bar. Chinese or English; every frame drawn in code with Remotion.

666

Open-source AI job search: scan job portals, evaluate listings into a structured A-H report with a global 1-5 score, tailor your CV, track applications — runs locally in your AI coding CLI (Claude Code, Codex, OpenCode, Antigravity…)

71k