manage-file-storage
Skill234 starsChanged 3 months agoMITView on GitHub
Swap or remove the file storage provider (S3/MinIO)
In this repository29 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- add-aspire-depSkill
- add-background-jobSkill
- add-ci-areaSkill
- add-email-templateSkill
- add-env-varSkill
- add-options-classSkill
- add-permissionSkill
- add-rate-limitSkill
- address-reviewSkill
- add-testSkill
- backend-conventionsSkill
- create-issueSkill
- create-prSkill
- create-releaseSkill
- frontend-conventionsSkill
- gen-typesSkill
- infra-conventionsSkill
- init-verifySkill
- new-endpointSkill
- new-entitySkill
- new-featureSkill
- new-pageSkill
- polish-uiSkill
- review-dependabotSkill
- review-designSkill
- review-prSkill
- security-conventionsSkill
- verifySkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 0 are distinctive, and 11 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
11
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 11
No code changes needed - S3FileStorageService uses the standard S3 API.
- Very specific: line 37
Infrastructure: Remove the MinIO resource from MyProject.AppHost/Program.cs
- Very specific: line 38
Backend: Remove Application/Features/FileStorage/, Application/Features/Avatar/, Infrastructure/Features/FileStorage/, …
- Very specific: line 39
Entity: Remove HasAvatar from ApplicationUser
- Very specific: line 40
Endpoints: Remove avatar endpoints from UsersController, UploadAvatar/ DTOs
- Very specific: line 41
DTOs: Remove HasAvatar from UserOutput, AdminUserOutput, UserResponse, AdminUserResponse, mappers
- Very specific: line 42
DI:: Remove AddFileStorageServices() and AddAvatarServices() from Program.cs
- Very specific: line 43
NuGet: Remove AWSSDK.S3, SkiaSharp, SkiaSharp.NativeAssets.Linux.NoDependencies from Directory.Packages.props
- Very specific: line 44
Frontend: Remove AvatarDialog.svelte, update ProfileHeader.svelte and UserNav.svelte to remove avatar image
- Very specific: line 45
Config: Remove FileStorage section from all appsettings*.json
- Very specific: line 46
Health check: Remove S3 health check from HealthCheckExtensions.cs
≈ “Common” is an estimate: at least 1 in 5 of the 364,980 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Swaps S3 provider or removes file storage entirely.
Swap S3 Provider (Cloudflare R2, DigitalOcean Spaces, etc.)
No code changes needed - S3FileStorageService uses the standard S3 API. Only configuration:
Set the FileStorage__* environment variables on your API container:
# Cloudflare R2
FileStorage__Endpoint=https://<account-id>.r2.cloudflarestorage.com
FileStorage__AccessKey=<R2-access-key>
FileStorage__SecretKey=<R2-secret-key>
FileStorage__BucketName=my-bucket
FileStorage__UseSSL=true
FileStorage__Region=auto
# DigitalOcean Spaces
FileStorage__Endpoint=https://<region>.digitaloceanspaces.com
FileStorage__AccessKey=<spaces-key>
FileStorage__SecretKey=<spaces-secret>
FileStorage__BucketName=my-space
FileStorage__UseSSL=true
FileStorage__Region=<region>Pre-create the bucket in your provider's console. Restart - no rebuild needed.
Remove File Storage Entirely
- Infrastructure: Remove the MinIO resource from
MyProject.AppHost/Program.cs - Backend: Remove
Application/Features/FileStorage/,Application/Features/Avatar/,Infrastructure/Features/FileStorage/,Infrastructure/Features/Avatar/ - Entity: Remove
HasAvatarfromApplicationUser - Endpoints: Remove avatar endpoints from
UsersController,UploadAvatar/DTOs - DTOs: Remove
HasAvatarfromUserOutput,AdminUserOutput,UserResponse,AdminUserResponse, mappers - DI: Remove
AddFileStorageServices()andAddAvatarServices()fromProgram.cs - NuGet: Remove
AWSSDK.S3,SkiaSharp,SkiaSharp.NativeAssets.Linux.NoDependenciesfromDirectory.Packages.props - Frontend: Remove
AvatarDialog.svelte, updateProfileHeader.svelteandUserNav.svelteto remove avatar image - Config: Remove
FileStoragesection from allappsettings*.json - Health check: Remove S3 health check from
HealthCheckExtensions.cs
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

