AgentSkillsCN

supabase-storage

在 Supabase Storage 中管理对象与存储桶。可通过诸如“将文件上传至存储”“列出存储对象”“删除存储桶”或“移动存储文件”等指令触发相关操作。

SKILL.md
--- frontmatter
name: supabase-storage
description: Manage objects and buckets in Supabase Storage. Triggered by phrases like "upload file to storage", "list storage objects", "delete bucket", or "moving storage files".

Supabase Storage Skill

Goal

Manage files and buckets within the Supabase Storage service.

Instructions

  1. Open the relevant rule file:
  2. Use storage ls to explore existing buckets and files.
  3. Check 00_global_policy.md before recursive deletions using storage rm.

Examples

  • "List files in the 'avatars' bucket" -> Use supabase storage ls s3://avatars
  • "Upload a local image" -> Use supabase storage cp local.png s3://bucket/remote.png
  • "Delete a file from storage" -> Use supabase storage rm s3://bucket/file.ext