Bspのロゴ

Bsp

コミュニティ
brake71
bsp

БСП / библиотечная интеграция 1С. In standard subsystems, exported common module ВызовСервера / СлужебныйПрограммныйИнтерфейс stability or client/server execution? Read fundamentals.md even without BSP name. Scope before opening: Explicit BSP API review, including method existence -> matching-version reference. A migration/update handler using a library to save without business logic/exchange registration -> read before write, even without a BSP name or version. Ошибка у поля формы и Отказ в решении со стандартными подсистемами -> read. Pure BSL, existing form element properties, platform-only exchange -> answer without opening this skill; platform-only exclusion applies only without BSP API review. References verify BSP 3.1.11; other versions need matching sources.

Add to TypingMind

概要

公開者brake71
リポジトリ1c-ssl-skills
スキル名bsp
スター
85
フォーク
12
同梱ファイル
26
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 26個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    brake71がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Bsp」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/brake71/1c-ssl-skills/tree/main/skills/bsp
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brake71/1c-ssl-skills.git /tmp/1c-ssl-skills
mkdir -p .claude/skills
cp -r /tmp/1c-ssl-skills/skills/bsp .claude/skills/bsp
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBspを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBspを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Bspは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

Using 1C:BSP 3.1.11 in application code

This router is ASCII-only so that its initial read is safe even with a legacy Windows stdout code page. The task references remain UTF-8 Russian, with exact BSL names, signatures, regions, parameters, examples and pitfalls.

Reading UTF-8 files on Windows

Use a native UTF-8 reader: rg -n . -- "PATH" reads a file; rg patterns and -A/-B/-C select a section. Replace PATH with the installed file's path; quote paths containing spaces. Alternatively, read with explicit Python UTF-8:

bash
python -X utf8 -c "import sys; from pathlib import Path; sys.stdout.reconfigure(encoding='utf-8'); print(Path(sys.argv[1]).read_text(encoding='utf-8'))" "PATH"

Get-Content -Encoding UTF8 controls input decoding, not captured stdout. Avoid PowerShell content cmdlets and piping native readers through Select-String, Select-Object or Where-Object: they may re-encode stdout. Filter inside rg or Python instead. Apply UTF-8 reading to project files too; do not combine a safe skill read with an unsafe README read. Do not change global shell settings.

Workflow

Scope precedence: explicit BSP API review, including checking whether a method exists, requires the selected reference even when the recommendation uses platform APIs. Apply the version boundary below first. Standalone platform-only requests without BSP API review are outside this workflow; answer them directly. The presence of BSL files or a form element alone is not an integration task. A library-based migration/update write is an integration task even without an explicit BSP name or version; route it to update.md after the version check.

  1. Check the requested BSP version. For a different version, explain that these 3.1.11 references cannot confirm its signatures and request matching documentation/export; this boundary check needs no API reference. For 3.1.11 or an unspecified version, select one primary reference from the task table. Add a second only for a genuinely cross-cutting task, such as printing in a background job.
  2. Bind the installed root to the parent of the absolute SKILL.md file you successfully opened. Build the selected path as INSTALLED_ROOT/references/REFERENCE.md; each skill has its own root. Open that file before an integration/API answer. Locate the scenario using native rg -n headings/context, then check its rules, signature, example and pitfalls. The router and remembered knowledge are insufficient. If a search fails, run the reference fallback below using that same absolute SKILL.md path. A project file listing may omit hidden .agents/; it does not prove the installed reference is absent. A system skill's path is not the root of this project skill. Declare the reference unavailable only after the fallback fails; otherwise use its scenario.
  3. If the user proposes a call or rule, check its original full Module.Method name and purpose. Identify mismatches explicitly. An API signature verified for 3.1.11 is not verification for another BSP version.
  4. Prefer the stable public programmatic-interface region. Internal or deprecated APIs require an explicit warning and no public alternative. Show overridable-module hooks as implementations: BSP calls them; application code implements them, not a direct qualified module call. Exact Russian region and suffix names are documented in fundamentals.md.
  5. If a configuration XML export containing CommonModules/ is available, additionally verify each recommended signature/region with bsp_api.py. Otherwise use the supplied reference and do not claim source verification.
  6. Answer in the user's language: API, client/server execution context, minimal BSL example and important constraints. Check each full BSP call name and argument order against the reference or available export. Take application-specific object/handler names from the task or project; do not invent symmetric BSP methods. Discuss absent/internal/forbidden calls in prose or inline code, not a runnable fenced BSL example.

