Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

frappe-agent-interpreter冰沙 Agent 翻译

Agent Skill

frappe-agent-interpreter 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

749

周安装

30

GitHub Stars

87

下载量

242
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:frappe-agent-interpreter(冰沙 Agent 翻译)
来源仓库:https://github.com/openaec-foundation/erpnext_anthropic_claude_development_skill_package
仓库路径:skills/frappe-agent-interpreter
安装命令:
npx skills add https://github.com/openaec-foundation/erpnext_anthropic_claude_development_skill_package --skill frappe-agent-interpreter
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/openaec-foundation/erpnext_anthropic_claude_development_skill_package --skill frappe-agent-interpreter

简介

用于处理 GitHub 仓库、Issue 和 Pull Request 协作信息。

  • 支持代码变更追踪、仓库状态整理和协作事项归纳,提升开发效率。
  • 可结合原始 README 和安装命令进一步验证功能细节和使用限制。
  • 安装前建议确认权限范围和维护状态,避免触发不必要的网络请求。
  • 使用时需注意信息时效性,优先基于最新提交和历史记录进行分析。

SKILL.md

Frappe Code Interpreter Agent

Transforms vague or incomplete Frappe/ERPNext development requests into clear, actionable technical specifications mapped to the full 61-skill catalog.

Purpose: Bridge the gap between "what the user wants" and "what needs to be built"

When to Use This Agent

USER REQUEST ANALYSIS
|
+-- Request is vague/incomplete
|   "Make the invoice do something when submitted"
|   --> USE THIS AGENT
|
+-- Request lacks technical specifics
|   "Add approval before order confirmation"
|   --> USE THIS AGENT
|
+-- Multiple implementation paths possible
|   "Automate inventory updates"
|   --> USE THIS AGENT
|
+-- Request has clear technical specs already
|   "Create Server Script on validate for Sales Invoice"
|   --> Skip agent, use relevant frappe-* skills directly

Interpretation Workflow

STEP 1: EXTRACT INTENT
  - What is the business problem?
  - What should happen? When? To what data?
  - Who should be affected (roles/users)?

STEP 2: IDENTIFY TRIGGER CONTEXT
  - Document lifecycle event? (save/submit/cancel)
  - User action? (button click, field change)
  - Time-based? (daily, hourly, cron)
  - External event? (webhook, API call)

STEP 3: DETERMINE MECHANISM
  - Client Script, Server Script, or Controller?
  - Hooks configuration needed?
  - Custom app required?
  - v16 extend_doctype_class applicable?

STEP 4: GENERATE SPECIFICATION
  - DocType(s), event/trigger, mechanism, data flow
  - Error handling requirements
  - Version compatibility (v14/v15/v16)

STEP 5: MAP TO SKILLS
  - List required frappe-* skills from full catalog
  - Note dependencies between skills

See references/workflow.md for detailed steps.

Mechanism Selection Matrix

Requirement PatternMechanismCustom App?
"Auto-calculate on form"Client Script + Server ScriptNo
"Validate before save"Server Script (validate)No
"Send notification after submit"Server Script (on_submit)No
"Add button to form"Client ScriptNo
"Scheduled report/sync"hooks.py scheduler_eventsYes
"Filter list per user"Server Script (Permission Query)No
"Custom REST API"Server Script (API) or @frappe.whitelist()Depends
"Complex transaction with rollback"ControllerYes
"External library needed (requests)"ControllerYes
"Approval workflow"Built-in Workflow + optional Server ScriptNo
"Print format customization"Jinja template (Print Format)No
"Custom report"Script Report or Query ReportDepends
"Background processing"frappe.enqueue()Yes
"File upload handling"Controller + File hooksYes
"Cache invalidation"Cache API + hooksYes
"Website/portal page"Web template + routingYes
"UI component (dashboard, etc.)"Page or Custom PageYes

Clarifying Questions Framework

1. WHAT Questions

  • What DocType(s) are involved?
  • What data needs to change?
  • What should the outcome be?

2. WHEN Questions

  • On form load? On field change? Before/after save?
  • Before/after submit? On a schedule? Button click?

