template-engine

Locate templates, parse placeholders, and generate validated artifacts.

175|26|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/jmagly/ai-writing-guide --skill template-engine
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: template-engine
Source: https://github.com/jmagly/ai-writing-guide/tree/main/.factory/skills/template-engine
Command: npx skills add https://github.com/jmagly/ai-writing-guide --skill template-engine

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Loads, validates, and populates templates to generate artifacts with consistent structure.

Core Features & Use Cases

  • Template discovery: Locate templates across multiple locations.
  • Placeholders & inputs: Gather required values and defaults.
  • Instantiation & validation: Produce artifacts with metadata.

Quick Start

Instantiate a software-architecture-document-template with required variables.

Frequently Asked Questions about template-engine

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I instantiate templates with placeholders across different project locations?

Template instantiation loads template definitions from .aiwg/templates, framework-specific, and installation scopes, then parses placeholders to gather required values, populate artifacts with consistent structure, and save results with metadata integration.

What's the best way to manage template discovery across multiple frameworks?

Template discovery locates templates across project, framework, and installation scopes automatically. The Skill identifies required versus optional inputs, applies defaults from context, and validates the final artifact structure before saving.

Can I use templates to generate consistent artifacts without manual setup for each framework?

Yes. Template instantiation eliminates manual population by extracting placeholders, processing conditional sections and loops, gathering values from context or prompts, and validating structure across frameworks with unified artifact metadata.

How do conditional sections and loops work in template instantiation?

Conditional sections and loops within templates are processed during instantiation to handle dynamic content generation. The Skill applies defaults, formats output, and indexes generated artifacts for consistent results across different template definitions.

What validation happens when templates are instantiated?

Template instantiation validates artifact structure after populating all placeholders and applying defaults. Results are saved with artifact-metadata integration, ensuring consistency and structural integrity across all generated outputs.