شعار Kiss Principle

Kiss Principle

المجتمع
markpitt
kiss-principle

طبّق مبدأ K.I.S.S (Keep It Simple, Stupid) لتقليل التعقيد وتحسين سهولة الصيانة وحل المشكلات بأناقة. استخدمه عند تصميم الأنظمة أو كتابة الشيفرة أو تخطيط الحلول أو إعداد الوثائق أو هندسة الميزات أو اتخاذ القرارات التي تجعل فيها البساطة الجودة والكفاءة في المقام الأول.

نظرة عامة

الناشرmarkpitt
المستودعclaude-skills
اسم المهارةkiss-principle
النجوم
25
التفريعات
3
الملفات المرفقة
5
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • الملفات المرفقة: 5

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

K.I.S.S Principle Orchestration Skill

This skill helps you apply the K.I.S.S principle—"Keep It Simple, Stupid"—to systematically reduce unnecessary complexity while maintaining functionality and effectiveness. Simplicity is not about removing necessary features; it's about eliminating unnecessary complications.

Quick Reference: When to Load Which Resource

Your SituationLoad ResourceWhy
Need to understand KISS fundamentals and why simplicity mattersresources/kiss-fundamentals.mdLearn core concepts, history, and empirical benefits
Reviewing code, design, or system for unnecessary complexityresources/complexity-analysis.mdIdentify complexity sources, anti-patterns, red flags
Want proven strategies to simplify solutionsresources/simplification-strategies.mdLearn 10+ actionable techniques with software/UX examples
Building or designing something new with KISS in mindresources/kiss-driven-design.mdApply KISS during design, architecture, feature planning
Comparing simple vs complex approachesresources/decision-frameworks.mdUse frameworks to evaluate tradeoffs, make smart choices
Seeing worked examples of effective simplificationresources/case-studies.mdReal cases: code refactoring, API design, UX improvements

Core Principle

Simplicity is the ultimate sophistication. — Leonardo da Vinci

The K.I.S.S principle states that most systems work better when kept simple rather than made complex. Unnecessary complexity:

  • Increases bugs and maintenance burden
  • Makes systems harder to understand and modify
  • Reduces performance and reliability
  • Wastes development time and resources
  • Creates cognitive overload for users and developers

The Goal: Solve problems with the minimum necessary complexity while preserving correctness and user value.

Orchestration Protocol

Phase 1: Assess Your Situation

Quickly identify what you're simplifying and why:

Context Type:

  • Code Review/Refactoring: Existing code has unnecessary complexity → Load complexity-analysis.md
  • Feature Design: Planning new functionality → Load kiss-driven-design.md
  • Architecture/System Design: Building infrastructure or large systems → Load simplification-strategies.md
  • Problem-Solving: Finding solution to technical challenge → Load decision-frameworks.md
  • UX/Documentation: Improving clarity and usability → Load simplification-strategies.md
  • Learning: Understanding KISS principles → Load kiss-fundamentals.md

Complexity Level:

  • Light: Minor improvements, small scope → Use simplification-strategies.md directly
  • Medium: Significant redesign needed, moderate scope → Use complexity-analysis.md + decision-frameworks.md
  • Heavy: Major architectural changes, system-wide complexity → Use all resources systematically

Action: Load appropriate resource file(s) based on situation.

Phase 2: Analyze and Plan

Based on context, follow these steps:

StepWhat to DoResource
1. Identify complexityWhat makes this complex? What's unnecessary?complexity-analysis.md
2. Understand tradeoffsWhat are we gaining/losing with each approach?decision-frameworks.md
3. Select strategiesWhich simplification techniques apply here?simplification-strategies.md
4. Design simplyHow would we design this with KISS in mind?kiss-driven-design.md
5. Verify valueDoes the simple solution meet requirements?decision-frameworks.md
6. Reference examplesHow have others solved this simply?case-studies.md

Phase 3: Execution & Validation

Before Simplifying:

  • Preserve core functionality and requirements
  • Document why current complexity exists
  • Identify what stakeholders actually need vs. want
  • Create rollback plan if needed

During Simplification:

  1. Remove one layer of complexity at a time
  2. Verify functionality after each change
  3. Measure improvement (LOC, cyclomatic complexity, performance)
  4. Document decisions and rationale

After Simplification:

  • Test thoroughly (more bugs often hide in complexity)
  • Gather feedback from team and users
  • Monitor performance and stability
  • Document simpler approach for future reference

Complexity Assessment Framework

Quickly evaluate if something is too complex:

Red Flags - This is Too Complex:

  • ❌ You can't explain it in 2-3 sentences
  • ❌ It requires extensive documentation to understand
  • ❌ New team members struggle to modify it for weeks
  • ❌ It has many interdependencies and side effects
  • ❌ Performance problems correlate with feature addition
  • ❌ Bugs consistently appear in this component
  • ❌ It has deeply nested conditionals (>3 levels)
  • ❌ Multiple abstractions on top of each other
  • ❌ Over-engineered for current and foreseeable needs

Green Flags - This is Appropriately Simple:

  • ✅ You can explain it clearly in 1-2 minutes
  • ✅ New developers understand it quickly
  • ✅ It does one thing well (single responsibility)
  • ✅ Dependencies are explicit and minimal
  • ✅ It's stable with few bugs
  • ✅ Code is readable and self-documenting
  • ✅ It serves current needs without speculation

KISS vs Over-Engineering

