add-template

Include parameterized Liquid templates within .plain files.

Updated Jul 3, 2026
One-click install
npx skills add https://github.com/Codeplain-ai/onboarding-flow --skill add-template-codeplain-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-template
Source: https://github.com/Codeplain-ai/onboarding-flow/tree/main/.claude/skills/add-template
Command: npx skills add https://github.com/Codeplain-ai/onboarding-flow --skill add-template-codeplain-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

Reduces redundancy and increases efficiency in code maintenance by enabling the reuse of common spec content across multiple .plain files with different parameters.

Core Features & Use Cases

  • Code Reuse: Reuse identical spec structures across various .plain files to avoid duplication.
  • Parameterization: Use Liquid variables to customize content within templates based on different parameters.
  • Use Case: For example, if you have multiple files that require the same test setup but with different parameters, you can create a template that handles these variations.

Quick Start

Create a new template in the 'template/' directory and include it in your .plain files using the syntax {% include "template_name.plain" main_file_name: "app.py", app_name: "MyApp" %}.

Frequently Asked Questions about add-template

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

FAQPage Schema
How do I reuse code across multiple .plain files with different parameters?

You can reuse code across .plain files by creating parameterized Liquid templates in a 'template/' directory and including them with variable passing syntax. This approach eliminates duplication by allowing identical spec structures to handle different parameters.

How do I include a Liquid template in a .plain file?

To include a Liquid template in a .plain file, use the syntax {% include "template_name.plain" main_file_name: "app.py", app_name: "MyApp" %}. This passes multiple parameters directly into the template for customized content rendering.

What is the best way to avoid spec content duplication in .plain files?

The best way to avoid spec content duplication in .plain files is parameterized Liquid template inclusion. By extracting common test setup structures into reusable templates, you maintain a single source of truth while supporting content variations.

Does add-template require specific Liquid syntax knowledge?

Yes, add-template requires Liquid template syntax knowledge. The Skill enables parameterized template inclusion for .plain files, so understanding Liquid variables and include statements is necessary to pass multiple parameters and customize content properly.

When should I use parameterized templates for .plain files?

You should use parameterized templates for .plain files when multiple files require the same test setup or spec structures with different parameters. This approach streamlines code maintenance and increases efficiency by reducing redundant content across your specification files.