frappe-doctype-design

frappe-doctype-design is a skill for Claude Code from Dkm0315/frappe-agent. It costs 51 tokens per session (462 once invoked), scanned A, original, MIT.

Guidance for designing DocTypes, Frappe's configurable forms and data records. It covers fields, required information, sections, tabs, child tables, naming, relationships, and form usability.

In plain words
What is it for?
Use it to create, review, or redesign DocTypes for master data, transactions, settings, repeating child records, workflow status, reporting, and search.
Why use it?
It helps model a real business process instead of creating a flat list of database fields. It also keeps forms easier to complete by placing important information first and grouping related fields.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the frappe-agent plugin — 18 skills, 18 commands shipped together

Good fit Use it to create, review, or redesign DocTypes for master data, transactions, settings, repeating child records, workflow status, reporting, and search.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dkm0315/frappe-agent/frappe-doctype-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Dkm0315/frappe-agent --skill frappe-doctype-design
Clone the repo
git clone --depth 1 https://github.com/Dkm0315/frappe-agent

Made for: Claude Code.

Or install frappe-agent, the plugin that ships this one along with the rest of its 18 skills, 18 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frappe-doctype-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/dkm0315/frappe-agent/frappe-doctype-design/github.svg)](https://agentmods.dev/skills/dkm0315/frappe-agent/frappe-doctype-design)
Your own site
<a href="https://agentmods.dev/skills/dkm0315/frappe-agent/frappe-doctype-design"><img src="https://agentmods.dev/badge/skills/dkm0315/frappe-agent/frappe-doctype-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frappe-doctype-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/dkm0315/frappe-agent/frappe-doctype-design"><img src="https://agentmods.dev/badge/skills/dkm0315/frappe-agent/frappe-doctype-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.00462
Opus 5 $0.00026 $0.00231
Sonnet 5 $0.00010 $0.00092
Haiku 4.5 $0.00005 $0.00046

Measured 12d ago against content hash c8bf6f164923, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

frappe-doctype-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/frappe-doctype-design/SKILL.md · 40 lines

What it actually says

Design every DocType as a human-facing form, not a flat database table.

Before adding fields, identify:

  • the DocType's purpose and primary user
  • the real business process or lifecycle it supports
  • the relationships, status, reporting, and search needs
  • whether it is master data, a transaction, a child table, or a configuration DocType

Field discipline:

  • Add only fields that are required for identity, workflow, relationships, decisions, audit, reporting, or search.
  • Do not add speculative, vanity, duplicate, or generic fields unless the use case clearly needs them.
  • Make required fields truly required, not merely convenient.
  • Use child tables only for real one-to-many repeating data.
  • Prefer human-readable labels and stable snake_case fieldnames.

Form layout:

  • Do not dump all fields into one tab or one section.
  • Use Tab Break for major mental models only when the form has enough fields to justify tabs.
  • Use Section Break for logical groups inside a tab.
  • Use Column Break to create balanced, scan-friendly rows.
  • Put the title, status, primary links, and most common required inputs first.
  • Put advanced, rare, admin, or integration fields later, and fold them when appropriate.
  • Avoid empty tabs, thin sections, and layout breaks that exist only for decoration.

Useful tab patterns include:

  • Overview for identity, status, and primary summary fields
  • Details for the main business data
  • People or Parties for owners, customers, suppliers, employees, or contacts
  • Schedule for dates, timelines, reminders, or recurrence
  • Finance for amounts, accounts, taxes, or pricing
  • Settings for infrequent configuration
  • Activity or Audit for comments, references, or system-facing traceability

When proposing or creating a DocType, present the layout grouped by tab and section, and explain why each group exists. If a requested field does not belong, call it out and omit it unless the user confirms the need.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 40 lines · 51 tokens per session scan A c8bf6f164923

Subscribe to this mod's changes

frappe-doctype-design is a skill published in the GitHub repository Dkm0315/frappe-agent (24 stars, last pushed 5d ago), licensed MIT. It adds 51 tokens to every session and 462 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.