AspectKISSOver-Engineering
ScopeSolves current problemAnticipates future needs
Code~100-200 LOC~500+ LOC
Time to Ship1-2 weeks4-8+ weeks
MaintenanceEasy to modifyComplex to change
PerformanceGood enoughHighly optimized
BugsFew, obviousMany, hidden
ApproachAdd complexity when neededRemove complexity as possible

Key Principles to Remember

  1. Necessity Test: Does every component, line, and feature serve a current user need?
  2. Clarity First: Clear code beats clever code
  3. Single Responsibility: Each function/module does one thing well
  4. Minimal Dependencies: Fewer connections = fewer failure points
  5. Explicit Better Than Implicit: Code should be obvious, not magical
  6. Measure Before Optimizing: Don't optimize prematurely
  7. Refactor Incrementally: Simplify gradually, test continuously

Common Complexity Anti-Patterns

See resources/complexity-analysis.md for detailed analysis of:

  • Over-abstraction (too many layers)
  • Premature optimization (optimizing before profiling)
  • Gold plating (adding nice-to-haves)
  • Speculative generalization (over-generalizing)
  • Feature creep (scope expansion)
  • Accidental complexity vs essential complexity
  • Technical debt accumulation

Simplification Strategies

See resources/simplification-strategies.md for 10+ proven techniques:

  • Constraint-based design
  • Default assumptions
  • Removing features
  • Consolidating logic
  • Flattening architecture
  • Eliminating abstractions
  • Standardizing approaches
  • And more...

Resource Files Summary

resources/kiss-fundamentals.md

Foundation and philosophy:

  • KISS principle definition and history
  • Why simplicity matters (empirical evidence)
  • Simplicity vs complexity tradeoffs
  • Principles of effective simplification
  • Common misconceptions

resources/complexity-analysis.md

Identifying and understanding complexity:

  • Complexity sources and types
  • Measuring complexity (cyclomatic, LOC, coupling)
  • Identifying unnecessary complexity
  • Recognizing over-engineering
  • Red flags and anti-patterns

resources/simplification-strategies.md

Actionable techniques for simplifying:

  • 10+ proven simplification strategies
  • When to apply each strategy
  • Code examples in multiple languages
  • UX simplification approaches
  • Architecture simplification patterns

resources/kiss-driven-design.md

Applying KISS from the start:

  • Designing for simplicity
  • Requirements gathering with KISS in mind
  • Architecture patterns that promote simplicity
  • Feature design principles
  • Documentation and communication

resources/decision-frameworks.md

Making trade-off decisions:

  • Simple vs Complex evaluation framework
  • When complexity is justified
  • Cost-benefit analysis for features
  • Decision trees for architectural choices
  • Measuring ROI of simplification

resources/case-studies.md

Real-world examples of successful simplification:

  • Code refactoring case studies
  • API design simplifications
  • Architecture improvements
  • UX improvements through simplification
  • Decision-making examples

How This Skill Works

  1. Assess your situation: What are you simplifying and why?
  2. Analyze complexity: Identify unnecessary complication
  3. Select approach: Choose relevant strategies and frameworks
  4. Plan simplification: Design the simpler solution
  5. Execute carefully: Make changes incrementally, test continuously
  6. Validate: Confirm the simple solution meets all needs
  7. Learn: Reference cases and patterns for future decisions

Quick Start: 5-Minute Simplification Check

  1. Can you explain this in 2 sentences? (If no → too complex)
  2. What would the simplest possible version look like?
  3. What complexity is essential? What's optional?
  4. Could you remove one component without breaking functionality?
  5. What would new developers struggle with?

Templates & Checklists

  • Complexity Assessment Checklist in resources/complexity-analysis.md
  • Simplification Planning Template in resources/simplification-strategies.md
  • Decision Framework Template in resources/decision-frameworks.md
  • Design Checklist in resources/kiss-driven-design.md

Common Scenarios

Scenario 1: Code Review → Load complexity-analysis.md → identify issues → Load simplification-strategies.md → suggest improvements

Scenario 2: Feature Design → Load kiss-fundamentals.md → Load kiss-driven-design.md → plan with simplicity in mind

Scenario 3: Architecture Redesign → Load complexity-analysis.md → assess current state → Load decision-frameworks.md → evaluate tradeoffs → Load simplification-strategies.md → plan improvements

Scenario 4: Learning from Examples → Load case-studies.md → study approaches → Load decision-frameworks.md → understand tradeoffs

Next Steps

  1. Identify what you're working on (code, design, system, decision)
  2. Load appropriate resource from table above
  3. Assess complexity and identify problem areas
  4. Select simplification strategies or design approaches
  5. Plan and execute changes incrementally
  6. Validate that simple version meets all requirements
  7. Document decisions for team learning

Remember: The goal is solving the problem correctly with minimum necessary complexity. Simplicity requires discipline—resist the urge to over-engineer, and refactor ruthlessly to remove unnecessary complication.

"Everything should be as simple as it is, but not simpler." — Albert Einstein

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

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

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

طبّق مبدأ K.I.S.S (Keep It Simple, Stupid) لتقليل التعقيد وتحسين سهولة الصيانة وحل المشكلات بأناقة. استخدمه عند تصميم الأنظمة أو كتابة الشيفرة أو تخطيط الحلول أو إعداد الوثائق أو هندسة الميزات أو اتخاذ القرارات التي تجعل فيها البساطة الجودة والكفاءة في المقام الأول.

لماذا تستخدم Kiss Principle على TypingMind؟

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

كيف أثبّت Kiss Principle في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/markpitt/claude-skills/tree/main/skills/kiss-principle. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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