
إيه هو Superpowers؟ plugin من المجتمع، مش رسمي من Anthropic، وبيضيف إيه لـ Claude Code
- كاتب موثّق
- Claude Code 2.x
محتويات المقال
/plugin install superpowers@claude-plugins-official يوم خميس. يوم الأحد، Claude بقى يقف قبل ما يكتب أي كود ويسأل أسئلة عن الـ design، ويعمل git worktree، ويكتب plan في مهام صغيرة، ويمسح function لأنها اتكتبت قبل الـ test بتاعها. الفريق عجبه الموضوع وعايزه شغّال عند الكل، فالـ tech lead طلب security sign-off سريع. والرد في الـ channel: "مش محتاجة، ده plugin بتاع Anthropic. اسم التسطيب نفسه بيقول official". ومحدش قادر يقول مين كتبه، ولا إيه اللي بيشتغل لما الـ session تبدأ، ولا إيه اللي هيتغير في الـ update الجاي.
الفكرة الغلط الشائعة
أمر التسطيب آخره @claude-plugins-official، وده marketplace بيضيفهولك Claude Code لوحده.الـ README بتاع المشروع نفسه بيقول إنه "is available via the official Claude plugin marketplace". صفحته على Claude Marketplace، الكتالوج اللي على الويب، عليها علامة Anthropic verified. إحساسه إنه جزء من الأداة: الـ skills بتاعته بتشتغل لوحدها، وClaude بيتصرف بشكل مختلف من أول prompt.
اللي بيحصل فعلًا
مين اللي بيعمله
يعني إيه "marketplace رسمي"
.claude-plugin/marketplace.json جوه repo بيقول لـ Claude Code يجيب كل plugin منين. والـ docs بتلخّص الرسمي في "Plugins Anthropic maintains, plus plugins from partners and other authors"، وبتضيف إن أغلب اللي فيه جاي "from partners and other authors rather than from Anthropic". واللي بتاع Anthropic نفسها منهم زي commit-commands وcode-review وfeature-dev. ودي الـ entry بتاعة Superpowers في الكتالوج ده:
{ "name": "superpowers", "category": "development", "source": { "source": "url", "url": "https://github.com/obra/superpowers.git", "sha": "bb92a77741419a4ab5f06e711a283343f1ada0c3" }, "homepage": "https://github.com/obra/superpowers.git"}بيضيف إيه لـ Claude Code
hooks/hooks.json بتاعه بيسجّل SessionStart command hook عند الـ startup والـ /clear والـ compaction:
{ "hooks": { "SessionStart": [ { "matcher": "startup|clear|compact", "hooks": [ { "type": "command", "command": "\"${CLAUDE_PLUGIN_ROOT}/hooks/run-hook.cmd\" session-start", "shell": "bash", "async": false } ] } ] }}using-superpowers ويرجّعها كـ context، فكل session جديدة، وكل واحدة بعد /clear أو compaction، بتبدأ وClaude متقاله إنه يدوّر على skill قبل ما يعمل أي حاجة. ده design مشروع، وفي نفس الوقت كود بيشتغل على جهازك: والـ docs بتقول إن الـ command hooks "run with your full user permissions"، وبرّه الـ sandbox.
SessionStart command hook بيشغّل script عند الـ startup والـ clear والـ compaction | |
تراجعه إزاي قبل ما الفريق يشغّله
# "It's official": enabled for everyone in the repo, unreadclaude plugin install superpowers@claude-plugins-official --scope projectclaude plugin marketplace list # where each marketplace comes fromgit clone https://github.com/obra/superpowers.gitclaude --plugin-dir ./superpowers plugin details superpowerscat superpowers/hooks/hooks.json superpowers/hooks/session-start# Try it yourself first, in this repo onlyclaude plugin install superpowers@claude-plugins-official --scope localplugin details بيطبع component inventory: الـ skills والـ agents والـ hooks مع الـ events بتاعتها والـ MCP والـ LSP servers. بس القايمة بتقولك إن فيه hook، مش بتقولك بيشغّل إيه، فالـ docs بتقول تقرا تلات أماكن بإيدك: hooks/hooks.json و.mcp.json وكل ملف في bin/. والـ Superpowers مفيهوش .mcp.json ولا bin/ دلوقتي، فالـ hook script هو اللي محتاج تقراه. والكتالوج مثبّت commit معيّن، فاعمل checkout للـ commit ده لو عايز نسخة مطابقة بالظبط.
تطبقها إزاي في مشروعك
سمّيه باسمه الحقيقي في الـ docs أو الـ PR بتاعك، اكتب إنه plugin من طرف تالت بتاع Prime Radiant، من الـ community، مش رسمي. ده بيحدد مستوى المراجعة. اقرا اللي بيشتغل افتح hooks/hooks.jsonوالـ script اللي بيناديه، و.mcp.jsonوbin/لو نسخة جاية ضافتهم.جرّبه في الـ local scope سطّبه بـ --scope local، واستخدمه في مهمة واحدة، وقارنه بـ session والـ plugin مقفول فيها.قرّر هتعمل إيه في الـ updates اختار بين الـ auto-update ونسخ مثبّتة، وحدد مين هيراجع أي تغيير في الـ hooks. وبعدين شاركه بعد كده بس، سطّبه في الـ project scope عشان .claude/settings.jsonيشغّله عند زمايلك.
الخلاصة
الـ Superpowers من الـ community، مش رسمي: بيعمله Jesse Vincent وPrime Radiant، برخصة MIT. الـ marketplace الرسمي بتاع Anthropic فيه plugins من partners ومؤلفين تانيين؛ ووجود الـ plugin فيه مش معناه مين كتبه. بيضيف workflow إجباري من الـ skills و SessionStarthook بيشغّل script بصلاحياتك.راجعه زي أي كود third-party: الـ inventory، والـ hook scripts، وبعدين local scope قبل الـ project scope. الـ updates ممكن تغيّر اللي راجعته، فحددوا مين هيقراها.
التعليقات (0)