Development v1.0.0

x-cb

Interact with Codeberg using the `x cb` CLI. Use `x cb repo`, `x cb issue`, `x cb pr`, `x cb org`, `x cb team`, and `x...

curry798 更新于 2026-03-18 1 浏览
下载 SKILL

技能说明

Interact with Codeberg using the `x cb` CLI. Use `x cb repo`, `x cb issue`, `x cb pr`, `x cb org`, `x cb team`, and `x cb user` for managing repositories, issues, PRs, organizations, teams, and users on Codeberg. Trigger when user mentions Codeberg, needs to manage Codeberg repos/issues/PRs, clone from codeberg.org, or work with Codeberg organizations or teams.

使用场景

Use x cb to interact with Codeberg (codeberg.org). Get your token at: https://codeberg.org/user/settings/applications

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/x-cb
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 19 kB
SKILL.md text/markdown
---
name: x-cb
description: "Interact with Codeberg using the `x cb` CLI. Use `x cb repo`, `x cb issue`, `x cb pr`, `x cb org`, `x cb team`, and `x cb user` for managing repositories, issues, PRs, organizations, teams, and users on Codeberg. Trigger when user mentions Codeberg, needs to manage Codeberg repos/issues/PRs, clone from codeberg.org, or work with Codeberg organizations or teams."
---

# Codeberg Skill (x cb)

Use `x cb` to interact with Codeberg (codeberg.org). Get your token at: https://codeberg.org/user/settings/applications

## Repository

Clone a repository:
```bash
x cb repo clone <owner>/<repo>
```

List repositories in an organization:
```bash
x cb repo ls <org_path>
```

Create a public repository:
```bash
x cb repo create --access public <name>
```

Add a collaborator to a repository:
```bash
x cb repo collaborator add <owner>/<repo> <username> --permission push
```

## Issue

List issues in a repository:
```bash
x cb issue ls --repo <owner>/<repo>
```

Create an issue:
```bash
x cb issue create -r <owner>/<repo> --title "Bug" --body "Description"
```

## Pull Request

List pull requests in a repository:
```bash
x cb repo pr ls --repo <owner>/<repo> --state open
```

Create a pull request:
```bash
x cb repo pr create --repo <owner>/<repo> --base develop --head main --title "Fix"
```

## Organization

List organizations:
```bash
x cb org ls
```

List repositories in an organization:
```bash
x cb org repo ls <org_path>
```

## Team

List teams in an organization:
```bash
x cb team ls --org <org_path>
```

Create a team with permissions:
```bash
x cb team create --org <org_path> --units 'repo.code' --units_map '{"repo.code": "write"}' <team_name>
```

## User

Show current user info:
```bash
x cb user info
```

List current user's repositories:
```bash
x cb user repo ls
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。