templates/.claude/skills/jinja2-prompts/SKILL.md
Parameterized prompt templates using Jinja2 patterns for reusable, dynamic agent prompts
npx skillsauth add baekenough/oh-my-customcode jinja2-promptsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Define reusable, parameterized prompt templates for agent tasks. Templates enable consistent prompt formatting across workflows while allowing dynamic content injection.
Use Jinja2-style variable interpolation in prompt strings:
{{ variable }} — Variable substitution
{% if condition %}...{% endif %} — Conditional sections
{% for item in list %}...{% endfor %} — Iteration
{{ variable | default("fallback") }} — Default values
SandboxedEnvironment (NOT Environment or from_string() directly)env(), os, subprocess, or any system functions.claude/skills/<skill-name>/templates/
├── analysis.md.j2
├── report.md.j2
└── triage.md.j2
# In skill or workflow definition
template: analysis.md.j2
variables:
target: "{{ repository_url }}"
scope: "security"
depth: "comprehensive"
Rendered by orchestrator before passing to agent as prompt.
Role: {{ domain }} {{ role }} analyst
Scope: {{ topic }}
Tasks:
{% for task in tasks %}
{{ loop.index }}. {{ task }}
{% endfor %}
Output format:
{{ output_format }}
Analyze {{ cve_id }} ({{ cwe_classification }})
Affected component: {{ component }} {{ version_range }}
{% if existing_mitigations %}
Known mitigations: {{ existing_mitigations }}
{% endif %}
/research skill for team prompt generationcve-triage skill for standardized analysis promptsdevelopment
Generate and maintain a persistent codebase wiki — LLM-built interlinked markdown knowledge base (Karpathy LLM Wiki pattern)
development
Use the project wiki as RAG knowledge source — search wiki pages to answer codebase questions before exploring raw files
tools
Analyze task trajectories to propose reusable SKILL.md candidates from successful patterns
data-ai
hada.io RSS feed monitoring for AI agent/harness articles with automated /scout analysis