返回顶部
g

giteaGitea交互

Interact with Gitea using the `tea` CLI. Use `tea issues`, `tea pulls`, `tea releases`, and other commands for issues, PRs, releases, and repository management.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
2,896
下载量
免费
免费
2
收藏
概述
安装方式
版本历史

gitea

Gitea 技能

使用 tea 命令行工具与 Gitea 服务器交互。不在 Git 目录中时使用 --repo owner/repo,或使用 --login instance.com 指定 Gitea 实例。

设置

添加一次登录即可开始使用:
bash
tea login add

查看当前登录用户:
bash
tea whoami

仓库

列出你有权访问的仓库:
bash
tea repos list

创建新仓库:
bash
tea repos create --name my-repo --description 我的项目 --init

创建私有仓库:
bash
tea repos create --name my-repo --private --init

复刻仓库:
bash
tea repos fork owner/repo

删除仓库:
bash
tea repos delete --name my-repo --owner myuser --force

拉取请求

列出开放的拉取请求:
bash
tea pulls --repo owner/repo

查看特定 PR:
bash
tea pr 55 --repo owner/repo

在本地检出 PR:
bash
tea pr checkout 55

创建新 PR:
bash
tea pr create --title 功能标题 --description 描述

问题

列出开放的问题:
bash
tea issues --repo owner/repo

查看特定问题:
bash
tea issue 189 --repo owner/repo

创建新问题:
bash
tea issue create --title Bug 标题 --body 描述

查看里程碑的问题:
bash
tea milestone issues 0.7.0

评论

向问题或 PR 添加评论:
bash
tea comment 189 --body 你的评论

发布

列出发布版本:
bash
tea releases --repo owner/repo

创建新发布版本:
bash
tea release create --tag v1.0.0 --title 发布 1.0.0

操作(CI/CD)

列出仓库操作密钥:
bash
tea actions secrets list

创建新密钥:
bash
tea actions secrets create API_KEY

列出操作变量:
bash
tea actions variables list

设置操作变量:
bash
tea actions variables set API_URL https://api.example.com

Webhooks

列出仓库 Webhooks:
bash
tea webhooks list

列出组织 Webhooks:
bash
tea webhooks list --org myorg

创建 Webhook:
bash
tea webhooks create https://example.com/hook --events push,pull_request

其他实体

列出分支:
bash
tea branches --repo owner/repo

列出标签:
bash
tea labels --repo owner/repo

列出里程碑:
bash
tea milestones --repo owner/repo

列出组织:
bash
tea organizations

显示仓库详情:
bash
tea repo --repo owner/repo

辅助功能

在浏览器中打开内容:
bash
tea open 189 # 打开问题/PR 189
tea open milestones # 打开里程碑页面

克隆仓库:
bash
tea clone owner/repo

显示通知:
bash
tea notifications --mine

输出格式

使用 --output 或 -o 控制输出格式:
bash
tea issues --output simple # 简单文本输出
tea issues --output csv # CSV 格式
tea issues --output yaml # YAML 格式

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 gitea-1776375111 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 gitea-1776375111 技能

通过命令行安装

skillhub install gitea-1776375111

下载

⬇ 下载 gitea v1.0.0(免费)

文件大小: 1.58 KB | 发布时间: 2026-4-17 15:21

v1.0.0 最新 2026-4-17 15:21
- Initial release of the gitea skill.
- Provides comprehensive docs for managing repositories, pull requests, issues, releases, webhooks, actions, and more via the `tea` CLI.
- Includes setup instructions and usage examples for all supported Gitea operations.
- Details output formatting options and helpful shortcuts for efficient workflow.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部