CtrlK
BlogDocsLog inGet started
Tessl Logo

django-security

Django 安全最佳实践、身份验证(Authentication)、授权(Authorization)、CSRF 防护、SQL 注入防御、XSS 防御以及安全部署配置。

60

Quality

71%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide

SecuritybySnyk

Passed

No findings from the security scan

Fix and improve this skill with Tessl

tessl review fix ./docs/ja-JP/skills/django-security/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

72%

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

The content is highly actionable with concrete, executable Django security code and a clear checklist, but it explains some concepts Claude already knows and lacks explicit validation checkpoints in its production-hardening workflow.

Suggestions

Trim explanations of concepts Claude already knows (e.g. that the ORM auto-escapes, what HSTS/CSRF defaults do) and keep only the non-obvious security-specific guidance.

Add an explicit validation/verification step to the production deployment workflow (e.g. 'Run `python manage.py check --deploy` and resolve all warnings before shipping').

De-duplicate the security-header settings that appear in both '核心安全设置' and '安全响应头' to reduce repetition and token cost.

DimensionReasoningScore

Conciseness

The body is mostly efficient with executable snippets, but it re-explains concepts Claude already knows (e.g. 'Django 默认会自动转义变量', restating what ORM escaping does) and repeats security-header settings across multiple sections, which could be tightened.

2 / 3

Actionability

It provides complete, copy-paste-ready code across settings, models, views, middleware, and templates with concrete values (HSTS 31536000, throttle rates, validator names), plus a clear quick-check checklist.

3 / 3

Workflow Clarity

Topics are well organized and there is a final checklist, but the deployment/production-hardening workflow lacks explicit validation checkpoints or feedback loops for destructive/batch config changes, capping workflow clarity at 2.

2 / 3

Progressive Disclosure

No bundle files exist and none are needed; the body is organized into clearly headed single-level sections (Auth, Authorization, SQLi, XSS, CSRF, etc.) with a summary checklist, which is appropriate well-organized structure for this skill.

3 / 3

Total

10

/

12

Passed

Description

70%

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

The description is specific and distinctively scoped to Django security, but lacks an explicit 'Use when...' trigger clause and relies on technical category labels rather than natural user phrasing.

Suggestions

Add an explicit 'Use when...' trigger clause to the description, e.g. 'Use when securing a Django app, reviewing Django security settings, or hardening Django authentication, CSRF, or deployment.'

Include natural-language trigger phrases users would actually say (e.g. 'Django security review', 'secure my Django app', 'Django CSRF/auth settings') alongside the technical category terms.

Consider mirroring the body's '何时启用' bullets into the description so the trigger guidance is self-contained.

DimensionReasoningScore

Specificity

The description lists multiple concrete security actions — '身份验证、授权、CSRF 防护、SQL 注入预防、XSS 预防以及安全部署配置' — naming several specific capabilities rather than vague actions.

3 / 3

Completeness

It clearly states what the skill does (Django security best practices across several areas) but has no explicit 'Use when...' trigger clause; the 'when' guidance lives only in the body, capping completeness at 2.

2 / 3

Trigger Term Quality

It covers relevant terms (CSRF, SQL 注入, XSS, 身份验证) but uses technical category labels in Chinese rather than the natural phrases a user would say, and omits common variations like 'Django security review' or '认证/授权'.

2 / 3

Distinctiveness Conflict Risk

The Django-specific security niche with named threat categories (CSRF, SQLi, XSS) is clearly distinct and unlikely to trigger for non-Django skills.

3 / 3

Total

10

/

12

Passed

Validation

87%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation14 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

skill_md_line_count

SKILL.md is long (594 lines); consider splitting into references/ and linking

Warning

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

14

/

16

Passed

Repository
xu-xiang/everything-claude-code-zh
Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.