شعار Maintenance Rules

Maintenance Rules

مؤسسة
motiful
maintenance-rules

Maintenance rules for the skill-forge repo. MUST run Decision Test before accepting changes. MUST update platform-registry when platforms change. MUST keep SKILL.md under 500 lines. MUST verify cross-file consistency after changes. Triggers on "update skill-forge", "maintain skill-forge", "refresh platform registry", "check community tools".

نظرة عامة

الناشرmotiful
المستودعskill-forge
اسم المهارةmaintenance-rules
النجوم
48
التفريعات
3
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

  • مفتوحة المصدر

    نشرها motiful على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Maintenance Rules في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى الإضافات → المهارات.
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/motiful/skill-forge/tree/main/.claude/skills/maintenance-rules
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات → المهارات → إضافة مهارة → من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/motiful/skill-forge.git /tmp/skill-forge
mkdir -p .claude/skills
cp -r /tmp/skill-forge/.claude/skills/maintenance-rules .claude/skills/maintenance-rules
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Maintenance Rules في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج Maintenance Rules تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Maintenance Rules بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تترتب أي تكلفة على المهارة غير المستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

skill-forge Maintenance Rules

Constraints and procedures for maintaining the skill-forge repository.

Execution Procedure

maintain(trigger) → updated | no_change

if "platform registry" in trigger:
    update_platform_registry()
    update_downstream()                               # SKILL.md Fix Phase, README install, Detection logic
if "community tools" in trigger:
    update_community_tools()
if change proposed:
    run_decision_test()                               # 7 criteria → accept | reject
    verify_constraints()                              # each MUST's parenthesized method
    run_consistency_checks()
    update_changelog()                                # max 5, trim oldest
after significant changes:
    run_self_governance()                             # 4 steps

Constraints

  • MUST run Decision Test (7 criteria below) before accepting any change
  • MUST NOT push SKILL.md body over 500 lines
  • MUST keep SKILL.md ↔ README ↔ references terminology consistent
  • MUST add References section entry when adding new reference files
  • MUST update "Dependencies" table in README when SKILL.md dependencies or setup.sh changes
  • MUST NOT include content that fails the Positional Test (see references/skill-format.md)
  • MUST verify reference files follow three-layer format (frontmatter + EP + aligned Content)
  • MUST keep examples in standard-defining references generic — no skill-forge-specific labels in universal patterns
  • MUST verify SKILL.md pseudocode function names align with sub-module EP entry signatures (run: grep function names from references/ EPs, diff against SKILL.md pseudocode calls)
  • MUST verify lossless delegation when moving inline criteria to a sub-module: map every deleted parent line to a sub-module EP line. Unmapped criteria → add to sub-module first, then remove from parent (run: diff parent before/after, match each removed line to a sub-module line)
  • MUST verify every defined standard has a corresponding enforcement check in Validation (Structure, Quality, or Publishing). A standard without a check is dead weight — either add the check or remove the standard

Platform Registry Updates

  1. Open references/platform-registry.md
  2. For each platform, check Docs link for: user-level paths, project-level paths, shared compat directories, link validity
  3. Search: "agent skills directory [platform name] 2026" for new platforms
  4. Distinguish: vendor-native paths vs compat-scanned paths vs custom locations
  5. Only actual skill roots count as strong signals (not bare parent dirs)
  6. Treat Gemini CLI as adjacent tooling unless official docs add Agent Skills directory support
  7. Update paths + "Last verified" date
  8. Keep platform facts separate from forge behavior
  9. If path changes affect SKILL.md Fix Phase, README install examples, or Detection logic, update those too
  10. If README writing guidance changes, update both references/templates.md and references/readme-quality.md
  11. Add changelog entry (keep max 5, trim oldest)

Community Tools Updates

  1. Check npx skills add — still maintained? New features?
  2. Check skills-ref validate — new validation rules? Keep as optional, not required dependency
  3. Check skills.sh FAQ before making visibility claims. Installability ≠ directory/leaderboard visibility
  4. Update Community Tools table in references/platform-registry.md if needed

Contribution Criteria

Use the Decision Test:

  1. Does it help users' skills score higher on the 6 quality dimensions?
  2. Is it simple enough that an AI agent will reliably follow it?
  3. Can it be expressed as prompts instead of scripts?
  4. Does it impose an architectural opinion most skills don't need?
  5. Is it a platform or infrastructure concern, not skill quality?
  6. Does the ecosystem actually use this pattern?
  7. Do we practice it ourselves?

Accept when: yes, yes, yes, no, no, yes, yes. Wrong answers need justification.

PR hygiene:

  • Changes to SKILL.md must not push body over 500 lines
  • New reference files need a SKILL.md References entry
  • Terminology changes must be consistent across SKILL.md, README.md, and all affected references

Self-Governance

skill-forge validates other skills. It must also pass its own validation.

Protocol (run after significant changes):

  1. Run skill-forge Review on this repo
  2. Every README claim must be backed by a SKILL.md capability
  3. Every reference listed in SKILL.md must exist and be current
  4. Version in frontmatter, README badge, and changelog must agree

