Skip to main content
skill CX Codex

frappe-code-review — Claude Code skill: Frappe code review

frappe-code-review is a Claude Code skill that reviews Frappe apps by checklist, from correctness and stability to security and performance. Apply it to a diff, pull request or single file.

no license 546 installs ★ 177 updated 2026-10-24

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add frappe/skills --skill frappe-code-review -a claude-code
Open on GitHub

What frappe-code-review does

The skill turns a review into an ordered pass. Correctness and stability come first, security next, performance last, and each finding has to say what breaks and for whom. Concurrency, readability, API design and testing get their own sections of the same checklist.

What it flags in practice: frappe.db.commit() or db.rollback() in the middle of a transaction, set_value and db.delete calls whose filter may be None, missing indexes on filtered columns, allow_guest=True used as a shortcut, webhooks without HMAC. Response-time budgets are spelled out too: common reads under 100ms, most writes under 5s, a slow synchronous request blocking a worker.

The sharpest item concerns types at trust boundaries. A @frappe.whitelist method that expects a string can be handed {"key": ["!=", ""]} and let a secret-key check pass, so the checklist asks for an explicit isinstance test. Everything here assumes a Frappe or ERPNext codebase built on frappe.qb and the whitelist decorator.

What it helps with

  • catch a mid-transaction commit before it ships
  • audit a whitelist method for type confusion
  • find a db.delete whose filter can arrive empty
  • size a time budget for a hot endpoint
  • check a webhook for a signature and replay

Example prompts for the agent

  • Review the diff in api.py with this checklist, start with correctness and security.
  • Go through the PR for stock_entry.py and tell me where state can silently go wrong.
  • Audit the @frappe.whitelist methods in api.py for injection and permission bypass.

How to install frappe-code-review

1Skills CLI (Vercel)

npx skills add frappe/skills --skill frappe-code-review -a claude-code

2Manually: put the files in place

~/.claude/skills/frappe-code-review/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/frappe-code-review/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about frappe-code-review

How to install frappe-code-review in Claude Code?

Run npx skills add frappe/skills --skill frappe-code-review -a claude-code. The skill lands in ~/.claude/skills/frappe-code-review/SKILL.md.

What does frappe-code-review do?

It gives the agent a review checklist for Frappe apps: transaction atomicity, injection, access control, indexes and response-time budgets. Works on a diff, a PR or a single file.

Does the skill work outside Frappe?

No. The items lean on frappe.db, frappe.qb and the @frappe.whitelist decorator, so most of them do not apply to another framework.

Similar skills

All skills for Code review and refactoring →

From the same set10

The whole set →
ui-design ui-design — a skill that gives the agent design rules for layout, type, color and spacing. Useful when no product design-system skill exists. CX Codex +1 1,100installs code-style code-style is a Claude Code skill for setting code-style rules. It loads during code edits and when requests concern refactoring, function or file size, structure, or comments. CX Codex +1 1,100installs technical-writing technical-writing — a skill that makes the agent write in Simplified Technical English: short sentences, active voice, one word per meaning. Meant for docs, READMEs and commits. CX Codex +1 766installs draft-security-advisory draft-security-advisory transforms vulnerability reports into publication-ready GitHub Security Advisories without leaking payloads, endpoints, or file paths. CX Codex +1 724installs resolve-backport-conflicts resolve-backport-conflicts resolves merge conflicts in Mergify backport pull requests. It cleans up conflict markers and discards unrelated changes after cherry-pick failures. CX Codex +1 680installs deep-app-audit deep-app-audit is a Claude Code skill for auditing Frappe apps for security issues, logic errors, and customization defects. Parallel agents check separate code aspects in fresh contexts and compile one report. CX Codex +1 458installs fix-issue fix-issue turns a bug report into a fix: a subagent extracts the facts, the main agent reproduces the bug and traces the cause without inheriting the reporter's guesses. CX Codex +1 431installs ship-it This Claude Code skill takes finished changes through review and PR preparation. Run /ship-it to start, or resume work on a branch that already has an open PR. CX Codex +1 328installs

Project sponsors

Companies that keep this analytics open