Skip to main content

code-style

Code 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.

معلومات المصدر

المستودع
frappe/skills
آخر نشاط في المصدر
١٢ أغسطس ٢٠٢٦ في ٠٦:٣٢
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
١٥٤
التفرعات
٥١

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.

عرض SKILL.md

SKILL.md
تعليمات المصدر · معاينة للقراءة فقط
name
code-style
description
Code 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.
عرض على GitHub