Skip to content
Back to skills

Chat X Contribute

ASecurity

帮助开发者上手 @blueking/chat-x 组件库开发。当用户需要了解 chat-x、开发新组件时使用。

  • 840 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added February 7, 2026
devopstypescriptbashvueapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned February 12, 2026

npx -y skills add TencentBlueKing/bk-bcs --skill chat-x-contribute --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Chat X Contribute?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Chat X Contribute
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tencentblueking-chat-x-contribute/badge)](https://www.skillsdirectory.com/skills/tencentblueking-chat-x-contribute)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: chat-x-contribute
description: 帮助开发者上手 @blueking/chat-x 组件库开发。当用户需要了解 chat-x、开发新组件时使用。
---

# Chat-X 组件库开发指南

## 项目概述

`@blueking/chat-x` 是蓝鲸 AI Chat 组件库。

**技术栈**:Vue 3 + TypeScript + bkui-vue + Vite

**核心特性**:流式渲染、Markdown、代码高亮、LaTeX、Mermaid

## 开发环境

```bash
pnpm install                           # 安装依赖
pnpm --filter @blueking/chat-x dev     # 启动开发
pnpm --filter @blueking/chat-x build   # 构建
```

## 项目结构

```
packages/chat-x/src/
├── components/    # 组件
├── composables/   # 组合式函数
├── types/         # 类型定义
└── index.ts       # 入口
```

## 开发新组件

1. 创建文件:`src/components/new-component/`
2. 导出组件:`src/components/index.ts`
3. 添加类型:`src/types/`
4. 编写文档:`wikis/components/`

## 最佳实践

- 使用 `<script setup>` 语法
- Props 使用 TypeScript 接口
- 文件名使用 kebab-case
- HTML 内容使用 DOMPurify 过滤

---

## 📦 可用资源

- `skill://chat-x-contribute/references/component-api.md`
- `skill://chat-x-contribute/references/development-workflow.md`
- `skill://chat-x-contribute/references/QA.md`
- `skill://chat-x-contribute/references/style-guide.md`
- `skill://chat-x-contribute/references/type-definitions.md`


---
## 📦 可用资源

- `skill://chat-x-contribute/references/QA.md`
- `skill://chat-x-contribute/references/component-api.md`
- `skill://chat-x-contribute/references/development-workflow.md`
- `skill://chat-x-contribute/references/style-guide.md`
- `skill://chat-x-contribute/references/type-definitions.md`

> 根据 SKILL.md 中的 IF-THEN 规则判断是否需要加载

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.