تخطَّ إلى المحتوى
إضافةمستورديحتوي سكربتاتيحتوي خطّافات

explanatory-output-style

Adds educational insights about implementation choices and codebase patterns (mimics the deprecated Explanatory output style)

وصف مستورد لم يراجعه محرر بعد

جاء هذا العنصر من مستودعه الأصلي وفحصناه آلياً فقط، ولم يكتب له محرر وصفاً عربياً بعد. اقرأ محتواه بنفسك قبل أن تعتمد عليه. ولا تُفهرس هذه الصفحة في محركات البحث حتى تُراجَع.

التنزيل

اقرأ هذا قبل أن تنزّل

لا يشغّل تلقين أي شيء من هذا العنصر. لكن ما تنزّله يعمل على جهازك إن شغّلته أنت أو سمحت لكلود كود بتشغيله، فاقرأ الملفات أولاً.

  • في العنصر ملفات سكربت.
  • في العنصر خطّافات تعمل تلقائياً عند أحداث في كلود كود.

الملفات: 5 · الحجم: 16 ك.ب

نزّل ملف ZIP

يحمل الملف ترخيص المصدر الأصلي.

التثبيت

تُثبَّت الإضافات من سوق الإضافات في كلود كود، لا بنسخ الملفات. نزّل الحزمة لتقرأ محتواها وترخيصها.

التعليمات

Explanatory Output Style Plugin

This plugin recreates the deprecated Explanatory output style as a SessionStart hook.

WARNING: Do not install this plugin unless you are fine with incurring the token cost of this plugin's additional instructions and output.

What it does

When enabled, this plugin automatically adds instructions at the start of each session that encourage Claude to:

  1. Provide educational insights about implementation choices
  2. Explain codebase patterns and decisions
  3. Balance task completion with learning opportunities

How it works

The plugin uses a SessionStart hook to inject additional context into every session. This context instructs Claude to provide brief educational explanations before and after writing code, formatted as:

`★ Insight ─────────────────────────────────────`
[2-3 key educational points]
`─────────────────────────────────────────────────`

Usage

Once installed, the plugin activates automatically at the start of every session. No additional configuration is needed.

The insights focus on:

  • Specific implementation choices for your codebase
  • Patterns and conventions in your code
  • Trade-offs and design decisions
  • Codebase-specific details rather than general programming concepts

Migration from Output Styles

This plugin replaces the deprecated "Explanatory" output style setting. If you previously used:

{
  "outputStyle": "Explanatory"
}

You can now achieve the same behavior by installing this plugin instead.

More generally, this SessionStart hook pattern is roughly equivalent to CLAUDE.md, but it is more flexible and allows for distribution through plugins.

Note: Output styles that involve tasks besides software development, are better expressed as subagents, not as SessionStart hooks. Subagents change the system prompt while SessionStart hooks add to the default system prompt.

Managing changes

  • Disable the plugin - keep the code installed on your device
  • Uninstall the plugin - remove the code from your device
  • Update the plugin - create a local copy of this plugin to personalize this plugin

الملفات

  • مجلد.claude-plugin290 بايت
    • plugin.json290 بايت
  • مجلدhooks323 بايت
    • hooks.json323 بايت
  • مجلدhooks-handlers1.4 ك.بسكربت
    • session-start.sh1.4 ك.بسكربت
  • LICENSE11 ك.ب
  • README.md2.4 ك.ب

ما وجده الفحص الآلي

فحصنا الملفات آلياً وقت الاستيراد. هذا ما نبّه إليه الفحص، ولا يعني أن العنصر ضار ولا أنه سليم: اقرأه بنفسك.

  • يحتاج مراجعةأمر يعمل داخل خطّاف

    في الملف plugins/explanatory-output-style/hooks/hooks.json

  • يحتاج مراجعةملف سكربت

    في الملف plugins/explanatory-output-style/hooks-handlers/session-start.sh

التعليقات (0)

لا تعليقات بعد. كن أول من يعلّق.

سجّل الدخول لتعلّق. التعليق من المستوى 1 (عضو).

أبلغ