The skill is self-contained and needs no developer documentation or source export. Resolve references/ and scripts/ relative to this installed SKILL.md, not the project's working directory. src/cf/ is only an example export path, not a consumer project requirement.

Reference fallback

Replace ABSOLUTE_SKILL_MD with the file you opened (use forward slashes), and REFERENCE.md with the selected table entry. This reads independently of cwd:

bash
python -X utf8 -c "from pathlib import Path; p=Path('ABSOLUTE_SKILL_MD').parent/'references'/'REFERENCE.md'; print(p.read_text(encoding='utf-8'))"

Task routing

Primary taskReference
Module suffixes, locating modules, subsystem map, stable API vs hooksreferences/fundamentals.md
User messages (including binding to a field during server validation), XML/JSON, attributes by reference, secure storage, strings, dates, temporary directoriesreferences/base-common.md; add references/forms-validation.md for additional-attribute validation
Background/long-running operations, progress, scheduled jobsreferences/longs-and-jobs.md
Object numbering prefix, infobase prefix, data areareferences/prefixes.md
Infobase upgrade/version, migration, update handlerreferences/update.md
Data exchange, exchange nodes, change registrationreferences/data-exchange.md
Electronic signatures, machine-readable powers of attorney (MCD), cryptography, DSS, signature checksreferences/esign-mcd.md
Contact information, addresses, OKTMO/KLADR, address classifierreferences/contact-info.md
Other classifiers, including countriesreferences/classifiers.md
Currencies, exchange rates, banks/accounts, work schedules/calendarsreferences/currencies-banks.md
External components, ODatareferences/external-components.md
Users, permissions, RLS, access groups/profilesreferences/users-access.md
Email, SMS, message templates, discussions/interactionsreferences/comms.md
Business processes and tasksreferences/bp-tasks.md
User-session termination, deleting marked objects, security profilesreferences/admin-tools.md
Infobase backupreferences/backup.md
Performance assessment, monitoring center, user activityreferences/perf-monitoring.md
Personal-data protection/destruction dates, classification labelsreferences/protection-pd.md
Connected commands, external reports/processorsreferences/commands-external.md
Printing, print manager, report variants, data composition (SKD)references/print-reports.md
Locking/unlocking form attributes, properties, change-prohibition datesreferences/forms-validation.md
Files, volumes, versioning, writing a filereferences/files-and-versions.md
Multilingual code, NStr, current language, localizationreferences/multilang.md
Duplicates, bulk modification, subordinate structure, reference replacementreferences/report-dedup.md

For an unmapped BSP task, start with fundamentals.md. It also lists intentionally uncovered subsystems. References are workflows, not just a searchable method catalog: use the complete scenario, not an isolated matching name.

Optional configuration-export verification

Replace SKILL_DIR with this installed skill directory, CF_EXPORT with the export root containing CommonModules/, and MODULE/METHOD with real names. The export is read-only and not bundled. Python UTF-8 mode keeps CLI output readable on Windows without changing global settings.

bash
# Signature, region, documentation, source path and line range.
python -X utf8 "SKILL_DIR/scripts/bsp_api.py" method METHOD --module MODULE --src "CF_EXPORT"

# One module's exported methods across all regions.
python -X utf8 "SKILL_DIR/scripts/bsp_api.py" module MODULE --src "CF_EXPORT"

# Modules exposing stable public API.
python -X utf8 "SKILL_DIR/scripts/bsp_api.py" modules --src "CF_EXPORT"

--module disambiguates same-named methods. --src is mandatory: no automatic export discovery; missing paths or CommonModules/ yield a nonzero exit code. module includes all regions; modules lists stable API modules only. The output marks hooks, internal and deprecated methods; retain these warnings.

A text search of subsystem XML can locate a common-module reference, but assigning Catalog/Document objects to a subsystem requires parsing its Item references, including nested subsystem XML, not a guessed grep match.

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Bsp」では何ができますか?

БСП / библиотечная интеграция 1С. In standard subsystems, exported common module ВызовСервера / СлужебныйПрограммныйИнтерфейс stability or client/server execution? Read fundamentals.md even without BSP name. Scope before opening: Explicit BSP API review, including method existence -> matching-version reference. A migration/update handler using a library to save without business logic/exchange registration -> read before write, even without a BSP name or version. Ошибка у поля формы и Отказ в решении со стандартными подсистемами -> read. Pure BSL, existing form element properties, platform-o...

TypingMindでBspを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Bspはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBspをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/brake71/1c-ssl-skills/tree/main/skills/bspを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Bspを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Bspで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBspを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Bsp」は無料ですか?

はい。brake71がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