Generate formatted reports and documents using templates. Use when the user needs to create structured reports, fill in templates, or format output according to specific patterns.
Resources
1Install
npx skillscat add ivanvza/dspy-skills/asset-templates Install via the SkillsCat registry.
SKILL.md
Asset Templates
A skill for generating formatted output using template files.
When to Use This Skill
Activate this skill when the user needs to:
- Generate a formatted report
- Use a template to structure output
- Create documents following a specific format
Available Templates
Check the assets/ directory for available templates:
template.txt- Basic report templateconfig.json- Configuration settings for reportsimages/sample.png- Sample image (binary file)
How to Use Templates
IMPORTANT: You MUST read the template file before generating output.
- Read
assets/template.txtusingread_skill_resource - Fill in the placeholders with the user's data
- Return the formatted result
Template Format
Templates use {{placeholder}} syntax for variable substitution.
Example Workflow
User asks: "Generate a report for project Alpha with status Complete"
- Read
assets/template.txtto get the template structure - Substitute
{{PROJECT_NAME}}with "Alpha" - Substitute
{{STATUS}}with "Complete" - Return the filled template
Binary Files
The assets/images/ directory contains binary files like images.
When asked about binary files, report their path but do not attempt to read their contents.