agent-skills/README.md
2026-03-31 14:05:51 +08:00

56 lines
1.3 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Agent Skills
这个仓库用于公开分发可安装的 agent skills。
## 技能列表
### `gitops-app-onboarding`
用于 Baizhi GitOps 平台的项目接入工作流,适用于:
- `deploy.baizhi.cloud`
- `registry.baizhi.cloud`
- GitLab + Argo CD 的固定交付模型
适合处理:
- 给当前平台接入新项目
- 恢复 `.gitlab-ci.yml`、`deploy/`、Helm Chart、release bundle
- 修当前 GitOps 仓库中的 `Application`、`AppProject`、release 引用
- 补齐当前平台的 GitOps 交付链路
不适合处理:
- 通用 GitLab CI 改造
- 通用 Helm Chart 编写
- 未指向当前平台常量的通用 GitOps / Argo CD 任务
## 安装
安装 `gitops-app-onboarding`
```bash
npx skills add "https://deploy.baizhi.cloud/gitops-admin/agent-skills.git" --full-depth --skill gitops-app-onboarding -g -y
```
如果已经拿到本地副本,也可以直接从本地目录安装:
```bash
npx skills add "/path/to/agent-skills" --full-depth --skill gitops-app-onboarding -g -y
```
安装后可先确认是否已被识别:
```bash
npx skills add "https://deploy.baizhi.cloud/gitops-admin/agent-skills.git" --full-depth --skill gitops-app-onboarding --list
```
## 仓库结构
```text
agent-skills/
├── README.md
└── gitops-app-onboarding/
└── SKILL.md
```