Bsp patterns

From IngvarConsulting/unica · View interactive version

Bsp patterns is an AI agent skill from the GitHub repository IngvarConsulting/unica. Поиск и применение паттернов БСП. Используй когда задача про длительные операции, профили групп доступа, безопасное хранение, дополнительные обработки, HTTP/файлы, уведомления или готовую функцию БСП.

How to use this skill

Skill file

BSP Patterns

MCP routing

контракт каждой — argsSchema, execution, previewRequired,

dryRunRequired. Контракт вызова бери оттуда, а не из этого текста;

используй опубликованную argsSchema; при support.state: limited

разрешено только подмножество support.supportedArgs. Недоступной операции

в словаре нет. Для плановой операции сначала проверь результат

dryRun: true, затем исполняй запрос с dryRun: false. Preview

не фиксирует входы между вызовами. Не обходи контракт прямым runner-ом.

Workflow

  1. Identify the BSP subsystem or library pattern by intent, not by guessed module name.
  2. Search existing project usage with unica.search before writing new code. Prefer local project conventions over generic snippets.
  3. Inspect affected metadata, forms, roles, and external processing registration with unica.view at each object's logical address.
  4. Use unica.docs with source: "development-standard" only for a development-standard that constrains the pattern. Do not treat it as platform or BSP documentation. Exact platform mechanics require unica.docs with source: "platform-help". Treat local BSP code as corroborating implementation evidence, not as the platform contract.
  5. Implement the smallest integration point; check syntax with unica.check (test runs are outside the v0.13 surface), and do not claim runtime verification from a static check.

References

behavior by a platform version or compatibility mode. Platform guidance

remains the contract source; BSP code is corroborating implementation

evidence that must be reconciled with that contract.

Pattern hints

MCP example

{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "unica.search",
    "arguments": {
      "query": "СведенияОВнешнейОбработке",
      "scope": "<source-set-from-unica-view>:Configuration",
      "limit": 20
    }
  }
}
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.