什么是 gitlab-file?
通过 API 进行 GitLab 存储库文件操作。当用户想要执行以下操作时,请始终使用此技能:(1) 从 GitLab 读取文件内容,(2) 通过 API 创建/更新/删除文件,(3) 获取文件责任信息,(4) 下载原始文件。 来源:grandcamel/gitlab-assistant-skills。
通过 API 进行 GitLab 存储库文件操作。当用户想要执行以下操作时,请始终使用此技能:(1) 从 GitLab 读取文件内容,(2) 通过 API 创建/更新/删除文件,(3) 获取文件责任信息,(4) 下载原始文件。
通过命令行快速安装 gitlab-file AI 技能到你的开发环境
来源:grandcamel/gitlab-assistant-skills。
Repository file operations for GitLab using glab api raw endpoint calls.
| Get file info | glab api projects/:id/repository/files/:path?ref=:branch | - | | Get raw content | glab api projects/:id/repository/files/:path/raw?ref=:branch | - | | Get blame | glab api projects/:id/repository/files/:path/blame?ref=:branch | - | | Create file | glab api projects/:id/repository/files/:path -X POST -f ... | ⚠️ |
| Update file | glab api projects/:id/repository/files/:path -X PUT -f ... | ⚠️ | | Delete file | glab api projects/:id/repository/files/:path -X DELETE -f ... | ⚠️⚠️ |
通过 API 进行 GitLab 存储库文件操作。当用户想要执行以下操作时,请始终使用此技能:(1) 从 GitLab 读取文件内容,(2) 通过 API 创建/更新/删除文件,(3) 获取文件责任信息,(4) 下载原始文件。 来源:grandcamel/gitlab-assistant-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-file通过 API 进行 GitLab 存储库文件操作。当用户想要执行以下操作时,请始终使用此技能:(1) 从 GitLab 读取文件内容,(2) 通过 API 创建/更新/删除文件,(3) 获取文件责任信息,(4) 下载原始文件。 来源:grandcamel/gitlab-assistant-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/grandcamel/gitlab-assistant-skills --skill gitlab-file 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/grandcamel/gitlab-assistant-skills