شعار Bridge

Bridge

المجتمعشائع
jeremylongshore
bridge

استخدم هذه المهارة عندما يريد المستخدم تطبيق قواعد hyperflow السلوكية خارج واجهة CLI الطرفية، في Claude Code Desktop أو claude.ai على الويب أو إضافات IDE التي لا تحمّل إضافات CLI. تكتب كتلة قواعد مُدارة في ملف CLAUDE.md الخاص بالمشروع، لنقل قواعد الاستقلالية وتوجيه النوايا وإيقاع عمليات commit وفصل الأدوار والعمل أولًا على الملفات. التطبيق غير كامل (لا توجد أوامر slash ولا استدعاء فعلي للمهارات)، لكنه مفيد. فعّلها باستخدام /hyperflow:bridge أو «اجعل hyperflow يعمل على سطح المكتب» أو «اجعل hyperflow يعمل في claude.ai» أو «ضمّن قواعد hyperflow في CLAUDE.md» أو «قواعد hyperflow قابلة للنقل».

نظرة عامة

الناشرjeremylongshore
المستودعtons-of-skills-marketplace
اسم المهارةbridge
النجوم
2.8K
التفريعات
402
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/main/plugins/ai-agency/hyperflow/skills/bridge
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jeremylongshore/tons-of-skills-marketplace.git /tmp/tons-of-skills-marketplace
mkdir -p .claude/skills
cp -r /tmp/tons-of-skills-marketplace/plugins/ai-agency/hyperflow/skills/bridge .claude/skills/bridge
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Bridge

Embed the portable subset of hyperflow's doctrine into the project's CLAUDE.md so it applies in surfaces that don't load CLI plugins (Claude Code Desktop, claude.ai web, IDE extensions). The doctrine block is managed via fenced markers, so refreshing it on plugin updates is idempotent and never touches your own CLAUDE.md content.

Source template: templates/claude-md-doctrine.md. Doctrine background: DOCTRINE.md.

Subcommands

SubcommandDescription
generateWrite the doctrine block into the project's CLAUDE.md (create the file if absent, append the block if not present, refresh if already present)
refreshSame as generate — alias for clarity when the block already exists
removeRemove the doctrine block from CLAUDE.md (preserves your own content; if the file becomes empty after removal, leave it as an empty file rather than delete)
statusShow whether the doctrine block is present, its version, when it was generated
mode <auto|manual|off>Set the auto-bridge mode for this project. Writes .hyperflow/.bridge-mode. The session-start hook reads this and decides what to do

Default subcommand when none provided: status.

Auto-bridge (default ON)

The CLI session-start hook (hooks/session-start) runs scripts/auto-bridge.py on every session start. Behavior depends on the mode stored in .hyperflow/.bridge-mode:

ModeBehavior
auto (default when .bridge-mode is absent)If ./CLAUDE.md is missing the doctrine block OR has an outdated version, silently writes/refreshes the block and prints a one-line notice in session-start output. Zero user friction.
manualNever writes. Prints a one-line advisory when the block is missing or outdated: ./CLAUDE.md doctrine block would be refreshed (version 4.11.0) — run /hyperflow:bridge refresh to apply.
offDoes nothing. No writes, no advisories.

This means: open Claude Code CLI once in your project, and from then on every Desktop / web / IDE session in the same project automatically gets the up-to-date hyperflow doctrine via CLAUDE.md. Refresh on plugin update is automatic too.

To opt out: /hyperflow:bridge mode off. To require explicit refresh: /hyperflow:bridge mode manual.

What gets written

A fenced block in the project's ./CLAUDE.md (at the repo root, where Claude Code Desktop / web / CLI all look for it):

markdown
<!-- hyperflow:doctrine:start version=<X.Y.Z> generated=<ISO-8601> source=https://github.com/Mohammed-Abdelhady/hyperflow -->

# Hyperflow Doctrine (Portable Subset)

<the full template body — autonomy, intent-routing, commit cadence,
 role separation, file-first artefacts, no AI attribution, security
 blocklists, what's missing vs CLI>

<!-- hyperflow:doctrine:end -->

The fenced markers (hyperflow:doctrine:start / hyperflow:doctrine:end) let refresh find and replace ONLY the doctrine block, leaving everything else in your CLAUDE.md untouched. Place the block anywhere in CLAUDE.md; the bridge respects its position.

When to use

SituationUse bridge?
You work exclusively in Claude Code CLI (terminal)No — the plugin loads doctrine directly; bridge would duplicate
You use Claude Code Desktop on Mac / WindowsYes — bridge gives Desktop the autonomy + intent-routing + commit cadence rules
You use claude.ai web app for this projectYes — same reason
You use VS Code / Cursor / JetBrains and the extension shells out to the claude CLINo — the CLI plugin applies
You use VS Code / Cursor and the extension talks to the API directlyYes — the API session loads CLAUDE.md
You collaborate with teammates who use mixed surfacesYes — commit the generated CLAUDE.md so everyone has the same rules regardless of their surface

