بنقرة واحدة
jinja2
Best practices for template rendering with Jinja2 including environments, filters, autoescaping, and security.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Best practices for template rendering with Jinja2 including environments, filters, autoescaping, and security.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Best practices for building CLI applications with Click including commands, groups, options, and testing.
Best practices for Django web development including models, views, templates, and testing.
Best practices for Flask web development including routing, blueprints, and testing.
Best practices for numerical computing with NumPy including arrays, broadcasting, and vectorization.
Best practices for writing and organizing tests with pytest including fixtures, parametrize, and plugins.
Best practices for HTTP client usage with Requests including sessions, error handling, and timeouts.
| name | jinja2 |
| description | Best practices for template rendering with Jinja2 including environments, filters, autoescaping, and security. |
Best practices for template rendering with Jinja2 including environments, filters, autoescaping, and security.
Apply this skill when rendering templates with Jinja2 — HTML pages, emails, configuration files, and code generation.
jinja2.Environment(loader=..., autoescape=...) once and reuse it.FileSystemLoader for file-based templates, PackageLoader for installed packages.autoescape=True for HTML templates to prevent XSS.{{ variable }} for output, {% if/for/block %} for control flow.{% extends 'base.html' %}) for layout reuse.autoescape=True when rendering HTML.SandboxedEnvironment for untrusted templates.|e filter explicitly when autoescape is off.Template(string) directly — it bypasses the environment's loader and settings.undefined=StrictUndefined during development.