跳至主要内容
小龙虾小龙虾AI
🤖

Codeberg

Interact with Codeberg using the `tea` CLI. Use `tea issue`, `tea pr`, `tea actions`, and `tea api` for issues, PRs, Actions, and advanced queries.

下载689
星标0
版本0.1.0
开发工具
安全通过
💬Prompt

技能说明


name: codeberg description: "Interact with Codeberg using the tea CLI. Use tea issue, tea pr, tea actions, and tea api for issues, PRs, Actions, and advanced queries." metadata: { "openclaw": { "emoji": "🏔️", "requires": { "bins": ["tea"] }, "install": [ { "id": "brew", "kind": "brew", "formula": "tea", "bins": ["tea"], "label": "Install Tea CLI (brew)", }, { "id": "go", "kind": "go", "module": "code.gitea.io/tea@latest", "bins": ["tea"], "label": "Install Tea CLI (go)", }, ], }, }

Codeberg Skill

Use the tea CLI to interact with Codeberg. Codeberg is a Forgejo instance, and the tea CLI is fully compatible with it.

Pull Requests

List open pull requests:

tea pulls --repo owner/repo

Check details of a PR:

tea pr 55 --repo owner/repo

Issues

List open issues:

tea issues --repo owner/repo

View an issue:

tea issue 123 --repo owner/repo

Actions (CI/CD)

List repository secrets:

tea actions secrets list --repo owner/repo

List repository variables:

tea actions variables list --repo owner/repo

API for Advanced Queries

The tea api command is useful for accessing data not available through other subcommands.

Get PR with specific fields (requires jq for filtering):

tea api repos/owner/repo/pulls/55 | jq '.title, .state, .user.login'

Logins

To use tea with Codeberg, you first need to add your login:

tea login add --name codeberg --url https://codeberg.org --token <your-token>

Then you can use --login codeberg in your commands:

tea pulls --repo owner/repo --login codeberg

List all configured logins:

tea logins

如何使用「Codeberg」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Codeberg」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能