openaec-foundation/frappe_claude_skill_package/frappe-agent-migrator
Claude Code and agent skill by openaec-foundation/frappe_claude_skill_package
- community
Checking that the SKILL.md file is still in the repository.
Use when migrating a Frappe app between major versions, detecting breaking API changes, or resolving post-migration errors. Prevents failed migrations from undetected deprecated APIs, removed methods, and changed function signatures. Covers breaking change detection v14-v15-v16, deprecated API mapping, migration checklist, common migration errors, automatic fix suggestions. Keywords: migration, version upgrade, breaking changes, deprecated API, v14, v15, v16, migrate, compatibility, upgrade ERPNext, version change breaks, after update errors, deprecated method..
Install
npx vskill@latest install openaec-foundation/frappe_claude_skill_package/frappe-agent-migratorSKILL.md
The same SKILL.md was published earlier as openaec-foundation/frappe_claude_skill_package/frappe-agent-migrator.
Version Migration Assistant
Systematically plans and executes Frappe/ERPNext version migrations by analyzing breaking changes, scanning custom code for compatibility issues, and generating migration plans.
Purpose: Prevent failed migrations by detecting every breaking change BEFORE upgrading.
When to Use This Agent
Migration Workflow
See references/workflow.md for detailed steps.
Step 1: Migration Path Rules
NEVER skip major versions. ALWAYS migrate sequentially:
| Source | Target | Path | |
|---|---|---|---|
| v14 | v15 | v14 → v15 | |
| v14 | v16 | v14 → v15 → v16 | |
| v15 | v16 | v15 → v16 |
Version Identification
Step 2: Breaking Changes Summary
v14 → v15 Breaking Changes
| Category | Change | Impact | Detection Pattern | |
|---|---|---|---|---|
| Scheduler | Tick interval 240s → 60s | Jobs may run more frequently | Review scheduler_events | |
| Background Jobs | job_id deduplication added | Duplicate jobs now prevented | Check frappe.enqueue() calls | |
| Web Views | Workspace replaces Module Def pages | Custom module pages break | Grep for Module Def references | |
| Print Format | HTML to PDF engine changes | Print layout differences | Test all print formats | |
| Database | MariaDB 10.6+ required | Server prerequisite | Check mysql --version | |
| Python | Python 3.10+ required | Syntax/library compatibility | Check python3 --version | |
| API | frappe.client.get_list signature change | Custom API calls may fail | Grep for frappe.client.get_list | |
| Permissions | Stricter permission checks on API | Guest access may break | Check allow_guest=True usage | |
| Assets | New frontend build system | Custom JS bundles may break | Test bench build | |
| Hooks | boot_session hook changes | Custom boot data may fail | Grep for boot_session | |
| Naming | Some naming series changes | Document names may differ | Review autoname settings | |
| Report | Report Builder changes | Custom reports may need updates | Test all Script Reports |
v15 → v16 Breaking Changes
| Category | Change | Impact | Detection Pattern | |
|---|---|---|---|---|
| DocType Extension | extend_doctype_class replaces doc_events override | Controller overrides need refactoring | Grep for doc_events with method override | |
| Type Annotations | Type hints now best practice | Code style change | Not breaking, but recommended | |
| Chrome PDF | New PDF engine (Chrome-based) | Print format rendering changes | Test all print formats | |
| Data Masking | New privacy feature | PII fields need configuration | Review sensitive fields | |
| UUID Naming | New uuid naming rule | Naming logic changes | Check autoname settings | |
| Python | Python 3.11+ required | Library compatibility | Check python3 --version | |
| Node.js | Node 18+ required | Build system prerequisite | Check node --version | |
| Redis | Redis 7+ required | Cache/queue compatibility | Check redis-server --version | |
| Deprecated APIs | Several APIs removed | Code using removed APIs fails | See breaking-changes.md | |
| Workflow | Workflow engine updates | Custom workflow states may need review | Test all workflows | |
| Portal | Portal page rendering changes | Custom portal pages may break | Test all portal pages | |
| Background Jobs | RQ version upgrade | Job serialization changes | Test background jobs |
See references/breaking-changes.md for complete details.
Step 3: Deprecated Pattern Detection
ALWAYS scan custom app code for these patterns:
v14 → v15 Deprecated Patterns
v15 → v16 Deprecated Patterns
Step 4: Migration Plan Template
ALWAYS generate a migration plan in this format:
Step 5: Custom App Patch List
For each deprecated pattern found in Step 3, generate a specific fix:
| File | Line | Current Code | Required Change | Breaking? | |
|---|---|---|---|---|---|
{file} | {line} | {old_pattern} | {new_pattern} | Yes/No |
Common Patches (v14 → v15)
| Pattern | Replace With | |
|---|---|---|
frappe.db.sql_list(...) | frappe.db.get_all(..., pluck="name") | |
Module Def page references | Workspace configuration | |
cur_page JS references | frappe.router API | |
| Old scheduler tick assumptions | Review timing for 60s interval |
Common Patches (v15 → v16)
| Pattern | Replace With | |
|---|---|---|
doc_events controller override | extend_doctype_class in hooks.py | |
Missing super() in overrides | Add super().method() call | |
frappe.utils.pdf.get_pdf() | Updated PDF API | |
| No type annotations | Add type hints to public methods |
Agent Output Format
ALWAYS produce migration output in this format:
See references/checklists.md for complete migration checklists. See references/breaking-changes.md for full breaking changes database.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/source/agents/frappe-agent-migrator/SKILL.md
Popularity
- Repository stars
- 87
- Repository forks
- 25
- 7-day trend score
- 22
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 27 Apr 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/openaec-foundation/frappe_claude_skill_package/frappe-agent-migrator)