skills/xe/site/templ-syntax/Gen Agent Trust Hub

templ-syntax

Pass

Audited by Gen Agent Trust Hub on Sep 25, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill is entirely instructional and provides documentation for the Templ library. It includes code examples demonstrating standard Go and Templ syntax.
  • [EXTERNAL_DOWNLOADS]: The skill references and links to official documentation at https://templ.guide. These are legitimate technical references for the library being documented.
  • [DYNAMIC_EXECUTION]: The documentation describes the use of raw Go blocks ({{ ... }}) and the templ.Raw API. However, it explicitly includes security best practices, such as keeping logic in Go helpers and using safety APIs for trusted values to mitigate injection risks.
  • [INDIRECT_PROMPT_INJECTION]: While the skill teaches how to write components that ingest data (e.g., Greeting(name string)), it emphasizes built-in safety features like context-aware auto-escaping and specialized types for URLs to prevent common injection vulnerabilities in the resulting applications.
Audit Metadata
Risk Level
SAFE
Analyzed
Sep 25, 2026, 07:37 PM