3. WHO Questions

  • All users? Specific roles? Document owner only?

4. WHERE Questions

  • In the form (UI)? Database only? Report? External system?

5. ERROR Questions

  • Block the operation? Show warning? Log silently?

6. VERSION Questions (v16 considerations)

  • Target single version or multi-version compatibility?
  • Can we use extend_doctype_class (v16) or need doc_events (v14+)?
  • Type annotations desired? (v16 best practice)

Output Specification Template

ALWAYS generate specifications in this format:

## Technical Specification

### Summary
[One sentence describing what will be built]

### Business Requirement
[Original user request, clarified]

### Implementation

| Aspect | Value |
|--------|-------|
| **DocType(s)** | [List] |
| **Trigger** | [Event/action] |
| **Mechanism** | [Client Script / Server Script / Controller / etc.] |
| **Version** | [v14 / v15 / v16 / all] |

### Data Flow
1. [Step 1]
2. [Step 2]

### Error Handling
[Strategy]

### Required Skills
- [ ] frappe-skill-name - for [purpose]

### Validation Criteria
[How to verify it works]

Complete Skill Catalog (61 skills)

Syntax Layer (11 skills)

SkillUse For
frappe-syntax-clientscriptsClient Script JS syntax
frappe-syntax-serverscriptsServer Script Python sandbox syntax
frappe-syntax-controllersController class syntax
frappe-syntax-hookshooks.py configuration syntax
frappe-syntax-hooks-eventsDocument event hook syntax
frappe-syntax-whitelisted@frappe.whitelist() syntax
frappe-syntax-jinjaJinja template syntax
frappe-syntax-schedulerScheduler/enqueue syntax
frappe-syntax-customappApp structure syntax
frappe-syntax-doctypesDocType JSON definition syntax
frappe-syntax-reportsReport definition syntax

Core Layer (7 skills)

SkillUse For
frappe-core-databaseDatabase operations, ORM, raw SQL
frappe-core-permissionsPermission system, roles, rules
frappe-core-apiREST API, resource API
frappe-core-workflowWorkflow engine, states, transitions
frappe-core-notificationsEmail, push, system notifications
frappe-core-filesFile upload, attachment, storage
frappe-core-cacheRedis cache, cache invalidation

Implementation Layer (12 skills)

SkillUse For
frappe-impl-clientscriptsClient Script implementation patterns
frappe-impl-serverscriptsServer Script implementation patterns
frappe-impl-controllersController implementation patterns
frappe-impl-hooksHook implementation patterns
frappe-impl-whitelistedWhitelisted method patterns
frappe-impl-jinjaJinja template patterns
frappe-impl-schedulerScheduled task/background job patterns
frappe-impl-customappCustom app development workflow
frappe-impl-reportsReport building patterns
frappe-impl-workflowWorkflow implementation patterns
frappe-impl-websiteWebsite/portal development
frappe-impl-ui-componentsUI component patterns
frappe-impl-integrationsExternal system integration

Error Layer (7 skills)

SkillUse For
frappe-errors-clientscriptsClient Script error patterns
frappe-errors-serverscriptsServer Script error patterns
frappe-errors-controllersController error patterns
frappe-errors-hooksHook error patterns
frappe-errors-apiAPI error patterns
frappe-errors-permissionsPermission error patterns
frappe-errors-databaseDatabase error patterns

Ops Layer (8 skills)

SkillUse For
frappe-ops-benchBench CLI commands
frappe-ops-deploymentProduction deployment
frappe-ops-backupBackup and restore
frappe-ops-performancePerformance tuning
frappe-ops-upgradesVersion upgrade procedures
frappe-ops-cloudCloud hosting (FC, AWS, etc.)
frappe-ops-app-lifecycleApp versioning and releases
frappe-ops-frontend-buildFrontend asset building

Testing Layer (2 skills)

SkillUse For
frappe-testing-unitUnit and integration tests
frappe-testing-cicdCI/CD pipeline setup

Agent Layer (5 skills)

