Neon 对象存储
原名:neon-object-storage
在 Neon 项目中配置和使用对象存储处理文件数据。
中文 Skills 技能说明
适合附件、图片和生成文件;先确认文件权属、类型、大小、访问控制、保存区域和删除机制,禁止公开敏感对象地址。能力涉及 Neon 托管服务时,必须使用用户自己的合法账户,并确认中国大陆网络可用性、区域、费用、数据存储与跨境要求。执行前应读取项目现状和官方文档,输出目标、依据、影响、验证结果与回退方式;没有真实证据时要明确说明未知,不编造配置或成功状态。 创建、修改、部署、发布、迁移、删除或产生费用的操作,必须先展示具体目标和差异并获得人工确认。 代码、日志、连接串、令牌、客户信息和业务数据按敏感内容处理,只读取任务所需范围,上传或外发前完成授权、脱敏和最小化。
上游能力依据
上游原始适用说明:S3-compatible object storage that branches with your Neon project, so files and the database stay in sync across every branch. Use when a user wants object storage, a bucket, blob/file storage, or somewhere to put uploads, images, documents, avatars, or user-generated files for their app or agent — especially when they already use (or are setting up) Lakebase Postgres and don't want to add a separate storage provider like AWS S3, Cloudflare R2, or Supabase Storage. Triggers include "object storage", "bucket", "blob storage", "file storage", "store uploads/images/files", "S3-compatible storage", "presigned URL", "where do I put files", "storage logs", "bucket logs", "CDN in front of object storage", "Neon Object Storage", "Neon Storage", and "storage that branches with my database".
上游 SKILL.md 主要章节(保留原文标题):
- When to Use
- What It Does
- Availability
- Architecture: Where Object Storage Fits
- Setup
- Neon Infrastructure as Code (neon.ts)
- Environment Variables
- Working with Objects: the Files SDK (Recommended)
- Working with Objects: the AWS S3 Client (Alternative)
- Pairing Storage with the Database on a Branch
使用边界
先核对运行环境、账号、区域、依赖和最小权限。创建资源、改配置、发布服务或产生费用前必须让使用者确认。
作者、翻译与许可证
- 原作者
- Neon, Inc. 与 neondatabase/agent-skills contributors
- 中文翻译
- CEOFans翻译
- 许可证
- Apache-2.0
- 上游来源
- https://github.com/neondatabase/agent-skills/tree/8370e740b4705a79d104b24dd29b3e33c8688378/skills/neon-object-storage
适用范围
平台:linux、macos、windows;标签:开发运维、Neon 对象存储
安全提示
基础静态扫描不等于绝对安全。技能可能调用命令、浏览器、云服务或本地文件,请在最小权限环境中使用,高风险操作必须人工确认。
如发现侵权、许可证或安全问题,可在本页前台提交投诉,管理员复核后可立即下架。