djangojinja

Use djLint to scan Django, Jinja, Nunjucks, Twig and HTML templates for indentation issues, malformed tags and style inconsistencies, with an option to rewrite them into a consistent format. Intended for agents who need to clean and validate template-heavy repositories before review or release, not for general web framework setup.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "djangojinja" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-ce48505a0caecdc9df56cea6bbe643fdb0244075f5ddbe8955820f3f66bde039. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/template-linting-auto-formatting-django-jinja-repositories before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use djLint to scan Django, Jinja, Nunjucks, Twig and HTML templates for indentation issues, malformed tags and style inconsistencies, with an option to rewrite them into a consistent format. Intended for agents who need to clean and validate template-heavy repositories before review or release, not for general web framework setup.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Python 3.9 or higher and djLint
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "Django 和 Jinja 仓库的模板校验和自动格式化"
slug: "template-linting-auto-formatting-django-jinja-repositories"
version: "1.0.0"
displayName: "Django 和 Jinja 仓库的模板校验和自动格式化"
summary: "使用 djLint 扫描 Django、Jinja、Nunjucks、Twig 和 HTML 模板中的缩进问题、格式错误的标签和样式偏差,然后可选择将其重写为一致的格式。这是用于需要在审查或发布之前清理和验证模板密集型仓库的代理,而不是用于通用 Web 框架设置。"
license: "MIT"
description: "使用 djLint 扫描 Django、Jinja、Nunjucks、Twig 和 HTML 模板中的缩进问题、格式错误的标签和样式偏差,然后可选择将其重写为一致的格式。这是用于需要在审查或发布之前清理和验证模板密集型仓库的代理,而不是用于通用 Web 框架设置。"
github_stars: 911
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Code Quality & Review"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 911
  npm_package: "djlint"
  npm_weekly_downloads: 343

Django 和 Jinja 仓库的模板校验和自动格式化

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/1991513ccie-png/skills

  • Extracted from upstream docs: https://raw.githubusercontent.com/djlint/djLint/HEAD/README.md

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value85/100

Highlights

  • 提供模板校验和自动格式化功能,适用于 Django、Jinja 等模板密集型仓库的清理和验证
  • 属于明确场景的通用工具,具有广泛受众的实用能力
Trigger Precision95/100

Highlights

  • description 中明确描述了使用场景、适用框架以及目标用户
  • 触发词精准完整,覆盖多种变体,边界清晰
Structure and Standards90/100

Highlights

  • 包含清晰的 Phase/步骤(Prerequisites、Installation、Documentation)
  • 有明确的出口条件,frontmatter 完整,单文件未超过 500 行
Execution Reliability88/100

Highlights

  • 工具来源明确(djLint),参数正确
  • 覆盖了主要异常,不可逆操作有确认机制
Evidence Verifiability (mean of the first four)90/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 34, 35
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • djlint.com
  • github.com
  • raw.githubusercontent.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Python 3.9 or higher and djLint

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.