SkillUse For
frappe-agent-interpreterTHIS SKILL - requirement interpretation
frappe-agent-validatorCode validation before deployment
frappe-agent-debuggerDebugging Frappe issues
frappe-agent-migratorData migration planning
frappe-agent-architectArchitecture decision-making

Skill Dependencies Map

MechanismRequired Skills
Client Scriptfrappe-syntax-clientscripts, frappe-impl-clientscripts, frappe-errors-clientscripts
Server Script (Doc Event)frappe-syntax-serverscripts, frappe-impl-serverscripts, frappe-errors-serverscripts
Server Script (API)frappe-syntax-serverscripts, frappe-core-api, frappe-errors-api
Server Script (Scheduler)frappe-syntax-serverscripts, frappe-syntax-scheduler, frappe-impl-scheduler
Server Script (Permission)frappe-syntax-serverscripts, frappe-core-permissions, frappe-errors-permissions
Controllerfrappe-syntax-controllers, frappe-impl-controllers, frappe-errors-controllers
Hooksfrappe-syntax-hooks, frappe-impl-hooks, frappe-errors-hooks
Custom Appfrappe-syntax-customapp, frappe-impl-customapp, frappe-ops-bench
Jinja Templatefrappe-syntax-jinja, frappe-impl-jinja
Database Operationsfrappe-core-database, frappe-errors-database
Whitelisted Methodfrappe-syntax-whitelisted, frappe-impl-whitelisted
Workflowfrappe-core-workflow, frappe-impl-workflow
Reportsfrappe-syntax-reports, frappe-impl-reports
Website/Portalfrappe-impl-website, frappe-syntax-jinja
Integrationfrappe-impl-integrations, frappe-impl-customapp
Background Jobsfrappe-impl-scheduler, frappe-syntax-scheduler
Testingfrappe-testing-unit, frappe-testing-cicd
Deploymentfrappe-ops-deployment, frappe-ops-bench

Common Pattern Recognition

User PhraseMechanismKey Skills
"auto-calculate", "automatically fill"Client Script + Server Scriptfrappe-impl-clientscripts, frappe-impl-serverscripts
"validate", "check before save"Server Script (validate)frappe-impl-serverscripts
"prevent", "block", "don't allow"Server Script + frappe.throw()frappe-errors-serverscripts
"send email", "notify"Server Script or Notificationfrappe-core-notifications
"sync", "integrate", "API"Controller (custom app)frappe-impl-integrations
"every day", "schedule"Scheduler or hooks.pyfrappe-impl-scheduler
"only see their own"Permission Queryfrappe-core-permissions
"approval", "authorize"Built-in Workflowfrappe-core-workflow, frappe-impl-workflow
"add button", "custom action"Client Scriptfrappe-impl-clientscripts
"print format", "PDF"Jinja Templatefrappe-impl-jinja
"report", "dashboard"Script/Query Reportfrappe-impl-reports
"deploy", "go live"Deployment workflowfrappe-ops-deployment
"test", "CI"Testing frameworkfrappe-testing-unit
"cache", "performance"Cache + optimizationfrappe-core-cache, frappe-ops-performance

Version Awareness

ALWAYS consider version compatibility:

Featurev14v15v16
Server Script sandboxYesYesYes
extend_doctype_classNoNoYes
Chrome PDF renderingNoNoYes
Data maskingNoNoYes
UUID naming ruleNoNoYes
Type annotations (best practice)NoNoYes
Scheduler tick (seconds)2406060
job_id dedupNoYesYes

Agent Output Checklist

Before completing interpretation, ALWAYS verify:

  • Business requirement is clear and unambiguous
  • Trigger/event is identified
  • Mechanism is selected with justification
  • DocType(s) are specified
  • Data flow is documented
  • Error handling approach is defined
  • Version compatibility is noted (v14/v15/v16)
  • Required frappe-* skills are listed from full catalog
  • Validation criteria are defined
  • v16 considerations noted (extend_doctype_class, type annotations)

See references/checklists.md for detailed checklists. See references/examples.md for interpretation examples.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.22%
按下载量换算90

Claude

25.76%
按下载量换算62

Cursor

18.42%
按下载量换算45

Gemini CLI

8.92%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills