Для пакетів, що розширюють бандл (транспорти, адаптери протоколів, інтеграції) — точка входу через RpcExecutor, токени, групи й версії, маршрути, вимоги до пакета.
Встановити через агента — скажіть йому:
Прочитай https://ufo-tech.space/ai/install.md і встанови правило json-rpc-bundle-extensions з каталогу UFO Tech у цей проєкт.
Встановлення
Claude Code
У проєкт — docs/ai/json-rpc-bundle-extensions.md
macOS, Linux, WSL, Git Bash
mkdir -p "docs/ai"
curl -fsSL https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -o "docs/ai/json-rpc-bundle-extensions.md"
Windows PowerShell
New-Item -ItemType Directory -Force "docs\ai" | Out-Null
Invoke-WebRequest https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -OutFile "docs\ai\json-rpc-bundle-extensions.md"
Додайте в CLAUDE.md у корені проєкту рядок:
@docs/ai/json-rpc-bundle-extensions.md
Codex
У проєкт — docs/ai/json-rpc-bundle-extensions.md
macOS, Linux, WSL, Git Bash
mkdir -p "docs/ai"
curl -fsSL https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -o "docs/ai/json-rpc-bundle-extensions.md"
Windows PowerShell
New-Item -ItemType Directory -Force "docs\ai" | Out-Null
Invoke-WebRequest https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -OutFile "docs\ai\json-rpc-bundle-extensions.md"
Додайте в AGENTS.md у корені проєкту рядок:
Follow docs/ai/json-rpc-bundle-extensions.md.
Cursor
У проєкт — .cursor/rules/json-rpc-bundle-extensions.mdc
macOS, Linux, WSL, Git Bash
mkdir -p ".cursor/rules"
curl -fsSL https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -o ".cursor/rules/json-rpc-bundle-extensions.mdc"
Windows PowerShell
New-Item -ItemType Directory -Force ".cursor\rules" | Out-Null
Invoke-WebRequest https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -OutFile ".cursor\rules\json-rpc-bundle-extensions.mdc"
Prepend Cursor frontmatter: description (one line), globs (if the rule targets specific paths), alwaysApply: false.
GitHub Copilot
У проєкт — .github/instructions/json-rpc-bundle-extensions.instructions.md
macOS, Linux, WSL, Git Bash
mkdir -p ".github/instructions"
curl -fsSL https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -o ".github/instructions/json-rpc-bundle-extensions.instructions.md"
Windows PowerShell
New-Item -ItemType Directory -Force ".github\instructions" | Out-Null
Invoke-WebRequest https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -OutFile ".github\instructions\json-rpc-bundle-extensions.instructions.md"
Prepend frontmatter with applyTo, e.g. applyTo: "src/**".
AGENTS.md
У проєкт — docs/ai/json-rpc-bundle-extensions.md
macOS, Linux, WSL, Git Bash
mkdir -p "docs/ai"
curl -fsSL https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -o "docs/ai/json-rpc-bundle-extensions.md"
Windows PowerShell
New-Item -ItemType Directory -Force "docs\ai" | Out-Null
Invoke-WebRequest https://ufo-tech.space/ai/files/rule/json-rpc-bundle-extensions/universal/json-rpc-bundle-extensions.md -OutFile "docs\ai\json-rpc-bundle-extensions.md"
Додайте в AGENTS.md у корені проєкту рядок:
Follow docs/ai/json-rpc-bundle-extensions.md.
Опис
Для пакетів, що розширюють JsonRpcBundle: новий транспорт, адаптер протоколу, інтеграція чи інструменти. Використовуйте разом із правилами для JsonRpcBundle.
Що всередині
- не дублювати ядро: мапа методів, валідація, конвертація параметрів і формат помилок уже є в бандлі;
- точка входу через
RpcExecutor, перевірка токена, група й версія API для запиту, маршрути черезIApiRouteImport; - обмеження для компонентів, що створюються під час компіляції контейнера, і правила для подій;
- вимоги до пакета: версія бандла, структура README і документації, функціональний тест, сумісність у межах мажорної версії.
Файл англійською, версія бандла — 10.4.