gitlab-file
Installation
SKILL.md
File Skill
Repository file operations for GitLab using glab api raw endpoint calls.
Quick Reference
| Operation | Command Pattern | Risk |
|---|---|---|
| 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 ... |
⚠️⚠️ |
Risk Legend: - Safe | ⚠️ Caution | ⚠️⚠️ Warning | ⚠️⚠️⚠️ Danger