What you keep / lose vs the full CLI plugin

CapabilityCLI pluginCLAUDE.md bridge
Autonomy rules (no confirmations, minimal output, no hedging)yesyes
Intent-based routing (audit/debug/fix/brainstorm verbs)yesyes (described in CLAUDE.md as rules for the orchestrator to follow)
Per-task commit cadenceyesyes
Role separation (workers execute, reviewers review)yesyes
File-first artefacts under .hyperflow/yesyes
Binary-gate rule (no recommendation on yes/no)yesyes
No-AI-attribution ruleyesyes
Security blocklistsyesyes
/hyperflow:* slash commandsyesno — surfaces without the plugin can't dispatch named skills
Chain-mode Step-0 auto/manual questionyesno — defaults to auto-style chain in CLAUDE.md mode
Operational pre-elections (commit/branch/push at scope Step 2.6)yesno — defaults applied per CLAUDE.md guidance
Per-step Worker → Reviewer dispatch templates from worker-prompt.md / reviewer-prompt.mdyespartial — the role-separation rule preserves the spirit; exact prompts not embedded (would bloat CLAUDE.md)
Background agents, sticky mode, status skill, cache skillyesno — these need their own slash command surfaces
Adaptive flow profiles (fast / standard / deep)yesno — orchestrator infers from message complexity

Net coverage: ~70% of hyperflow's behavioral value. Slash commands and the infrastructure that wraps them are the missing 30%.

Subcommand Details

