django-storages-s3
Skill12k starsChanged 11 months agoMITView on GitHub
Use when configuring Django to store static and media files on AWS S3 with django-storages. Invoke when working with the STORAGES setting, S3 buckets, presigned URLs, CloudFront, or boto3-backed file storage in settings.py. Configures the Django 4.2+ STORAGES dict, public/private custom backends, presigned GET/POST URLs, IAM policies, and S3 mocking for tests. Trigger terms: django-storages, S3, boto3, S3Boto3Storage, STORAGES, presigned URL, CloudFront, media files, collectstatic, AWS_STORAGE_BUCKET_NAME.
- Installs packages
Trending
Quiet since October.about the whole repository
Who's talking about Jeffallan/claude-skills
- @ponceto91.bsky.social“Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ …”Bluesky · Mar 7, 2026 · 56 likes
- @camilleroux.com“Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, …”Bluesky · Mar 17, 2026 · 9 likes
- @jeffallan.bsky.social“My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply …”Bluesky · Jan 26, 2026 · 5 likes
- @jeffallan.bsky.social“github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our …”Bluesky · Jan 29, 2026 · 3 likes
- @pythonhub.dev“Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your …”Bluesky · Mar 5, 2026 · 2 likes
The biggest 5 of 42 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 42
Talked about on GitHub, Bluesky and Hacker News (42 times).
On GitHub · 35
- Oct 4, 2026claude-code-plugins.github.jeffallan.claude-skills: init at 0.4.18 — sudosubin/agents.nix0 reactions
- Oct 4, 2026chore: sync upstream skills (auto) — marcioaltoe/skills0 reactions
- Oct 3, 2026agent-skills.github.jeffallan.claude-skills: 0.4.16 → 0.4.18 — sudosubin/agents.nix0 reactions
- Sep 29, 2026Add The Fool and The Jury as optional discovery skills — WolvenTech/wolven-harness0 reactions
- Sep 28, 2026agent-skills.github.jeffallan.claude-skills: init at 0.4.16 — sudosubin/agents.nix0 reactions
30 more on GitHub
- Sep 21, 2026feat(skills): ship golang-pro from thismoon — mad01/thismoon0 reactions
- Sep 17, 2026feat(pkgs): add jeffallan/claude-skills plugin — agent-stacks/agent-pkgs0 reactions
- Sep 17, 2026Update skill: /jeffallan-typescript-pro (safe risk) — aiskillstore/marketplace0 reactions
- Sep 7, 2026Safeword's own skill installer doesn't meet the dependency-vetting standard it just added for customers — ArcadeAI/safeword0 reactions
- Jul 18, 2026Solve problem 4 — gaarutyunov/skill-test0 reactions
- Jul 17, 2026Jamison's Recommendations — jpziller/DataMigration0 reactions
- Jul 13, 2026Fix 19 skills misplaced in personal/ despite external origin (bucket-placement drift) — Tyler-Reagan/skills-bank0 reactions
- Jul 9, 2026Register the-fool critical-reasoning managed skill — dennisofficial/atlas0 reactions
- Apr 6, 2026Audit candidate: Jeffallan/claude-skills — xiaolai/nlpm0 reactions · 3 comments
- Mar 22, 2026[BUG] Many skills missing nested files — sickn33/agentic-awesome-skills0 reactions · 1 comment
- Mar 19, 2026feat: prompt manager — gohypergiant/agent-skills0 reactions · 3 comments
- Mar 12, 2026Pixel Agents: pixel-style marketplace, live dashboard, auto-hire, and Next.js CVE fixes — ajay-sai/Pixel-agents0 reactions · 1 comment
- Mar 12, 2026Pixel Market: AI agent marketplace with animated pixel-art characters, AGOR canvas, skills library, and Claude Code plugin — ajay-sai/Pixel-agents0 reactions · 4 comments
- Mar 12, 2026Update ReadMe And SKILL.md — tkestack/tke-skill0 reactions
- Mar 11, 2026Claude skills — nova-firefly/nova-config0 reactions
- Mar 10, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions
- Mar 9, 2026[SUBMISSION] claude-skills — ProSkillsMD/proskills0 reactions · 2 comments
- Mar 9, 2026[SUBMISSION] Jeffallan/claude-skills — ProSkillsMD/proskills0 reactions · 4 comments
- Feb 14, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 13, 2026New skill: /jeffallan-laravel-specialist (safe risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-golang-pro (low risk) — aiskillstore/marketplace0 reactions
- Feb 7, 2026New skill: /jeffallan-flutter-expert (safe risk) — aiskillstore/marketplace0 reactions
- Feb 5, 2026Add resource: Fullstack Dev Skills — hesreallyhim/awesome-claude-code0 reactions
- Jan 25, 2026feat: add 65 specialized skills to enhance Claude capabilities — stevengaltau-cpu/claude-code-action0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — jqueryscript/awesome-claude-code0 reactions
- Jan 19, 2026Add claude-skills collection and workflow commands — ComposioHQ/awesome-claude-skills0 reactions
- Jan 19, 2026Add skill: jeffallan/claude-skills — VoltAgent/awesome-agent-skills0 reactions
- Jan 19, 2026Adds jeffallan/claude-skills collection and workflow commands — BehiSecc/awesome-claude-skills0 reactions
- Jan 19, 2026[Resource]: jeffallan/claude-skills — hesreallyhim/awesome-claude-code0 reactions · 5 comments
- Jan 19, 2026Recommend: Claude Skills (Fullstack Dev Skills) — hesreallyhim/awesome-claude-code0 reactions · 1 comment
On Bluesky · 6
- Mar 7, 2026Si vous cherchez des skills pour Claude Code, voici un dépôt qui vous sera certainement très utile ⬇️ github.com/Jeffallan/cl... — @ponceto91.bsky.social56 likes and reposts · 5 replies
- Mar 17, 2026Transformez Claude Code en pair programmer expert avec ces 66 skills spécialisées : backend, frontend, infra, sécu, testing...… — @camilleroux.comsays it tested it9 likes and reposts · 1 reply
- Jan 26, 2026My claude-skills repo reached 110 ⭐ today 65 skills and 9 workflows I use for work every day. Deeply honored to have built something others… — @jeffallan.bsky.social5 likes and reposts
- Jan 29, 2026github.com/Jeffallan/claude-skills v0.4.2 is out! This release wouldn't have happened without our contributors: github.com/thomassamoul… — @jeffallan.bsky.social3 likes and reposts
- Mar 5, 2026Jeffallan / claude-skills 66 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert pair programmer.… — @pythonhub.dev2 likes and reposts
1 more on Bluesky
- Feb 10, 2026📦 Jeffallan / claude-skills ⭐ 532 (+33) 🗒 Python 65 Specialized Skills for Full-Stack Developers. Transform Claude Code into your expert… — @github-trending.bsky.social1 likes and repost
On Hacker News · 1
- Feb 5, 2026Show HN: Claude Skills. Try vibe engineering instead of vibe coding1 point · 1 comment
In this repository67 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- angular-architectSkill
- api-designerSkill
- architecture-designerSkill
- atlassian-mcpSkill
- chaos-engineerSkill
- cli-developerSkill
- cloud-architectSkill
- code-documenterSkill
- code-reviewerSkill
- cpp-proSkill
- csharp-developerSkill
- database-optimizerSkill
- debugging-wizardSkill
- devops-engineerSkill
- django-expertSkill
- dotnet-core-expertSkill
- embedded-systemsSkill
- fastapi-expertSkill
- feature-forgeSkill
- fine-tuning-expertSkill
- flutter-expertSkill
- fullstack-guardianSkill
- game-developerSkill
- golang-proSkill
- graphql-architectSkill
- java-architectSkill
- javascript-proSkill
- kotlin-specialistSkill
- kubernetes-specialistSkill
- laravel-specialistSkill
- legacy-modernizerSkill
- mcp-developerSkill
- microservices-architectSkill
- ml-pipelineSkill
- monitoring-expertSkill
- nestjs-expertSkill
- nextjs-developerSkill
- pandas-proSkill
- php-proSkill
- playwright-expertSkill
- postgres-proSkill
- prompt-engineerSkill
- python-proSkill
- rag-architectSkill
- rails-expertSkill
- react-expertSkill
- react-native-expertSkill
- rust-engineerSkill
- salesforce-developerSkill
- secure-code-guardianSkill
- security-reviewerSkill
- shopify-expertSkill
- spark-engineerSkill
- spec-minerSkill
- spring-boot-engineerSkill
- sql-proSkill
- sre-engineerSkill
- swift-expertSkill
- terraform-engineerSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 96
When reviewing a project that already uses S3 (not greenfield), walk this checklist — each item is a constraint below rephrased as "find X, …
- Very specific: line 114
Use the STORAGES dict on Django 4.2+ (same config through 5.2 LTS and 6.0).
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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
Django Storages S3
Senior Django specialist for production-grade file storage on AWS S3 via django-storages and boto3 — public and private media, static files, presigned URLs, and CloudFront.
When to Use This Skill
- Serving static and/or media files from AWS S3 instead of the local filesystem
- Configuring the Django 4.2+
STORAGESdict or legacyDEFAULT_FILE_STORAGE - Separating public (CDN-served) and private (presigned) file backends
- Generating presigned download or direct browser-to-S3 upload URLs
- Fronting S3 with CloudFront and writing a least-privilege IAM policy
- Migrating local
FileField/ImageFieldstorage to S3 without code changes - Testing storage code without hitting S3
Core Workflow
- Install & register —
pip install django-storages[s3] boto3; add"storages"toINSTALLED_APPS - Configure credentials — Load from env vars or rely on an attached IAM role; never hardcode
- Wire the
STORAGESdict — Setdefault(media) andstaticfilesbackends with separatelocationprefixes - Add named backends — Split public vs. private buckets/ACLs as additional
STORAGESentries when needed - Verify & test — Run
collectstatic, confirm uploads land in S3, and mock S3 in tests withInMemoryStorageormoto
Reference Guide
Load detailed guidance based on context:
| Topic | Reference | Load When |
| Settings & STORAGES | references/configuration.md | Core settings, 4.2+ vs legacy, CloudFront |
| Custom backends | references/custom-backends.md | Public vs. private buckets, per-field storage |
| Presigned URLs | references/presigned-urls.md | Download links, direct browser uploads |
| Testing & IAM | references/testing-storages.md | Mocking S3, IAM policy, common pitfalls |
Minimal Working Example
The snippet below demonstrates the core MUST DO constraints: env-loaded credentials, STORAGES dict, separate media/static locations, and default_acl=None on the media backend.
# settings.py
import os
AWS_STORAGE_BUCKET_NAME = os.environ["AWS_STORAGE_BUCKET_NAME"]
AWS_S3_REGION_NAME = os.environ.get("AWS_S3_REGION_NAME", "us-east-1")
AWS_S3_CUSTOM_DOMAIN = f"{AWS_STORAGE_BUCKET_NAME}.s3.{AWS_S3_REGION_NAME}.amazonaws.com"
# On EC2/ECS/Lambda, omit keys entirely — boto3 uses the attached IAM role.
STORAGES = {
"default": { # media uploads
"BACKEND": "storages.backends.s3boto3.S3Boto3Storage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": "media",
"default_acl": None, # rely on bucket policy, not per-object ACLs
"file_overwrite": False,
"querystring_auth": False, # public objects → clean URLs
},
},
"staticfiles": {
"BACKEND": "storages.backends.s3boto3.S3StaticStorage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": "static",
},
},
}
MEDIA_URL = f"https://{AWS_S3_CUSTOM_DOMAIN}/media/"
STATIC_URL = f"https://{AWS_S3_CUSTOM_DOMAIN}/static/"# models.py — uploads go straight to S3 on save()
from django.db import models
class Document(models.Model):
file = models.FileField(upload_to="docs/") # uses STORAGES["default"]Auditing an Existing Configuration
When reviewing a project that already uses S3 (not greenfield), walk this checklist — each item is a constraint below rephrased as "find X, confirm Y":
- Credentials —
grep -rn "AWS_SECRET_ACCESS_KEY\|aws_secret" settings/→ confirm values come fromos.environ/django-environor an IAM role, never literals committed to the repo. - ACLs —
grep -rn "default_acl\|AWS_DEFAULT_ACL" .→ on buckets created after April 2023, every value must beNone. Any"public-read"/"private"will raiseAccessControlListNotSupported; public access belongs in a bucket policy. - Storage backend — confirm Django 4.2+ uses the
STORAGESdict, notDEFAULT_FILE_STORAGE/STATICFILES_STORAGE(removed in Django 5.1, so silently ignored on 5.1/5.2/6.0); confirm the static class isS3StaticStorage, not a fabricated name. - Locations — confirm
default(media) andstaticfileshave distinctlocationprefixes or buckets socollectstaticnever collides with uploads. - Region — confirm
region_name(or the globalAWS_S3_REGION_NAME) matches the bucket's real region and thatAWS_S3_CUSTOM_DOMAINincludes the region segment for non-us-east-1buckets. - Presigning — for private backends, confirm
querystring_auth=Trueandcustom_domain=None; confirm presigned.url()results aren't cached pastAWS_QUERYSTRING_EXPIRE. - Overwrite cleanup — where
file_overwrite=False, confirm replaced files are explicitly deleted (otherwise superseded objects leak). - IAM — confirm the policy grants only
Get/Put/Delete/ListBucketon the bucket ARN, not broader S3 access.
Constraints
MUST DO
- Load AWS credentials from environment variables or an attached IAM role
- Set
default_acl=Noneso bucket policies (not object ACLs) control access - Give static and media files separate
locationprefixes or separate buckets - Use the
STORAGESdict on Django 4.2+ (same config through 5.2 LTS and 6.0);DEFAULT_FILE_STORAGE/STATICFILES_STORAGEwere removed in 5.1, so reserve them for < 4.2 only - Set
custom_domain=Noneon any backend that issues presigned URLs - Mock S3 (
InMemoryStorageormoto) in tests instead of hitting real buckets
MUST NOT DO
- Hardcode
AWS_SECRET_ACCESS_KEYinsettings.pyor commit it - Mix
querystring_auth=Truewith acustom_domain(presigning breaks) - Mix static and media files under the same prefix
- Grant the IAM user broader than
Get/Put/Delete/ListBucketon the bucket ARN - Rely on per-object ACLs on buckets created after April 2023 (ACLs disabled by default)
Knowledge Reference
django-storages, S3Boto3Storage, S3StaticStorage, boto3, STORAGES dict, presigned URLs, generate_presigned_post, CloudFront, IAM policy, InMemoryStorage, moto
Related Skills
django-expert— core Django models, DRF, and ORM that produce the files this skill persists to S3fullstack-guardian— secure end-to-end upload flows and access control around stored filesdevops-engineer— provisioning the S3 buckets, IAM roles, and CloudFront distributions this skill targets
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.

