django-snapshot

Analyze Django projects via Python AST parsing to generate JSON architecture snapshots.

Updated Apr 9, 2026
One-click install
npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill django-snapshot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: django-snapshot
Source: https://github.com/cookeyholder/django-devcontainer-template/tree/main/.agent/skills/django-snapshot
Command: npx skills add https://github.com/cookeyholder/django-devcontainer-template --skill django-snapshot

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill automatically scans Django projects to generate structured snapshots of architecture, including apps, models, views, URLs, templates, forms, imports, static assets, and cross-references, enabling rapid understanding and AI-assisted planning without needing to run Django.

Core Features & Use Cases

  • AST-based static analysis that does not require running Django, producing a complete project snapshot.
  • Generates JSON artifacts (e.g., snapshot.json, snapshot_templates.json, snapshot_migration_status.json) to support cross-reference analysis, migration planning, and audits.
  • Analyzes template dependencies and URL references to facilitate feature planning, refactors, and migrations (e.g., Bootstrap to Tailwind transitions).

Quick Start

Run the Django Snapshot Skill to generate a complete project snapshot and then use the resulting JSON artifacts to inform AI-guided analysis and planning.

Frequently Asked Questions about django-snapshot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I get a Django project architecture snapshot without running the server?

You can generate a Django project architecture snapshot without a runtime by using Python AST-based static analysis to parse apps, models, views, URLs, and templates into structured JSON artifacts.

How does AST static analysis map Django template dependencies and URL references?

AST static analysis maps Django template dependencies and URL references by parsing source code without executing it, surfacing cross-reference data that facilitates feature planning and refactors.

Can I analyze Django static assets to detect CSS framework usage for a Tailwind migration?

Yes, this static analysis scans Django static assets to detect CSS framework usage, producing snapshot artifacts that inform AI-assisted planning for framework transitions like Bootstrap to Tailwind.

What's the best way to audit Django migration status across multiple apps without a database?

The best way to audit Django migration status without a database is to statically analyze project files and generate a snapshot_migration_status.json artifact for rapid review and planning.

Do I need a Django environment or installed dependencies to scan my project's views and models?

No, you do not need a Django environment or runtime dependencies installed, because AST-based parsing analyzes the raw Python source code directly to extract architecture and cross-reference data.