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 releas
What it does
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
Source
Capabilities
Install
Quality
deterministic score 0.45 from registry signals: · indexed on github topic:agent-skills · 8 github stars · SKILL.md body (1,460 chars)