@frappe/code-style

@frappe/code-style — AI coding skill

View in AI SkillSafe app
0 downloads
0 stars
0 demos
SKILL.md
namecode-style
descriptionCode style rules for readable, maintainable implementation. Load this skill always when writing or editing code, and whenever the user asks about code style, refactoring shape, function/file size, object-oriented structure, helper ordering, or comments. For Frappe-specific work, prefer frappe-app-dev.

Code Style Rules

  • Keep functions small. Split when a function has multiple jobs or needs sections to be readable.
  • Keep files under 300 lines when practical. Split by responsibility, not by arbitrary layer.
  • Prefer object-oriented code over scattered functions.
  • Put higher-order/public functions near the top of the file; keep low-level utilities at the bottom.
  • Write terse, simple English comments. Explain why something is surprising; do not narrate obvious code.
  • Do not add abstractions until there are repeated concrete uses.

Embed badges

Add these to your README to show the skill's verification status.

SkillSafe verified badge
Verified badge
[![SkillSafe verified badge](https://api.skillsafe.ai/v1/badge/@frappe/code-style/verified)](https://skillsafe.ai/skill/@frappe/code-style/)
Installs badge
Installs badge
[![Installs badge](https://api.skillsafe.ai/v1/badge/@frappe/code-style/installs)](https://skillsafe.ai/skill/@frappe/code-style/)
Scan badge
Scan badge
[![Scan badge](https://api.skillsafe.ai/v1/badge/@frappe/code-style/scan)](https://skillsafe.ai/skill/@frappe/code-style/)
Eval pass rate badge
Eval pass rate
[![Eval pass rate badge](https://api.skillsafe.ai/v1/badge/@frappe/code-style/eval)](https://skillsafe.ai/skill/@frappe/code-style/)