Consistency Checks

  • SKILL.md description matches README positioning
  • README "Dependencies" table matches SKILL.md Step 0 + setup.sh
  • No residual terminology from previous versions: "five-layer", "Kit", "JIT", "Enhancement Report", "Quick Review", "Full Pipeline", "Multi-Skill Triage", "Scenario 1/2/3/4/5", "Operation Modules", "Step Reference", "Output Checklist", "Content Audience Check", "Interface" (as reference layer name), "Header" (as reference layer name), "Teaching" (as layer name), "Directing" (as layer name), "Review" (as independent EP entry name), "Create" (as independent EP entry name), "Push" (as independent EP entry name), "review_plan()", "update_plan()", "close_plan()", "checkpoint()", "content block" (replaced by "paragraph"), "register_locally()" (replaced by "detect_and_register()" per platform-registry.md EP), "read_repo_meta()" (replaced by Skill("readme-craft", "apply metadata") — github-metadata migrated to readme-craft), "lookup()" (replaced by "detect_and_register()"), "validate(repo_meta)" (replaced by Skill("readme-craft", "apply metadata")), "validate_and_apply()" (for github metadata context — replaced by readme-craft delegation), "detect(skill_md) → bool" (replaced by "assess_procedure_need() → workflow_skill | reference_only"), "design()" (replaced by "assess_config_needs()" / "assess_and_guide()"), "audit()" (replaced by "audit_conditional_branches()"), "create(skill_repo)" (replaced by "assess_and_create()"), "Execute reference" / "Read reference" (replaced by unified "reference" — file structure tells AI what to do), "Execute sub-module EPs" (replaced by "Follow module interfaces" — Engagement Principle #8), "EP-writability test" (replaced by module-based judgment: independent module with own interface → reference), "Parameterizing" (never adopted — sections are implementation, not parameters), "Core Validation" / "Content Review" / "Repo Hygiene" (replaced by unified "Security" gate + "Validation" section with Structure/Quality/Publishing sub-groups — categorize findings not execution), "read_or_create_config()" (replaced by "assess_config_needs()" per skill-configuration.md EP), "write_skill_md()" (replaced by "scaffold_skill_md()" — local operation following skill-format.md standards), "discover()" + "classify()" as separate calls (replaced by single "discover_and_classify()" per project-audit.md EP)
  • Current terminology (across SKILL.md + references): "Engagement Principles", "Execution Procedure", "Security" (pre-flight gate), "Validation" (one section: Structure + Quality + Publishing), "Fix Phase", "Local Ready Definition", "Push to Remote", "Positional Test", "Alignment Validation", "Three-Layer Format", "Module Model" (EP=interface, Section=implementation, Reference=imported module), "Forge", "Publish" (as Step 4 of forge), "review_and_update_plan" (assert review_and_update_plan() at major step boundaries), "Follow module interfaces" (Engagement Principle #8), "Batch Principle", "Non-Overlapping Ownership", "EP Comment Discipline", "Step Granularity", "categorize findings, not execution" (corollary in execution-procedure.md §6), "Registration Audit" (pre-registration conflict detection), "audit_registrations()" (owned skills only, scoped by config.skill_root), "table-driven dispatch" (validation table rows as EP dispatch mechanism for reference EPs)

Update Triggers

EventWhat to check
Agent Skills standard changesSKILL.md frontmatter, references/skill-format.md
New platform adopts Agent Skillsreferences/platform-registry.md, README install examples, SKILL.md Fix Phase
npx skills add breaking changeREADME install commands, Quick Start
skill-forge SKILL.md changesREADME alignment, Dependencies table, version badge
New reference file addedSKILL.md References section
Community feedback or bug reportRelevant validation checks in SKILL.md Step 3
Registration audit logic changesreferences/registration-audit.md, SKILL.md EP audit_registrations() call

Changelog (max 5 entries)

  • 2026-04-07: v9.1 — Threshold + dispatch + docs. Reference file split threshold raised from 300 to 450 lines (reference-extraction.md, skill-format.md). execution-procedure.md description updated for 14 sections (9 core + 5 attention). Documented table-driven dispatch mechanism in Validation section. Fixed stale TOC anchor in execution-procedure.md. Linked unlinked docs/ from README.
  • 2026-03-31: v9.0 — Self-review fixes. Version badge synced to 9.0. EP enforcement made specific (each MUST constraint now has parenthesized verification method). Removed stale "Lossless delegation" from current terminology. Fixed "Categorize findings not execution" casing to match source.
  • 2026-03-25: v8.1 — Self-audit fixes. GitHub metadata migrated to readme-craft. Skill() calls now use output capture + gate. setup.sh checks git. skill-format.md split: Content Splitting → references/reference-extraction.md, Batch/Non-Overlapping → execution-procedure.md (356→282 lines). platform-registry.md gets assess_cc_market EP entry. Create path reports when all caps are false. Description covers registration + onboarding.
  • 2026-03-25: v8.0 — Module Model architecture + Registration Audit. EP=interface, Section=implementation, Reference=imported module. Added EP Comment Discipline, Step Granularity, Batch Principle, Non-Overlapping Ownership. Dropped Execute/Read reference distinction. Pseudocode cleaned: decision logic converted from comments to code. Merged Core Validation + Content Review + Repo Hygiene into Security gate + unified Validation (Structure/Quality/Publishing). Lossless delegation moved to maintenance-rules. New references/registration-audit.md.
  • 2026-03-23: v7.2 — Unified forge entry. Merged Review + Create + Push into single forge() EP. Publish is Step 4 (optional, trigger-gated).

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Maintenance Rules؟

Maintenance rules for the skill-forge repo. MUST run Decision Test before accepting changes. MUST update platform-registry when platforms change. MUST keep SKILL.md under 500 lines. MUST verify cross-file consistency after changes. Triggers on "update skill-forge", "maintain skill-forge", "refresh platform registry", "check community tools".

لماذا تستخدم Maintenance Rules على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Maintenance Rules عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Maintenance Rules في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/motiful/skill-forge/tree/main/.claude/skills/maintenance-rules. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Maintenance Rules؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Maintenance Rules؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Maintenance Rules معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Maintenance Rules مجانية؟

نعم. نشرها motiful على GitHub بموجب ترخيص MIT. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا البريدية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