multica-platform-knowledge-base

远程 Wiki 知识库问答(知识库桥接):平台级知识库,由测试人员、前端、后端、架构师按需挂载,可通过名称从内容技能中调用。

仓库最近推送
GitHub Stars
299
Forks
40
Issues / PRs
0

安装方式

先用 Prompt 核对来源与依赖。也可下载安装包。

用 AI 助手安装

复制提示词,让助手先核对固定版本和依赖。

查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "multica-platform-knowledge-base":https://skillpi.com/zh/skills/deepskill-70d72fe4184dd24f8658ce362eb24cfc0af6a2cf4d6c291d587a75db4b571115。安装前核对上游来源和版本:https://github.com/it235/multica-best-practices。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。

来源与配置

github.com

配置方式待核实

请查看原始来源中的适用工具、依赖和权限要求。

安装实测待补充

远程 Wiki 知识库问答(知识库桥接):平台级知识库,由测试人员、前端、后端、架构师按需挂载,可通过名称从内容技能中调用。

0 下载

介绍来源: third_party · it235 · 0.0.1 参考来源

SkillPi 解读

能完成的任务
翻译待完成,请参阅来源文档。
适合谁
翻译待完成,请参阅来源文档。
实测状态
未测试

文件浏览

在原站浏览文件 ↗

原始 SKILL.md

打开原文 ↗
Frontmatter
name: multica-platform-knowledge-base
description: Remote Wiki knowledge-base Q&A (Knowledge Base Bridge). Platform skill, mounted on demand by tester/frontend/backend/architect; invoked by name from content skills.
metadata:
  credentials:
    optional:
      - KB_BRIDGE

Platform · Knowledge Base (remote Wiki)

Purpose

Query the team Wiki knowledge base via the Knowledge Base Bridge HTTP API. Used by @Tester / @FrontendDev / @BackendDev / @Architect to look up entry paths, terminology, and historical context.

Integrated from the internal knowledge-base squad; script scripts/kb_ask.py (stdlib only, cross-platform).

Architecture

Agent (local)
    ↓ kb_ask.py (HTTP)
Knowledge Base Bridge :3910
    ↓ Cursor SDK Agent + Skills
Team Wiki
    /home/ubuntu/cursor-workspace/.cursor/skills/knowledge-base/wiki/

(The path lives on the knowledge-base service side; the local Agent only accesses it through the Bridge HTTP API.)

Agent execution rules (mandatory)

Step Action Forbidden
1 python scripts/kb_ask.py --health SSH fallback, hand-written curl
2 python scripts/kb_ask.py "question" [system-code] Fabricating the source of a citation
3 Present the answer from stdout Expanding historical rules into current acceptance criteria

Bridge identification rules

The script automatically satisfies the Wiki Q&A conditions (the Agent must not switch to another HTTP method to bypass it):

  • taskId >= 500000000 (default generated by script)
  • prompt prefix 【Wiki 知识库问答】

When to use

  • The local machine has no knowledge-base copy and you need to look up business Wikis such as CRM/MES/BOSS
  • The user asks to query the team knowledge base remotely
  • T1 Step 0.5b: retrieve entry paths / terminology / historical context by module keyword (acceptance still uses the current JIRA as source of truth)

When not needed

  • A complete local knowledge-base copy already exists and Read/Grep hits the needed content directly
  • The question is unrelated to the current requirement, or only verifying Bridge connectivity (use --health)

Usage

python scripts/kb_ask.py --health
python scripts/kb_ask.py "Where is the CRM case-management entry?"
python scripts/kb_ask.py "MES work-order status" MES
python scripts/kb_ask.py "question" --json

Configuration

Variable Description
KB_BRIDGE Bridge address, default in config.yaml
KB_POLL_INTERVAL Poll interval seconds, default 2
KB_POLL_TIMEOUT Timeout seconds, default 600

Timeout / unavailable stop rule (mandatory)

Do not stall in "running" waiting for the knowledge base.

  1. --health fails, or kb_ask.py times out/errors → mark "team knowledge base unavailable/timeout"
  2. End this round of waiting immediately, explain the block and options (retry / skip KB / check Bridge)
  3. The caller (e.g. T1 Step 0.5) may annotate and continue, but must not poll repeatedly until the user perceives a hang
  4. Do not fabricate business rules or citation sources because of unavailability

Troubleshooting

Symptom Handling
Cannot reach Bridge VPN/intranet; python scripts/kb_ask.py --health
Timeout Follow the stop rule above; only raise KB_POLL_TIMEOUT when the user explicitly asks
status=error Add --json to inspect error

Relationship to the test flow

  • T1 functional cases (multica-test-t1-design): before generation, Step 0.5 queries the KB for entry/terminology; acceptance still uses current JIRA/PRD as source of truth
  • Interface scenario supplement (multica-platform-apifox): query historical auth/data-seeding for the same module
  • Frontend/backend implementation: query module conventions, error codes, permission semantics

Why it works

The knowledge base was extracted from a test-only squad into a platform skill, mounted by role on demand, avoiding hardcoding the Bridge address or SSH path in role prompts.

当前收录版本

0.0.1

核对来源版本 ↗

质量评测

满分100 · 来自 SkillPi LAB 实验室的评测报告。

场景价值85/100

亮点

  • 提供远程 Wiki 知识库桥接能力,解决多角色在无本地副本时的信息查询刚需
  • 集成标准化 HTTP API 调用流程,避免硬编码路径或 SSH 依赖
触发精准90/100

亮点

  • 触发描述完整覆盖健康检查、普通查询、JSON 输出等多种使用场景
  • When to use / When not needed 边界清晰,有效防止误用
结构规范95/100

亮点

  • 执行步骤以表格形式清晰呈现,包含禁止项提醒
  • 提供完整的命令行示例和配置说明,文档结构专业
执行可靠90/100

待提升项

  • 配置说明不完整 原报告严重程度:轻微

    提及 KB_BRIDGE 默认在 config.yaml,但未说明该文件路径或结构

    改进建议:补充 config.yaml 的标准位置(如项目根目录)及示例格式

亮点

  • 明确超时停止规则,防止 Agent 挂起等待
  • 覆盖网络不可达、超时、错误状态等异常场景的处理方案
证据可验 (前四项均值)90/100

取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。

正文静态检测

100 / 100 · skillpi-20261123-no-r3-v1

正文未命中当前规则。

分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。

权限与使用前检查

根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。

  • 账号、密钥或授权

    使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。

    主文档提及 · 第 5 行

本站展示提示不会授予权限。涉及文件改动、密钥、外部发送或费用时,仍由你使用的工具按需确认。

安全评级与访问范围

safe · 静态证据核验,不代表运行安全保证。

使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。