Логотип 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

    Навички ШІ — це звичайний Markdown, а не код для певного постачальника, тому вони працюють із GPT, Claude, Gemini, Grok або локальною моделлю.

  • Файлів у комплекті: 16

    Скрипти, шаблони й довідкові матеріали, які модель може читати під час роботи. Файли доступні лише для читання й ніколи не виконуються.

  • Відкритий вихідний код

    Опубліковано на GitHub користувачем KunoLu. Перегляньте вихідний вміст перед установленням.

Встановлення

Установіть навичку ШІ Knowledge Base Integration у TypingMind, щоб використовувати її з будь-якою LLM, або додайте її до іншого агента, що читає SKILL.md.

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. Увімкніть навичку в кожному чаті, де хочете її використовувати.
Плагіни → Навички → Нова навичка → За URL GitHub, потім вставте URL папки й натисніть «Продовжити».
2

Встановити в іншому агенті

Будь-який агент, що підтримує формат Agent Skills, може використовувати цю навичку — скопіюйте папку до каталогу навичок цього агента.

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

Увімкніть навичку Knowledge Base Integration в будь-якому чаті TypingMind, і далі модель усе зробить сама. Назва й опис навички містяться в системному промпті, а щойно надходить відповідний запит, модель самостійно завантажує повні інструкції — вам не потрібно викликати навичку вручну, і до фактичного використання вона не витрачає токенів.

Модель самостійно завантажує навичку Knowledge Base Integration, щойно надходить відповідний запит.

Працює з будь-якою моделлю ШІ

Навички ШІ — це звичайні інструкції Markdown, а не код для певного постачальника, тому навичка Knowledge Base Integration не прив’язана до моделі, для якої її створено. Установіть її один раз у TypingMind і використовуйте з GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama або локальною моделлю, яку ви запускаєте самостійно, — усе з вашими власними ключами API.

  • Завантажується лише за потреби

    Системний промпт містить лише назву й опис. Інструкції завантажуються за першого відповідного запиту, тож невикористана навичка нічого не коштує.

  • Змінюйте моделі під час чату

    Оскільки навичка — це інструкції, а не код, зміна моделі не порушує її роботу: наступна модель читає той самий файл 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

Файли в пакеті

Модель читає ці файли за потреби, поки навичку завантажено. Вони доступні для читання й ніколи не виконуються.

Поширені запитання

Що робить навичка ШІ 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.

Навіщо використовувати Knowledge Base Integration у TypingMind?

Тому що ви встановлюєте її один раз і використовуєте з будь-якою моделлю. Knowledge Base Integration — це звичайний Markdown, а не код для конкретного постачальника, тому та сама навичка працює з GPT-5, Claude, Gemini, Grok або локальною моделлю. Ви можете змінити модель навіть посеред чату, і навичка продовжить працювати. TypingMind використовує ваші власні ключі API, тож ви платите безпосередньо постачальникам замість передплати за кожне місце користувача, а ваші навички й чати залишаються у вашому сховищі.

Як встановити Knowledge Base Integration у TypingMind?

Відкрийте в TypingMind Плагіни → Навички → Встановити з GitHub і вставте https://github.com/KunoLu/640-skills/tree/main/sbtd-workflow-onboard/templates/skills/knowledge-base-integration. TypingMind прочитає файл SKILL.md, додасть супровідні файли та встановить навичку, яку можна вмикати окремо для кожного чату.

Які моделі ШІ можуть використовувати Knowledge Base Integration?

Будь-яка модель, яку ви підключите в TypingMind. Навички ШІ — це звичайні інструкції у форматі Markdown, а не код для конкретного постачальника, тому GPT, Claude, Gemini, Grok і локальні моделі можуть завантажувати цю навичку, коли запит їй відповідає.

Зі скількома моделями ШІ можна використовувати Knowledge Base Integration?

Зі скількома забажаєте. Якщо модель підтримує навички, ви можете використовувати з нею Knowledge Base Integration — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama та інші — усе в TypingMind із власними ключами API.

Чи безкоштовна навичка ШІ Knowledge Base Integration?

Так. Навичку опубліковано на GitHub: KunoLu, за ліцензією Apache-2.0. Ви платите лише своєму постачальнику ШІ за використані токени.

Що таке навички ШІ?

Навичка ШІ — це багаторазовий набір інструкцій, який навчає модель ШІ виконувати одне конкретне завдання. Він відповідає відкритому формату Agent Skills: файл SKILL.md із назвою та описом, а також скрипти, шаблони чи довідкові файли, які можуть знадобитися моделі. Модель читає інструкції лише тоді, коли ваш запит відповідає навичці, тому встановлена навичка нічого не коштує, доки її не використано.

Чим навички ШІ відрізняються від плагінів або серверів MCP?

Плагін або сервер MCP надає моделі нові інструменти для виклику — код, який десь виконується й повертає результат. Натомість навичка ШІ надає моделі знання та порядок дій: як підійти до завдання, яких кроків дотримуватися та яким має бути якісний результат. Навички — це звичайний Markdown, тож їм не потрібні ні сервер, ні ключ API, ні середовище виконання, і вони працюють із будь-якою моделлю.

Усі

Створіть власний ШІ-простір уже зараз

Підпишіться на нашу розсилку, щоб дізнаватися про нові функції та майбутні розіграші 👇