Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

empathic-templates

БесплатноБез исполняемых скриптовНе проверен

Smart templates that understand semantic intent, not just string substitution

SimHackerот SimHacker★ 63 звезды на GitHub18 установок в других каталогах

Об этом скилле

Empathic Templates

"Templates that understand what you mean, not just what you wrote."


What Is It?

Empathic Templates are MOOLLM's approach to template instantiation: templates that leverage LLM comprehension to understand semantic intent, not just perform mechanical string substitution.

Traditional templates: {{name}} → replace with literal value Empathic templates: {{name}} → understand what name means in context, generate appropriate content


The Difference

Traditional Templates (Handlebars, Jinja, etc.)

Hello {{name}}!

Your order {{order_id}} has shipped.
Items: {{items}}
Total: ${{total}}

Problem: If items is a list, you need explicit loop syntax. If total should be formatted, you need filters. The template is dumb.

Empathic Templates

# The template understands context
greeting: "{{appropriate_greeting}}"
order_summary: "{{summarize_order_naturally}}"
items: "{{list_items_with_quantities}}"
total: "{{format_currency(total)}}"

The LLM doesn't just substitute — it interprets:

  • {{appropriate_greeting}} becomes "Good morning, Sarah!" or "Hey there!" based on context
  • {{summarize_order_naturally}} becomes prose, not data dump
  • {{list_items_with_quantities}} formats intelligently

How It Works

1. Parse Template

template: |
  # {{character_name}}
  
  {{describe_appearance}}
  
  ## Personality
  {{personality_as_prose}}
  
  ## Catchphrase
  > "{{generate_catchphrase}}"

2. Understand Context

context:
  character_type: "grumpy wizard"
  setting: "medieval fantasy"
  tone: "humorous"
  age: "ancient"

3. Semantic Generation

The LLM doesn't just fill slots — it creates coherent content:

# Grumbald the Insufferable

A stooped figure wrapped in robes that were probably purple
once, before centuries of potion stains and cat hair took
their toll. His beard reaches his knees and contains at
least three quills, a small bird's nest, and what might be
a sandwich from the Third Age.

## Personality

Grumbald has perfected the art of making everyone feel
slightly stupid. He answers questions with questions,
sighs dramatically at simple requests, and has been
known to turn people into newts for using incorrect
grammar. Deep down, he cares — but he'd rather be
turned into a newt himself than admit it.

## Catchphrase

> "I've forgotten more magic than you'll ever know.
> Literally. Where did I put my staff?"

Template Syntax

Basic Slots

{{variable}}           # Simple substitution (still works)
{{expression}}         # Empathic expression (interpreted)
{{#if condition}}      # Conditional (condition is interpreted)
{{#each items}}        # Iteration (smart about structure)
{{> partial}}          # Include another template

Empathic Slots (The Magic)

{{describe_X}}         # Generate description based on context
{{summarize_Y}}        # Create summary of data
{{generate_Z}}         # Create new content fitting context
{{appropriate_W}}      # Choose fitting value from possibilities
{{format_V}}           # Intelligent formatting

Expressions with Empathic Interpretation

{{#if character.is_hungry}}
  {{describe_hunger_behavior}}
{{/if}}

{{#if player.reputation > 50}}
  # The guard recognizes you
  {{guard_friendly_greeting}}
{{else}}
  # The guard is suspicious
  {{guard_suspicious_challenge}}
{{/if}}

The conditions use Empathic Expressions for flexible interpretation.


Used For

Character Creation

# CHARACTER.yml.tmpl
id: {{generate_unique_id}}
name: "{{character_name}}"
species: "{{species}}"
description: |
  {{describe_appearance_based_on_species_and_personality}}

personality:
  {{infer_sims_traits_from_description}}

catchphrase: "{{generate_fitting_catchphrase}}"

backstory: |
  {{generate_backstory_consistent_with_setting}}

Room Generation

# ROOM.yml.tmpl
room:
  name: "{{room_name}}"
  type: {{room_type}}
  
  description: |
    {{describe_room_atmospherically}}
    
    {{describe_notable_features}}
    
    {{hint_at_secrets_if_any}}

  exits:
    {{generate_exits_based_on_maze_topology}}
    
  objects:
    {{place_appropriate_objects}}

Session Logs

# SESSION.md.tmpl
## Session {{session_number}} — {{session_date}}

### Summary
{{summarize_session_events}}

### Key Moments
{{list_memorable_moments}}

### State Changes
{{document_world_changes}}

### Next Steps
{{suggest_continuation_hooks}}

The Empathic Expression Connection

Templates use Empathic Expressions for:

Variables

{{user.name}}                    # Simple lookup
{{user.status | capitalize}}     # With filter
{{player.has_item('key')}}       # Method call

Conditions

{{#if character.mood == 'happy'}}  # Exact match
{{#if character.is_friendly}}       # Boolean inference
{{#if gold > 100}}
Полный SKILL.md на GitHub

Установить empathic-templates в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

read_file
write_file

Вложенные файлы

CARD.ymlGLANCE.ymlREADME.mdskill-snitch-report.md

FAQ

Что делает скилл empathic-templates?

Smart templates that understand semantic intent, not just string substitution

Как установить скилл empathic-templates?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл empathic-templates запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить empathic-templates с