Skip to content
SkillModel-led1,671 tokens in use

Django Storages S3

Configures Django static and media storage on AWS S3 with django-storages: STORAGES dict, public and private backends, presigned URLs, CloudFront and IAM.

12,471 stars on the repository MIT LicenseJeffallan/claude-skills · skills/django-storages-s3
/plugin marketplace add jeffallan/claude-skills /plugin install fullstack-dev-skills@fullstack-dev-skills
View source

Install command as written in the repository's README

Skill label

measured from its files

What installing Django Storages S3 costs

138tokens idle
1,671tokens in use
6,568tokens, up to

Idle is what sits in context while the skill is installed. In use is its instructions, loaded when it runs. Up to adds the files its instructions link. Counts are approximate, made offline with cl100k_base.

Model dependence Model-led

Script-ledMixedModel-led

Mostly instructions, so how well it works depends on the model that follows them.

This describes the skill's structure, how much of it is scripts. It does not say how well it works.

Touches

shelldetectednetworkdetected

Declared tags come from the skill's frontmatter; detected ones from its scripts, its code blocks and the commands it names in inline code. This is detected, not audited.

How it scores

Quality

How well the skill is written, counted from its own files: its frontmatter, its steps, examples, stated output and constraints, its size and whether every file it ships is one it names.How we score it →
Excellent
  • Frontmatter15/15
  • Structure22/25
  • Examples15/15
  • Output15/15
  • Size15/15
  • Resources15/15

Security

Starts at 100 and loses points for each thing in the skill's files that a reader should look at first.How we score it →
Excellent

No findings.

Repository health

Pre-computed score based on development activity, maintenance, community, maturity, and trend momentum.How we score it →
Excellent
  • Development activity100
  • Maintenance100
  • Community60
  • Maturity36
  • Momentum40

Django Storages S3 shows Claude how to move static and media files to AWS S3 with django-storages and boto3. It covers the Django 4.2+ STORAGES dict, separate prefixes for static and media, environment-loaded credentials and bucket-policy access without object ACLs.

Four reference files cover settings and CloudFront, public and private custom backends, presigned download and upload URLs, and testing with InMemoryStorage or moto plus a minimum IAM policy. A checklist helps audit an existing configuration.

What You Get

  • A STORAGES configuration with separate media and static locations
  • Public and private storage backends attached to model fields
  • Presigned GET URLs and presigned POST uploads for direct browser-to-S3 transfer
  • A least-privilege IAM policy and CloudFront settings
  • Tests that run against InMemoryStorage or moto and never touch AWS

Common Use Cases

  • Moving FileField and ImageField uploads from local disk to S3
  • Serving private documents through expiring presigned links
  • Putting CloudFront in front of a bucket for static and media files
  • Auditing an existing project for hardcoded keys and removed storage settings

What Makes It Unique

It is specific to django-storages pitfalls: object ACLs fail on buckets created after April 2023, a custom domain breaks presigned URLs, DEFAULT_FILE_STORAGE is ignored from Django 5.1, a STORAGES override must define both default and staticfiles, and file_overwrite=False leaves replaced files behind. Each is written as a rule or a checklist step.

Under The Hood

The skill is a SKILL.md with four reference files and no scripts. The workflow tells the agent to install packages with pip, run collectstatic and confirm that uploads reach S3. The audit checklist uses grep over the settings folder to look for hardcoded keys. The code samples call AWS through boto3 to sign URLs and show an IAM policy and CloudFront keys, all read from environment variables. The skill itself does not fetch web pages.

Join founders building with open source

Opinionated takes, migration guides, cost-saving tips, and insights from the open source ecosystem.

Subscribe on SubstackJoin 750+ subscribers