Knowledge Base Integrationのロゴ

Knowledge Base Integration

コミュニティ
KunoLu
knowledge-base-integration

Use when configuring or running product-level Knowledge Ingest, target-ref Feature catalogs, Evidence Policy decisions, Revision Sets, idempotent smoke, or local/remote knowledge runners across repositories.

概要

公開者KunoLu
リポジトリ640-skills
スキル名knowledge-base-integration
スター
550
フォーク
13
同梱ファイル
16
ライセンスApache-2.0
リンク
  • Markdown形式の指示

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

  • どのLLMでも利用可能

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

  • 16個の同梱ファイル

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

  • オープンソース

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

インストール

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

1

TypingMindにインストール

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

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

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

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/KunoLu/640-skills.git /tmp/640-skills
mkdir -p .claude/skills
cp -r /tmp/640-skills/sbtd-workflow-onboard/templates/skills/knowledge-base-integration .claude/skills/knowledge-base-integration
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

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

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

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

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

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

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

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

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

スキルの指示

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

Knowledge Base Integration

Use this Skill for the P1 read-only integration runtime. Repository-owned .feature files at configured target refs remain the behavior SOT. The runtime produces rebuildable catalogs and evidence bundles; it does not change source repositories.

Steps

  1. Read the product registry and server workspace mapping. Validate both with scripts/knowledge_base_p1.py validate-config. Completion: every required repository has an explicit remote, role, target ref, feature root, and contained local mapping.
  2. Resolve Evidence intent before a formal run with decision. Completion: the immutable decision records required / not-required / blocked, targets, source rule, reason, policy version, and digest.
  3. For read / 读取, run ingest. Completion: every available ref is fixed to a full commit SHA; complete no-ID Gherkin structures, locators, bindings, conflict candidates, metrics.json, and ingest-summary.json exist; mutation is none.
  4. For CI or knowledge-server smoke, run smoke only after runner, environment, account, data, service, device, and app-artifact prerequisites are known. Completion: staged native commands ran through the local or configured command Runner Adapter; current-run reports, Chinese summaries, artifact manifest, checksums, metrics and evidence bundle exist, or the run is explicitly blocked.
  5. Report exact status and paths. P1 publication is always not-configured; PR checks, remote publication, invalidation, retention, quarantine and gates belong to P2.

Commands

bash
python scripts/knowledge_base_p1.py validate-config \
  --product /path/to/product.yaml \
  --workspace /path/to/workspace.local.yaml

python scripts/knowledge_base_p1.py decision \
  --product /path/to/product.yaml \
  --repository smart-fuzi-web \
  --trigger pull-request \
  --execution-profile developer-local

# CI-generated PR evidence resolves the same policy with an explicit CI source.
python scripts/knowledge_base_p1.py decision \
  --product /path/to/product.yaml \
  --repository smart-fuzi-web \
  --trigger pull-request \
  --execution-profile ci

python scripts/knowledge_base_p1.py ingest \
  --product /path/to/product.yaml \
  --workspace /path/to/workspace.local.yaml \
  --output /path/to/generated/products/smart

python scripts/knowledge_base_p1.py smoke \
  --product /path/to/product.yaml \
  --workspace /path/to/workspace.local.yaml \
  --output /path/to/runtime/runs/smart-smoke \
  --trigger schedule \
  --execution-profile knowledge-server \
  --suite-key smoke \
  --attempt 1

Read runtime-contract.md before configuring retry/attempt identity, staged smoke, report integrity, trusted deployment metadata, or a non-local Runner Adapter. Start deployment metadata from deployment-manifest.example.yaml.

Pass trusted deployment metadata with --deployment-manifest. verified requires its path, issuer and digest to be trusted, its repository SHAs to equal the Revision Set, and its expected runner/tool/image attestation to match the Adapter result. For local execution, workspace.local_runner plus repeatable --runner-label describes current capabilities. For Mobile or another device pool, declare runner and required_runner_labels on the command and configure that runner key in the server Workspace.

smoke --execution-profile accepts ci or knowledge-server; developer-local reports remain owned by project-native validation. A CI smoke envelope uses clean detached worktrees, exact revisions, and Evidence Publication: not-configured until a P2 publisher accepts it.

Use --no-fetch only when the configured refs are already present locally and the caller explicitly wants an offline run. A missing ref is blocked; the runtime never falls back to the current or default branch.

Configuration and Schemas

  • Start from product.example.yaml and workspace.local.example.yaml.
  • Validate persisted artifacts against the JSON Schemas in references/, including product/workspace, decision, Revision Set, deployment metadata, Runner job/result, artifact manifest and metrics contracts.
  • YAML input requires PyYAML; JSON configuration remains available without it. Install the pinned minimums in requirements.txt in the knowledge-server runtime environment.

Hard Boundaries

  • sync / 同步 remains the writable BDD Sync Mode in gherkin-bdd. Invoke this Skill's read / 读取 branch only for explicit read-only intent with no add/change/update/delete intent; mixed read-and-mutate requests remain in the normal BDD workflow.
  • Existing Feature and Scenario text is parsed without adding IDs, owner tags, scope tags, or a Gherkin runner.
  • Long-lived clones are fetch caches. Smoke commands run in detached isolated worktrees.
  • Smoke command strings are shell-free argv strings. Use stage for preflight, preparation, tests and cleanup; cleanup remains runnable after an earlier stage blocks.
  • Formal report declarations provide an exact relative path or glob for a runner report and its same-stem Chinese Markdown summary. Only pairs created or refreshed by the current command are collected; stale, non-Chinese, missing, unsafe or sensitive artifacts make Evidence blocked.
  • Current report-only smoke continues to emit schemaVersion: 1 with featureSources: []. That envelope remains valid generic evidence and must not be treated as BDD scenario coverage. Scenario-backed knowledge evidence requires a separate v2 envelope; do not rewrite v1 smoke into v2 links.
  • Duplicate logical runs reuse their idempotency record. Use a new --attempt for an intentional rerun; infrastructure retries stay inside that attempt and assertion failures do not retry automatically.
  • smoke-only, contract, mock, app-mocked, and backend-only modes retain their actual meaning.
  • Configuration and artifacts contain no credentials, tokens, PII, production data, or sensitive request content.

Output

Report:

  • Knowledge Ingest: run / partial / blocked / not-needed
  • Evidence Contract: not-required / required / blocked
  • Evidence Intent and Evidence Targets
  • Revision Set: id, status, and each repository ref/SHA
  • Knowledge Server Smoke: passed / failed / blocked / not-needed
  • Evidence Source: ci / knowledge-server / not-needed for smoke runs
  • Environment Alignment: verified / unverified / mismatch / not-needed
  • Evidence Publication: not-configured for P1
  • generated catalog, summary, report, and envelope paths
  • idempotency key, parser version, suite key and attempt
  • artifact manifest, checksums, runner attestation and metrics paths

同梱ファイル

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

よくある質問

AIスキル「Knowledge Base Integration」では何ができますか?

Use when configuring or running product-level Knowledge Ingest, target-ref Feature catalogs, Evidence Policy decisions, Revision Sets, idempotent smoke, or local/remote knowledge runners across repositories.

TypingMindでKnowledge Base Integrationを使うメリットは何ですか?

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

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

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

Knowledge Base Integrationを使えるAIモデルはどれですか?

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

Knowledge Base Integrationは何個のAIモデルで使えますか?

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

AIスキル「Knowledge Base Integration」は無料ですか?

はい。KunoLuがGitHubでApache-2.0ライセンスの下で公開しています。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

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

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

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

すべて見る

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

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