Zurück zum Katalog
ModellkuratiertEntwicklung

Skill-Dossier

django-storages-s3

Quellenangabe

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.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

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.

developmentreferences

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Modellkuratiert

Skill Atlas model curation · model-curated-1.0.0

A Django Skill for storing static and media files on AWS S3 with django-storages, covering the STORAGES dict, public and private backends, presigned URLs, IAM and test mocking.

Prüfungsumfang

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Beobachtbare Fähigkeiten

  • Installs django-storages and boto3 and wires the Django 4.2+ STORAGES dict with separate media and static locations.
  • Loads credentials from environment variables or an attached IAM role and sets default_acl to None.
  • Adds named public and private backends and generates presigned download or upload URLs.
  • Audits an existing configuration against an eight-item checklist and mocks S3 in tests with InMemoryStorage or moto.

Grenzen & Umfang

  • Scoped to AWS S3 via django-storages; other object stores are not covered.
  • Bucket, IAM and CloudFront provisioning is delegated to another skill rather than handled here.
  • Live AWS behavior and permissions were not verified here.

Relevant für

  • Django developers moving media files off local disk
  • Engineers reviewing an existing S3 storage setup

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
5
Markdown-Dateien
5
Skripte
0
Verweise
4
Größe
26,5 KB
Strukturelle Komplexität
Niedrig

Dateiübersicht

PfadArtBytes
skills/django-storages-s3/references/configuration.mdVerweis6,3 KB
skills/django-storages-s3/references/custom-backends.mdVerweis5,1 KB
skills/django-storages-s3/references/presigned-urls.mdVerweis3,8 KB
skills/django-storages-s3/references/testing-storages.mdVerweis3,9 KB
skills/django-storages-s3/SKILL.mdAnweisung7,3 KB

SKILL.md-Frontmatter

{
  "name": "django-storages-s3",
  "description": "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.",
  "license": "MIT",
  "metadata": {
    "author": "https://github.com/awais786",
    "version": "1.0.0",
    "domain": "backend",
    "triggers": "django-storages, S3, boto3, S3Boto3Storage, STORAGES, presigned URL, CloudFront, media files, collectstatic",
    "role": "specialist",
    "scope": "implementation",
    "output-format": "code",
    "related-skills": "django-expert"
  }
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Eingabe

    Install and register

    Install django-storages[s3] and boto3 and add storages to INSTALLED_APPS.

  2. 02
    Aktion

    Configure credentials and STORAGES

    Load credentials from the environment or an IAM role and set default and staticfiles backends with separate locations.

  3. 03
    Entscheidung

    Split public and private backends

    Add named backends with different buckets or ACLs when public and private files must be separated.

  4. 04
    Ausgabe

    Verify and test

    Run collectstatic, confirm uploads land in S3, and mock S3 in tests with InMemoryStorage or moto.

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Aufmerksamkeit empfohlen

27 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenBeobachtet
Hoch

Credential or secret material is referenced

4 Vorkommen

This line resembles a credential literal or reads a sensitive environment value. Do not expose its contents; verify whether it is a placeholder, required secret, or accidentally committed material. This rule matched 4 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Mittel

Network access is mentioned

11 Vorkommen

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 11 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Hinweis

File modification is described or implemented

12 Vorkommen

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 12 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Redaktioneller Sicherheitshinweis

Verify that no AWS secret keys are committed and that the IAM policy grants only Get, Put, Delete and ListBucket on the target bucket.

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
git clone https://github.com/Jeffallan/claude-skills.git cd claude-skills # Copy this skill directory into one of: # ~/.claude/skills/django-storages-s3 # .claude/skills/django-storages-s3
  1. Open the pinned source at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/django-storages-s3/SKILL.md.
  2. Review the license, prerequisites and all bundled reference files.
  3. Copy the skill directory into a personal or project-level Claude Code skills directory.
  4. Restart or refresh Claude Code so the skill can be discovered.
Installation prüfen

Run collectstatic and a test upload, confirming files land under separate static and media prefixes in the bucket.

Voraussetzungen

  • Scoped to AWS S3 via django-storages; other object stores are not covered.
  • Bucket, IAM and CloudFront provisioning is delegated to another skill rather than handled here.
  • Live AWS behavior and permissions were not verified here.

Beispiel-Prompts

Representative task

Use the django-storages-s3 skill to configure STORAGES for a Django 5 project with media under media/ and static under static/, credentials from environment variables, and a private backend that issues presigned URLs.

Inspect before use

Read the django-storages-s3 skill at https://github.com/Jeffallan/claude-skills/blob/67c1961b180dc92cf08983344627109e983e8f51/skills/django-storages-s3/SKILL.md. Explain its workflow, required tools, permissions and the main risks before I decide whether to install it.

Ein Urteil, mit seinen Grenzen

Stärken

  • Includes a concrete audit checklist with grep commands for credentials and ACLs.
  • States clear rules such as no hardcoded secrets and no querystring_auth with a custom domain.

Abwägungen

  • Advice such as ACL behavior on buckets created after April 2023 depends on AWS defaults that may change.
  • Real IAM policies still need human review against your own bucket.
Forschungsfazit

A focused, checklist-driven guide for Django S3 storage that is most useful for configuration and audit work.

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

Jeffallanclaude-skillsskills/django-storages-s3
Quellenart
Community
Commit
67c1961b180dc92cf08983344627109e983e8f51
Erfasst
20. Nov. 2026
Zuletzt geprüft
20. Nov. 2026
Upstream-Lizenz
MIT
Repository-Sterne
12.469
Inhaltsgrundlage

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.