Logo Frappe Agent Interpreter

Frappe Agent Interpreter

Tổ chức
Impertio-Studio
frappe-agent-interpreter

Use when receiving vague or unclear ERPNext/Frappe development requests that need interpretation. Transforms requirements like 'make invoice auto-calculate' or 'add approval workflow' into concrete technical specifications. Determines which Frappe mechanisms to use and maps to the full 61-skill catalog. Keywords: vague requirement, clarify scope, translate business need, technical spec, implementation plan, what does this mean, unclear requirement, translate to code, how to build this.

Tổng quan

Nhà phát hànhImpertio-Studio
Kho mãFrappe_Claude_Skill_Package
Tên kỹ năngfrappe-agent-interpreter
Sao
180
Bản fork
53
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được Impertio-Studio công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Frappe Agent Interpreter trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package/tree/main/skills/source/agents/frappe-agent-interpreter
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package.git /tmp/Frappe_Claude_Skill_Package
mkdir -p .claude/skills
cp -r /tmp/Frappe_Claude_Skill_Package/skills/source/agents/frappe-agent-interpreter .claude/skills/frappe-agent-interpreter
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Frappe Agent Interpreter trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Frappe Agent Interpreter ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Frappe Agent Interpreter với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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:

markdown
## 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.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Frappe Agent Interpreter làm được gì?

Use when receiving vague or unclear ERPNext/Frappe development requests that need interpretation. Transforms requirements like 'make invoice auto-calculate' or 'add approval workflow' into concrete technical specifications. Determines which Frappe mechanisms to use and maps to the full 61-skill catalog. Keywords: vague requirement, clarify scope, translate business need, technical spec, implementation plan, what does this mean, unclear requirement, translate to code, how to build this.

Vì sao nên dùng Frappe Agent Interpreter trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Frappe Agent Interpreter là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Frappe Agent Interpreter trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Impertio-Studio/Frappe_Claude_Skill_Package/tree/main/skills/source/agents/frappe-agent-interpreter. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Frappe Agent Interpreter?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Frappe Agent Interpreter với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Frappe Agent Interpreter với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Frappe Agent Interpreter có miễn phí không?

Có. Kỹ năng này được Impertio-Studio phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