Template Linting Auto Formatting Django Jinja Repositories
BSecurity
Uses djLint to scan Django, Jinja, Nunjucks, Twig, and HTML templates for indentation problems, malformed tags, and style drift, then optionally rewrites them into a consistent format. This is for agents that need to clean and validate template-heavy repos before review or release, not for general web framework setup.
Installs into .claude/skills of the current project.
Are you the author of Template Linting Auto Formatting Django Jinja Repositories?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/agentskillexchange-template-linting-auto-formatting-django-jinja-repo)
---
name: "Template Linting and Auto-Formatting for Django and Jinja Repositories"
slug: "template-linting-auto-formatting-django-jinja-repositories"
description: "Uses djLint to scan Django, Jinja, Nunjucks, Twig, and HTML templates for indentation problems, malformed tags, and style drift, then optionally rewrites them into a consistent format. This is for agents that need to clean and validate template-heavy repos before review or release, not for general web framework setup."
github_stars: 911
verification: "security_reviewed"
source: "https://github.com/djlint/djLint"
author: "djLint maintainers"
publisher_type: "Open Source Project"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "djlint/djLint"
github_stars: 911
npm_package: "djlint"
npm_weekly_downloads: 343
---
# Template Linting and Auto-Formatting for Django and Jinja Repositories
Uses djLint to scan Django, Jinja, Nunjucks, Twig, and HTML templates for indentation problems, malformed tags, and style drift, then optionally rewrites them into a consistent format. This is for agents that need to clean and validate template-heavy repos before review or release, not for general web framework setup.
## Prerequisites
Python 3.9 or higher and djLint
## Installation
Use the upstream install or setup path that matches your environment:
- pip install djlint
- npm i djlint
Requirements and caveats from upstream:
- Once upon a time all the other programming languages had a formatter and linter. Css, javascript, python, the c suite, typescript, ruby, php, go, swift, and you know the others. The cool kids on the block.
- _Or with the npm experimental install - Note, this requires python and pip to be on your system path._
- **⚠️ Help Needed! ⚠️** _Good with python?_ djLint was an experimental project and is catching on with other devs. Help out with a rewrite of the formatter to improve speed and html style for edge cases. Contribute on...
- Source: https://github.com/djlint/djLint
- Extracted from upstream docs: https://raw.githubusercontent.com/djlint/djLint/HEAD/README.md
## Documentation
- https://djlint.com/
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/template-linting-auto-formatting-django-jinja-repositories/)