template-library · Content Template Library

template-library

A skill for saving, reusing, and managing content templates: proven content structures are saved as templates with {{variable}} placeholders auto-extracted, then reapplied by filling in the variables. Templates are organized by platform category, with version management and usage counts. All file and index operations run deterministically through script subcommands (save / use / list / edit / delete / get).

Example invocation: "Save this post as a template under the Xiaohongshu category."

Full brief

Positioning

template-library is the central hub for saving, reusing, and managing personal content templates: successful content structures are preserved as reusable templates and applied directly next time. It manages the user's own accumulated templates — not generic marketing frameworks.

Core capabilities

Workflow

  1. Parse intent and route to save / use / list / edit / delete / get
  2. Save: LLM analyzes source → rewrites {{var}} placeholders → script extracts variables, writes file, registers index
  3. Use: LLM derives fill values per variable → script substitutes and increments usage count
  4. Results returned in a uniform Markdown format

Inputs & outputs

Input Notes
action Required — save / use / list / edit / delete / get
template_name Required for save / use / edit / delete / get
source_file / source_text For save — one of the two, the content to templatize
category Optional — platform category
variables / topic For use — variable values and topic

Output: save confirmation (extracted structure + variable list), template application result, template list, and other operation outputs.

Boundaries with adjacent skills

Fit

Before you start


template-library is part of the Aiglade Skill library. Invoke it from the Aiglade chat box in plain language.

← All 155 skills