frappe-app-dev

端到端构建全栈 Frappe 框架应用。适用于创建或修改 DocType、编写控制器或生命周期钩子、添加白名单 API、设置新的 Frappe 应用或 bench 站点、构建桌面表单或列表视图、创建门户页面、编写后台作业或定时任务、管理权限或角色、编写 Frappe 测试,以及使用 frappe.db / frappe.qb 等情形。即使未明确提及“Frappe”,但表述如“在保存时挂钩”“向 DocType 添加字段”“创建 REST 端点”“运行 bench migrate”“在站点上安装应用”等,也应使用此技能。

仓库最近推送
GitHub Stars
184
Forks
65
Issues / PRs
14

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "frappe-app-dev":https://skillpi.com/zh/skills/deepskill-8184763f1200e82c447e85ad1237412056e1a7b6fe977b53456720606c3cd554。安装前核对上游来源和版本:https://github.com/frappe/skills。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

端到端构建全栈 Frappe 框架应用。适用于创建或修改 DocType、编写控制器或生命周期钩子、添加白名单 API、设置新的 Frappe 应用或 bench 站点、构建桌面表单或列表视图、创建门户页面、编写后台作业或定时任务、管理权限或角色、编写 Frappe 测试,以及使用 frappe.db / frappe.qb 等情形。即使未明确提及“Frappe”,但表述如“在保存时挂钩”“向 DocType 添加字段”“创建 REST 端点”“运行 bench migrate”“在站点上安装应用”等,也应使用此技能。

0 下载

介绍来源: third_party · frappe · 0.0.1 参考来源

SkillPi 解读

实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: frappe-app-dev
description: >-
  Builds full-stack Frappe Framework applications end-to-end. Use this skill any
  time the user mentions: creating or modifying a DocType, writing a controller
  or lifecycle hook, adding a whitelisted API, setting up a new Frappe app or
  bench site, building a desk form or list view, creating portal pages, writing
  background jobs or scheduled tasks, managing permissions or roles, writing
  Frappe tests, or working with frappe.db / frappe.qb. Also applies when the
  user says things like "how do I hook into save", "add a field to a DocType",
  "create a REST endpoint in Frappe", "run bench migrate", or "install an app on
  a site" — even if they don't explicitly say "Frappe".

Frappe Full-Stack App Builder

Global Rules

  • Use bare bench. Not ./env/bin/bench. Not a full path.
  • Do not run which bench, bench --version, bench --help, or check frappe version. No discovery commands.
  • Do not delegate bench detection to a subagent. Run ls apps/ sites/ Procfile yourself.
  • Do not create DocType folders with mkdir. Frappe creates them via bench migrate.
  • Run bench start in a background process only.
  • Before running bench start, check if it's already running in an existing terminal. Do not start a second instance.
  • Always pass --site <site> explicitly to bench commands. Never run bare bench migrate.

Flow Selection

Determine which flow applies, then read ONLY the relevant file:

Creating a brand new app

Read new-app.md — covers bench setup, app scaffolding, site creation, and installation.

Working on an existing app

Read existing-app.md — covers finding the bench, locating the app, confirming site, and extending features.

Feature References

Load ONLY the references needed for the current task:

Topic When to load File
Site management Finding/creating/managing sites site-management.md
DocTypes Creating/modifying DocTypes, fields, naming doctypes.md
Controllers Document lifecycle, server logic controllers.md
Whitelisted APIs REST endpoints, @frappe.whitelist() api.md
Database & ORM frappe.db, queries, raw SQL database.md
Caching Redis, frappe.cache caching.md
Realtime WebSocket, publish_realtime realtime.md
Background jobs frappe.enqueue, scheduled jobs background-jobs.md
Hooks hooks.py patterns hooks.md
Permissions Roles, DocType permissions, has_permission permissions.md
Testing Writing & running tests testing.md
Frontend & UI Desk UI, Vue SPA, portal pages frontend.md (router → 3 sub-files)
Bench CLI All bench commands reference bench-operations.md

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供完整的 Frappe 框架全栈开发能力,覆盖 DocTypes、控制器、API、权限管理等核心功能
  • 针对特定技术栈的专业工具,在该领域具有高度实用价值
触发精准95/100

亮点

  • 触发词覆盖全面,既包含显式 Frappe 提及,也识别隐式开发模式
  • 边界清晰,准确识别相关开发场景
结构规范75/100

待提升项

  • 缺少 When to Use 和示例章节 原报告严重程度:轻微

    文档结构良好但缺少使用场景说明和具体示例

    改进建议:添加 When to Use 章节和端到端使用示例以提升可读性

亮点

  • 结构清晰,包含全局规则、流程选择和功能参考
  • 使用表格组织功能参考,便于快速查找
执行可靠60/100

待提升项

  • 引用外部文件但内容不可见 原报告严重程度:重大

    主文档大量引用 ./references/ 目录下的文件,但这些文件未包含在提交中

    改进建议:确保所有引用的参考文件都包含在 Skill 包中,或内联关键内容

亮点

  • 提供了详细的执行规则和最佳实践指导
  • 明确的流程选择机制帮助用户确定适用场景
证据可验 (前四项均值)79/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

未从主文档识别到上述常见操作,不能据此判断无需权限或没有风险。

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。