Skillpedia
النشر والسحابة (DevOps)280k · #282

configure-ecc

ما الذي تفعله

تساعدك هذه المهارة على تثبيت ECC وإعداده، وهو نظام يؤتمت المهام ويضيف الأمان إلى بيئة البرمجة لديك. تقودك خطوة بخطوة خلال عملية الإعداد.

متى تستخدمها

  • ✓عندما تثبت ECC لأول مرة.
  • ✓عندما تحتاج إلى تحديث ECC أو إعادة ضبطه.
  • ✓عندما يحدث خطأ وتحتاج إلى إصلاح تثبيت ECC.

رابط المهارة

https://github.com/affaan-m/ECC/blob/main/skills/configure-ecc/SKILL.md

انسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.

طريقة الاستخدام

أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.

رسالة جاهزة للصق

استخدم هذه المهارة لمساعدتي: https://github.com/affaan-m/ECC/blob/main/skills/configure-ecc/SKILL.md اقرأ ملف SKILL.md في هذا الرابط ونفّذ تعليماته لمهمتي.
تريد أن يجد الذكاء الاصطناعي مهارات مثل هذه بنفسه؟ثبّت خادم Skillpedia MCP المجاني: سطر واحد، ويبحث في 15,000+ مهارة قبل كل مهمة.ثبّته في دقيقة واحدة →

📦 هذه المهارة موجودة في هذه الحزم

مثال على ما تطلبه من الذكاء الاصطناعي

“اضبط ECC لي بمستوى أمان قياسي ونطاق المشروع.”

5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.

كيف تعمل

تطرح المهارة أسئلة حول طريقة استخدامك لـ ECC، مثل المكان الذي تُحفظ فيه الإعدادات (لك، أو للمشروع، أو محليًا)، ومستوى الأتمتة الذي تريده. ثم تعرض ملخصًا لما سيتم تنفيذه، وتطلب تأكيدك قبل تطبيق أي تغيير.

المحتوى التقني (ملف SKILL.md الأصلي)

النص الأصلي من المؤلف، مباشرة من GitHub.

Configure ECC

Run a conversational wizard inside the current harness. Inventory first, collect only supported choices, preview, confirm once, apply non-interactively, verify, and show the welcome only after success. Never clone ECC into a temporary directory or copy plugin components by hand.

For a human-operated terminal, the canonical entry points are ecc setup and npx ecc-universal setup. Inside a harness, use the explicit non-interactive commands below instead.

Route by the current harness

  • In Claude Code, use the full scope-and-hook wizard below.
  • In Codex, use Codex's native plugin lifecycle. Do not offer Claude scopes or map ECC's four Claude hook profiles onto Codex.
  • In Kimi, install the project surface under ./.kimi-code. Kimi does not provide ECC's Claude lifecycle-hook profiles.
  • If the harness is uncertain, state the detected evidence and ask which harness to configure before running a mutating command.

This skill is a post-install reconfiguration path. It cannot intercept or replace a provider's built-in first-install UI.

Claude Code: run the full conversational wizard

1. Inventory without changing anything

Run both commands and summarize the installed ECC scope, enabled state, and marketplace source:

claude plugin list --json
claude plugin marketplace list --json

Treat a single existing ecc@ecc installation as a reconfiguration. Do not interpret Claude's provider-owned "Open home page" control as installation evidence. Stop and report the recovery returned by setup for multiple ECC scopes, a legacy/manual install, malformed settings, or a marketplace collision; never guess which state to delete.

2. Collect exactly two choices

Ask exactly one scope question and require one value:

  • user | project | local
  • user is global for this user.
  • project is shared through repository settings.
  • local is private to the current project.

Visually mark only the selected scope as selected or installing. If the user chooses a different scope from a single existing install, describe it as a scope migration and include --move-scope in the commands below.

Ask exactly one hook-mode question and require one value:

  • off | minimal | standard | strict
  • off keeps skills and commands but disables ECC hook automation.
  • minimal enables the lightest lifecycle and safety automation.
  • standard balances quality and safety automation.
  • strict enables the strongest checks and reminders.

Hook preference is personal Claude plugin configuration; it does not follow the selected install scope.

3. Preview and confirm once

Prefer the plugin-bundled setup script. Substitute the two selected values and include --move-scope only for a scope migration:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

If $CLAUDE_PLUGIN_ROOT is unavailable, use the published npm package:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --dry-run --json

Show exactly one confirmation summary containing the planned action, one scope, one hook mode, marketplace action, and any source-to-destination migration. Ask one yes/no question. Do not run a bare interactive ecc setup through a harness shell tool because that shell is commonly non-TTY.

4. Apply the explicit choices

After confirmation, rerun the same route without --dry-run. Keep every choice explicit and request JSON so success can be checked deterministically:

node "$CLAUDE_PLUGIN_ROOT/scripts/setup.js" --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

Fallback:

npx --yes --package ecc-universal ecc setup --mode claude-plugin \
  --scope <scope> --hooks <hooks> [--move-scope] --yes --json

5. Verify, then render the welcome

Require a zero exit status and a setup result whose scope and hooks equal the selected values. Then independently run:

claude plugin list --json

Continue only when exactly one enabled ecc@ecc entry exists at the selected scope. When $CLAUDE_PLUGIN_ROOT is available, pass the successful setup action (installed, updated, migrated, resumed, or already-migrated) to the bundled renderer:

Before invoking it, require the provider-reported version to match

…

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

ما المقصود بـ«النطاق»؟

النطاق يحدد أين ستُطبق إعدادات ECC: «user» لجميع مشاريعك، أو «project» لمشروع محدد يُشارك مع الآخرين، أو «local» للاستخدام الخاص بك داخل هذا المشروع فقط.

ما هي «الخطافات»؟

الخطافات أتمتات يمكن أن ينفذها ECC. تتراوح من «off» (بدون أتمتة) إلى «strict» (مع أدق الفحوصات والتذكيرات).

ماذا يحدث إذا لم أؤكد؟

إذا لم تؤكد، لن يتم تطبيق أي تغيير، وسيُلغى الإعداد. لا تتابع المهارة إلا بموافقتك الصريحة.

التفاصيل

الوصف الأصلي من المؤلف

Run the conversational ECC setup wizard inside the current harness: inventory the install, collect scope (user/project/local) and hook mode (off/minimal/standard/strict) in Claude Code, use Codex's native plugin lifecycle, or install the project surface under ./.kimi-code, then preview, apply, and verify. Use when installing, updating, reconfiguring, or repairing an ECC installation, changing hook

repo: affaan-m/ECC

الشعبية

نجوم GitHub
280k
الترتيب
#282
الترخيص
MIT
آخر تحديث
15‏/10‏/2026

هل هذه المهارة مفيدة؟

0

سجّل الدخول للتصويت.

التعليقات

  • …

المزيد من المهارات من هذا المستودع

مهارات مشابهة