generate / refresh

  1. Read the template at ~/.claude/plugins/cache/hyperflow-marketplace/hyperflow/<version>/templates/claude-md-doctrine.md (resolve current version from the active plugin install).
  2. Substitute placeholders: __HYPERFLOW_VERSION__ → current plugin version, __GENERATED_AT__ → current UTC timestamp (ISO-8601).
  3. Read the project's ./CLAUDE.md. Three cases:
    • File absent — create ./CLAUDE.md with just the doctrine block.
    • File exists, no existing doctrine block — append the doctrine block at the end of the file (preceded by one blank line if the file doesn't already end with a blank line).
    • File exists, doctrine block present — find the <!-- hyperflow:doctrine:start … --> and <!-- hyperflow:doctrine:end --> markers, replace everything between them (inclusive of the markers) with the new block. All other content in CLAUDE.md is preserved exactly.
  4. Write the updated CLAUDE.md.
  5. Print:
Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
Surfaces that load CLAUDE.md (Desktop, claude.ai web, IDE extensions that talk to API) will now honor:
  · Autonomy rules
  · Intent-based routing (audit/debug/fix/brainstorm/scope/deploy verbs)
  · Per-task commit cadence
  · Role separation (workers execute, reviewers review)
  · File-first artefacts under .hyperflow/
  · No AI attribution
  · Security blocklists

Re-run `/hyperflow:bridge refresh` after updating the plugin to pick up doctrine changes.
What's NOT in the bridge: /hyperflow:* slash commands, plugin-loaded skill files, operational pre-elections. Those need the terminal CLI.

remove

  1. Read ./CLAUDE.md. If absent or doctrine markers not present, print Nothing to remove — no hyperflow doctrine block in ./CLAUDE.md. and stop.
  2. Find the <!-- hyperflow:doctrine:start … --> and <!-- hyperflow:doctrine:end --> markers; remove everything between them (inclusive of markers). Collapse adjacent blank lines so the file doesn't end up with a triple newline.
  3. If CLAUDE.md is now empty (or only whitespace), leave it as an empty file rather than delete — the user may have other tooling that expects the file to exist.
  4. Print Removed hyperflow doctrine block from ./CLAUDE.md. Surfaces that loaded the doctrine block will revert to default behaviour.

mode <auto|manual|off>

Write the chosen mode to .hyperflow/.bridge-mode. The file holds one word: auto, manual, or off. The session-start hook reads it on every CLI session start. Print one of:

Auto-bridge: AUTO — ./CLAUDE.md doctrine block is silently maintained on every CLI session start.
Auto-bridge: MANUAL — session start prints an advisory when the block is stale; you run /hyperflow:bridge refresh.
Auto-bridge: OFF — no advisories, no writes. Use /hyperflow:bridge generate manually if you want the block.

Defaults to auto when .bridge-mode is absent (so first install of hyperflow auto-bridges with no user action). Setting auto explicitly is a no-op write that just records the intent.

status

Read ./CLAUDE.md. Find the doctrine markers. Print one of:

Hyperflow doctrine block: PRESENT in ./CLAUDE.md
  Version generated: 4.10.1
  Generated at:      2026-05-17T15:30:00Z
  Plugin current:    4.10.1
  Status:            up to date · or · update available (re-run /hyperflow:bridge refresh)
Hyperflow doctrine block: NOT PRESENT in ./CLAUDE.md
  Use /hyperflow:bridge generate to add it.
Hyperflow doctrine block: NOT PRESENT (no ./CLAUDE.md in project root)
  Use /hyperflow:bridge generate to create ./CLAUDE.md with the doctrine block.

Flow

  1. Parse subcommand (default status).
  2. Locate the project's ./CLAUDE.md (repo root).
  3. Execute subcommand per the details above.
  4. Print one-block confirmation.

Overview

/hyperflow:bridge is the user-facing interface for the CLAUDE.md doctrine bridge. It does NOT itself enforce the doctrine — it writes the rules into a file that surfaces outside the terminal CLI will load. Enforcement happens in those surfaces when the host loads CLAUDE.md at session start.

Prerequisites

  • Project root contains a writable ./ directory (the bridge writes ./CLAUDE.md).
  • Hyperflow plugin installed (the bridge reads its template from the plugin cache). If running outside the plugin context, the bridge falls back to a vendored copy in the plugin source tree.

Instructions

See Subcommands and Subcommand Details. Summary:

  1. Parse subcommand (default status).
  2. Read/write ./CLAUDE.md per the chosen subcommand.
  3. Print one short confirmation block.

Output

  • generate / refresh — multi-line confirmation listing what surfaces now honor; what's NOT in the bridge.
  • remove — one-line confirmation.
  • status — three-field block (present / version / freshness).

Error Handling

FailureBehavior
./CLAUDE.md not writablePrint explicit error; suggest chmod +w ./CLAUDE.md if permissions-related. Do NOT silently fall back to a hidden location.
Plugin template not found (running outside cached plugin)Look up the template at <plugin-root>/templates/claude-md-doctrine.md relative to this SKILL.md's directory. If still not found, refuse with a clear error.
Existing doctrine block has malformed markers (one without the other)Refuse to refresh; print the malformed file's line range and ask the user to fix the markers manually. Do NOT auto-repair — the user's content might be at risk.
Multiple doctrine blocks in one CLAUDE.md (duplicate)Refuse and surface the line ranges of both. User decides which to keep.
User runs generate repeatedlyIdempotent — every run replaces the block with the latest template + timestamp. No duplication.

Examples

First-time setup for a Desktop user

You: /hyperflow:bridge generate

Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
Surfaces that load CLAUDE.md (Desktop, claude.ai web, IDE extensions that talk to API) will now honor:
  · Autonomy rules
  · Intent-based routing (audit/debug/fix/brainstorm/scope/deploy verbs)
  · Per-task commit cadence
  · Role separation (workers execute, reviewers review)
  · File-first artefacts under .hyperflow/
  · No AI attribution
  · Security blocklists

Re-run `/hyperflow:bridge refresh` after updating the plugin to pick up doctrine changes.
What's NOT in the bridge: /hyperflow:* slash commands, plugin-loaded skill files, operational pre-elections. Those need the terminal CLI.

Status check

You: /hyperflow:bridge status

Hyperflow doctrine block: PRESENT in ./CLAUDE.md
  Version generated: 4.10.0
  Generated at:      2026-05-15T09:12:00Z
  Plugin current:    4.10.1
  Status:            update available (re-run /hyperflow:bridge refresh)

Refresh after plugin update

You: /hyperflow:bridge refresh

Wrote hyperflow doctrine block to ./CLAUDE.md (version 4.10.1).
...

Remove

You: /hyperflow:bridge remove

Removed hyperflow doctrine block from ./CLAUDE.md. Surfaces that loaded the doctrine block will revert to default behaviour.

Resources

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

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

استخدم هذه المهارة عندما يريد المستخدم تطبيق قواعد hyperflow السلوكية خارج واجهة CLI الطرفية، في Claude Code Desktop أو claude.ai على الويب أو إضافات IDE التي لا تحمّل إضافات CLI. تكتب كتلة قواعد مُدارة في ملف CLAUDE.md الخاص بالمشروع، لنقل قواعد الاستقلالية وتوجيه النوايا وإيقاع عمليات commit وفصل الأدوار والعمل أولًا على الملفات. التطبيق غير كامل (لا توجد أوامر slash ولا استدعاء فعلي للمهارات)، لكنه مفيد. فعّلها باستخدام /hyperflow:bridge أو «اجعل hyperflow يعمل على سطح المكتب» أو «اجعل hyperflow يعمل في claude.ai» أو «ضمّن قواعد hyperflow في CLAUDE.md» أو «قواعد hyperflow قابلة للنقل».

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

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

كيف أثبّت Bridge في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/jeremylongshore/tons-of-skills-marketplace/tree/main/plugins/ai-agency/hyperflow/skills/bridge. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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